/*
Theme Name: Janchi Korea Festival
Theme URI: https://janchi.dk
Author: Korea Klubben
Description: Officielt WordPress-tema til Janchi – Korea Festival (Janchi.dk).
Version: 1.0
Text Domain: janchi
*/

:root{
  --ink:#2A1F1C;
  --cream:#FBF7EF;
  --red:#C23B34;
  --red-dark:#9C2D28;
  --indigo:#1F3B5C;
  --indigo-dark:#152A42;
  --gold:#C9A227;
  --blossom:#F3DEDD;
  --line: rgba(42,31,28,0.12);
  --radius: 2px;
  --menu-bg:#141110;
}
*{box-sizing:border-box; margin:0; padding:0;}
body{
  background:var(--cream);
  color:var(--ink);
  font-family:'Inter', sans-serif;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
h1,h2,h3, .serif{
  font-family:'Noto Serif KR', serif;
}
a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }
.wrap{ max-width:1180px; margin:0 auto; padding:0 32px; }

/* dot signature pattern */
.dotrow{
  display:flex; align-items:center; justify-content:center;
  gap:14px; padding:34px 0;
}
.dotrow span{
  width:8px; height:8px; border-radius:50%;
  background:var(--red);
}
.dotrow span:nth-child(3n){ background:var(--gold); }
.dotrow span:nth-child(5n){ background:var(--indigo); width:6px; height:6px;}
.dotrow span:nth-child(4){ width:11px; height:11px; }

/* NAV */
header{
  position:sticky; top:0; z-index:50;
  background:rgba(251,247,239,0.92);
  backdrop-filter:blur(6px);
  border-bottom:1px solid var(--line);
}
nav.wrap{
  display:flex; align-items:center; justify-content:space-between;
  height:78px;
}
.brand{ display:flex; align-items:center; gap:12px; }
.brand-mark{ width:44px; height:44px; flex:none; object-fit:contain; }
.brand-word{ font-size:22px; font-weight:700; letter-spacing:0.5px; }
.brand-sub{ font-size:10px; letter-spacing:2.5px; text-transform:uppercase; color:var(--red); font-weight:600; margin-top:2px; }
.nav-links{ display:flex; gap:30px; font-size:15px; font-weight:700; }
.nav-links a:hover{ color:var(--red); }

/* GTranslate widget — styled to match the site's nav pills and typography */
.gtranslate-wrap{
  display:flex; align-items:center;
  font-family:'Inter', sans-serif;
}
.gtranslate-wrap,
.gtranslate-wrap *{
  font-family:'Inter', sans-serif !important;
}

/* native <select> fallback (older GTranslate versions) */
.gtranslate-wrap select{
  appearance:none; -webkit-appearance:none; -moz-appearance:none;
  border:1px solid var(--line); border-radius:20px;
  padding:8px 32px 8px 14px;
  font-size:12.5px; font-weight:700; letter-spacing:0.3px;
  color:var(--ink); background:#fff;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%232A1F1C' stroke-width='1.4' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:right 12px center;
  cursor:pointer; transition:border-color .15s ease;
}
.gtranslate-wrap select:hover{ border-color:var(--gold); }

/* "Dropdown with Flags" widget markup */
.gtranslate-wrap .gt_float_switcher,
.gtranslate-wrap .gt-current-lang{
  border:1px solid var(--line); border-radius:20px;
  padding:7px 14px; background:#fff; cursor:pointer;
  transition:border-color .15s ease;
}
.gtranslate-wrap .gt_float_switcher:hover,
.gtranslate-wrap .gt-current-lang:hover{ border-color:var(--gold); }
.gtranslate-wrap .gt-current-lang{
  display:flex; align-items:center; gap:7px;
  font-size:12.5px; font-weight:700; color:var(--ink); letter-spacing:0.3px;
  text-decoration:none;
}
.gtranslate-wrap .gt-options{
  border:1px solid var(--line); border-radius:10px; background:#fff;
  box-shadow:0 12px 28px rgba(42,31,28,0.12); padding:6px; margin-top:8px;
}
.gtranslate-wrap .gt-options a{
  display:flex; align-items:center; gap:8px;
  font-size:12.5px; font-weight:600; color:var(--ink);
  padding:8px 10px; border-radius:6px; text-decoration:none;
}
.gtranslate-wrap .gt-options a:hover{ background:var(--cream); color:var(--red); }

.gtranslate-wrap img{
  width:16px; height:16px; object-fit:cover; border-radius:50%;
  vertical-align:middle; box-shadow:0 0 0 1px rgba(0,0,0,0.06);
}

.nav-cta{
  background:var(--red); color:#fff; padding:10px 20px; border-radius:2px;
  font-size:13px; font-weight:700; letter-spacing:0.4px;
}
.nav-right{ display:flex; align-items:center; gap:26px; }
@media (max-width:640px){ .nav-cta{ display:none; } }
@media (max-width:560px){ .nav-links{ display:none; } }

/* hamburger trigger: solid black circle */
.menu-btn{
  width:46px; height:46px; border-radius:50%; background:var(--ink);
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:6px;
  cursor:pointer; border:none; flex:none; transition:background .15s ease;
}
.menu-btn:hover{ background:var(--red); }
.menu-btn span{ display:block; width:18px; height:2.4px; background:#fff; border-radius:2px; }

/* MENU OVERLAY */
.menu-overlay{
  position:fixed; inset:0; z-index:100;
  background:var(--menu-bg);
  color:#fff;
  transform:translateX(100%);
  transition:transform .38s cubic-bezier(.6,0,.2,1);
  overflow-y:auto;
}
.menu-overlay.open{ transform:translateX(0); }
.menu-inner{ max-width:640px; margin:0 auto; padding:36px 32px 60px; }
.menu-close-row{ display:flex; justify-content:flex-end; margin-bottom:44px; }
.menu-close{
  width:40px; height:40px; border-radius:50%; background:#fff; color:var(--ink);
  display:flex; align-items:center; justify-content:center; cursor:pointer; border:none;
}
.menu-header{
  padding-bottom:28px; margin-bottom:40px; border-bottom:1px solid rgba(255,255,255,0.14);
}
.menu-eyebrow{
  font-family:'Noto Serif KR'; font-weight:700; font-size:20px; color:#fff; margin-bottom:8px;
}
.menu-date{
  font-size:12px; font-weight:600; letter-spacing:1.5px; text-transform:uppercase; color:var(--gold);
}
.menu-list{ display:flex; flex-direction:column; }
.menu-item{ margin-bottom:26px; }
.menu-item:last-child{ margin-bottom:0; }
.menu-list a{
  display:block; font-family:'Noto Serif KR'; font-weight:700;
  font-size:clamp(28px,6.5vw,40px); line-height:1.15; color:#fff;
}
.menu-list a:hover{ color:var(--gold); }
.menu-sub{
  display:flex; gap:18px; flex-wrap:wrap; margin-top:10px;
}
.menu-sub a{
  font-family:'Inter'; font-weight:500; font-size:13px; color:#B9AFA9; padding:0;
  position:relative; padding-left:14px;
}
.menu-sub a::before{
  content:""; position:absolute; left:0; top:50%; transform:translateY(-50%);
  width:5px; height:5px; border-radius:50%; background:var(--red);
}
.menu-sub a:hover{ color:#fff; }
.menu-rule{ height:1px; background:rgba(255,255,255,0.16); margin:26px 0; border:none; }
.menu-heading{
  font-size:11px; letter-spacing:2.5px; text-transform:uppercase; color:var(--gold);
  font-weight:700; margin-bottom:14px;
}
.menu-social{ display:flex; gap:12px; margin-bottom:0; }
.menu-social a{
  width:30px; height:30px; border-radius:50%; border:1px solid rgba(255,255,255,0.3);
  display:flex; align-items:center; justify-content:center;
}
.menu-social a:hover{ border-color:#fff; }
.menu-contact p{ font-size:13px; line-height:1.6; color:#C7BDB7; margin-bottom:8px; }
.menu-contact p:last-child{ margin-bottom:0; }
.menu-contact a{ color:#fff; }
body.menu-open{ overflow:hidden; }

/* HERO */
.hero{
  position:relative;
  background: linear-gradient(160deg, var(--indigo-dark) 0%, var(--indigo) 55%, var(--red-dark) 130%);
  color:#fff;
  overflow:hidden;
  padding:120px 0 90px;
}
.hero::before{
  content:"";
  position:absolute; inset:0;
  background-image: radial-gradient(rgba(255,255,255,0.10) 1.6px, transparent 1.6px);
  background-size: 26px 26px;
  opacity:0.5;
}
.hero-inner{ position:relative; z-index:2; }
.hero-grid{
  display:grid; grid-template-columns:1.05fr 0.85fr; gap:64px; align-items:center;
}
@media (max-width:900px){ .hero-grid{ grid-template-columns:1fr; gap:44px; } }
.hero-text{ text-align:left; }
.hero-poster{ display:flex; justify-content:center; }
.hero-poster img{
  width:100%; max-width:400px; border-radius:6px;
  box-shadow: 0 30px 70px rgba(0,0,0,0.45), 0 0 0 6px rgba(255,255,255,0.08);
  transform:rotate(1.2deg);
}
.eyebrow{
  display:inline-flex; align-items:center; gap:10px;
  font-size:12px; letter-spacing:3px; text-transform:uppercase; font-weight:600;
  color:#F4CFCB; margin-bottom:26px;
}
.eyebrow::before{ content:""; width:26px; height:1px; background:#F4CFCB; opacity:0.6; }
.hero h1{
  font-size:clamp(46px, 6.4vw, 84px);
  line-height:0.95; font-weight:900; letter-spacing:0.5px;
}
.hero .hangul{
  display:block; font-size:clamp(18px,2.4vw,26px); font-weight:400; color:#F4CFCB; margin-top:10px;
}
.hero p.lede{
  max-width:480px; margin:24px 0 36px; font-size:16.5px; line-height:1.7; color:#EDE3DE; font-family:'Inter';
}
.hero-meta{
  display:inline-flex; flex-wrap:wrap; gap:0;
  background:rgba(255,255,255,0.08); border:1px solid rgba(255,255,255,0.25);
  border-radius:4px; overflow:hidden; margin-bottom:38px;
}
.hero-meta div{ padding:14px 22px; font-size:13.5px; font-weight:600; border-right:1px solid rgba(255,255,255,0.18); }
.hero-meta div:last-child{ border-right:none; }
.hero-meta span{ display:block; font-size:10px; letter-spacing:2px; text-transform:uppercase; opacity:0.65; font-weight:600; margin-bottom:4px; }
.hero-actions{ display:flex; gap:16px; flex-wrap:wrap; }
.btn{
  display:inline-block; padding:15px 30px; font-size:14px; font-weight:700;
  letter-spacing:0.4px; border-radius:2px; transition:transform .15s ease;
}
.btn:hover{ transform:translateY(-2px); }
.btn-primary{ background:#fff; color:var(--indigo-dark); }
.btn-ghost{ border:1px solid rgba(255,255,255,0.55); color:#fff; }

/* SECTION HEAD */
.section{ padding:96px 0; }
.section-head{ max-width:640px; margin:0 auto 56px; text-align:center; }
.section-eyebrow{
  font-size:12px; letter-spacing:3px; text-transform:uppercase; color:var(--red); font-weight:700; margin-bottom:14px;
  display:flex; align-items:center; justify-content:center; gap:8px;
}
.section-eyebrow .dot{ width:6px; height:6px; border-radius:50%; background:var(--red); }
.section h2{ font-size:clamp(28px,4vw,42px); font-weight:700; }
.section-head p{ margin-top:16px; font-size:16px; line-height:1.7; color:#5C5250; }

/* ABOUT / PILLARS */
.pillars{ display:grid; grid-template-columns:repeat(3,1fr); gap:28px; }
@media (max-width:800px){ .pillars{ grid-template-columns:1fr; } }
.pillar{
  background:#fff; border:1px solid var(--line); border-radius:3px; padding:38px 30px;
  position:relative;
}
.pillar-num{
  font-family:'Noto Serif KR'; font-size:13px; color:var(--gold); font-weight:700; letter-spacing:2px; margin-bottom:18px;
}
.pillar h3{ font-size:20px; font-weight:700; margin-bottom:10px; }
.pillar p{ font-size:14.5px; line-height:1.7; color:#5C5250; }

/* BEHIND / PARTNERS */
.behind{ background:var(--blossom); }
.behind .about-grid{ display:grid; grid-template-columns:1fr 1fr; gap:70px; align-items:center; }
@media (max-width:900px){ .behind .about-grid{ grid-template-columns:1fr; gap:40px; } }
.behind h2{ font-size:clamp(26px,3.6vw,38px); margin-bottom:18px; }
.behind p{ font-size:15.5px; line-height:1.8; color:#4A403D; margin-bottom:16px; }
.behind-mark{
  width:100%; aspect-ratio:1/1; border-radius:6px;
  background: radial-gradient(circle at 30% 30%, rgba(194,59,52,0.10), transparent 60%),
              radial-gradient(circle at 70% 70%, rgba(31,59,92,0.10), transparent 60%);
  border:1px solid rgba(42,31,28,0.15);
  display:flex; align-items:center; justify-content:center;
}
.partner-strip{ margin-top:64px; padding-top:52px; position:relative; text-align:center; }
.partner-strip::before{
  content:""; position:absolute; top:0; left:50%; transform:translateX(-50%);
  width:64px; height:2px; background:var(--gold);
}
.partner-group{ max-width:760px; margin:0 auto; }
.partner-group-head{ margin-bottom:24px; }
.partner-group .label{
  font-family:'Noto Serif KR'; font-size:16px; font-weight:700; color:var(--ink);
  margin-bottom:4px;
}
.partner-group .label-sub{
  font-size:11px; letter-spacing:2px; text-transform:uppercase; color:var(--red); font-weight:700;
}
.partner-divider{ display:flex; align-items:center; justify-content:center; margin:48px 0; }
.partner-divider span{ width:100%; max-width:400px; height:1px; background:var(--line); }
.logo-grid{
  display:flex; flex-wrap:wrap; justify-content:center; gap:14px;
}
.logo-grid .logo-card{
  width:120px; height:88px; background:#fff; border:1px solid var(--line); border-radius:6px;
  display:flex; align-items:center; justify-content:center; padding:16px; flex:none;
  transition:border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.logo-grid .logo-card:hover{ border-color:var(--gold); transform:translateY(-2px); box-shadow:0 6px 16px rgba(42,31,28,0.08); }
.logo-grid .logo-card img{ max-height:100%; max-width:100%; object-fit:contain; }
@media (max-width:480px){ .logo-grid .logo-card{ width:calc(50% - 7px); } }
.stand-logos{
  max-width:900px; margin:56px auto 0; display:flex; flex-wrap:wrap;
  justify-content:center; gap:14px;
}
.stand-logos .logo-card{
  width:120px; height:88px; background:#fff; border:1px solid var(--line); border-radius:6px;
  display:flex; align-items:center; justify-content:center; padding:16px; flex:none;
  transition:border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.stand-logos .logo-card:hover{ border-color:var(--gold); transform:translateY(-2px); box-shadow:0 6px 16px rgba(42,31,28,0.08); }
.stand-logos .logo-card img{ max-height:100%; max-width:100%; object-fit:contain; }

/* historical/previous partners — muted, text-only */
.partner-history{ margin-top:52px; padding-top:32px; border-top:1px dashed var(--line); }
.history-badges{
  display:flex; flex-wrap:wrap; justify-content:center; gap:10px; margin-top:16px;
}
.history-badges span{
  font-size:12.5px; font-weight:600; color:#8a7a76; background:#F3EEE6;
  padding:7px 16px; border-radius:20px; letter-spacing:0.2px;
}
@media (max-width:480px){ .stand-logos .logo-card{ width:calc(50% - 7px); } }

/* PROGRAM SCHEDULE */
.schedule-title{
  background:#2A1710; color:#fff; text-align:center; font-family:'Noto Serif KR';
  font-weight:700; font-size:15px; letter-spacing:2px; text-transform:uppercase;
  padding:14px; border-radius:3px 3px 0 0; margin-bottom:0;
}
.schedule{ display:grid; grid-template-columns:1fr 1fr; gap:0; border:1px solid var(--line); border-top:none; border-radius:0 0 3px 3px; overflow:hidden; }
@media (max-width:800px){ .schedule{ grid-template-columns:1fr; } }
.schedule-col-head{
  font-family:'Noto Serif KR'; font-weight:700; font-size:14px; color:#fff;
  padding:12px 20px; text-align:center;
}
.schedule-col-am .schedule-col-head{ background:#8C3A22; }
.schedule-col-pm .schedule-col-head{ background:#C9862A; }
.schedule-list{ background:#fff; height:100%; }
.schedule-item{
  display:flex; gap:18px; padding:16px 20px; border-bottom:1px solid var(--line); background:#fff;
}
.schedule-item:last-child{ border-bottom:none; }
.schedule-item:nth-child(even){ background:#FBF7EF; }
.schedule-time{
  flex:none; width:78px; font-weight:700; color:var(--red); font-size:13.5px; padding-top:1px;
}
.schedule-text strong{ display:block; font-size:14.5px; margin-bottom:3px; }
.schedule-text span{ font-size:13.5px; color:#5C5250; line-height:1.5; }
.schedule-break{
  padding:12px 20px; background:var(--blossom); font-size:13px; font-weight:700;
  color:var(--indigo-dark); text-align:center; border-top:1px solid var(--line);
}

/* STANDHOLDERE */
.stand{ text-align:center; }
.stand-card{
  max-width:760px; margin:0 auto; background:var(--indigo-dark); color:#fff;
  border-radius:4px; padding:56px 40px; position:relative; overflow:hidden;
}
.stand-card::after{
  content:""; position:absolute; inset:0;
  background-image: radial-gradient(rgba(255,255,255,0.08) 1.5px, transparent 1.5px);
  background-size:22px 22px;
}
.stand-card > *{ position:relative; z-index:2; }
.stand-card h2{ color:#fff; margin-bottom:14px; font-size:30px; }
.stand-card p{ color:#D9DEE6; font-size:15px; line-height:1.8; max-width:480px; margin:0 auto 30px; }

/* DONATION */
.donate{ background:var(--red); color:#fff; text-align:center; }
.donate h2{ color:#fff; font-size:clamp(28px,4vw,42px); margin-bottom:16px; }
.donate p{ color:#F6DAD8; max-width:520px; margin:0 auto 32px; line-height:1.8; font-size:15.5px; }
.donate .btn-primary{ color:var(--red-dark); }

/* GALLERY */
.gallery-grid{
  display:grid; grid-template-columns:repeat(4, 1fr); grid-auto-rows:140px; gap:14px;
}
.gallery-grid div:nth-child(1){ grid-column:span 2; grid-row:span 2; }
.gallery-grid div:nth-child(4){ grid-row:span 2; }
@media (max-width:800px){
  .gallery-grid{ grid-template-columns:repeat(2,1fr); }
  .gallery-grid div:nth-child(1){ grid-column:span 2; grid-row:span 1; }
  .gallery-grid div:nth-child(4){ grid-row:span 1; }
}
.gallery-grid div, .gallery-grid img{
  border-radius:3px;
  background: linear-gradient(135deg, rgba(194,59,52,0.18), rgba(31,59,92,0.18));
  border:1px solid var(--line);
  width:100%; height:100%; object-fit:cover;
}

/* FOOTER */
footer{ background:var(--ink); color:#E9E1DC; padding:70px 0 30px; }
.foot-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:40px; margin-bottom:60px; }
@media (max-width:800px){ .foot-grid{ grid-template-columns:1fr 1fr; } }
footer h4{ font-size:12px; letter-spacing:2px; text-transform:uppercase; color:#C9A227; margin-bottom:18px; font-weight:700; }
footer .fbrand{ font-family:'Noto Serif KR'; font-size:26px; font-weight:700; color:#fff; margin-bottom:10px;}
footer p, footer a{ font-size:13.5px; line-height:2; color:#C7BDB7; }
footer a:hover{ color:#fff; }
.foot-bottom{
  border-top:1px solid rgba(255,255,255,0.1); padding-top:24px;
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px;
  font-size:12px; color:#8a8078;
}
