/* ============================================================
   OFDS Food Festival — Master Stylesheet
   Premium warm editorial design
   ============================================================ */

/* ─── Google Fonts ─────────────────────────────────────────── */
/* Accent typeface: Playfair Display (loaded from Google Fonts) */
/* Heading/Body: Helvetica */

/* ============================================================
   1. CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  /* ── Brand Colors ── */
  --color-light-sage:      #dedec6;
  --color-light-pink:      #f0d4d0;
  --color-light-cream:     #faf4b9;
  --color-medium-olive:    #8c884c;
  --color-medium-rose:     #d37478;
  --color-burnt-orange:    #d36938;
  --color-dark-olive:      #45452e;
  --color-dark-wine:       #671612;
  --color-dark-chocolate:  #5e2a19;

  /* ── Neutrals ── */
  --color-white:           #ffffff;
  --color-off-white:       #fdfdf5;
  --color-black:           #1a1a1a;
  --color-overlay:         rgba(26, 26, 26, 0.55);

  /* ── Typography ── */
  --font-heading:  Helvetica, Arial, sans-serif;
  --font-body:     Helvetica, Arial, sans-serif;
  --font-accent:   'Playfair Display', Georgia, 'Times New Roman', serif;

  /* ── Font Sizes (fluid) ── */
  --text-xs:   clamp(0.7rem,  0.65rem + 0.25vw, 0.8rem);
  --text-sm:   clamp(0.8rem,  0.75rem + 0.25vw, 0.9rem);
  --text-base: clamp(0.95rem, 0.9rem  + 0.25vw, 1.05rem);
  --text-lg:   clamp(1.1rem,  1rem    + 0.5vw,  1.3rem);
  --text-xl:   clamp(1.3rem,  1.1rem  + 0.8vw,  1.7rem);
  --text-2xl:  clamp(1.7rem,  1.3rem  + 1.2vw,  2.4rem);
  --text-3xl:  clamp(2rem,    1.5rem  + 1.8vw,  3.2rem);
  --text-4xl:  clamp(2.5rem,  1.8rem  + 2.5vw,  4.2rem);
  --text-5xl:  clamp(3rem,    2rem    + 3vw,    5.5rem);

  /* ── Spacing ── */
  --space-2xs:  0.25rem;
  --space-xs:   0.5rem;
  --space-sm:   0.75rem;
  --space-md:   1rem;
  --space-lg:   1.5rem;
  --space-xl:   2rem;
  --space-2xl:  3rem;
  --space-3xl:  4rem;
  --space-4xl:  6rem;
  --space-5xl:  8rem;

  /* ── Layout ── */
  --container-max:    1280px;
  --container-narrow: 900px;
  --header-height:    72px;
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 16px;
  --border-radius-xl: 24px;

  /* ── Transitions ── */
  --ease-out:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-fast:   180ms var(--ease-out);
  --transition-base:   320ms var(--ease-out);
  --transition-slow:   500ms var(--ease-out);

  /* ── Shadows ── */
  --shadow-sm:   0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md:   0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg:   0 8px 30px rgba(0, 0, 0, 0.12);
  --shadow-xl:   0 16px 50px rgba(0, 0, 0, 0.18);
  --shadow-card: 0 2px 8px rgba(69, 69, 46, 0.08);
}

/* ============================================================
   2. CSS RESET
   ============================================================ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
  font-size: 100%;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.7;
  color: var(--color-black);
  background-color: var(--color-off-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.15;
  overflow-wrap: break-word;
}

p {
  overflow-wrap: break-word;
}

/* Remove animations for reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================================
   3. SKIP TO CONTENT
   ============================================================ */
.skip-to-content {
  position: absolute;
  top: -100%;
  left: var(--space-md);
  z-index: 10000;
  padding: var(--space-sm) var(--space-lg);
  background: var(--color-burnt-orange);
  color: var(--color-white);
  font-weight: 700;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 0 0 var(--border-radius-md) var(--border-radius-md);
  transition: top var(--transition-fast);
}

.skip-to-content:focus {
  top: 0;
  outline: 3px solid var(--color-light-cream);
  outline-offset: 2px;
}

/* ============================================================
   4. UTILITY — CONTAINER
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-lg);
}

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

/* ============================================================
   5. STICKY HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1010;
  height: var(--header-height);
  display: flex;
  align-items: center;
  background-color: var(--color-light-cream);
  transition:
    background-color var(--transition-base),
    box-shadow var(--transition-base),
    backdrop-filter var(--transition-base);
}

.site-header.scrolled {
  background-color: var(--color-medium-olive);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
  width: 100%;
}

/* ── Logo ── */
.header__logo {
  flex-shrink: 0;
  z-index: 1010;
  text-decoration: none;
}

.logo-text {
  font-size: var(--text-base);
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
  color: var(--color-burnt-orange);
  transition: color var(--transition-fast);
}

.logo-text__f {
  font-family: var(--font-accent);
  font-weight: 700;
  font-style: normal;
  text-transform: lowercase;
}

.logo-text__ds {
  font-family: var(--font-accent);
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
}

.header__logo:hover .logo-text {
  color: var(--color-dark-olive);
}

/* Scrolled state for logo */
.site-header.scrolled .logo-text {
  color: var(--color-white);
}

.logo-text--footer {
  color: var(--color-burnt-orange);
  font-size: var(--text-3xl);
  margin-bottom: var(--space-lg);
}

/* ── Main Navigation ── */
.main-nav {
  display: none;
}

.main-nav__list {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.main-nav__link {
  position: relative;
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-dark-olive);
  padding: var(--space-xs) 0;
  transition: color var(--transition-fast);
}

.main-nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--color-burnt-orange);
  transition: width var(--transition-base), left var(--transition-base);
}

.main-nav__link:hover,
.main-nav__link:focus-visible,
.main-nav__link.active {
  color: var(--color-burnt-orange);
}

.main-nav__link:hover::after,
.main-nav__link:focus-visible::after,
.main-nav__link.active::after {
  width: 100%;
  left: 0;
}

/* Scrolled state for nav */
.site-header.scrolled .main-nav__link {
  color: var(--color-white);
}

.site-header.scrolled .main-nav__link:hover,
.site-header.scrolled .main-nav__link:focus-visible,
.site-header.scrolled .main-nav__link.active {
  color: var(--color-light-cream);
}

.site-header.scrolled .main-nav__link::after {
  background: var(--color-light-cream);
}

/* ── Language Switcher ── */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  z-index: 1010;
}

.lang-switcher__btn {
  position: relative;
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(69, 69, 46, 0.6);
  padding: var(--space-2xs) var(--space-xs);
  transition: color var(--transition-fast);
  background: transparent;
  border: none;
  cursor: pointer;
}

.lang-switcher__btn:hover,
.lang-switcher__btn:focus-visible {
  color: var(--color-dark-olive);
}

.lang-switcher__btn.active {
  color: var(--color-dark-olive);
}

.lang-switcher__btn.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: var(--space-xs);
  right: var(--space-xs);
  height: 2px;
  background: var(--color-burnt-orange);
  border-radius: 1px;
}

.lang-switcher__divider {
  width: 1px;
  height: 14px;
  background: rgba(69, 69, 46, 0.2);
}

/* Scrolled state for switcher */
.site-header.scrolled .lang-switcher__btn {
  color: rgba(255, 255, 255, 0.6);
}

.site-header.scrolled .lang-switcher__btn:hover,
.site-header.scrolled .lang-switcher__btn:focus-visible {
  color: var(--color-white);
}

.site-header.scrolled .lang-switcher__btn.active {
  color: var(--color-white);
}

.site-header.scrolled .lang-switcher__btn.active::after {
  background: var(--color-light-cream);
}

.site-header.scrolled .lang-switcher__divider {
  background: rgba(255, 255, 255, 0.2);
}

/* ── Hamburger ── */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  z-index: 1010;
  padding: var(--space-xs);
  background: transparent;
  border: none;
  cursor: pointer;
}

.hamburger__line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-dark-olive);
  border-radius: 2px;
  transition:
    transform var(--transition-base),
    opacity var(--transition-fast),
    background-color var(--transition-fast);
}

.site-header.scrolled .hamburger__line {
  background: var(--color-white);
}

.hamburger.is-active .hamburger__line {
  background: var(--color-white);
}

.hamburger__line + .hamburger__line {
  margin-top: 6px;
}

.hamburger.is-active .hamburger__line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.is-active .hamburger__line:nth-child(2) {
  opacity: 0;
}

.hamburger.is-active .hamburger__line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ── Mobile Nav Overlay ── */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 1005;
  background: rgba(69, 69, 46, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity var(--transition-slow),
    visibility var(--transition-slow);
}

.mobile-nav.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav__link {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-white);
  padding: var(--space-sm) var(--space-lg);
  transform: translateY(20px);
  opacity: 0;
  transition:
    transform var(--transition-base),
    opacity var(--transition-base),
    color var(--transition-fast);
}

.mobile-nav.is-open .mobile-nav__link {
  transform: translateY(0);
  opacity: 1;
}

/* Stagger the entrance */
.mobile-nav.is-open .mobile-nav__link:nth-child(1) { transition-delay: 100ms; }
.mobile-nav.is-open .mobile-nav__link:nth-child(2) { transition-delay: 150ms; }
.mobile-nav.is-open .mobile-nav__link:nth-child(3) { transition-delay: 200ms; }
.mobile-nav.is-open .mobile-nav__link:nth-child(4) { transition-delay: 250ms; }
.mobile-nav.is-open .mobile-nav__link:nth-child(5) { transition-delay: 300ms; }
.mobile-nav.is-open .mobile-nav__link:nth-child(6) { transition-delay: 350ms; }
.mobile-nav.is-open .mobile-nav__link:nth-child(7) { transition-delay: 400ms; }

.mobile-nav__link:hover,
.mobile-nav__link:focus-visible {
  color: var(--color-burnt-orange);
}

/* ============================================================
   6. HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* ── Typographic Hero Layout ── */
.hero--typographic {
  background-color: var(--color-light-cream);
  color: var(--color-dark-olive);
  padding-top: calc(var(--header-height) + var(--space-2xl));
  padding-bottom: var(--space-4xl);
}

.hero__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.hero__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  width: 100%;
  max-width: 900px;
  margin-inline: auto;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .hero__layout {
    grid-template-columns: 1.2fr 0.8fr;
    gap: var(--space-3xl);
    text-align: left;
    max-width: 1100px;
  }
}

.hero__brand-block {
  display: flex;
  flex-direction: column;
}

.hero__edition-tag {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-dark-olive);
  margin-bottom: var(--space-sm);
}

.hero__main-title {
  display: flex;
  flex-direction: column;
  line-height: 0.9;
}

.hero__main-title-top {
  font-family: var(--font-accent);
  font-weight: 700;
  font-style: normal;
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  color: var(--color-burnt-orange);
  text-transform: lowercase;
  letter-spacing: -0.01em;
}

.hero__main-title-mid {
  font-family: var(--font-accent);
  font-weight: 700;
  font-style: italic;
  font-size: clamp(3.5rem, 9vw, 7.5rem);
  color: var(--color-burnt-orange);
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.hero__main-title-bottom {
  font-family: var(--font-accent);
  font-weight: 700;
  font-style: italic;
  font-size: clamp(3.5rem, 9vw, 7.5rem);
  color: var(--color-burnt-orange);
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.hero__graphics-block {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

@media (min-width: 768px) {
  .hero__graphics-block {
    align-items: center;
    margin-top: 0;
  }
}

/* Curved path location label */
.hero__curve-wrap {
  width: 100%;
  max-width: 480px;
}

.hero__curve-svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.hero__curve-text-element {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 32px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  fill: var(--color-dark-olive);
}

/* Badges stacked group */
.hero__badges-group {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
}

/* Date badge */
.hero__date-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: var(--color-dark-wine);
  color: var(--color-white);
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-lg);
}

.hero__date-text {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 900;
  letter-spacing: 0.05em;
}

.hero__year-text {
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 700;
  opacity: 0.8;
  letter-spacing: 0.1em;
}

.countdown-wrap {
  width: 100%;
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-lg);
}

/* Countdown on light bg */
.hero--typographic .countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.hero--typographic .countdown__box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 80px;
  background: var(--color-white);
  border: 1.5px solid var(--color-burnt-orange);
  border-radius: var(--border-radius-md);
  box-shadow: 0 4px 10px rgba(211, 105, 56, 0.08);
  transition: transform var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-fast);
}

.hero--typographic .countdown__box:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(211, 105, 56, 0.15);
  background-color: var(--color-light-sage);
}

.hero--typographic .countdown__number {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-burnt-orange);
  line-height: 1;
}

.hero--typographic .countdown__label {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-medium-olive);
  margin-top: var(--space-2xs);
}

.hero--typographic .countdown__separator {
  font-size: var(--text-xl);
  color: rgba(69, 69, 46, 0.4);
  font-weight: 300;
  align-self: flex-start;
  margin-top: var(--space-sm);
}

/* ── Hero CTA ── */
.hero__cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
}

.hero__badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: var(--color-burnt-orange);
  color: var(--color-white);
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-lg);
  font-family: var(--font-heading);
  font-size: var(--text-md);
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  pointer-events: none;
}

/* ── Scroll Indicator ── */
.scroll-indicator {
  position: absolute;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  color: rgba(69, 69, 46, 0.6);
  z-index: 2;
}

.scroll-indicator__text {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.scroll-indicator__arrow {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(69, 69, 46, 0.4);
  border-radius: 12px;
  position: relative;
}

.scroll-indicator__arrow::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  width: 4px;
  height: 8px;
  background: rgba(69, 69, 46, 0.7);
  border-radius: 2px;
  transform: translateX(-50%);
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { top: 6px; opacity: 1; }
  50%      { top: 20px; opacity: 0.3; }
}

/* ============================================================
   7. BUTTONS (shared)
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: var(--space-sm) var(--space-xl);
  border-radius: var(--border-radius-sm);
  transition:
    background var(--transition-fast),
    color var(--transition-fast),
    transform var(--transition-fast),
    box-shadow var(--transition-fast);
  cursor: pointer;
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 3px solid var(--color-light-cream);
  outline-offset: 3px;
}

.btn:active {
  transform: scale(0.97);
}

/* Primary — Burnt Orange */
.btn--primary {
  background: var(--color-burnt-orange);
  color: var(--color-white);
  border: 2px solid var(--color-burnt-orange);
}

.btn--primary:hover {
  background: var(--color-dark-olive);
  border-color: var(--color-dark-olive);
  box-shadow: var(--shadow-md);
}

/* Secondary — Outlined White */
.btn--secondary {
  background: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn--secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--color-white);
}

/* Ghost — Outlined Dark */
.btn--ghost {
  background: transparent;
  color: var(--color-dark-olive);
  border: 2px solid var(--color-dark-olive);
}

.btn--ghost:hover {
  background: var(--color-dark-olive);
  color: var(--color-white);
}

/* Warm — Rose */
.btn--warm {
  background: var(--color-medium-rose);
  color: var(--color-white);
  border: 2px solid var(--color-medium-rose);
}

.btn--warm:hover {
  background: var(--color-dark-olive);
  border-color: var(--color-dark-olive);
}

/* Large variant */
.btn--lg {
  font-size: var(--text-sm);
  padding: var(--space-md) var(--space-2xl);
  border-radius: var(--border-radius-md);
}

/* ============================================================
   8. SECTION SHARED
   ============================================================ */
.section {
  padding: var(--space-4xl) 0;
}

.section--lg {
  padding: var(--space-5xl) 0;
}

.section__header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section__overtitle {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: var(--text-lg);
  color: var(--color-burnt-orange);
  margin-bottom: var(--space-sm);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}

.section__title {
  font-size: var(--text-3xl);
  color: var(--color-dark-olive);
  margin-bottom: var(--space-md);
}

.section__title--light {
  color: var(--color-white);
}

.section__description {
  font-size: var(--text-lg);
  color: var(--color-medium-olive);
  max-width: 600px;
  margin-inline: auto;
  line-height: 1.7;
}

.section__description--light {
  color: rgba(255, 255, 255, 0.8);
}

/* Decorative divider */
.section__divider {
  width: 60px;
  height: 3px;
  background: var(--color-burnt-orange);
  margin: var(--space-lg) auto 0;
  border-radius: 2px;
}

/* ============================================================
   9. ABOUT SECTION (#about)
   ============================================================ */
.about {
  background-color: var(--color-medium-rose);
  color: var(--color-white);
}

.about .section__overtitle {
  color: var(--color-light-cream);
}

.about .section__title {
  color: var(--color-white);
}

.about .section__divider {
  background: var(--color-light-cream);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.about__image-wrap {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.about__image-accent {
  position: absolute;
  bottom: -12px;
  right: -12px;
  width: 120px;
  height: 120px;
  background: var(--color-dark-wine);
  border-radius: var(--border-radius-lg);
  z-index: -1;
}

.about__text {
  max-width: 560px;
}

.about__accent-heading {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: var(--text-xl);
  color: var(--color-light-cream);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: var(--space-md);
  line-height: 1.4;
}

.about__heading {
  font-size: var(--text-2xl);
  color: var(--color-white);
  margin-bottom: var(--space-lg);
}

.about__body {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-xl);
  line-height: 1.8;
}

.about__body + .about__body {
  margin-top: var(--space-md);
}

/* ── Stats ── */
.about__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.stat {
  text-align: center;
}

.stat__number {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--color-light-cream);
  line-height: 1;
  display: block;
}

.stat__label {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.75);
  margin-top: var(--space-xs);
  display: block;
}

/* ============================================================
   10. PARTNERS & ORGANIZERS SECTION (#partners)
   ============================================================ */
.partners {
  background-color: var(--color-white);
  text-align: center;
}

.partners .section__overtitle {
  color: var(--color-burnt-orange);
}

.partners .section__title {
  color: var(--color-dark-olive);
}

.partners .section__divider {
  background: var(--color-burnt-orange);
}

.partners__grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
  max-width: var(--container-narrow);
  margin-inline: auto;
}

.partner-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.partner-group__title {
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-medium-olive);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
}

.partner-group__title::before,
.partner-group__title::after {
  content: '';
  flex-grow: 1;
  height: 1px;
  background: rgba(140, 136, 76, 0.2);
}

.partner-group__items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--space-xl);
}

.partner-logo-wrap {
  background-color: var(--color-white);
  border-radius: var(--border-radius-md);
  padding: var(--space-md) var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-fast);
  height: 100px;
  min-width: 180px;
}

.partner-logo-wrap:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.partner-logo-img {
  max-height: 72px;
  max-width: 200px;
  object-fit: contain;
  transition: transform var(--transition-fast);
}

.partner-logo-wrap:hover .partner-logo-img {
  transform: scale(1.05);
}

/* ============================================================
   11. EXHIBITORS SECTION (#exhibitors)
   ============================================================ */
.exhibitors {
  background-color: var(--color-dark-olive);
  color: var(--color-white);
}

.exhibitors__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.exhibitors__text {
  max-width: 520px;
}

.exhibitors__heading {
  font-size: var(--text-2xl);
  color: var(--color-white);
  margin-bottom: var(--space-lg);
}

.exhibitors__body {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  margin-bottom: var(--space-xl);
}

.exhibitors__features {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.exhibitors__feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--border-radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background var(--transition-fast), border-color var(--transition-fast);
}

.exhibitors__feature:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}

.exhibitors__feature-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(211, 105, 56, 0.2);
  border-radius: var(--border-radius-md);
  color: var(--color-burnt-orange);
  font-size: var(--text-lg);
}

.exhibitors__feature-text {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
}

.exhibitors__feature-text strong {
  display: block;
  font-weight: 700;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-white);
  margin-bottom: var(--space-2xs);
}

.exhibitors__cta {
  background: var(--color-burnt-orange);
  color: var(--color-white);
  border: 2px solid var(--color-burnt-orange);
}

.exhibitors__cta:hover {
  background: var(--color-light-cream);
  color: var(--color-dark-olive);
  border-color: var(--color-light-cream);
  box-shadow: var(--shadow-md);
}

.exhibitors__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  align-items: center;
}

.exhibitors__actions .btn--secondary {
  border-color: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(4px);
}

.exhibitors__actions .btn--secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--color-white);
}

.exhibitors__image-wrap {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.exhibitors__image-wrap img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.exhibitors__image-frame {
  position: absolute;
  inset: var(--space-md);
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--border-radius-md);
  pointer-events: none;
}

/* ============================================================
   12. GALLERY SECTION (#gallery)
   ============================================================ */
.gallery {
  background-color: var(--color-light-sage);
}

.gallery .section__overtitle {
  color: var(--color-medium-olive);
}

.gallery .section__title {
  color: var(--color-dark-olive);
}

.gallery .section__divider {
  background: var(--color-medium-olive);
}

.gallery__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

.gallery__item {
  position: relative;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1 / 1;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery__item:hover img {
  transform: scale(1.08);
}

.gallery__item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 40%,
    rgba(103, 22, 18, 0.75) 100%
  );
  display: flex;
  align-items: flex-end;
  padding: var(--space-lg);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.gallery__item:hover .gallery__item-overlay {
  opacity: 1;
}

.gallery__item-caption {
  color: var(--color-white);
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ── Lightbox ── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(26, 26, 26, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity var(--transition-slow),
    visibility var(--transition-slow);
}

.lightbox.is-active {
  opacity: 1;
  visibility: visible;
}

.lightbox__content {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
}

.lightbox__content img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-xl);
}

.lightbox__close {
  position: absolute;
  top: var(--space-lg);
  right: var(--space-lg);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-2xl);
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: background var(--transition-fast);
  z-index: 10000;
}

.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.25);
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xl);
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: background var(--transition-fast);
}

.lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.25);
}

.lightbox__nav--prev {
  left: var(--space-lg);
}

.lightbox__nav--next {
  right: var(--space-lg);
}

.lightbox__counter {
  position: absolute;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.1em;
}

/* ============================================================
   13. CONTACT SECTION (#contact)
   ============================================================ */
.contact {
  background-color: var(--color-light-sage);
}

.contact .section__overtitle {
  color: var(--color-medium-olive);
}

.contact .section__title {
  color: var(--color-dark-olive);
}

.contact .section__divider {
  background: var(--color-medium-olive);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3xl);
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-lg);
  padding: var(--space-xl);
  background: var(--color-white);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--transition-fast);
}

.contact-card:hover {
  box-shadow: var(--shadow-md);
}

.contact-card__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-light-cream);
  border-radius: var(--border-radius-md);
  color: var(--color-burnt-orange);
  font-size: var(--text-xl);
}

.contact-card__title {
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-dark-olive);
  margin-bottom: var(--space-2xs);
}

.contact-card__text {
  font-size: var(--text-sm);
  color: var(--color-dark-olive);
  line-height: 1.6;
}

.contact-card__text a {
  color: var(--color-dark-olive);
  transition: color var(--transition-fast);
  text-decoration: underline;
  text-decoration-color: rgba(69, 69, 46, 0.3);
}

.contact-card__text a:hover {
  color: var(--color-burnt-orange);
  text-decoration-color: var(--color-burnt-orange);
}

/* ── Map ── */
.contact__map {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  min-height: 320px;
}

.contact__map iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  display: block;
}

/* ============================================================
   14. FOOTER
   ============================================================ */
.site-footer {
  background-color: var(--color-dark-olive);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--space-4xl) 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  padding-bottom: var(--space-3xl);
}

.footer__col-title {
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-white);
  margin-bottom: var(--space-lg);
}

.footer__about-text {
  font-size: var(--text-sm);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.footer__social {
  display: flex;
  gap: var(--space-sm);
}

.footer__social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-base);
  transition:
    background var(--transition-fast),
    color var(--transition-fast);
}

.footer__social-link:hover {
  background: var(--color-burnt-orange);
  color: var(--color-white);
}

/* ── Footer links ── */
.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer__link {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.65);
  transition: color var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
}

.footer__link:hover {
  color: var(--color-burnt-orange);
}

/* ── Organizer logos ── */
.footer__logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-lg);
}

.footer__logo-item {
  height: 36px;
  width: auto;
  opacity: 0.6;
  filter: brightness(0) invert(1);
  transition: opacity var(--transition-fast);
}

.footer__logo-item:hover {
  opacity: 1;
}

/* ── Copyright bar ── */
.footer__bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: var(--space-lg) 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  text-align: center;
}

.footer__copyright {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.45);
}

.footer__bar-links {
  display: flex;
  gap: var(--space-lg);
}

.footer__bar-link {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.45);
  transition: color var(--transition-fast);
}

.footer__bar-link:hover {
  color: rgba(255, 255, 255, 0.8);
}

/* ============================================================
   15. REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.7s var(--ease-out),
    transform 0.7s var(--ease-out);
}

.reveal--left {
  transform: translateX(-30px);
}

.reveal--right {
  transform: translateX(30px);
}

.reveal--scale {
  transform: scale(0.95);
}

.revealed {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

/* Stagger children */
.reveal-stagger > .reveal:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger > .reveal:nth-child(2) { transition-delay: 100ms; }
.reveal-stagger > .reveal:nth-child(3) { transition-delay: 200ms; }
.reveal-stagger > .reveal:nth-child(4) { transition-delay: 300ms; }
.reveal-stagger > .reveal:nth-child(5) { transition-delay: 400ms; }
.reveal-stagger > .reveal:nth-child(6) { transition-delay: 500ms; }
.reveal-stagger > .reveal:nth-child(7) { transition-delay: 600ms; }
.reveal-stagger > .reveal:nth-child(8) { transition-delay: 700ms; }
.reveal-stagger > .reveal:nth-child(9) { transition-delay: 800ms; }

/* ============================================================
   16. KEYFRAME ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.05); }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40%  { transform: translateY(-12px); }
  60%  { transform: translateY(-6px); }
}

@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

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

/* Utility animation classes */
.animate-fadeInUp    { animation: fadeInUp 0.6s var(--ease-out) both; }
.animate-fadeInDown  { animation: fadeInDown 0.6s var(--ease-out) both; }
.animate-fadeInLeft  { animation: fadeInLeft 0.6s var(--ease-out) both; }
.animate-fadeInRight { animation: fadeInRight 0.6s var(--ease-out) both; }
.animate-pulse       { animation: pulse 2s ease-in-out infinite; }
.animate-bounce      { animation: bounce 2s ease-in-out infinite; }
.animate-float       { animation: float 3s ease-in-out infinite; }

/* Animation delays */
.delay-100 { animation-delay: 100ms; }
.delay-200 { animation-delay: 200ms; }
.delay-300 { animation-delay: 300ms; }
.delay-400 { animation-delay: 400ms; }
.delay-500 { animation-delay: 500ms; }
.delay-600 { animation-delay: 600ms; }

/* ============================================================
   17. UTILITY CLASSES
   ============================================================ */
.text-center    { text-align: center; }
.text-left      { text-align: left; }
.text-right     { text-align: right; }
.text-white     { color: var(--color-white); }
.text-olive     { color: var(--color-dark-olive); }
.text-rose      { color: var(--color-medium-rose); }
.text-orange    { color: var(--color-burnt-orange); }
.text-accent    { font-family: var(--font-accent); font-style: italic; }
.text-uppercase { text-transform: uppercase; letter-spacing: 0.06em; }

.bg-cream       { background-color: var(--color-light-cream); }
.bg-sage        { background-color: var(--color-light-sage); }
.bg-pink        { background-color: var(--color-light-pink); }
.bg-wine        { background-color: var(--color-dark-wine); }
.bg-olive       { background-color: var(--color-dark-olive); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

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

/* ============================================================
   18. RESPONSIVE — 480px (Small Mobile → Large Mobile)
   ============================================================ */
@media (min-width: 480px) {
  .countdown__box {
    width: 80px;
    height: 88px;
  }

  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about__stats {
    gap: var(--space-xl);
  }
}

/* ============================================================
   19. RESPONSIVE — 768px (Tablet)
   ============================================================ */
@media (min-width: 768px) {
  .container {
    padding-inline: var(--space-2xl);
  }

  .section {
    padding: var(--space-5xl) 0;
  }

  /* About — 2 columns */
  .about__grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Exhibitors — 2 columns */
  .exhibitors__grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Gallery — 3 columns */
  .gallery__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
  }

  /* Contact — 2 columns */
  .contact__grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Footer — 2 columns */
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__bar {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* ============================================================
   20. RESPONSIVE — 1024px (Desktop)
   ============================================================ */
@media (min-width: 1024px) {
  :root {
    --header-height: 80px;
  }

  /* Show desktop nav, hide hamburger */
  .main-nav {
    display: block;
  }

  .hamburger {
    display: none;
  }

  .mobile-nav {
    display: none;
  }

  /* Gallery — 4 columns */
  .gallery__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  /* Footer — 3 columns */
  .footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  /* Countdown bigger */
  .countdown__box {
    width: 90px;
    height: 96px;
  }

  .countdown {
    gap: var(--space-md);
  }
}

/* ============================================================
   21. RESPONSIVE — 1200px (Large Desktop)
   ============================================================ */
@media (min-width: 1200px) {
  .container {
    padding-inline: var(--space-3xl);
  }

  .hero__content {
    max-width: 920px;
  }

  .about__grid {
    gap: var(--space-4xl);
  }

  .exhibitors__grid {
    gap: var(--space-4xl);
  }

  .gallery__grid {
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-xl);
  }

  /* Footer — 4 columns for larger screens if needed */
  .footer__grid {
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
  }
}

/* ============================================================
   22. PRINT STYLES
   ============================================================ */
@media print {
  .site-header,
  .hamburger,
  .mobile-nav,
  .scroll-indicator,
  .lightbox,
  .footer__social,
  .lang-switcher {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
    font-size: 12pt;
    line-height: 1.5;
  }

  .hero {
    min-height: auto;
    padding: 2em 0;
  }

  .hero__overlay {
    display: none;
  }

  .section {
    padding: 2em 0;
    page-break-inside: avoid;
  }

  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
    color: #555;
  }
}
