/* ============================================================
   NAVBAR
============================================================ */
#navbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding: 0 var(--s-6);
  background: oklch(18% 0.06 245 / 0.94);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  box-shadow: 0 1px 0 oklch(100% 0 0 / 0.06), var(--shadow-md);
  transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow var(--t-base) var(--ease-in-out);
  will-change: transform;
}

#navbar.nav-hidden {
  transform: translateY(-100%);
}

#navbar.scrolled {
  /* already styled above — kept for JS hook compatibility */
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.08em;
  line-height: 1;
}
.nav-logo em { font-style: italic; color: var(--gold-400); }

.nav-links {
  display: none;
  align-items: center;
  gap: var(--s-10);
}

.nav-links a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: oklch(100% 0 0 / 0.75);
  position: relative;
  padding-bottom: 2px;
  transition: color var(--t-fast);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--gold-400);
  transition: width var(--t-base) var(--ease-out-expo);
}
.nav-links a:hover             { color: var(--white); }
.nav-links a:hover::after      { width: 100%; }

/* ── Language switcher ── */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
  background: oklch(100% 0 0 / 0.09);
  border: 1px solid oklch(100% 0 0 / 0.18);
  border-radius: var(--r-full);
  padding: 3px;
}

.lang-btn {
  min-width: 44px;
  height: 36px;
  border-radius: var(--r-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  border: none;
  background: transparent;
  color: oklch(100% 0 0 / 0.55);
  font-family: var(--font-sans);
  transition: background var(--t-fast), color var(--t-fast);
  display: flex; align-items: center; justify-content: center;
}
.lang-btn.active {
  background: var(--gold-500);
  color: var(--ocean-900);
}
.lang-btn:not(.active):hover {
  background: oklch(100% 0 0 / 0.1);
  color: var(--white);
}

/* ── Hamburger ── */
.nav-hamburger {
  width: 44px; height: 44px;
  display: flex; flex-direction: column;
  justify-content: center; gap: 5px;
  background: none; border: none;
  cursor: pointer; padding: 8px;
  border-radius: var(--r-sm);
  transition: background var(--t-fast);
}
.nav-hamburger:hover { background: oklch(100% 0 0 / 0.08); }
.nav-hamburger span {
  display: block; height: 1.5px;
  background: var(--white); border-radius: 2px;
  transition: transform 0.35s var(--ease-in-out),
              opacity 0.2s, width 0.3s;
  transform-origin: center;
}
.nav-hamburger span:nth-child(2)          { width: 65%; margin-left: auto; }
.nav-hamburger.open span:nth-child(1)     { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2)     { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3)     { transform: translateY(-6.5px) rotate(-45deg); }

/* ── Mobile drawer ── */
.nav-drawer {
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: oklch(16% 0.08 248 / 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: var(--s-6) var(--s-6) var(--s-8);
  display: flex; flex-direction: column;
  z-index: 999;
  transform: translateY(-110%);
  transition: transform 0.42s var(--ease-out-expo);
  border-bottom: 1px solid oklch(72% 0.13 75 / 0.25);
}
.nav-drawer.open { transform: none; }

.drawer-link {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--white);
  padding: var(--s-4) 0;
  border-bottom: 1px solid oklch(100% 0 0 / 0.07);
  display: block;
  transition: color var(--t-fast), padding-left var(--t-base) var(--ease-out-expo);
}
.drawer-link:last-of-type { border-bottom: none; }
.drawer-link:hover        { color: var(--gold-400); padding-left: var(--s-3); }

.drawer-lang {
  margin-top: var(--s-6);
  padding-top: var(--s-5);
  border-top: 1px solid oklch(100% 0 0 / 0.09);
}
.drawer-lang-label {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: oklch(100% 0 0 / 0.32);
  display: block;
  margin-bottom: var(--s-3);
}
.drawer-lang-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-3);
}
.drawer-lang-btn {
  height: 54px;
  border-radius: var(--r-md);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid oklch(100% 0 0 / 0.12);
  background: oklch(100% 0 0 / 0.04);
  color: oklch(100% 0 0 / 0.6);
  transition: all var(--t-base) var(--ease-out-expo);
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
}
.drawer-lang-btn.active {
  background: var(--gold-500);
  border-color: var(--gold-500);
  color: var(--ocean-900);
  box-shadow: 0 4px 18px oklch(72% 0.13 75 / 0.4);
}

/* ============================================================
   HERO
============================================================ */
#hero {
  min-height: 100dvh;
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: var(--nav-h) var(--s-6) 140px;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, oklch(42% 0.13 252 / 0.45) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 10% 80%, oklch(72% 0.13 75 / 0.12) 0%, transparent 55%),
    linear-gradient(170deg, var(--ocean-900) 0%, oklch(20% 0.08 248) 45%, oklch(32% 0.11 250) 100%);
}

/* Grain texture overlay */
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  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.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  pointer-events: none;
  z-index: 1;
  opacity: 0.6;
}

/* Animated light rays */
.hero-ray {
  position: absolute;
  width: 1px;
  background: linear-gradient(180deg, transparent, oklch(72% 0.13 75 / 0.18), transparent);
  pointer-events: none;
}
.hero-ray-1 { height: 60%; top:  5%; left: 22%; transform: rotate(18deg);  animation: rayPulse  6s ease-in-out infinite; }
.hero-ray-2 { height: 45%; top: 20%; left: 62%; transform: rotate(-12deg); animation: rayPulse  9s ease-in-out infinite 2s; }
.hero-ray-3 { height: 55%; top:  0;  left: 45%; transform: rotate(5deg);   animation: rayPulse 11s ease-in-out infinite 4s; }

@keyframes rayPulse {
  0%, 100% { opacity: 0; transform: rotate(var(--r, 18deg)) scaleY(0.8); }
  50%       { opacity: 1; transform: rotate(var(--r, 18deg)) scaleY(1.1); }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 740px;
  animation: heroIn 1.4s var(--ease-out-expo) both;
}

@keyframes heroIn {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: none; }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: var(--s-2) var(--s-5);
  border-radius: var(--r-full);
  border: 1px solid oklch(72% 0.13 75 / 0.35);
  background: oklch(72% 0.13 75 / 0.08);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: var(--s-8);
  backdrop-filter: blur(8px);
}

.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold-400);
  box-shadow: 0 0 8px var(--gold-400);
  animation: blink 2.5s ease-in-out infinite;
}

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

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(5rem, 18vw, 10rem);
  font-weight: 300;
  line-height: 0.9;
  color: var(--white);
  letter-spacing: -0.01em;
  margin-bottom: var(--s-6);
}
.hero-title em {
  font-style: italic;
  color: var(--gold-400);
  display: inline-block;
}

.hero-tagline {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2.8vw, 1.6rem);
  font-weight: 300;
  font-style: italic;
  color: oklch(96% 0.02 245 / 0.7);
  margin-bottom: var(--s-10);
  letter-spacing: 0.02em;
}

.hero-divider {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  justify-content: center;
  margin-bottom: var(--s-10);
  color: oklch(100% 0 0 / 0.25);
}
.hero-divider::before,
.hero-divider::after {
  content: '';
  flex: 1;
  max-width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, oklch(100% 0 0 / 0.25));
}
.hero-divider::after { transform: scaleX(-1); }

.hero-phone {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-size: 0.9rem;
  color: oklch(100% 0 0 / 0.55);
  transition: color var(--t-fast);
}
.hero-phone:hover    { color: var(--gold-400); }
.hero-phone svg      { width: 14px; height: 14px; flex-shrink: 0; }

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-4);
  margin-top: var(--s-8);
}

/* Hero wave */
.hero-wave {
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  z-index: 3;
  overflow: hidden;
  line-height: 0;
}
.hero-wave svg {
  display: block;
  width: 200%; height: 100px;
  animation: waveScroll 12s linear infinite;
}
@keyframes waveScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Scroll cue */
.hero-scroll-cue {
  position: absolute;
  bottom: 130px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-2);
  color: oklch(100% 0 0 / 0.3);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  animation: cueFade 3s ease-in-out 2s both;
}
@keyframes cueFade {
  from { opacity: 0; transform: translateX(-50%) translateY(10px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(180deg, oklch(100% 0 0 / 0.4), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============================================================
   MENU SECTION
============================================================ */
#menu {
  padding: var(--s-24) 0;
  background: var(--white);
}

.menu-header { margin-bottom: var(--s-12); }

/* ── Category tabs ── */
.menu-tabs {
  display: flex;
  gap: var(--s-2);
  flex-wrap: wrap;
  margin-top: var(--s-8);
}

/* ── Tab panels ── */
.menu-panels { position: relative; }
.menu-panel  { display: none; animation: panelIn 0.35s var(--ease-out-expo) both; }
.menu-panel.active { display: block; }

@keyframes panelIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}

/* ============================================================
   GALLERY — Bento Grid
============================================================ */
#galerie {
  padding: var(--s-24) 0;
  background: var(--surface);
}

.gallery-header { margin-bottom: var(--s-12); }

.gallery-bento {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto;
  gap: var(--s-3);
}

/* ── Varied aspect ratios for bento feel ── */
.gallery-tile:nth-child(1) { aspect-ratio: 1 / 1; }
.gallery-tile:nth-child(2) { aspect-ratio: 3 / 4; }
.gallery-tile:nth-child(3) { aspect-ratio: 4 / 3; }
.gallery-tile:nth-child(4) { aspect-ratio: 1 / 1; }
.gallery-tile:nth-child(5) { aspect-ratio: 4 / 3; }
.gallery-tile:nth-child(6) { aspect-ratio: 3 / 4; }

/* ============================================================
   CONTACT SECTION
============================================================ */
#contact {
  padding: var(--s-24) 0;
  background: var(--ocean-900);
  position: relative;
  overflow: hidden;
}

/* Background glows */
#contact::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, oklch(42% 0.13 252 / 0.2) 0%, transparent 70%);
  top: -200px; right: -200px;
  pointer-events: none;
}
#contact::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, oklch(72% 0.13 75 / 0.1) 0%, transparent 70%);
  bottom: -100px; left: -100px;
  pointer-events: none;
}

.contact-header { margin-bottom: var(--s-12); position: relative; z-index: 1; }

.contact-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
  margin-bottom: var(--s-10);
  position: relative; z-index: 1;
}

.contact-map {
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid oklch(100% 0 0 / 0.08);
  margin-bottom: var(--s-10);
  position: relative; z-index: 1;
}

.contact-instagram {
  text-align: center;
  position: relative; z-index: 1;
}

/* ============================================================
   FOOTER
============================================================ */
#footer {
  background: oklch(11% 0.04 248);
  padding: var(--s-8) var(--s-6);
  border-top: 1px solid oklch(100% 0 0 / 0.05);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-4);
  text-align: center;
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 300;
  color: oklch(100% 0 0 / 0.5);
  letter-spacing: 0.12em;
}
.footer-logo em { font-style: italic; color: var(--gold-500); }

.footer-links {
  display: flex;
  gap: var(--s-8);
  flex-wrap: wrap;
  justify-content: center;
}
.footer-links a {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: oklch(100% 0 0 / 0.28);
  transition: color var(--t-fast);
}
.footer-links a:hover { color: var(--gold-500); }

.footer-copy {
  font-size: 0.72rem;
  color: oklch(100% 0 0 / 0.22);
}
