/* ═══════════════════════════════════════════
   Burcsibro — Dark & Gold, Modern Scroll
   ═══════════════════════════════════════════ */

:root {
  --bg: #0a0a0a;
  --bg-card: #141414;
  --bg-elevated: #1a1a1a;
  --gold: #C9A84C;
  --gold-dim: rgba(201, 168, 76, 0.15);
  --gold-glow: rgba(201, 168, 76, 0.3);
  --text: #f0ede6;
  --text-dim: #8a8680;
  --text-muted: #5a5652;
  --border: rgba(201, 168, 76, 0.12);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Cormorant Garamond', Georgia, serif;
}

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

/* Screen-reader only — visible to SEO crawlers, hidden visually */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ═══════════ PRELOADER ═══════════ */

.preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s, visibility 0.6s;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.preloader-logo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
  animation: preloaderPulse 1.5s ease-in-out infinite;
}

@keyframes preloaderPulse {
  0%, 100% { box-shadow: 0 0 20px var(--gold-dim); transform: scale(1); }
  50% { box-shadow: 0 0 40px var(--gold-glow); transform: scale(1.05); }
}

.preloader-bar {
  width: 120px;
  height: 2px;
  background: rgba(201, 168, 76, 0.15);
  border-radius: 2px;
  overflow: hidden;
}

.preloader-fill {
  height: 100%;
  width: 0%;
  background: var(--gold);
  border-radius: 2px;
  animation: preloaderFill 1.8s ease-in-out forwards;
}

@keyframes preloaderFill {
  0% { width: 0%; }
  60% { width: 80%; }
  100% { width: 100%; }
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--gold); text-decoration: none; transition: opacity 0.3s; }
a:hover { opacity: 0.8; }

/* ═══════════ NAVBAR ═══════════ */

.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 24px;
  transition: background 0.5s, box-shadow 0.5s;
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo { display: flex; align-items: center; }
.logo-img { height: 48px; width: 48px; border-radius: 50%; object-fit: cover; }

.nav-menu { display: flex; align-items: center; gap: 32px; }

.nav-links {
  display: flex;
  list-style: none;
  gap: 4px;
}

.nav-links a {
  color: var(--text-dim);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 6px;
  transition: color 0.3s, background 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 14px;
  right: 14px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-links a:hover::after { transform: scaleX(1); }

.nav-links a:hover { color: var(--gold); background: var(--gold-dim); opacity: 1; }

.nav-right { display: flex; align-items: center; gap: 16px; }

.lang-switch {
  display: flex;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 6px 10px;
  cursor: pointer;
  transition: all 0.3s;
}

.lang-btn.active { background: var(--gold); color: var(--bg); }

.nav-socials { display: flex; gap: 6px; }
.nav-socials a {
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  border-radius: 6px;
  color: var(--text-dim);
  transition: color 0.3s, background 0.3s;
}
.nav-socials a svg { width: 16px; height: 16px; }
.nav-socials a:hover { color: var(--gold); background: var(--gold-dim); opacity: 1; }

.nav-login-btn {
  display: inline-flex;
  align-items: center;
  padding: 7px 18px;
  border: 1px solid var(--gold);
  border-radius: 6px;
  color: var(--gold);
  font-family: var(--font);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  background: transparent;
  transition: background 0.3s, color 0.3s;
  white-space: nowrap;
}
.nav-login-btn:hover {
  background: var(--gold);
  color: var(--bg);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 101;
}
.nav-toggle span {
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: 0.3s;
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ═══════════ HERO ═══════════ */

.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  transform: scale(1.1);
  transition: transform 8s ease-out;
  overflow: hidden;
}

.hero.loaded .hero-bg { transform: scale(1); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.88) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  opacity: 0;
  transform: translateY(30px);
  animation: heroIn 1.2s ease forwards 0.3s;
}

@keyframes heroIn {
  to { opacity: 1; transform: translateY(0); }
}

.hero-logo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
  box-shadow: 0 0 60px var(--gold-glow);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  font-style: italic;
  color: var(--gold);
  margin: 0;
  line-height: 1.1;
  opacity: 0;
  text-shadow: none;
  display: flex;
  justify-content: center;
  gap: 0;
}

/* Individual neon letter */
.neon-letter {
  display: inline-block;
  opacity: 0;
  color: #b8711a; /* cold amber — gas not yet excited */
  text-shadow: none;
  transition: none;
  will-change: opacity, color, text-shadow, filter;
}

/* Phase 1 flash: whole title blinks cold */
.neon-letter.neon-flash {
  opacity: 0.3;
  color: #c48a2a;
  text-shadow: 0 0 6px rgba(180, 120, 40, 0.6);
  filter: brightness(0.7);
}

/* Phase 2 buzz: per-letter random flicker — opacity set by JS */
.neon-letter.neon-buzz {
  color: #c49a3a;
  text-shadow:
    0 0 4px rgba(196, 154, 58, 0.5),
    0 0 12px rgba(196, 154, 58, 0.25);
  filter: brightness(0.85);
}

/* Phase 3 lock: letter has caught, full glow */
.neon-letter.neon-on {
  opacity: 1;
  color: var(--gold);
  text-shadow:
    0 0 7px rgba(201, 168, 76, 0.9),
    0 0 20px rgba(201, 168, 76, 0.6),
    0 0 42px rgba(201, 168, 76, 0.35),
    0 0 80px rgba(201, 168, 76, 0.15),
    0 0 120px rgba(201, 168, 76, 0.05);
  filter: brightness(1);
  transition: color 0.3s, text-shadow 0.3s;
}

/* Final stable state: subtle idle hum */
.hero-title.neon-stable .neon-letter {
  animation: neonHum 3.5s ease-in-out infinite;
  animation-delay: var(--hum-delay, 0s);
}

@keyframes neonHum {
  0%, 100% {
    filter: brightness(1);
    text-shadow:
      0 0 7px rgba(201, 168, 76, 0.9),
      0 0 20px rgba(201, 168, 76, 0.6),
      0 0 42px rgba(201, 168, 76, 0.35),
      0 0 80px rgba(201, 168, 76, 0.15),
      0 0 120px rgba(201, 168, 76, 0.05);
  }
  50% {
    filter: brightness(1.03);
    text-shadow:
      0 0 8px rgba(201, 168, 76, 0.95),
      0 0 22px rgba(201, 168, 76, 0.65),
      0 0 46px rgba(201, 168, 76, 0.38),
      0 0 85px rgba(201, 168, 76, 0.18),
      0 0 130px rgba(201, 168, 76, 0.07);
  }
}

.hero-sub {
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero-line {
  width: 60px;
  height: 1px;
  background: var(--gold);
  opacity: 0.5;
}

.btn {
  display: inline-block;
  position: relative;
  padding: 14px 40px;
  border: 1px solid var(--gold);
  border-radius: 0;
  color: var(--gold);
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  background: transparent;
  transition: background 0.4s, color 0.4s, transform 0.2s;
  will-change: transform;
}

.btn:hover {
  background: var(--gold);
  color: var(--bg);
  opacity: 1;
}


/* ═══════════ SECTIONS ═══════════ */

.section {
  padding: 120px 0;
}

.section-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  text-align: center;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 500;
  font-style: italic;
  text-align: center;
  margin-bottom: 60px;
  line-height: 1.2;
  background: linear-gradient(135deg, var(--gold) 0%, #e8c95a 40%, #f5dfa0 60%, var(--gold) 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 6s ease-in-out infinite;
}

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

/* ═══════════ SCROLL REVEAL ═══════════ */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ═══════════ ABOUT ═══════════ */

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-text .section-label { text-align: left; }
.about-text .section-title { text-align: left; margin-bottom: 32px; }

.about-text p {
  color: var(--text-dim);
  font-size: 1.05rem;
  line-height: 1.9;
  margin-bottom: 20px;
}

.about-cta {
  margin-top: 12px;
}

.about-image img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  aspect-ratio: 3/4;
  image-rendering: auto;
}

/* ═══════════ PARALLAX DIVIDER ═══════════ */

.parallax-divider {
  position: relative;
  height: 50vh;
  min-height: 300px;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.parallax-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.parallax-text {
  position: relative;
  z-index: 2;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 500;
  font-style: italic;
  color: var(--text);
  text-align: center;
  padding: 0 24px;
}

/* ═══════════ MENU ═══════════ */

.menu-categories {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.menu-categories .menu-category:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  max-width: 550px;
  margin: 0 auto;
}

.menu-cat-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--gold);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}

.menu-items { display: flex; flex-direction: column; gap: 20px; }

.menu-item {
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.menu-item:last-child { border-bottom: none; padding-bottom: 0; }

.menu-item-top {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 6px;
}

.menu-name {
  font-weight: 500;
  font-size: 1.05rem;
  white-space: nowrap;
}

.menu-dots {
  flex: 1;
  border-bottom: 1px dotted var(--text-muted);
  min-width: 20px;
  margin-bottom: 4px;
}

.menu-price {
  color: var(--gold);
  font-weight: 600;
  font-size: 1rem;
  white-space: nowrap;
}

.menu-desc {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

/* ═══════════ GALLERY ═══════════ */

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

.gallery-item {
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.gallery-item.tall { grid-row: span 2; }

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.9) contrast(1.02);
  transition: filter 0.5s, transform 0.5s;
  image-rendering: auto;
}

.gallery-item:hover img {
  filter: brightness(1) contrast(1.05);
  transform: scale(1.05);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.3) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.gallery-item:hover::after { opacity: 1; }

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

.lightbox.active { display: flex; }

.lightbox-img {
  max-width: 90%;
  max-height: 85vh;
  border-radius: 4px;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 20px; right: 24px;
  font-size: 2rem;
  color: var(--text);
  background: none;
  border: none;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.3s;
}
.lightbox-close:hover { opacity: 1; }

.lightbox-prev, .lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2.5rem;
  color: var(--text);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  cursor: pointer;
  padding: 8px 16px;
  border-radius: 4px;
  opacity: 0.6;
  transition: opacity 0.3s, background 0.3s;
}
.lightbox-prev:hover, .lightbox-next:hover { opacity: 1; background: rgba(255,255,255,0.1); }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

/* ═══════════ CONTACT ═══════════ */

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

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px 28px;
  text-align: center;
  transition: border-color 0.4s, box-shadow 0.4s;
}

.contact-card:hover {
  border-color: var(--gold);
  box-shadow: 0 0 30px var(--gold-dim);
}

.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  color: var(--gold);
}

.contact-icon svg { width: 28px; height: 28px; }

.contact-card h3 {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.contact-card a, .contact-card p {
  color: var(--text);
  font-size: 1rem;
}

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

.social-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border: 1px solid var(--border);
  border-radius: 50px;
  color: var(--text-dim);
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.4s;
}

.social-btn svg { width: 18px; height: 18px; }

.social-btn:hover {
  color: var(--gold);
  border-color: var(--gold);
  background: var(--gold-dim);
  opacity: 1;
}

/* ═══════════ GRAIN TEXTURE ═══════════ */

.grain-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* ═══════════ SCROLL PROGRESS BAR ═══════════ */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), #e8c95a);
  z-index: 200;
  transition: width 0.05s linear;
  box-shadow: 0 0 8px var(--gold-glow);
}

/* ═══════════ MENU 3D TILT ═══════════ */

.menu-category {
  perspective: 800px;
}

.menu-item {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  transform-style: preserve-3d;
  border-radius: 8px;
  padding: 16px;
  padding-bottom: 20px;
}

.menu-item:hover {
  background: rgba(201, 168, 76, 0.04);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3), 0 0 20px var(--gold-dim);
}

/* ═══════════ TYPEWRITER ═══════════ */

.hero-sub .typewriter-char {
  opacity: 0;
  display: inline-block;
  animation: typeIn 0.05s ease forwards;
}

@keyframes typeIn {
  to { opacity: 1; }
}

.hero-sub .typewriter-cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: var(--gold);
  margin-left: 2px;
  vertical-align: text-bottom;
  animation: blink 0.8s step-end infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* ═══════════ STATS COUNTER ═══════════ */

.stats-section {
  padding: 80px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-card);
}

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

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* ═══════════ HERO PARTICLES ═══════════ */

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.hero-particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0;
  animation: particleFloat linear infinite;
  -webkit-animation: particleFloat linear infinite;
  will-change: transform, opacity;
}

@keyframes particleFloat {
  0% {
    opacity: 0;
    -webkit-transform: translateY(0) translateX(0);
    transform: translateY(0) translateX(0);
  }
  10% { opacity: 0.6; }
  90% { opacity: 0.3; }
  100% {
    opacity: 0;
    -webkit-transform: translateY(-800px) translateX(40px);
    transform: translateY(-800px) translateX(40px);
  }
}

/* ═══════════ BACK TO TOP ═══════════ */

.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(10px);
  color: var(--gold);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.4s, visibility 0.4s, transform 0.4s, background 0.3s;
  z-index: 90;
}

.back-to-top svg { width: 20px; height: 20px; }

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--gold);
  color: var(--bg);
}

/* ═══════════ TESTIMONIALS ═══════════ */

.testimonials-section {
  overflow: hidden;
}

.testimonial-track-wrapper {
  overflow: hidden;
  margin: 0 -24px;
  padding: 0 24px;
  mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
}

.testimonial-track {
  display: flex;
  gap: 24px;
  animation: testimonialScroll 45s linear infinite;
  width: max-content;
}

.testimonial-track:hover {
  animation-play-state: paused;
}

.testimonial-track.dragging {
  animation-play-state: paused;
  cursor: grabbing;
}

@keyframes testimonialScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Mobile: auto-scroll like desktop */
@media (max-width: 768px) {
  .testimonial-track-wrapper {
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .testimonial-track-wrapper::-webkit-scrollbar { display: none; }
}

.testimonial-card {
  flex: 0 0 340px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 0.4s, box-shadow 0.4s;
}

.testimonial-card:hover {
  border-color: var(--gold);
  box-shadow: 0 0 30px var(--gold-dim);
}

.testimonial-stars {
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 2px;
}

.testimonial-text {
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.7;
  font-style: italic;
  flex: 1;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.testimonial-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
}

.testimonial-role {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ═══════════ GALLERY WATERFALL ═══════════ */

.gallery-item.reveal {
  opacity: 0;
  transform: translateY(60px) scale(0.95);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item.reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ═══════════ FAQ ═══════════ */

.faq-list {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.3s;
}

.faq-item.active {
  border-color: var(--gold);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: var(--bg-card);
  border: none;
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: color 0.3s;
}

.faq-question:hover { color: var(--gold); }

.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--gold);
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s;
  padding: 0 24px;
  background: var(--bg-card);
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 0 24px 20px;
}

.faq-answer p {
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ═══════════ FOOTER ═══════════ */

.footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-nav a {
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.3s;
}

.footer-nav a:hover { color: var(--gold); opacity: 1; }

.footer-logo {
  height: 36px;
  width: 36px;
  border-radius: 50%;
  object-fit: cover;
  opacity: 0.6;
}

.footer p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ═══════════ RESPONSIVE ═══════════ */

@media (max-width: 900px) {
  .about-layout { grid-template-columns: 1fr; gap: 40px; }
  .about-layout .about-image { order: -1; }
  .about-text .section-label,
  .about-text .section-title { text-align: center; }
  .about-text p { text-align: center; }

  .menu-categories { grid-template-columns: 1fr; gap: 48px; }
  .contact-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.tall { grid-row: span 1; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .nav-menu {
    position: fixed;
    top: 0; right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg);
    border-left: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 32px 32px;
    gap: 24px;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 99;
  }

  .nav-menu.open { right: 0; }

  .nav-links { flex-direction: column; gap: 4px; width: 100%; }
  .nav-links a { display: block; padding: 12px 0; font-size: 1rem; }

  .nav-right { width: 100%; flex-direction: column; align-items: flex-start; gap: 16px; }
  .nav-login-btn { width: 100%; justify-content: center; padding: 12px 18px; font-size: 0.85rem; }

  .section { padding: 80px 0; }
  .hero-logo { width: 100px; height: 100px; }

  .parallax-divider { background-attachment: scroll; }

  .gallery-grid { gap: 4px; }

  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
  .footer-nav { justify-content: center; gap: 12px; }

  .testimonial-card { flex: 0 0 280px; padding: 24px; }

  .back-to-top { bottom: 20px; right: 20px; width: 42px; height: 42px; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .contact-socials { flex-direction: column; align-items: center; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
