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

:root {
  --bg-dark: #0E0E0E;
  --bg-light: #F5F0EB;
  --accent: #C9A96E;
  --accent-hover: #B89555;
  --text-light: #F5F0EB;
  --text-dark: #1A1A1A;
  --text-muted: #8A8580;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Inter', -apple-system, sans-serif;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg-dark);
  color: var(--text-light);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.5rem 3rem;
  background: rgba(14,14,14,0.85);
  backdrop-filter: blur(12px);
  transition: padding 0.4s var(--ease);
}
nav.scrolled { padding: 1rem 3rem; }
.nav-logo {
  font-family: var(--serif);
  font-size: 1.25rem;
  letter-spacing: 0.08em;
  color: var(--text-light);
  text-decoration: none;
}
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.3s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text-light); }
.nav-cta {
  background: var(--accent) !important;
  color: var(--bg-dark) !important;
  padding: 0.6rem 1.5rem;
  font-weight: 500 !important;
  letter-spacing: 0.08em !important;
  transition: background 0.3s !important;
}
.nav-cta:hover { background: var(--accent-hover) !important; }

/* HERO */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 8s var(--ease);
}
.hero.loaded .hero-bg { transform: scale(1); }
.hero-overlay {
  position: absolute; inset: 0;
  background: rgba(14,14,14,0.45);
}
.hero-content { position: relative; z-index: 2; }
.hero-subtitle {
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 400;
  line-height: 1.05;
  margin-bottom: 2rem;
}
.hero h1 em { font-style: italic; color: var(--accent); }
.hero-btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  border: 1px solid var(--accent);
  color: var(--accent);
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: all 0.4s var(--ease);
}
.hero-btn:hover { background: var(--accent); color: var(--bg-dark); }
.scroll-hint {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse { 0%, 100% { opacity: 0.3; } 50% { opacity: 1; } }

/* PAGE HEADER */
.page-header {
  position: relative;
  height: 60vh;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  text-align: center;
  padding-bottom: 4rem;
  overflow: hidden;
}
.page-header-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
}
.page-header-overlay {
  position: absolute; inset: 0;
  background: rgba(14,14,14,0.55);
}
.page-header-content { position: relative; z-index: 2; }
.page-header h1 {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400;
  margin-bottom: 0.5rem;
}
.page-header p {
  color: var(--accent);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

/* SECTIONS */
section { padding: 6rem 3rem; }
.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 2rem;
}
.divider {
  width: 48px; height: 1px;
  background: var(--accent);
  margin: 2rem 0;
}

/* ABOUT */
.about-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-image {
  aspect-ratio: 3/4;
  background-size: cover;
  background-position: center;
  position: relative;
}
.about-image::after {
  content: '';
  position: absolute; inset: 0;
  border: 1px solid rgba(201,169,110,0.15);
}
.about-text p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  max-width: 480px;
}
.about-text p strong { color: var(--text-light); font-weight: 400; }

/* MENU */
.menu-section {
  background: var(--bg-light);
  color: var(--text-dark);
  padding: 6rem 3rem;
}
.menu-inner { max-width: 900px; margin: 0 auto; }
.menu-section .section-title { color: var(--text-dark); }
.menu-section .section-label { color: var(--accent); }
.menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem 4rem;
  margin-top: 3rem;
}
.menu-item { padding-bottom: 1.5rem; border-bottom: 1px solid rgba(0,0,0,0.08); }
.menu-item-header {
  display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 0.5rem;
}
.menu-item h3 {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--text-dark);
}
.menu-item .price {
  font-size: 0.95rem;
  color: var(--accent);
  font-weight: 500;
  white-space: nowrap;
  margin-left: 1rem;
}
.menu-item p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }

/* FULL MENU PAGE */
.menu-full { max-width: 1000px; margin: 0 auto; }
.menu-category { margin-bottom: 4rem; }
.menu-category h2 {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(0,0,0,0.1);
}
.menu-category .menu-item { border-bottom-color: rgba(0,0,0,0.06); }

/* GALLERY */
.gallery-grid {
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 50vh 50vh;
  gap: 4px;
}
.gallery-item { position: relative; overflow: hidden; }
.gallery-item:nth-child(1) { grid-column: span 2; }
.gallery-item:nth-child(4) { grid-column: span 2; }
.gallery-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.gallery-item:hover .gallery-img { transform: scale(1.05); }

/* GALLERY PAGE */
.gallery-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  max-width: 1400px;
  margin: 0 auto;
}
.gallery-page-item {
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
}
.gallery-page-item:nth-child(1) { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.gallery-page-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.gallery-page-item:hover img { transform: scale(1.03); }

/* RESERVATION */
.reservation {
  background: var(--bg-dark);
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  padding: 6rem 3rem;
}
.reservation p { color: var(--text-muted); margin-bottom: 3rem; font-size: 1.05rem; }
.res-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  text-align: left;
}
.res-form .full { grid-column: span 2; }
.res-form label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.res-form input, .res-form select, .res-form textarea {
  width: 100%;
  padding: 0.8rem 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(201,169,110,0.3);
  color: var(--text-light);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 300;
  outline: none;
  transition: border-color 0.3s;
}
.res-form textarea { resize: vertical; min-height: 80px; }
.res-form input:focus, .res-form select:focus, .res-form textarea:focus { border-color: var(--accent); }
.res-form select option { background: var(--bg-dark); }
.res-submit {
  grid-column: span 2;
  margin-top: 1rem;
  padding: 1rem 3rem;
  background: var(--accent);
  color: var(--bg-dark);
  border: none;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s;
}
.res-submit:hover { background: var(--accent-hover); }

/* CONTACT */
.contact {
  background: var(--bg-light);
  color: var(--text-dark);
  padding: 6rem 3rem;
}
.contact-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3rem;
}
.contact h3 {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 1rem;
  color: var(--text-dark);
}
.contact p, .contact a {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-decoration: none;
  line-height: 2;
  display: block;
  transition: color 0.3s;
}
.contact a:hover { color: var(--accent); }
.map-placeholder {
  grid-column: span 3;
  height: 350px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 1.5rem;
  margin-top: 2rem;
}
.map-placeholder span {
  background: rgba(14,14,14,0.8);
  color: var(--text-light);
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* CHEF SECTION */
.chef-section {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}
.chef-image {
  aspect-ratio: 3/4;
  background-size: cover;
  background-position: center;
}
.chef-quote {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--text-light);
  margin: 2rem 0;
  padding-left: 1.5rem;
  border-left: 2px solid var(--accent);
}

/* FEATURES */
.features {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  text-align: center;
}
.feature-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--accent);
}
.feature h3 {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 0.75rem;
}
.feature p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* CTA BANNER */
.cta-banner {
  position: relative;
  padding: 6rem 3rem;
  text-align: center;
  overflow: hidden;
}
.cta-banner-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
}
.cta-banner-overlay {
  position: absolute; inset: 0;
  background: rgba(14,14,14,0.6);
}
.cta-banner-content { position: relative; z-index: 2; }
.cta-banner h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  margin-bottom: 1rem;
}
.cta-banner p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

/* FOOTER */
footer {
  background: var(--bg-dark);
  padding: 3rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}
.footer-brand .nav-logo { display: inline-block; margin-bottom: 1rem; }
.footer-brand p { color: var(--text-muted); font-size: 0.85rem; max-width: 280px; }
footer h4 {
  font-family: var(--serif);
  font-size: 0.9rem;
  font-weight: 400;
  margin-bottom: 1rem;
  color: var(--text-light);
}
footer a {
  display: block;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  line-height: 2;
  transition: color 0.3s;
}
footer a:hover { color: var(--accent); }
.footer-bottom {
  max-width: 1200px;
  margin: 2rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p { font-size: 0.75rem; color: var(--text-muted); }

/* ANIMATIONS */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* MOBILE */
@media (max-width: 768px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  section { padding: 4rem 1.5rem; }
  .about-grid, .chef-section { grid-template-columns: 1fr; gap: 2rem; }
  .about-image { aspect-ratio: 4/3; }
  .menu-grid { grid-template-columns: 1fr; gap: 2rem; }
  .features { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .gallery-item:nth-child(1), .gallery-item:nth-child(4) { grid-column: span 1; }
  .gallery-item { height: 40vh; }
  .gallery-page-grid { grid-template-columns: 1fr 1fr; }
  .gallery-page-item:nth-child(1) { grid-column: span 2; grid-row: span 1; }
  .res-form { grid-template-columns: 1fr; }
  .res-form .full, .res-submit { grid-column: span 1; }
  .contact-inner { grid-template-columns: 1fr; }
  .map-placeholder { grid-column: span 1; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .page-header { height: 50vh; }
}

/* MOBILE NAV TOGGLE */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--text-light);
  transition: all 0.3s;
}
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(14,14,14,0.97);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 99;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.2rem; }
}
