/* ========================================
   Wedding Garden Party Showcase
   Color Palette: warm creams, sage greens, soft corals
   ======================================== */

:root {
  --color-cream: #fdf8f0;
  --color-cream-dark: #f5edd8;
  --color-warm-white: #fffaf5;
  --color-sage: #8fae8b;
  --color-sage-light: #c5d9c3;
  --color-sage-dark: #5e8a59;
  --color-coral: #e8967a;
  --color-coral-light: #f4c4b3;
  --color-gold: #c9a96e;
  --color-gold-light: #e8d5a8;
  --color-brown: #8b7355;
  --color-brown-light: #b5a08a;
  --color-text: #4a4035;
  --color-text-light: #7a7068;
  --color-text-muted: #a09888;
  --font-serif: 'Noto Serif SC', 'Georgia', serif;
  --font-sans: 'Noto Sans SC', 'Helvetica Neue', sans-serif;
  --shadow-sm: 0 2px 8px rgba(74, 64, 53, 0.08);
  --shadow-md: 0 4px 20px rgba(74, 64, 53, 0.1);
  --shadow-lg: 0 8px 40px rgba(74, 64, 53, 0.12);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background-color: var(--color-cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ========================================
   Container
   ======================================== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background-image:
    radial-gradient(circle at 25% 25%, rgba(143, 174, 139, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 75% 75%, rgba(232, 150, 122, 0.06) 0%, transparent 40%);
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(-2%, -2%) rotate(1deg); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.55);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 40px 24px;
}

.hero-label {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-sage);
  margin-bottom: 20px;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.3;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 300;
  color: var(--color-text-light);
  max-width: 500px;
  margin: 0 auto;
}

.hero-divider {
  margin-top: 36px;
  font-size: 1.5rem;
  color: var(--color-coral);
}

/* ========================================
   Section Common
   ======================================== */
.section {
  padding: 80px 0;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 600;
  text-align: center;
  color: var(--color-text);
  margin-bottom: 12px;
}

.section-desc {
  text-align: center;
  color: var(--color-text-light);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto 48px;
}

/* ========================================
   Venue Overview / Floor Plan
   ======================================== */
.venue-overview {
  background-color: var(--color-warm-white);
}

.venue-map {
  max-width: 700px;
  margin: 0 auto;
}

.venue-path {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.venue-entrance,
.venue-ceremony {
  background: var(--color-sage);
  color: #fff;
  padding: 16px 32px;
  border-radius: var(--radius-md);
  text-align: center;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: var(--shadow-md);
}

.venue-entrance .arch-icon,
.venue-ceremony .ceremony-icon {
  font-size: 1.5rem;
  margin-bottom: 4px;
  display: block;
}

.flow-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 0;
}

.arrow-line {
  width: 2px;
  height: 32px;
  background: linear-gradient(to bottom, var(--color-sage), var(--color-sage-light));
  position: relative;
}

.arrow-line::after {
  content: '▼';
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  color: var(--color-sage);
}

.arrow-text {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-top: 12px;
  letter-spacing: 0.1em;
}

.corridor {
  width: 100%;
  border: 2px dashed var(--color-sage-light);
  border-radius: var(--radius-lg);
  padding: 24px 16px;
  position: relative;
  background: rgba(255, 255, 255, 0.6);
}

.corridor-label {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-warm-white);
  padding: 2px 16px;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  letter-spacing: 0.1em;
}

.corridor-sides {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: start;
}

.corridor-left,
.corridor-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.corridor-right {
  text-align: right;
}

.zone-marker {
  background: white;
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s, box-shadow 0.2s;
}

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

.corridor-right .zone-marker {
  flex-direction: row-reverse;
}

.zone-emoji {
  font-size: 1.3rem;
  flex-shrink: 0;
}

.zone-name {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text);
  white-space: nowrap;
}

.corridor-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 8px;
  min-width: 80px;
}

.chair-row {
  display: flex;
  gap: 4px;
}

.chair {
  font-size: 1rem;
  color: var(--color-brown);
  opacity: 0.6;
}

.center-label {
  font-size: 0.7rem;
  color: var(--color-text-muted);
  white-space: nowrap;
}

.venue-ceremony {
  background: linear-gradient(135deg, var(--color-coral), var(--color-coral-light));
}

/* ========================================
   Zone Detail Cards
   ======================================== */
.zone-details {
  background: var(--color-cream);
}

.zones-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.zone-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s, opacity 0.5s;
  position: relative;
  overflow: hidden;
  opacity: 1;
  transform: translateY(0);
}

.zone-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.zone-card[data-zone="1"]::before { background: linear-gradient(90deg, var(--color-coral), var(--color-coral-light)); }
.zone-card[data-zone="2"]::before { background: linear-gradient(90deg, var(--color-sage), var(--color-sage-light)); }
.zone-card[data-zone="3"]::before { background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light)); }
.zone-card[data-zone="4"]::before { background: linear-gradient(90deg, var(--color-coral), var(--color-gold)); }
.zone-card[data-zone="5"]::before { background: linear-gradient(90deg, var(--color-sage-dark), var(--color-sage)); }
.zone-card[data-zone="6"]::before { background: linear-gradient(90deg, var(--color-gold), var(--color-coral-light)); }

.zone-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.zone-card.visible:hover {
  transform: translateY(-4px);
}

/* Zone card reference images */
.zone-card-img {
  margin: -32px -28px 20px -28px;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  overflow: hidden;
  max-height: 220px;
}

.zone-card-img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.zone-card-img-extra {
  margin: 16px -28px -32px -28px;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
}

.zone-card-img-extra img {
  height: 180px;
}

/* Ceremony reference gallery */
.ceremony-ref {
  background: var(--color-cream);
}

.ceremony-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.ceremony-img {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: white;
}

.ceremony-img img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

.img-caption {
  padding: 12px 16px;
  font-size: 0.85rem;
  color: var(--color-brown);
  text-align: center;
  font-weight: 500;
}

@media (max-width: 768px) {
  .ceremony-gallery {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .ceremony-img img {
    height: 240px;
  }
}

.zone-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.zone-card-emoji {
  font-size: 2.5rem;
}

.zone-card-number {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-cream-dark);
  line-height: 1;
}

.zone-card h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.zone-location {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

.zone-desc {
  font-size: 0.95rem;
  color: var(--color-text-light);
  margin-bottom: 16px;
  line-height: 1.6;
}

.zone-features {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.zone-features li {
  background: var(--color-cream);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  color: var(--color-text);
  font-weight: 400;
}

/* ========================================
   Atmosphere Section
   ======================================== */
.atmosphere {
  background: linear-gradient(180deg, var(--color-warm-white) 0%, var(--color-cream) 100%);
}

.atmosphere-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.atmosphere-card {
  text-align: center;
  padding: 32px 20px;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s, opacity 0.5s;
  opacity: 1;
  transform: translateY(0);
}

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

.atmosphere-card.visible:hover {
  transform: translateY(-4px);
}

.atmosphere-icon {
  font-size: 2rem;
  color: var(--color-sage);
  margin-bottom: 12px;
}

.atmosphere-card h4 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.atmosphere-card p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

.keywords {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.keyword {
  display: inline-block;
  padding: 8px 20px;
  border: 1.5px solid var(--color-sage-light);
  border-radius: 24px;
  font-size: 0.85rem;
  color: var(--color-sage-dark);
  font-weight: 500;
  transition: all 0.2s;
}

.keyword:hover {
  background: var(--color-sage);
  color: white;
  border-color: var(--color-sage);
}

/* ========================================
   Footer
   ======================================== */
.footer {
  padding: 48px 0;
  background: var(--color-text);
  color: rgba(255, 255, 255, 0.7);
}

.footer-content {
  text-align: center;
}

.footer-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 8px;
}

.footer-note {
  font-size: 0.85rem;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.6;
}

.footer-divider {
  width: 40px;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
  margin: 24px auto;
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 768px) {
  .section {
    padding: 56px 0;
  }

  .section-desc {
    margin-bottom: 36px;
  }

  .hero {
    min-height: 80vh;
  }

  .zones-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .zone-card {
    padding: 24px 20px;
  }

  .atmosphere-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Venue map mobile adjustments */
  .corridor-sides {
    grid-template-columns: 1fr auto 1fr;
    gap: 6px;
  }

  .zone-name {
    font-size: 0.75rem;
  }

  .zone-emoji {
    font-size: 1.1rem;
  }

  .zone-marker {
    padding: 8px 8px;
    gap: 4px;
  }

  .corridor {
    padding: 24px 8px;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 15px;
  }

  .container {
    padding: 0 16px;
  }

  .hero {
    min-height: 70vh;
  }

  .atmosphere-grid {
    grid-template-columns: 1fr;
  }

  .corridor-center {
    min-width: 50px;
    padding: 8px 4px;
  }

  .chair-row {
    gap: 2px;
  }

  .chair {
    font-size: 0.8rem;
  }

  .zone-name {
    font-size: 0.7rem;
  }

  .zone-emoji {
    font-size: 0.95rem;
  }

  .keywords {
    gap: 8px;
  }

  .keyword {
    padding: 6px 14px;
    font-size: 0.8rem;
  }
}

/* ========================================
   Scroll Animation
   ======================================== */
.zone-card,
.atmosphere-card {
  will-change: transform, opacity;
}
