/* =====================
   CSS Variables & Reset
   ===================== */
:root {
  --brown-dark:   #2C1A0E;
  --brown-mid:    #5C3317;
  --caramel:      #C8956C;
  --caramel-light:#E8B896;
  --cream:        #FFF8F0;
  --cream-dark:   #F5EDE0;
  --text-dark:    #1A0F07;
  --text-mid:     #5A3E2B;
  --text-light:   #9B7B5E;
  --white:        #FFFFFF;
  --shadow-sm:    0 2px 8px rgba(44,26,14,0.08);
  --shadow-md:    0 4px 20px rgba(44,26,14,0.12);
  --shadow-lg:    0 8px 40px rgba(44,26,14,0.18);
  --radius:       12px;
  --radius-lg:    20px;
  --transition:   0.3s ease;
}

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

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--cream);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* =====================
   Utilities
   ===================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--caramel);
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--brown-dark);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 560px;
  margin: 0 auto;
}

/* =====================
   Buttons
   ===================== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all var(--transition);
  cursor: pointer;
}

.btn-primary {
  background: var(--caramel);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(200,149,108,0.4);
}

.btn-primary:hover {
  background: var(--brown-mid);
  box-shadow: 0 6px 24px rgba(92,51,23,0.4);
  transform: translateY(-2px);
}

.btn-outline {
  border: 2px solid rgba(255,255,255,0.7);
  color: var(--white);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-2px);
}

.btn-full { width: 100%; text-align: center; }

/* =====================
   Navbar
   ===================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all var(--transition);
}

.navbar.scrolled {
  background: rgba(255, 248, 240, 0.97);
  backdrop-filter: blur(12px);
  padding: 14px 0;
  box-shadow: var(--shadow-sm);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  transition: color var(--transition);
}

.navbar.scrolled .nav-logo {
  color: var(--brown-dark);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 400;
  color: rgba(255,255,255,0.9);
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--caramel);
  transition: width var(--transition);
}

.nav-links a:hover::after { width: 100%; }

.navbar.scrolled .nav-links a {
  color: var(--text-mid);
}

.navbar.scrolled .nav-links a:hover {
  color: var(--caramel);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

.navbar.scrolled .burger span {
  background: var(--brown-dark);
}

.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =====================
   Hero
   ===================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--brown-dark) 0%, var(--brown-mid) 60%, #8B4513 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(200,149,108,0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(139,69,19,0.2) 0%, transparent 50%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
  position: relative;
  text-align: center;
  padding: 0 24px;
  max-width: 720px;
}

.hero-tag {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--caramel-light);
  margin-bottom: 20px;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3.5rem, 9vw, 7rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 24px;
  text-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.8);
  margin-bottom: 44px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
}

.hero-scroll span {
  display: block;
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 12px;
  position: relative;
}

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

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
  80% { transform: translateX(-50%) translateY(12px); opacity: 0; }
}

/* =====================
   About
   ===================== */
.about {
  background: var(--white);
}

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

.about-image {
  position: relative;
}

.about-img-placeholder {
  width: 100%;
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--cream-dark), var(--caramel-light));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
  box-shadow: var(--shadow-lg);
}

.about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--caramel);
  color: var(--white);
  border-radius: var(--radius);
  padding: 20px 24px;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.about-badge strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.about-badge span {
  font-size: 0.8rem;
  opacity: 0.9;
}

.about-text .section-tag,
.about-text .section-title {
  text-align: left;
}

.about-text p {
  color: var(--text-mid);
  margin-bottom: 16px;
  font-size: 1.02rem;
}

.about-stats {
  display: flex;
  gap: 32px;
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid var(--cream-dark);
}

.stat strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--caramel);
}

.stat span {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* =====================
   Services
   ===================== */
.services {
  background: var(--cream);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all var(--transition);
  border: 1px solid transparent;
  box-shadow: var(--shadow-sm);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--caramel-light);
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  line-height: 1;
}

.service-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--brown-dark);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* =====================
   Menu
   ===================== */
.menu-section {
  background: var(--brown-dark);
  color: var(--white);
}

.menu-section .section-tag {
  color: var(--caramel-light);
}

.menu-section .section-title {
  color: var(--white);
}

.menu-section .section-desc {
  color: rgba(255,255,255,0.6);
}

.menu-tabs {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.tab-btn {
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.15);
  transition: all var(--transition);
}

.tab-btn:hover {
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}

.tab-btn.active {
  background: var(--caramel);
  color: var(--white);
  border-color: var(--caramel);
  box-shadow: 0 4px 16px rgba(200,149,108,0.4);
}

.menu-panel { display: none; }
.menu-panel.active { display: block; }

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2px;
}

.menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background var(--transition);
  gap: 16px;
}

.menu-item:hover {
  background: rgba(255,255,255,0.08);
}

.menu-item h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}

.menu-item p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

.menu-price {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--caramel);
  white-space: nowrap;
}

/* =====================
   Gallery
   ===================== */
.gallery-section {
  background: var(--cream-dark);
}

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

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
}

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

.gallery-item--wide {
  grid-column: span 2;
}

.gallery-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--cream), var(--caramel-light));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: transform var(--transition);
  font-size: 2.5rem;
}

.gallery-item:hover .gallery-placeholder {
  transform: scale(1.04);
}

.gallery-placeholder p {
  font-size: 0.9rem;
  color: var(--text-mid);
  font-weight: 500;
}

/* =====================
   Contact
   ===================== */
.contact-section {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}

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

.contact-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px;
  background: var(--cream);
  border-radius: var(--radius);
  transition: box-shadow var(--transition);
}

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

.contact-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
  line-height: 1;
}

.contact-card h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--brown-dark);
  margin-bottom: 6px;
}

.contact-card p,
.contact-card a {
  display: block;
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.6;
}

.contact-card a:hover { color: var(--caramel); }

.social-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.social-link {
  padding: 6px 16px;
  background: var(--cream-dark);
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--text-mid);
  transition: all var(--transition);
  border: 1px solid transparent;
}

.social-link:hover {
  background: var(--caramel);
  color: var(--white);
}

.contact-map {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.map-placeholder {
  background: linear-gradient(135deg, var(--cream-dark), var(--caramel-light));
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.map-placeholder span { font-size: 3rem; }

.map-placeholder p {
  color: var(--text-mid);
  font-size: 1rem;
  line-height: 1.6;
}

.booking-form {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.booking-form h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--brown-dark);
  margin-bottom: 24px;
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 0;
}

.form-row .form-group {
  margin-bottom: 16px;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--cream-dark);
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color var(--transition);
  outline: none;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--caramel);
}

.form-group input::placeholder { color: var(--text-light); }

/* =====================
   Footer
   ===================== */
.footer {
  background: var(--brown-dark);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 32px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 48px;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-brand .nav-logo {
  color: var(--white);
  font-size: 1.8rem;
  display: block;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
}

.footer-nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-nav a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}

.footer-nav a:hover { color: var(--caramel); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}

/* =====================
   Responsive
   ===================== */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image { max-width: 400px; margin: 0 auto; }

  .about-badge {
    bottom: -16px;
    right: 0;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 80px 40px;
    gap: 28px;
    transition: right var(--transition);
    box-shadow: -8px 0 40px rgba(0,0,0,0.15);
    z-index: 999;
  }

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

  .nav-links a {
    color: var(--text-mid);
    font-size: 1.1rem;
  }

  .nav-links a:hover { color: var(--caramel); }

  .burger { display: flex; z-index: 1001; }

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

  .gallery-item--large { grid-row: span 1; }
  .gallery-item--wide { grid-column: span 2; }

  .menu-grid {
    grid-template-columns: 1fr;
  }

  .about-stats { gap: 20px; }

  .footer-top { flex-direction: column; }
}

@media (max-width: 480px) {
  .hero-buttons { flex-direction: column; align-items: center; }
  .hero-buttons .btn { width: 100%; max-width: 260px; text-align: center; }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item--large,
  .gallery-item--wide {
    grid-column: span 1;
    grid-row: span 1;
  }

  .gallery-placeholder { height: 200px; }
  .gallery-item { height: 200px; }

  .form-row { grid-template-columns: 1fr; }

  .booking-form { padding: 24px 20px; }

  .about-stats { flex-wrap: wrap; gap: 16px; }

  .tab-btn { padding: 10px 18px; font-size: 0.85rem; }
}

/* =====================
   Animations
   ===================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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