/* ============================================
   internationalprintsu.com — Design System
   Exhibition Competition Website
   ============================================ */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* ── CSS Variables ── */
:root {
  --color-primary: #1a1a1a;
  --color-primary-light: #2a2a2a;
  --color-primary-dark: #111111;
  --color-accent: #8a7e6b;
  --color-accent-hover: #9d9080;
  --color-accent-dark: #706556;
  --color-cream: #F5F0E8;
  --color-cream-dark: #E8E0D4;
  --color-white: #ffffff;
  --color-light: #FAF7F2;
  --color-text-dark: #1a1a1a;
  --color-text-light: #ffffff;
  --color-text-muted: rgba(0,0,0,0.45);
  --color-text-body: rgba(0,0,0,0.6);
  --color-border: rgba(0, 0, 0, 0.08);
  --color-overlay: rgba(0, 0, 0, 0.7);

  --font-heading: 'Kanit', sans-serif;
  --font-body: 'Kanit', sans-serif;

  --container-max: 1200px;
  --header-height: 80px;

  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.10);
  --shadow-gold: 0 4px 20px rgba(138, 126, 107, 0.15);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

body {
  font-family: var(--font-body);
  color: var(--color-text-dark);
  background: #FAF7F2;
  background-attachment: fixed;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Premium Paper Grain & Vignette ── */
body::after {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  z-index: 9999;
  box-shadow: inset 0 0 250px rgba(0, 0, 0, 0.08); /* Stronger Vignette */
  background-image: url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.85" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)" opacity="0.05"/%3E%3C/svg%3E');
}

/* ── Global Particles & Soft Light Background ── */
.global-particles {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  z-index: -1;
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(138, 126, 107, 0.15) 0%, transparent 60%),
    radial-gradient(circle at 80% 70%, rgba(80, 130, 200, 0.1) 0%, transparent 60%),
    radial-gradient(circle at 50% 90%, rgba(138, 126, 107, 0.1) 0%, transparent 50%);
  background-size: 200% 200%;
  animation: bgLightDrift 25s ease-in-out infinite alternate;
}

@keyframes bgLightDrift {
  0% { background-position: 0% 0%; }
  50% { background-position: 100% 100%; }
  100% { background-position: 0% 100%; }
}
.global-particles::before, .global-particles::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.8" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)" opacity="0.02"/%3E%3C/svg%3E');
  opacity: 0.3;
  animation: dustDrift 40s linear infinite;
}
.global-particles::after {
  background-image: url('data:image/svg+xml,%3Csvg viewBox="0 0 400 400" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter2"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.4" numOctaves="2" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter2)" opacity="0.015"/%3E%3C/svg%3E');
  animation-duration: 60s;
  animation-direction: reverse;
  opacity: 0.2;
}
@keyframes dustDrift {
  0% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-3%) scale(1.05); }
  100% { transform: translateY(0) scale(1); }
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text-dark);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.8rem); }
h4 { font-size: 1.25rem; }

p {
  color: var(--color-text-body);
  margin-bottom: 1rem;
}

/* ── Utility ── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section--dark {
  background: #1a1a1a;
  color: var(--color-text-light);
}

.section--dark h2,
.section--dark h3,
.section--dark h4,
.section--dark p {
  color: var(--color-text-light);
}

.section--dark p {
  color: rgba(255,255,255,0.75);
}

.section--cream {
  background: radial-gradient(circle at center, rgba(255,255,255,0.5) 0%, rgba(255,255,255,0) 70%), var(--color-cream-dark);
  box-shadow: inset 0 6px 15px rgba(0,0,0,0.03), inset 0 -6px 15px rgba(0,0,0,0.03);
}

.section--white {
  background: radial-gradient(circle at center, #ffffff 0%, #f4f0e6 100%);
}

.section--light {
  background: radial-gradient(circle at center, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0) 70%);
}

.text-center { text-align: center; }
.text-accent { color: var(--color-accent); }

.gold-line {
  width: 60px;
  height: 3px;
  background: var(--color-accent);
  margin: 16px auto 24px;
  border-radius: 2px;
}

.gold-line--left {
  margin-left: 0;
}

/* ── Section Title Reveal Animation ── */
.section-header {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.section-header.visible {
  opacity: 1;
  transform: translateY(0);
}

.section-header .gold-line {
  width: 0;
  opacity: 0;
  transition: width 1s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.5s ease;
  transition-delay: 0.3s;
}

.section-header.visible .gold-line {
  width: 60px;
  opacity: 1;
}

.section-header p {
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  transition-delay: 0.4s;
}

.section-header.visible p {
  opacity: 1;
  transform: translateY(0);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  text-transform: uppercase;
}

.btn--primary {
  background: var(--color-accent);
  color: #ffffff;
  box-shadow: 0 0 20px rgba(138, 126, 107, 0.4); /* base glow effect */
}

.btn--primary:hover {
  background: var(--color-accent-hover); /* Brighter gold */
  color: #ffffff;
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.25), 0 0 45px rgba(138, 126, 107, 0.7); /* Brighter glow */
}

.btn--outline {
  background: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.15); /* soft white fill */
  color: var(--color-white);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

.btn--outline-dark {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

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

.btn--sm {
  padding: 10px 24px;
  font-size: 0.85rem;
}

/* ── Header ── */
.header {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1050px;
  z-index: 1000;
  background: rgba(15, 15, 15, 0.7);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  height: 76px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.header.scrolled {
  height: 62px;
  background: rgba(10, 10, 10, 0.85);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.header__inner {
  display: flex;
  align-items: center;
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  gap: 8px;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.5px;
  margin-right: auto;
}

.header__logo-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}

.header__logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header__nav a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
}

.header__nav a::after {
  content: '';
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--color-accent);
  border-radius: 1px;
  transition: width 0.3s ease, box-shadow 0.3s ease;
}

.header__nav a:hover,
.header__nav a.active {
  color: #ffffff;
  background: transparent;
}

.header__nav a.active {
  color: var(--color-accent);
  text-shadow: 0 0 10px rgba(200, 164, 92, 0.3);
}

.header__nav a:hover::after,
.header__nav a.active::after {
  width: 100%;
  box-shadow: 0 0 8px rgba(200, 164, 92, 0.6);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 10;
}

/* Show lang-dropdown in header__actions on all screen sizes */
.header__actions .lang-dropdown {
  display: flex;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 8px;
}

/* Language Dropdown & CTA */
.header__cta {
  background: var(--color-accent);
  color: #fff;
  padding: 8px 20px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.header__cta:hover {
  background: var(--color-primary);
  transform: translateY(-1px);
}

.header__login {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.85);
  padding: 8px 16px;
  border-radius: 30px;
  font-weight: 500;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
  border: 1px solid rgba(255,255,255,0.1);
}
.header__login:hover {
  background: rgba(138,126,107,0.1);
  border-color: rgba(138,126,107,0.3);
  color: var(--color-accent);
}
.header__login svg {
  opacity: 0.6;
  transition: opacity 0.3s;
}
.header__login:hover svg {
  opacity: 1;
  stroke: var(--color-accent);
}

.lang-dropdown {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.05);
  border-radius: 30px;
  padding: 6px 14px;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.08);
  transition: all 0.3s ease;
}
.lang-dropdown:hover {
  background: rgba(255,255,255,0.1);
}
.lang-dropdown-content {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  display: none;
  flex-direction: column;
  min-width: 110px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.lang-dropdown img {
  display: inline-block;
  vertical-align: middle;
}

.lang-dropdown-current span.lang-th,
.lang-dropdown-current span.lang-en {
  display: flex;
  align-items: center;
  gap: 6px;
}
.lang-dropdown-current {
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}
.lang-dropdown.open .lang-dropdown-content {
  display: flex;
}
.lang-dropdown-content a {
  padding: 10px 16px;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  transition: all 0.2s ease;
}
.lang-dropdown-content a:hover,
.lang-dropdown-content a.active {
  background: rgba(138, 126, 107, 0.1);
  color: var(--color-accent);
}

/* Mobile menu button */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ── Hero Section ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
  background: #f0ede8;
  overflow: hidden;
  padding-top: var(--header-height);
  padding-bottom: 40px;
}

/* Animated mesh gradient background (Light version) */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse 80% 60% at 15% 20%, rgba(200, 164, 92, 0.02) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 85% 25%, rgba(0, 0, 0, 0.01) 0%, transparent 55%),
    radial-gradient(ellipse 70% 50% at 50% 85%, rgba(200, 164, 92, 0.01) 0%, transparent 50%),
    radial-gradient(ellipse 50% 60% at 70% 60%, rgba(0, 0, 0, 0.01) 0%, transparent 50%);
  z-index: 0;
  animation: meshFloat 20s ease-in-out infinite alternate;
}

@keyframes meshFloat {
  0% { opacity: 0.7; transform: scale(1) rotate(0deg); }
  50% { opacity: 1; transform: scale(1.05) rotate(0.5deg); }
  100% { opacity: 0.8; transform: scale(0.98) rotate(-0.5deg); }
}

/* Grain texture overlay (Light version) */
.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    repeating-conic-gradient(rgba(0,0,0,0.005) 0% 25%, transparent 0% 50%) 0 0 / 3px 3px,
    radial-gradient(ellipse at center, transparent 60%, rgba(0, 0, 0, 0.02) 100%);
  z-index: 1;
  pointer-events: none;
}

/* Gold accent line at top */
.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  z-index: 1;
}

.hero__overlay::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(200, 164, 92, 0.6), transparent);
  z-index: 3;
}

.hero__overlay::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200, 164, 92, 0.3), transparent);
  z-index: 3;
}

/* Poster card */
.hero__bg {
  position: relative;
  z-index: 2;
  width: 65%;
  max-width: 700px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  background: transparent;
  box-shadow: 
    0 20px 50px rgba(0, 0, 0, 0.12),
    0 0 0 1px rgba(200, 164, 92, 0.2),
    0 0 40px rgba(200, 164, 92, 0.08);
  border: none;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.6s ease;
  animation: cardReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
}

.hero__bg:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 
    0 25px 60px rgba(0, 0, 0, 0.18),
    0 0 0 1px rgba(200, 164, 92, 0.3),
    0 0 60px rgba(200, 164, 92, 0.12);
}

@keyframes cardReveal {
  0% { opacity: 0; transform: translateY(40px) scale(0.95); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.hero__bg img {
  width: 100%;
  height: auto;
  display: block;
  animation: floatImage 6s ease-in-out infinite alternate;
  filter: drop-shadow(0 15px 35px rgba(0,0,0,0.1));
}

@keyframes floatImage {
  0%   { transform: translateY(0px); }
  100% { transform: translateY(-12px); }
}

/* Inner layout */
.hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
  width: 100%;
  padding: 0 20px;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  opacity: 0;
  animation: fadeSlideUp 0.8s ease-out 0.6s forwards;
}

@keyframes fadeSlideUp {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Desktop: Full screen background for hero */
@media (min-width: 901px) {
  .hero {
    align-items: center;
    justify-content: flex-end;
  }
  .hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
    border: none;
    z-index: 1;
    animation: heroDeskZoom 30s ease-in-out infinite alternate forwards;
    background: transparent;
  }
  .hero__bg:hover {
    transform: none;
    box-shadow: none;
  }
  .hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    image-rendering: auto;
  }

  @keyframes heroDeskZoom {
    0% { transform: scale(1); opacity: 0; }
    5% { opacity: 1; }
    100% { transform: scale(1.04); opacity: 1; }
  }
  
  .hero__inner {
    height: auto;
    margin-top: auto;
    position: relative;
    z-index: 5;
    padding-bottom: 20px;
  }
}


.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, rgba(26,20,10,0.7), rgba(40,30,15,0.6));
  border: none;
  color: #f0d88a;
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 24px;
  text-shadow: 0 0 12px rgba(212,175,55,0.5);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2), 0 0 20px rgba(212,175,55,0.12), inset 0 1px 0 rgba(240,216,138,0.15);
  opacity: 0;
  animation: fadeSlideUp 0.8s ease-out forwards;
  animation-delay: 0s;
}
.hero__badge svg {
  fill: #d4af37;
  filter: drop-shadow(0 0 4px rgba(212,175,55,0.6));
}

.hero__title {
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  font-weight: 800;
  color: #1a1a1a;
  text-shadow: 0 2px 8px rgba(255,255,255,0.6);
  -webkit-text-stroke: 0;
  margin-bottom: 20px;
  line-height: 1.15;
  opacity: 0;
  animation: fadeSlideUp 0.8s ease-out forwards;
  animation-delay: 0.2s;
}

.hero__title span {
  color: #8a7e6b;
}

.hero__desc {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333333;
  text-shadow: 0 1px 4px rgba(255,255,255,0.5);
  margin-bottom: 36px;
  line-height: 1.8;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0;
  animation: fadeSlideUp 0.8s ease-out forwards;
  animation-delay: 0.45s;
}

.hero__buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
  animation: fadeSlideUp 0.8s ease-out forwards;
  animation-delay: 0.65s;
}

/* Decorative elements */
.hero__decor {
  position: absolute;
  right: 80px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

.hero__decor-circle {
  width: 280px;
  height: 280px;
  border: 2.5px solid rgba(138, 126, 107, 0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: float 6s ease-in-out infinite;
  background: rgba(26, 26, 26, 0.85);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15), 0 0 20px rgba(138, 126, 107, 0.1);
  position: relative;
}

.hero__decor-circle::before {
  content: '';
  position: absolute;
  inset: -6px;
  border: 1px solid rgba(138, 126, 107, 0.3);
  border-radius: 50%;
  animation: ringRotate 60s linear infinite;
  border-top-color: rgba(200, 164, 92, 0.5);
  border-right-color: rgba(138, 126, 107, 0.15);
}

.hero__decor-circle-inner {
  width: 200px;
  height: 200px;
  border: 1.5px solid rgba(138, 126, 107, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__decor-text {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  color: #E8E0D4;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  letter-spacing: 3px;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.6;
}

@keyframes float {
  0%, 100% { transform: translateY(-50%) rotate(0deg) scale(1); opacity: 1; }
  50% { transform: translateY(-52%) rotate(3deg) scale(1.02); opacity: 0.92; }
}

@keyframes ringRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ── Stats Section ── */
.stats {
  background: var(--color-white);
  padding: 60px 0;
  border-bottom: 1px solid var(--color-cream-dark);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.stats__item {
  padding: 20px;
}

.stats__number {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.stats__number span {
  color: var(--color-accent);
}

.stats__label {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

/* ── About Section ── */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

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

.about__image::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100px;
  height: 100px;
  border-top: 3px solid var(--color-accent);
  border-left: 3px solid var(--color-accent);
  z-index: 1;
  border-radius: var(--radius-sm);
}

.about__image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.about__image:hover img {
  transform: scale(1.03);
}

.about__subtitle {
  color: var(--color-accent);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.about__title {
  margin-bottom: 24px;
}

.about__text {
  margin-bottom: 32px;
  font-size: 1.05rem;
  line-height: 1.85;
}

/* ── Features Section ── */
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 60px;
}

.feature-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 0;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 1px solid var(--color-cream-dark);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.feature-card__img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  image-rendering: auto;
  border-bottom: 2px solid var(--color-accent);
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.feature-card__content {
  padding: 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-accent);
  transform: scaleX(0);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15), 0 8px 20px rgba(138, 126, 107, 0.1);
}

.feature-card:hover .feature-card__img {
  transform: scale(1.05);
}

.feature-card:hover .feature-card__title {
  color: var(--color-accent);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card__icon {
  width: 56px;
  height: 56px;
  background: rgba(138, 126, 107, 0.08);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--color-accent);
}

.feature-card__title {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--color-primary);
  transition: color 0.3s ease;
}

.feature-card__text {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ── CTA Banner ── */
.cta-banner {
  position: relative;
  padding: 100px 0;
  background: var(--color-primary);
  overflow: hidden;
}

.cta-banner__bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.15;
}

.cta-banner__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-banner__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-banner__title {
  color: var(--color-white);
  margin-bottom: 20px;
  font-style: italic;
}

.cta-banner__desc {
  color: rgba(255,255,255,0.7);
  font-size: 1.05rem;
  margin-bottom: 36px;
}

/* ── Gallery Grid ── */
.gallery__filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.gallery__filter {
  padding: 10px 28px;
  border: 1px solid var(--color-cream-dark);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  background: var(--color-white);
  color: var(--color-text-body);
  transition: var(--transition);
}

.gallery__filter:hover,
.gallery__filter.active {
  background: var(--color-accent);
  color: var(--color-primary);
  border-color: var(--color-accent);
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.gallery__item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  aspect-ratio: 4/3;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.gallery__item:hover {
  transform: translateY(-5px);
  border-color: rgba(138, 126, 107, 0.4);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

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

.gallery__item-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(transparent, rgba(26, 26, 26, 0.85));
  transform: translateY(100%);
  transition: var(--transition);
}

.gallery__item:hover .gallery__item-overlay {
  transform: translateY(0);
}

.gallery__item-title {
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.gallery__item-artist {
  color: var(--color-accent);
  font-size: 0.85rem;
}

/* Large items span 2 columns */
.gallery__item--wide {
  grid-column: span 2;
}

.gallery__item--tall {
  grid-row: span 2;
  aspect-ratio: auto;
}

/* ── Lightbox ── */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background: rgba(26, 26, 26, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox__close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.1);
  border: none;
  border-radius: 50%;
  color: var(--color-white);
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox__close:hover {
  background: var(--color-accent);
  color: var(--color-primary);
}

.lightbox img {
  max-width: 85%;
  max-height: 85vh;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

/* ── Rules / Regulations ── */
.rules__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.rule-card {
  background: rgba(255,255,255,0.7);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid rgba(0,0,0,0.06);
  transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1), 
              box-shadow 0.5s ease, 
              border-color 0.5s ease, 
              background 0.5s ease;
  backdrop-filter: blur(10px);
}

.rule-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 35px rgba(0,0,0,0.1), 0 4px 15px rgba(138, 126, 107, 0.08);
  border-color: rgba(200, 164, 92, 0.35); /* Warmer border */
  background: rgba(255,255,255,0.95); /* Whiter background */
}

.rule-card__number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(138, 126, 107, 0.3);
  margin-bottom: 12px;
  line-height: 1;
}

.rule-card__title {
  font-size: 1.3rem;
  color: var(--color-primary);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.rule-card__title-icon {
  color: var(--color-accent);
  font-size: 1.1rem;
}

.rule-card__list {
  list-style: none;
}

.rule-card__list li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  font-size: 0.95rem;
  color: rgba(0,0,0,0.6);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.6;
}

.rule-card__list li:last-child {
  border-bottom: none;
}

.rule-card__list li::before {
  content: '◆';
  color: var(--color-accent);
  font-size: 0.5rem;
  margin-top: 8px;
  flex-shrink: 0;
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 60px auto 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  width: 2px;
  height: 0;
  background: var(--color-accent);
  transform: translateX(-50%);
  transition: height 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.timeline.fade-in {
  opacity: 1 !important;
  transform: none !important;
}

.timeline.visible::before {
  height: 100%;
}

.timeline__item {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.timeline.visible .timeline__item {
  opacity: 1;
  transform: translateY(0);
}

.timeline__item:nth-child(odd) {
  flex-direction: row-reverse;
  text-align: right;
}

.timeline__dot {
  width: 16px;
  height: 16px;
  background: var(--color-accent);
  border: 3px solid var(--color-white);
  border-radius: 50%;
  position: absolute;
  left: 50%;
  transform: translateX(-50%) scale(0);
  z-index: 2;
  box-shadow: 0 0 0 4px rgba(200, 164, 92, 0.2);
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.timeline.visible .timeline__dot {
  transform: translateX(-50%) scale(1);
}

.timeline__content {
  width: 45%;
  background: rgba(255,255,255,0.7);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid rgba(0,0,0,0.06);
  backdrop-filter: blur(10px);
  transition: background 0.5s ease, border-color 0.5s ease, box-shadow 0.5s ease;
}

/* Active timeline highlight on scroll */
.timeline__item.timeline--active .timeline__dot {
  background: #e8d5a3;
  box-shadow: 0 0 0 6px rgba(200, 164, 92, 0.3), 0 0 20px rgba(200, 164, 92, 0.2);
  transform: translateX(-50%) scale(1.25);
}

.timeline__item.timeline--active .timeline__content {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(200, 164, 92, 0.4);
  box-shadow: 0 8px 30px rgba(200, 164, 92, 0.12);
}

.timeline.has-active .timeline__item:not(.timeline--active) {
  opacity: 0.45;
}

.timeline.has-active .timeline__item.timeline--active {
  opacity: 1;
}

.timeline__date {
  color: var(--color-accent);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.timeline__title {
  font-size: 1.05rem;
  color: var(--color-primary);
  margin-bottom: 6px;
}

.timeline__desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 0;
}

/* ── Contact Section ── */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-form {
  background: rgba(255,255,255,0.7);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.06);
  backdrop-filter: blur(10px);
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: rgba(0,0,0,0.7);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-primary);
  background: rgba(255,255,255,0.8);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(138, 126, 107, 0.1);
  background: #ffffff;
}

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

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info__card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 28px;
  background: rgba(255,255,255,0.7);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0,0,0,0.06);
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.contact-info__card:hover {
  border-color: rgba(138, 126, 107, 0.3);
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
  background: rgba(255,255,255,0.9);
}

.contact-info__icon {
  width: 52px;
  height: 52px;
  background: rgba(138, 126, 107, 0.08);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--color-accent);
  flex-shrink: 0;
}

.contact-info__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 6px;
}

.contact-info__text {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  margin-bottom: 0;
  line-height: 1.6;
}

.contact-map {
  margin-top: 24px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.06);
  height: 240px;
  background: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ── Footer ── */
.footer {
  background: #1a1a1a;
  color: var(--color-text-light);
  padding: 80px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer__brand-desc {
  color: rgba(255,255,255,0.5);
  font-size: 0.92rem;
  line-height: 1.8;
  margin-top: 16px;
  margin-bottom: 24px;
}

.footer__social {
  display: flex;
  gap: 12px;
}

.footer__social a {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 1rem;
  transition: var(--transition);
}

.footer__social a:hover {
  background: var(--color-accent);
  color: var(--color-primary);
}

.footer__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 20px;
}

.footer__links li {
  margin-bottom: 12px;
}

.footer__links a {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer__links a:hover {
  color: var(--color-accent);
  padding-left: 4px;
}

.footer__bottom {
  text-align: center;
  padding: 28px 0;
  color: rgba(255,255,255,0.35);
  font-size: 0.85rem;
}

/* ── Page Header (Inner pages) ── */
.page-header {
  background: linear-gradient(180deg, #E8E0D4 0%, #F5F0E8 50%, #FAF7F2 100%);
  padding: 140px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 50%, rgba(138, 126, 107, 0.06) 0%, transparent 50%),
              radial-gradient(circle at 70% 30%, rgba(138, 126, 107, 0.04) 0%, transparent 40%);
}

.page-header::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #8a7e6b, transparent);
  margin: 0 auto;
  position: absolute;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
}

.page-header__title {
  color: var(--color-primary);
  font-size: clamp(2rem, 4vw, 3.2rem);
  position: relative;
  z-index: 1;
  text-shadow: none;
}

.page-header__breadcrumb {
  position: relative;
  z-index: 1;
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.9rem;
  color: rgba(0,0,0,0.4);
}

.page-header__breadcrumb a {
  color: var(--color-accent);
}

.page-header__breadcrumb a:hover {
  text-decoration: underline;
}

/* ── Animations ── */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Staggered Animations ── */
.rule-card:nth-child(1) { transition-delay: 0.1s; }
.rule-card:nth-child(2) { transition-delay: 0.2s; }
.rule-card:nth-child(3) { transition-delay: 0.3s; }
.rule-card:nth-child(4) { transition-delay: 0.4s; }

/* Sync Delays (Line draws in 0.8s) */
.timeline.visible .timeline__item:nth-child(1),
.timeline.visible .timeline__item:nth-child(1) .timeline__dot { transition-delay: 0.1s; }
.timeline.visible .timeline__item:nth-child(2),
.timeline.visible .timeline__item:nth-child(2) .timeline__dot { transition-delay: 0.25s; }
.timeline.visible .timeline__item:nth-child(3),
.timeline.visible .timeline__item:nth-child(3) .timeline__dot { transition-delay: 0.4s; }
.timeline.visible .timeline__item:nth-child(4),
.timeline.visible .timeline__item:nth-child(4) .timeline__dot { transition-delay: 0.55s; }

.feature-card:nth-child(1) { transition-delay: 0.1s; }
.feature-card:nth-child(2) { transition-delay: 0.25s; }
.feature-card:nth-child(3) { transition-delay: 0.4s; }

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero__decor { display: none; }
  .about__grid { grid-template-columns: 1fr; gap: 40px; }
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .gallery__item--wide { grid-column: span 1; }
  .rules__grid { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .header {
    width: 95%;
    height: 64px;
  }
  .header.scrolled {
    height: 60px;
  }
  .header__logo-icon { width: 32px; height: 32px; }
  .header__logo { font-size: 1.15rem; }

  .header__inner {
    position: static; /* Let inner act normal */
  }

  .header__nav {
    position: absolute;
    top: -20px; /* compensate for .header top:20px */
    left: -2.5vw; /* compensate for .header left/transform offset to get to screen edge */
    width: 100vw;
    height: 100vh;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 24px;
    gap: 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.4s;
    z-index: -1; 
  }

  .header.scrolled .header__nav {
    top: 0; /* when scrolled, top offset merges to 0 */
  }

  .header__nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .header__nav a {
    font-size: 1.5rem;
    font-weight: 600;
    padding: 12px 24px;
    width: 100%;
    text-align: center;
  }

  .header__nav a::after {
    display: none; /* remove desktop underline */
  }

  .nav__actions {
    flex-direction: column;
    margin-left: 0;
    width: 100%;
    margin-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 25px;
    gap: 20px;
  }

  .nav__actions .header__cta, 
  .nav__actions .header__login {
    width: 100%;
    text-align: center;
    justify-content: center;
  }



  /* Keep lang-dropdown in header on mobile */
  .header__actions .lang-dropdown {
    display: flex !important;
    position: relative !important;
  }

  .header__actions .lang-dropdown .lang-dropdown-content {
    top: calc(100% + 10px);
    right: 0;
  }

  .menu-toggle {
    display: flex;
  }
}

@media (max-width: 768px) {
  /* Mobile hero overlay - black to gray gradient matching poster tones */
  .hero__overlay {
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.65) 0%,
      rgba(30, 30, 30, 0.50) 30%,
      rgba(60, 58, 54, 0.40) 60%,
      rgba(90, 85, 78, 0.25) 100%
    );
    z-index: 1;
  }

  /* Typography Scaling */
  .hero__title { font-size: 2.5rem; line-height: 1.25; }
  .hero__subtitle { font-size: 1.1rem; }
  .section-header h2 { font-size: 2rem; }
  .section-header p { font-size: 1rem; }

  .hero__content { text-align: center; }
  .hero__desc { margin: 0 auto 36px; font-size: 1rem; }
  .hero__buttons { justify-content: center; }
  .hero__badge { margin: 0 auto 24px; }

  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .features__grid { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }

  .section { padding: 60px 0; }

  /* Timeline Off-axis for Mobile */
  .timeline::before { left: 20px; }
  .timeline__item,
  .timeline__item:nth-child(odd) {
    flex-direction: row;
    text-align: left;
    padding-left: 55px; /* Space from dot */
    padding-right: 0;
  }
  .timeline__dot { left: 20px; }
  .timeline__content { width: 100%; margin-left: 0; }
  .timeline__date { margin-bottom: 8px; }
}

@media (max-width: 480px) {
  .hero__title { font-size: 2.2rem; }
  .section-header h2 { font-size: 1.8rem; }
  
  .stats__grid { grid-template-columns: 1fr; gap: 16px; }
  
  .hero__buttons { flex-direction: row; justify-content: center; gap: 12px; }
  .hero__buttons .btn { padding: 12px 20px; font-size: 0.8rem; width: auto !important; }
  .btn { width: 100%; justify-content: center; margin-left: 0 !important; }
  
  .contact-form { padding: 24px 20px; }
  .section { padding: 50px 0; }
}

/* ── Language Switcher Logic ── */
body.lang-en .lang-th { display: none !important; }
body:not(.lang-en) .lang-en { display: none !important; }

/* ── Accordion ── */
.accordion {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.accordion__item {
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 10px;
}

.accordion__header {
  width: 100%;
  padding: 18px 20px;
  background: transparent;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.1rem;
  font-weight: 500;
  color: rgba(0,0,0,0.75);
  cursor: pointer;
  text-align: left;
  transition: var(--transition);
}

.accordion__header:hover {
  background: rgba(138, 126, 107, 0.06);
}

.accordion__icon {
  width: 24px;
  height: 24px;
  position: relative;
  transition: transform 0.3s;
}

.accordion__icon::before,
.accordion__icon::after {
  content: '';
  position: absolute;
  background: var(--color-accent);
  transition: transform 0.3s;
}

.accordion__icon::before {
  top: 11px;
  left: 4px;
  width: 16px;
  height: 2px;
}

.accordion__icon::after {
  top: 4px;
  left: 11px;
  width: 2px;
  height: 16px;
}

.accordion__item.active .accordion__icon::after {
  transform: rotate(90deg) scale(0);
}

.accordion__item.active .accordion__header {
  color: var(--color-accent);
}

.accordion__content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion__item.active .accordion__content {
  max-height: 2000px;
}

.accordion__inner {
  padding: 0 20px 24px;
  color: var(--color-text-body);
  line-height: 1.7;
}

.accordion__inner p { margin-bottom: 12px; }
.accordion__inner p:last-child { margin-bottom: 0; }
.accordion__inner ul { margin-left: 20px; margin-bottom: 12px; }
.accordion__inner li { margin-bottom: 6px; }

/* ── Registration Form (Dark Mockup) ── */
.registration-header {
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}

.reg-card {
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  backdrop-filter: blur(10px);
}

.reg-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 30px;
}

@media (max-width: 768px) {
  .reg-grid { grid-template-columns: 1fr; }
  .reg-card { padding: 24px; }
  .reg-actions { flex-direction: column; gap: 10px; }
  .reg-hint { display: block; margin-top: 10px; margin-left: 0 !important; }
}

.reg-group {
  display: flex;
  flex-direction: column;
}

.reg-group--full {
  grid-column: 1 / -1;
}

.reg-group label {
  color: rgba(0,0,0,0.55);
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
  text-transform: uppercase;
  font-weight: 600;
}

.reg-input {
  background: rgba(255,255,255,0.8);
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 6px;
  padding: 14px 16px;
  color: var(--color-primary);
  font-size: 0.95rem;
  font-family: inherit;
  transition: all 0.3s ease;
  width: 100%;
}

.reg-input:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 2px rgba(138, 126, 107, 0.1);
  background: #ffffff;
}

.reg-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  border-top: 1px solid rgba(0,0,0,0.06);
  padding-top: 30px;
}

.reg-btn {
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  font-family: var(--font-body);
}

.reg-btn--gold {
  background: var(--color-primary);
  color: var(--color-text-light);
  border: none;
}
.reg-btn--gold:hover {
  background: #d4b572;
  color: #000;
  transform: translateY(-2px);
}

.reg-btn--dark {
  background: transparent;
  color: var(--color-primary);
  border: 1px solid rgba(0,0,0,0.15);
}
.reg-btn--dark:hover {
  background: rgba(138,126,107,0.08);
  color: var(--color-accent);
  border-color: rgba(138,126,107,0.3);
}

/* ── Registration Tabs ── */
.reg-tabs {
  display: flex;
  margin-bottom: 30px;
  border-bottom: 2px solid var(--color-border);
}

.reg-tab {
  flex: 1;
  background: transparent;
  border: none;
  padding: 15px 20px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  color: rgba(0,0,0,0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  text-align: center;
}

.reg-tab::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.reg-tab.active {
  color: var(--color-accent);
}

.reg-tab.active::after {
  transform: scaleX(1);
}

/* ── File Upload Zone ── */
.upload-zone {
  border: 2px dashed rgba(0,0,0,0.12);
  border-radius: 8px;
  padding: 40px 20px;
  text-align: center;
  background: rgba(255,255,255,0.5);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}

.upload-zone:hover, .upload-zone.dragover {
  border-color: var(--color-accent);
  background: rgba(138,126,107,0.04);
}

.upload-icon {
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

.upload-text {
  color: var(--color-text-body);
  font-size: 0.95rem;
  font-weight: 500;
}

.upload-zone__progress {
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.progress-text {
  font-size: 0.9rem;
  color: var(--color-primary);
  margin-bottom: 10px;
  font-weight: 600;
}

.progress-bar-container {
  width: 80%;
  height: 6px;
  background: #eee;
  border-radius: 3px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: var(--color-primary);
  transition: width 0.2s ease;
}

.upload-zone__preview {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 10px;
}

.preview-img-container {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid #eee;
}

.preview-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.preview-details {
  display: flex;
  align-items: center;
  gap: 15px;
}

.preview-name {
  font-size: 0.95rem;
  color: var(--color-text-dark);
  font-weight: 500;
}

.btn-remove-file {
  background: #ff4d4f;
  color: white;
  border: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-remove-file:hover {
  background: #d9363e;
}

/* ── Upload Error State ── */
.upload-zone.has-error {
  border-color: #dc3545;
  background: rgba(220, 53, 69, 0.04);
}

.upload-zone__error {
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.upload-error-icon {
  color: #dc3545;
  animation: shake 0.5s ease-in-out;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  15% { transform: translateX(-6px); }
  30% { transform: translateX(6px); }
  45% { transform: translateX(-4px); }
  60% { transform: translateX(4px); }
  75% { transform: translateX(-2px); }
}

.upload-error-text {
  color: #dc3545;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.5;
  margin: 0;
}

.upload-error-retry {
  margin-top: 6px;
  padding: 8px 24px;
  border-radius: 20px;
  border: 1px solid #dc3545;
  background: transparent;
  color: #dc3545;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.upload-error-retry:hover {
  background: #dc3545;
  color: #fff;
}

/* ── Modal ── */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  background: var(--color-overlay);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  padding: 20px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.modal.active {
  opacity: 1;
  pointer-events: all;
}

.modal__dialog {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(20px) scale(0.95);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s;
  box-shadow: var(--shadow-lg);
  opacity: 0;
}

.modal.active .modal__dialog {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--color-text-dark);
  transition: var(--transition);
  z-index: 10;
  box-shadow: var(--shadow-sm);
}

.modal__close:hover {
  background: var(--color-accent);
  color: var(--color-white);
}

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

/* ── Visitor Counter ── */
.visitor-counter {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(22, 18, 12, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(212, 175, 55, 0.3);
  padding: 8px 16px;
  border-radius: 30px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
  pointer-events: none;
}
@media (max-width: 768px) {
  .visitor-counter {
    bottom: 85px; 
    right: 16px;
    padding: 6px 12px;
    font-size: 0.75rem;
  }
}
.visitor-counter svg {
  width: 16px;
  height: 16px;
  stroke: #d4af37;
  fill: none;
}
.visitor-counter .count-number {
  color: #f0d88a;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.modal__body {
  padding: 40px;
}

.modal__title {
  color: var(--color-primary);
  margin-bottom: 16px;
  font-size: 1.5rem;
}

.modal__text {
  font-size: 1rem;
  color: var(--color-text-body);
  line-height: 1.8;
  margin-bottom: 0;
}

/* ── About Slider ── */
.about-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3; /* Default fallback before JS loads */
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.about-slider__track {
  position: relative;
  width: 100%;
  height: 100%;
}
.about-slider__slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary-dark);
}
.about-slider__slide--active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}
.about-slider__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Back to cover since user wants "beautiful" without pillarboxes if they provided matched images */
  display: block;
}
.about-slider__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  transition: all 0.3s ease;
}
.about-slider__nav:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.1);
}
.about-slider__nav--prev {
  left: 12px;
}
.about-slider__nav--next {
  right: 12px;
}
.about-slider__dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
  background: rgba(0,0,0,0.2);
  padding: 6px 12px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
}
.about-slider__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}
.about-slider__dot.active {
  background: #fff;
  transform: scale(1.2);
}
