/* ===========================================
   SVATEBNÍ WEB v4 - PROFESSIONAL
   Michaela & Jiří | 15. srpna 2026
   =========================================== */

/* ===========================================
   DESIGN TOKENS
   =========================================== */
:root {
  /* Barvy - sofistikovaná paleta */
  --white: #ffffff;
  --off-white: #faf9f7;
  --cream: #f5f3ef;
  --sand: #e8e4dd;
  --taupe: #d4cec4;
  --warm-gray: #7a756c;
  --charcoal: #3a3a3a;
  --deep-charcoal: #1d1d1d;
  
  /* Akcenty */
  --sage: #7a8d7e;
  --sage-dark: #5a6d5e;
  --gold: #c4a962;
  --gold-muted: #b8a676;
  
  /* Typografie
     - Nadpisy: vybrat z načtených fontů (viz index.html)
       Alex Brush, Allura, Great Vibes, Italianno, Parisienne,
       Pinyon Script, Sacramento, Tangerine, Dancing Script, Satisfy
     - Texty: Cormorant Garamond (elegantní serif)
  */
  --font-display: 'Alex Brush', cursive;
  --font-body: 'Inter', Georgia, serif;
  
  /* Velikosti písma - fluid */
  --text-xs: clamp(0.7rem, 0.65rem + 0.25vw, 0.8rem);
  --text-sm: clamp(0.85rem, 0.8rem + 0.25vw, 0.95rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.1rem);
  --text-lg: clamp(0.95rem, 0.85rem + 0.25vw, 1rem);
  --text-xl: clamp(1.4rem, 1.2rem + 1vw, 1.8rem);
  --text-2xl: clamp(1.8rem, 1.4rem + 2vw, 2.8rem);
  --text-3xl: clamp(2.5rem, 2rem + 2.5vw, 4rem);
  --text-hero: clamp(4rem, 3rem + 5vw, 8rem);
  
  /* Spacing - generous */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  --space-2xl: 10rem;
  
  --section-padding: clamp(5rem, 8vh, 10rem);
  --container-max: 1200px;
  --content-max: 680px;
  
  /* Efekty */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.08);
  
  --transition-fast: 150ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms ease;
}

/* ===========================================
   RESET & BASE
   =========================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.8;
  color: var(--charcoal);
  background: url("assets/images/background.jpg") center / cover no-repeat fixed;
  background-color: var(--off-white);
  overflow-x: hidden;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* Nadpisy - NE uppercase (psací font) */
h1, h2, h3 {
  text-transform: none;
  letter-spacing: 0.02em;
}

/* Formuláře - NE uppercase (lepší čitelnost) */
input, textarea, select, button {
  text-transform: none;
  letter-spacing: normal;
}

/* Selection */
::selection {
  background: var(--sage);
  color: var(--white);
}

/* Focus */
:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 3px;
}

/* ===========================================
   TYPOGRAPHY - základní
   =========================================== */
h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0.02em;
  color: var(--deep-charcoal);
}

p {
  max-width: 58ch;
  margin-bottom: 1.5em;
  margin-left: auto;
  margin-right: auto;
  color: var(--charcoal);
  font-weight: 400;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--sage-dark);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--deep-charcoal);
}

/* ===========================================
   NADPISY - KOMPLETNÍ NASTAVENÍ
   
   Načtené fonty (viz index.html):
   'Alex Brush', 'Allura', 'Great Vibes', 'Italianno',
   'Parisienne', 'Pinyon Script', 'Sacramento',
   'Tangerine', 'Dancing Script', 'Satisfy'
   =========================================== */

/* -----------------------------------------
   HERO - INICIÁLY (M & J)
   ----------------------------------------- */
.hero-initials .initial {
  font-family: 'Tangerine', cursive;
  font-size: clamp(12rem, 11rem + 11vw, 13rem);
  font-weight: 1000;
  color: var(--sage);
  line-height: 1;
  letter-spacing: 0.02em;
}

/* -----------------------------------------
   HERO - AMPERSAND (&)
   ----------------------------------------- */
.hero-initials .ampersand {
  font-family: 'Alex Brush', cursive;
  font-size: clamp(2.8rem, 2.4rem + 2.1vw, 4.5rem);
  font-weight: 400;
  color: var(--gold-muted);
  font-style: italic;
  opacity: 0.8;
}

/* -----------------------------------------
   HERO - JMÉNA (Michaela a Jiří)
   ----------------------------------------- */
h1.hero-names {
  font-family: 'Italianno', cursive;
  font-size: clamp(2.7rem, 2.3rem + 2.1vw, 4.5rem);
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: none;
  color: var(--charcoal);
}

/* -----------------------------------------
   SEKCE - NADPISY h2 (Dress code, Obřad...)
   ----------------------------------------- */
h2 {
  font-family: 'Allura', cursive;
  font-size: clamp(2.5rem, 2.1rem + 1.9vw, 4rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: none;
  line-height: 1.15;
  color: var(--deep-charcoal);
}

/* ===========================================
   TEXTOVÉ ÚROVNĚ
   =========================================== */
/* C2 - Hlavní texty (datum, místo, adresy) */
.text-main {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 400;
  color: var(--charcoal);
  line-height: 1.6;
  text-transform: uppercase;
}

/* C3 - Poznámky (menší, kurzíva) */
.text-note {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-style: italic;
  color: var(--warm-gray);
  line-height: 1.5;
  text-transform: uppercase;
}

/* ===========================================
   LAYOUT - Sekce jako scény
   =========================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.container--narrow {
  max-width: var(--content-max);
}

section {
  padding: clamp(80px, 12vh, 150px) 0; /* Upravitelné: min 80px, ideálně 12vh, max 150px */
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: visible;
}

/* Hero zůstává fullscreen */
#hero {
  min-height: 100vh;
  min-height: 100dvh;
  padding: 0;
}

/* Obsah sekce nad overlayem */
section > .container,
section > .container--narrow,
section > .container--wide {
  position: relative;
  z-index: 2;
}

/* ===========================================
   OVERLAY SEKCÍ - průhledné okraje
   
   Hodnoty rgba(0,0,0,X) v masce určují viditelnost:
   - 0   = úplně průhledné (neviditelné)
   - 0.85 = skoro plné (15% průsvitné) 
   - 1   = plně viditelné
   
   Pozice (procenta):
   - 0%/100% = okraje
   - 10%/90% = hranice přechodu (vertikální)
   - 5%/95%  = hranice přechodu (horizontální)
   
   PRO ÚPRAVU PRŮHLEDNOSTI OKRAJŮ:
   - Změň hodnotu 0.85 na nižší (více průsvitné) nebo vyšší (méně průsvitné)
   - Rozsah: 0 (úplně průhledné) až 1 (plně viditelné)
   =========================================== */

/* BÍLÉ SEKCE */
section.bg-white::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  
  /* Základní barva - bílá (0.95 = 5% průsvitná) */
  background: rgba(255, 255, 255, 0.98);
  
  /* MASK - průhledné okraje na všech stranách */
  -webkit-mask: 
    linear-gradient(to bottom, 
      rgba(0,0,0,0.95) 0%,     /* horní okraj - 85% viditelný (15% průsvitný) */
      rgba(0,0,0,1) 5%,       /* přechod do plné viditelnosti */
      rgba(0,0,0,1) 95%,       /* plný střed */
      rgba(0,0,0,0.95) 100%    /* spodní okraj - 85% viditelný (15% průsvitný) */
    ),
    linear-gradient(to right,
      rgba(0,0,0,0.45) 0%,     /* levý okraj - 85% viditelný */
      rgba(0,0,0,1) 25%,        /* přechod do plné viditelnosti */
      rgba(0,0,0,1) 75%,       /* plný střed */
      rgba(0,0,0,0.45) 100%    /* pravý okraj - 85% viditelný */
    );
  -webkit-mask-composite: source-in;
  mask: 
    linear-gradient(to bottom, rgba(0,0,0,0.90) 0%, rgba(0,0,0,1) 10%, rgba(0,0,0,1) 90%, rgba(0,0,0,0.90) 100%),
    linear-gradient(to right, rgba(0,0,0,0.60) 0%, rgba(0,0,0,1) 15%, rgba(0,0,0,1) 85%, rgba(0,0,0,0.60) 100%);
  mask-composite: intersect;
}

/* ===========================================
   PASTELOVÉ SEKCE - barvy definované přímo
   
   Pořadí barev (liché sekce od shora):
   1. ceremony  - zelená  #CDE3B0 = rgb(205, 227, 176)
   2. map       - modrá   #AED6F1 = rgb(174, 214, 241)
   3. transport - žlutá   #F9E79F = rgb(249, 231, 159)
   4. gifts     - fialová #D7C6F2 = rgb(215, 198, 242)
   5. rsvp      - růžová  #F5A9BC = rgb(245, 169, 188)
   =========================================== */

/* Společný styl pro všechny pastelové sekce */
section.bg-pastel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  
  /* MASK - průhledné okraje na všech stranách */
  -webkit-mask: 
    linear-gradient(to bottom, 
      rgba(0,0,0,0.90) 0%,     /* horní okraj - 85% viditelný (15% průsvitný) */
      rgba(0,0,0,1) 10%,       /* přechod do plné viditelnosti */
      rgba(0,0,0,1) 95%,       /* plný střed */
      rgba(0,0,0,0.90) 100%    /* spodní okraj - 85% viditelný (15% průsvitný) */
    ),
    linear-gradient(to right,
      rgba(0,0,0,0.45) 0%,     /* levý okraj - 85% viditelný */
      rgba(0,0,0,1) 25%,        /* přechod do plné viditelnosti */
      rgba(0,0,0,1) 75%,       /* plný střed */
      rgba(0,0,0,0.45) 100%    /* pravý okraj - 85% viditelný */
    );
  -webkit-mask-composite: source-in;
  mask: 
    linear-gradient(to bottom, rgba(0,0,0,0.90) 0%, rgba(0,0,0,1) 10%, rgba(0,0,0,1) 90%, rgba(0,0,0,0.90) 100%),
    linear-gradient(to right, rgba(0,0,0,0.60) 0%, rgba(0,0,0,1) 15%, rgba(0,0,0,1) 85%, rgba(0,0,0,0.60) 100%);
  mask-composite: intersect;
}

/* 1. ZELENÁ - ceremony */
section.bg-pastel-green::before {
  background: rgba(227, 233, 197, 0.98);  /* #E3E9C5 */
}

/* 2. MODRÁ - map */
section.bg-pastel-blue::before {
  background: rgba(220, 230, 244, 0.98);  /* #DCE6F4 */
}

/* 3. ŽLUTÁ - transport */
section.bg-pastel-yellow::before {
  background: rgba(254, 233, 184, 0.98);  /* #FEE9B8 */
}

/* 4. FIALOVÁ - gifts */
section.bg-pastel-purple::before {
  background: rgba(235, 218, 237, 0.98);  /* #EBDAED */
}

/* 5. RŮŽOVÁ - rsvp */
section.bg-pastel-pink::before {
  background: rgba(249, 213, 213, 0.98);  /* #F9D5D5 */
}

/* ===========================================
   NAVIGACE - Plovoucí tečky + vždy viditelné texty
   =========================================== */
.nav-sidebar {
  position: fixed;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
}

@media (max-width: 900px) {
  .nav-sidebar {
    display: none;
  }
}

.nav-sidebar ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.nav-sidebar a {
  display: block;
  width: 10px;
  height: 10px;
  border: 1.5px solid var(--warm-gray);
  border-radius: 50%;
  transition: all var(--transition-fast);
  position: relative;
}

.nav-sidebar a:hover {
  border-color: var(--sage);
  transform: scale(1.2);
}

.nav-sidebar a.active {
  border-color: var(--sage);
  background: var(--sage);
}

/* Label - VŽDY viditelný, bez pozadí */
.nav-sidebar .nav-label {
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--warm-gray);
  background: none;
  padding: 0;
  opacity: 1;
  transition: color var(--transition-fast), font-weight var(--transition-fast);
}

.nav-sidebar a:hover .nav-label {
  color: var(--charcoal);
}

/* Aktivní sekce - bold */
.nav-sidebar a.active .nav-label {
  color: var(--sage-dark);
  font-weight: 700;
}

/* Skrýt tečku span - už nepotřebujeme */
.nav-sidebar .nav-dot {
  display: none;
}

/* Mobile toggle */
.nav-mobile-toggle {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 1001;
  width: 52px;
  height: 52px;
  border: none;
  border-radius: 50%;
  background: var(--white);
  color: var(--charcoal);
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition-fast);
}

.nav-mobile-toggle:hover {
  transform: scale(1.05);
}

@media (min-width: 901px) {
  .nav-mobile-toggle {
    display: none;
  }
}

/* ===========================================
   HERO - Half viewport, atmospheric
   =========================================== */
#hero {
  min-height: 50vh;
  min-height: 50dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-md);
  position: relative;
  background: transparent !important; /* Vidět skrz na pozadí body */
  overflow: hidden;
}

/* Overlay - jemný pro čitelnost */
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(250, 249, 247, 0.45);
  z-index: 1;
}

#hero > * {
  position: relative;
  z-index: 2;
}

/* Initials - layout */
.hero-initials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.5rem, 2vw, 1.5rem);
  margin-bottom: var(--space-sm);
}

/* Names (h1) - layout */
.hero-names {
  margin-bottom: var(--space-md);
}

/* Date & details */
.hero-date {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--deep-charcoal);
  margin-bottom: var(--space-xs);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hero-time,
.hero-location {
  font-size: var(--text-sm);
  color: var(--warm-gray);
  margin-bottom: 0.25rem;
  text-transform: uppercase;
}

.hero-location {
  color: var(--sage-dark);
  font-weight: 400;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
  color: var(--taupe);
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
  50% { transform: translateX(-50%) translateY(8px); opacity: 0.5; }
}

/* Section header */
.section-header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.section-header h2 {
  margin-bottom: 0;
}

/* Section icons - obrázky pod nadpisy */
.section-icon {
  display: block;
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin: var(--space-md) auto 0;
  opacity: 0.65;
}

.section-icon--large {
  width: 210px;
  height: 210px;
}

/* ===========================================
   DRESS CODE - pouze barevné vzorky
   =========================================== */
#dress-code {
  text-align: center;
}

#dress-code .container {
  max-width: 600px;
}

.color-swatches {
  display: flex;
  justify-content: center;
  gap: clamp(0.5rem, 2vw, 1.5rem);
  flex-wrap: nowrap;
  margin-bottom: var(--space-md);
}

.color-swatches .swatch {
  width: clamp(40px, 8vw, 60px);
  height: clamp(40px, 8vw, 60px);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  flex-shrink: 0;
}

.dress-note {
  font-size: var(--text-sm);
  color: var(--warm-gray);
  max-width: 400px;
  margin: 0 auto;
  font-style: italic;
}

/* ===========================================
   CEREMONY - Obřad
   =========================================== */
#ceremony {
  text-align: center;
}

.ceremony-info {
  text-align: center;
}

.ceremony-date {
  font-family: var(--font-body);
  font-size: var(--text-xl);
  font-weight: 500;
  color: var(--deep-charcoal);
  margin-bottom: var(--space-xs);
}

.ceremony-time {
  font-family: var(--font-body);
  font-size: var(--text-xl);
  font-weight: 500;
  color: var(--deep-charcoal);
  margin-bottom: var(--space-md);
}

.ceremony-place {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 400;
  color: var(--charcoal);
}

/* ===========================================
   VENUE - Místo konání
   =========================================== */
#venue {
  text-align: center;
}

.venue-info {
  margin-bottom: var(--space-md);
}

.venue-address {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: var(--space-sm);
}

.venue-note {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-style: italic;
  color: var(--warm-gray);
}

/* Map */
.venue-map-wrapper {
  margin-bottom: var(--space-lg);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

#venue-map {
  width: 100%;
  height: 350px;
  background: var(--cream);
}

.venue-map-link {
  display: block;
  padding: 0.875rem var(--space-sm);
  background: var(--white);
  font-size: var(--text-sm);
  color: var(--sage-dark);
  text-align: left;
  border-top: 1px solid var(--sand);
}

.venue-map-link:hover {
  color: var(--deep-charcoal);
}

/* Gallery - hierarchie: jedna dominantní + ostatní */
.venue-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 180px;
  gap: 10px;
}

/* Hlavní fotka - velká */
.venue-gallery img:first-child {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
}

.venue-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 3px;
  cursor: pointer;
  transition: transform var(--transition-base), opacity var(--transition-base);
}

.venue-gallery img:hover {
  transform: scale(1.015);
  opacity: 0.92;
}

/* Lightbox s navigací */
#lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

#lightbox.active {
  display: flex;
}

#lightbox img {
  max-width: 85%;
  max-height: 85%;
  object-fit: contain;
}

/* Lightbox tlačítka */
#lightbox button {
  position: absolute;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  padding: 1rem;
  transition: color var(--transition-fast);
}

#lightbox button:hover {
  color: #fff;
}

.lightbox-close {
  top: 1rem;
  right: 1.5rem;
  font-size: 2.5rem;
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  font-size: 3rem;
}

.lightbox-prev {
  left: 1.5rem;
}

.lightbox-next {
  right: 1.5rem;
}

.lightbox-counter {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.5);
  font-size: var(--text-sm);
}

@media (max-width: 900px) {
  .venue-gallery {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 140px;
  }
  
  .venue-gallery img:first-child {
    grid-column: 1 / 3;
    grid-row: 1 / 2;
  }
}

@media (max-width: 600px) {
  .venue-gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 120px;
  }
  
  .venue-gallery img:first-child {
    grid-column: 1 / -1;
    grid-row: span 1;
  }
}

/* ===========================================
   GALERIE - samostatná sekce
   =========================================== */
#gallery {
  text-align: center;
}

#gallery .container {
  max-width: 1100px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 180px;
  gap: 10px;
}

.gallery-grid img:first-child {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 3px;
  cursor: pointer;
  transition: opacity var(--transition-base);
}

.gallery-grid img:hover {
  opacity: 0.85;
}

@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 140px;
  }
  .gallery-grid img:first-child {
    grid-column: 1 / 3;
    grid-row: 1 / 2;
  }
}

@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 120px;
  }
  .gallery-grid img:first-child {
    grid-column: 1 / -1;
    grid-row: span 1;
  }
}

/* ===========================================
   MAPA - samostatná sekce
   =========================================== */
#map {
  text-align: center;
}

#map .container {
  max-width: 900px;
}

.map-wrapper {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.map-wrapper--large {
  border-radius: 12px;
}

#leaflet-map {
  width: 100%;
  height: 600px;
  background: var(--cream);
}

.map-link-standalone {
  display: inline-block;
  margin-top: var(--space-md);
  font-size: var(--text-sm);
  color: var(--sage-dark);
  text-decoration: none;
}

.map-link-standalone:hover {
  color: var(--deep-charcoal);
}

/* Starý styl - pro zpětnou kompatibilitu */
.map-link {
  display: block;
  padding: 0.875rem var(--space-sm);
  background: var(--white);
  font-size: var(--text-sm);
  color: var(--sage-dark);
  text-align: left;
  border-top: 1px solid var(--sand);
}

.map-link:hover {
  color: var(--deep-charcoal);
}

/* ===========================================
   TRANSPORT
   =========================================== */
#transport {
  text-align: center;
}

.info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.info-card {
  padding: var(--space-md);
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.info-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.info-card h3 {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--sage-dark);
  margin-bottom: var(--space-xs);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.info-card p {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--charcoal);
  margin: 0;
  line-height: 1.5;
}

.cta-text {
  color: var(--warm-gray);
}

.cta-text a {
  color: var(--sage-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ===========================================
   PROGRAM / TIMELINE
   =========================================== */
#program {
  text-align: center;
}

.program-note {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 400;
  color: var(--charcoal);
  max-width: 400px;
  margin: 0 auto;
  line-height: 1.6;
}

.timeline {
  max-width: 500px;
  margin: 0 auto;
  position: relative;
}

.timeline-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
  text-align: left;
  position: relative;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-icon {
  width: 105px;
  height: 105px;
  object-fit: contain;
  flex-shrink: 0;
  opacity: 0.7;
}

.timeline-dot {
  width: 75px;
  height: 75px;
  background: var(--sage);
  border-radius: 50%;
  flex-shrink: 0;
  opacity: 0.5;
}

.timeline-content {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.timeline-time {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 400;
  color: var(--charcoal);
}

.timeline-time::after {
  content: ' –';
}

.timeline-title {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 400;
  color: var(--charcoal);
  text-transform: none;
  letter-spacing: 0;
}

/* ===========================================
   GIFTS / DARY
   =========================================== */
#gifts {
  text-align: center;
}

#gifts .container {
  max-width: 550px;
}

.gifts-text {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.9;
  color: var(--charcoal);
}

/* ===========================================
   MENU / HOSTINA
   =========================================== */
#menu {
  text-align: center;
}

#menu .container {
  max-width: 600px;
}

.menu-text {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: var(--space-md);
  line-height: 1.6;
}

.menu-courses {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
  max-width: 900px;
  margin: 0 auto;
}

.menu-course {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  transition: transform var(--transition-base);
}

.menu-course:hover {
  transform: translateY(-4px);
}

.menu-course img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.menu-course h3 {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0.02em;
  color: var(--white);
  margin: var(--space-sm) var(--space-sm) 0.5rem;
}

.menu-course p {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.8);
  margin: 0 var(--space-sm) var(--space-sm);
  line-height: 1.5;
}

.menu-note {
  font-style: italic;
  font-size: var(--text-sm);
  opacity: 0.85;
}

/* ===========================================
   RSVP
   =========================================== */
#rsvp {
  text-align: center;
}

.rsvp-text {
  font-size: var(--text-base);
  color: var(--charcoal);
  margin-bottom: var(--space-md);
}

.rsvp-intro {
  font-size: var(--text-lg);
  color: var(--charcoal);
  margin-bottom: var(--space-xs);
}

.rsvp-deadline {
  color: var(--warm-gray);
  margin-bottom: var(--space-lg);
  font-size: var(--text-sm);
}

.rsvp-form {
  text-align: left;
  max-width: 500px;
  margin: 0 auto;
}

/* Tlačítko odeslat - na střed */
.rsvp-form button[type="submit"] {
  display: block;
  margin: var(--space-md) auto 0;
}

/* Řádek s 2 poli vedle sebe */
.form-row {
  display: flex;
  gap: var(--space-sm);
}

.form-row .form-group {
  flex: 1;
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: var(--space-xs);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid var(--sand);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 300;
  color: var(--charcoal);
  background: var(--white);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--taupe);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(138, 154, 142, 0.1);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

/* Number input - menší šipky */
.form-group input[type="number"] {
  -moz-appearance: textfield;
}

.radio-group {
  display: flex;
  gap: var(--space-md);
}

.radio-group--vertical {
  flex-direction: column;
  gap: var(--space-xs);
}

.radio-label,
.checkbox-label {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  cursor: pointer;
  font-size: var(--text-sm);
}

.radio-label input,
.checkbox-label input {
  width: auto;
  accent-color: var(--sage);
}

/* Button */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition-base);
}

.btn--primary {
  background: var(--sage);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--sage-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--full {
  width: 100%;
}

/* ===========================================
   FOOTER
   =========================================== */
footer {
  text-align: center;
  padding: var(--space-lg) var(--space-md);
  background: var(--cream);
  border-top: 1px solid var(--sand);
}

footer p {
  font-size: var(--text-sm);
  color: var(--warm-gray);
  margin-bottom: var(--space-xs);
}

footer a {
  color: var(--sage-dark);
}

/* ===========================================
   RESPONSIVE
   =========================================== */
@media (max-width: 768px) {
  :root {
    --section-padding: clamp(3rem, 6vh, 5rem);
  }
  
  .venue-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
  
  .venue-gallery img {
    height: 140px;
  }
  
  #venue-map {
    height: 280px;
  }
  
  .info-cards {
    grid-template-columns: 1fr;
  }
  
  .menu-courses {
    flex-direction: column;
    gap: var(--space-md);
  }
  
  .menu-course {
    max-width: none;
  }
  
  .timeline {
    padding-left: 0;
  }
  
  .timeline-icon {
    width: 80px;
    height: 80px;
  }
  
  .timeline-content {
    flex-wrap: wrap;
  }
  
  .section-icon {
    width: 90px;
    height: 90px;
  }
  
  .section-icon--large {
    width: 150px;
    height: 150px;
  }
}

/* ===========================================
   UTILITIES
   =========================================== */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ===========================================
   LOADED STATE
   =========================================== */
body:not(.loaded) {
  overflow: hidden;
}

body.loaded .hero-initials,
body.loaded .hero-names,
body.loaded .hero-date {
  animation: fadeUp 0.8s ease forwards;
}

body.loaded .hero-names { animation-delay: 0.2s; }
body.loaded .hero-date { animation-delay: 0.4s; }

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Initial hidden state */
.hero-initials,
.hero-names,
.hero-date {
  opacity: 0;
}

/* ===========================================
   KRITICKÉ: Container NESMÍ zakrývat overlay
   =========================================== */
section.bg-pastel .container,
section.bg-white .container,
section.bg-pastel .container--narrow,
section.bg-white .container--narrow,
section.bg-pastel .container--wide,
section.bg-white .container--wide {
  background: transparent !important;
}
