/* ==========================================================
   Markéta & Ondřej — svatební web
   Základ: smaragdová zelená · doplněk: královská modrá (střídmě)
   Podklad: béžová · jemné zlatavé linky
   ========================================================== */
:root{
  --emerald:#0b6b4a;        /* hlavní barva */
  --emerald-deep:#074531;
  --emerald-glow:rgba(46,170,120,0.28);
  --royal:#1d3bb3;          /* jen kolečko v dress codu, žádný text */
  --champagne:#d2b47a;
  --beige:#f4ede1;
  --beige-dark:#e6dac5;
  --paper:#fbf8f2;
  --ivory:#fdfaf4;
  --ink:#2a2622;
  --ink-soft:#463f38;
  --font-script:'Dancing Script', cursive;
  --font-serif:'Playfair Display', serif;
  --font-body:'EB Garamond', serif;
  --font-caps:'Cormorant Garamond', serif;
  --container:760px;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth; scroll-padding-top:64px;}
body{
  margin:0; background:var(--beige); color:var(--ink);
  font-family:var(--font-body); font-size:20px; font-weight:500; line-height:1.65;
  -webkit-font-smoothing:antialiased;
}
a{color:inherit;}

/* ---------- NAV ---------- */
.nav{
  position:fixed; top:0; left:0; right:0; z-index:100;
  background:rgba(251,248,242,0.92);
  backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px);
  border-bottom:1px solid rgba(210,180,122,0.35);
}
.nav-inner{
  max-width:1000px; margin:0 auto; padding:14px 24px;
  display:flex; align-items:center; justify-content:space-between;
}
.nav-logo{
  font-family:var(--font-script); font-weight:700; font-size:26px;
  color:var(--emerald); text-decoration:none; line-height:1;
}
.nav-links{list-style:none; display:flex; gap:28px; margin:0; padding:0;}
.nav-links a{
  text-decoration:none; font-family:var(--font-caps); font-weight:700;
  letter-spacing:.08em; text-transform:uppercase; font-size:15px;
  color:var(--emerald); transition:color .2s;
}
.nav-links a:hover{color:var(--emerald-deep);}
.nav-toggle{
  display:none; flex-direction:column; justify-content:center; gap:5px;
  width:34px; height:30px; background:none; border:0; cursor:pointer; padding:0;
}
.nav-toggle span{display:block; width:100%; height:2px; background:var(--emerald); border-radius:2px;}

@media (max-width:720px){
  .nav-toggle{display:flex;}
  .nav-links{
    position:absolute; top:100%; left:0; right:0;
    background:var(--paper); flex-direction:column; gap:0;
    max-height:0; overflow:hidden; transition:max-height .3s ease;
  }
  .nav-links.open{max-height:320px; border-bottom:1px solid rgba(210,180,122,.35);}
  .nav-links li{width:100%;}
  .nav-links a{display:block; padding:16px 24px; border-top:1px solid rgba(210,180,122,.2);}
}

/* ---------- HERO (smaragdová) ---------- */
.hero{
  min-height:100vh;
  display:flex; align-items:center; justify-content:center;
  text-align:center; padding:130px 24px 70px; color:var(--ivory);
  background:
    radial-gradient(ellipse 60% 45% at 50% 0%, var(--emerald-glow), transparent 70%),
    linear-gradient(170deg, var(--emerald) 0%, var(--emerald-deep) 100%);
}
.hero-inner{max-width:640px; display:flex; flex-direction:column; align-items:center;}
.hero-quote{
  font-family:var(--font-body); font-style:italic; font-weight:500; font-size:17px;
  letter-spacing:.14em; text-transform:uppercase; color:var(--champagne);
  margin:0 0 26px;
}
.heart-wrap{position:relative; width:170px; margin:0 auto 16px;}
.heart-wrap-small{width:64px; margin-bottom:14px;}
.heart-svg{width:100%; height:auto; overflow:visible;}
.heart-stroke{stroke:var(--ivory); stroke-width:3; fill:none; stroke-linecap:round; opacity:.9;}
.heart-stroke-2{stroke:var(--champagne); stroke-width:2.4; opacity:.9;}
.heart-wrap-small .heart-stroke{stroke-width:4;}
.heart-monogram{
  position:absolute; left:50%; top:46%; transform:translate(-50%,-50%);
  font-family:var(--font-script); font-weight:700; font-size:34px; color:var(--ivory);
  white-space:nowrap; line-height:1;
}
.hero-names{
  font-family:var(--font-script); font-weight:700;
  font-size:clamp(56px, 11vw, 96px);
  color:var(--ivory); margin:6px 0 4px; line-height:1.08;
}
.hero-names .amp{color:var(--champagne); font-weight:600; padding:0 4px;}
.hero-surnames{
  font-family:var(--font-caps); font-weight:700; letter-spacing:.2em;
  text-transform:uppercase; font-size:15px; color:rgba(253,250,244,.92); margin:4px 0 30px;
}
.hero-surnames .dot{color:var(--champagne); padding:0 8px;}
.hero-rule{display:flex; align-items:center; gap:16px; margin-bottom:10px;}
.hero-rule .line{width:50px; height:1px; background:var(--champagne); opacity:.8;}
.hero-date{
  font-family:var(--font-serif); font-size:21px; letter-spacing:.1em;
  text-transform:uppercase; color:var(--ivory);
}
.hero-venue{
  font-family:var(--font-body); font-weight:500; font-size:19px; color:rgba(253,250,244,.92);
  letter-spacing:.02em; margin:0 0 42px;
}
.countdown{display:flex; gap:16px; margin-bottom:40px;}
.cd-item{
  display:flex; flex-direction:column; align-items:center;
  background:rgba(253,250,244,0.07); border:1px solid rgba(210,180,122,0.45);
  border-radius:14px; padding:14px 16px; min-width:74px;
}
.cd-num{font-family:var(--font-serif); font-size:28px; font-weight:500; color:var(--ivory); line-height:1.2;}
.cd-label{font-family:var(--font-caps); font-weight:700; font-size:13px; letter-spacing:.1em; text-transform:uppercase; color:var(--champagne); margin-top:4px;}
.scroll-hint{display:inline-flex; width:24px; height:40px; border:1.5px solid rgba(253,250,244,.6); border-radius:14px; position:relative;}
.scroll-hint span{
  position:absolute; top:7px; left:50%; width:3px; height:8px; background:var(--champagne);
  border-radius:2px; transform:translateX(-50%); animation:scrollDown 1.8s ease infinite;
}
@keyframes scrollDown{0%{opacity:1; top:7px;} 80%{opacity:0; top:22px;} 100%{opacity:0; top:7px;}}

/* ---------- SECTIONS ---------- */
.section{padding:96px 24px; background:var(--beige);}
.section-alt{background:var(--paper);}
.section-inner{max-width:var(--container); margin:0 auto; text-align:center;}
.eyebrow{
  font-family:var(--font-caps); font-weight:700; letter-spacing:.2em; text-transform:uppercase;
  color:var(--emerald); font-size:15px; margin:0 0 10px;
}
.section-title{
  font-family:var(--font-serif); font-weight:500; color:var(--emerald);
  font-size:clamp(28px,4vw,38px); margin:0 0 28px; line-height:1.25;
}
.section-title::after{
  content:""; display:block; width:48px; height:1px; margin:20px auto 0; background:var(--champagne);
}
.section-text{font-size:20px; color:var(--ink-soft); max-width:560px; margin:0 auto 12px;}
.section-text-small{font-size:18px; margin-top:24px;}

/* ---------- TIMELINE ---------- */
.timeline{text-align:left; max-width:540px; margin:36px auto 0; display:flex; flex-direction:column; gap:16px;}
.timeline-item{
  display:flex; gap:22px; align-items:flex-start;
  background:var(--paper); border:1px solid var(--beige-dark);
  border-radius:16px; padding:22px 24px;
}
.timeline-time{font-family:var(--font-serif); font-weight:500; color:var(--emerald); font-size:22px; min-width:66px; line-height:1.3;}
.timeline-content h3{font-family:var(--font-serif); font-weight:600; font-size:21px; margin:0 0 4px; color:var(--emerald); line-height:1.3;}
.timeline-content p{margin:0; color:var(--ink-soft); font-size:19px;}
.timeline-item-muted{background:transparent; border-style:dashed;}
.timeline-item-muted .timeline-time{color:var(--champagne);}
.timeline-note{
  margin:22px auto 0; font-style:italic; font-size:18px; color:var(--ink-soft);
}

/* ---------- MAP / BUTTONS ---------- */
.map-wrap{
  margin:36px auto 0; max-width:640px; aspect-ratio:4/3; border-radius:18px; overflow:hidden;
  border:1px solid var(--beige-dark); background:var(--beige);
  box-shadow:0 14px 34px rgba(7,69,49,.10);
}
.map-wrap iframe{display:block;}
.travel-notes{
  display:flex; flex-direction:column; align-items:stretch; gap:12px;
  margin:24px auto 0; max-width:600px;
}
.travel-note{
  display:flex; align-items:center; gap:14px; margin:0;
  padding:10px 20px 10px 10px; text-align:left;
  background:var(--beige); border:1px solid var(--beige-dark); border-radius:18px;
  font-size:19px; line-height:1.45; color:var(--ink);
}
.travel-badge{
  display:inline-flex; align-items:center; justify-content:center;
  width:32px; height:32px; border-radius:8px; flex:none;
  background:var(--emerald); color:var(--ivory);
  font-family:var(--font-body); font-weight:700; font-size:19px; line-height:1;
}
.map-buttons{display:flex; flex-wrap:wrap; gap:14px; justify-content:center; margin-top:28px;}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:14px 30px; border-radius:30px; text-decoration:none;
  font-family:var(--font-body); font-weight:600; letter-spacing:.01em; font-size:19px; line-height:1.2;
  white-space:nowrap; border:2px solid transparent;
  transition:transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.btn:hover{transform:translateY(-2px);}
.btn-primary{background:var(--emerald); color:var(--ivory);}
.btn-primary:hover{background:var(--emerald-deep); box-shadow:0 8px 20px rgba(7,69,49,.28);}
.btn-outline{background:var(--ivory); color:var(--emerald-deep); border-color:var(--emerald);}
.btn-outline:hover{background:var(--emerald); color:var(--ivory);}

/* ---------- SPOTIFY ---------- */
.spotify-wrap{max-width:640px; margin:36px auto 0;}
.spotify-wrap iframe{display:block; box-shadow:0 14px 34px rgba(7,69,49,.12);}

/* ---------- DRESS CODE ---------- */
.brush-defs{position:absolute; width:0; height:0; overflow:hidden;}
.palette{display:flex; gap:22px 34px; justify-content:center; flex-wrap:wrap; margin:36px auto 0;}
.swatch{display:flex; flex-direction:column; align-items:center; gap:10px;}
.brush{
  display:block; width:170px; height:auto; overflow:visible;
  filter:drop-shadow(0 4px 6px rgba(7,69,49,.10));
}
.swatch:nth-child(1) .brush{transform:rotate(-3deg);}
.swatch:nth-child(2) .brush{transform:scaleX(-1) rotate(2deg);}
.swatch:nth-child(3) .brush{transform:rotate(-1deg);}
.swatch-label{font-family:var(--font-caps); font-weight:700; font-size:16px; letter-spacing:.04em; color:var(--ink-soft);}

/* ---------- FOOTER (smaragdová) ---------- */
.footer{
  color:var(--ivory); text-align:center; padding:72px 24px 54px;
  background:
    radial-gradient(ellipse 55% 60% at 50% 0%, var(--emerald-glow), transparent 70%),
    linear-gradient(170deg, var(--emerald) 0%, var(--emerald-deep) 100%);
}
.footer-text{font-family:var(--font-caps); font-weight:700; letter-spacing:.16em; text-transform:uppercase; font-size:15px; color:var(--champagne); margin:0 0 8px;}
.footer-names{font-family:var(--font-script); font-weight:700; font-size:44px; margin:0 0 8px; line-height:1.1;}
.footer-date{font-family:var(--font-body); font-weight:500; font-size:17px; letter-spacing:.06em; color:rgba(253,250,244,.92); margin:0;}

/* ---------- MOBILE ---------- */
@media (max-width:480px){
  body{font-size:19px;}
  .countdown{gap:8px;}
  .cd-item{min-width:0; flex:1; padding:12px 6px;}
  .cd-num{font-size:24px;}
  .cd-label{font-size:12px; letter-spacing:.05em;}
  .section{padding:72px 20px;}
  .timeline-item{flex-direction:column; gap:6px; padding:18px 20px;}
  .palette{gap:16px 24px;}
  .map-buttons{flex-direction:column; align-items:stretch; max-width:320px; margin-left:auto; margin-right:auto;}
  .brush{width:140px;}
}
