/* ============================================
   ZAIKACAFÉ — INDIAN CAFÉ LANDING PAGE
   Design System & Component Styles
   ============================================ */

/* ---- CSS Variables ---- */
:root {
  --primary:        #7C2D12;      /* Deep masala red / Indian spice */
  --primary-light:  #9A3920;
  --primary-dark:   #4F1A08;
  --accent:         #D4A843;      /* Saffron gold */
  --accent-light:   #E8C45E;
  --brown-bg:       #A06840;      /* Warm chai brown */
  --brown-dark:     #7A4A28;
  --brown-light:    #C08858;
  --cream:          #FDF8F0;
  --white:          #FFFFFF;
  --text-dark:      #2A1810;
  --text-muted:     #7A5A48;
  --border:         rgba(255,255,255,0.15);
  --card-bg:        #FFFFFF;
  --shadow-sm:      0 2px 12px rgba(0,0,0,0.07);
  --shadow-md:      0 8px 32px rgba(0,0,0,0.11);
  --shadow-lg:      0 20px 60px rgba(0,0,0,0.17);
  --shadow-xl:      0 32px 80px rgba(0,0,0,0.24);
  --radius-sm:      10px;
  --radius-md:      16px;
  --radius-lg:      24px;
  --radius-full:    999px;
  --transition:     0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow:0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --font-head:      'Playfair Display', serif;
  --font-body:      'Poppins', sans-serif;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Focus visible — accessible keyboard navigation */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

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

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

/* ---- Section ---- */
.section { padding: 90px 0; position: relative; }

/* Correct anchor offset for sticky navbar */
section[id] { scroll-margin-top: 72px; }

/* Text selection theming */
::selection { background: var(--accent); color: var(--text-dark); }
::-moz-selection { background: var(--accent); color: var(--text-dark); }

/* ---- Section Header ---- */
.section-header { text-align: center; margin-bottom: 52px; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  line-height: 1;
}
.section-label::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--accent);
  border-radius: 99px;
  flex-shrink: 0;
}
.section-label.light { color: var(--accent); }

.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
}
.section-title.dark { color: var(--text-dark); }

.section-subtitle {
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  max-width: 560px;
  margin: 14px auto 0;
}
.section-subtitle.dark { color: var(--text-muted); }

/* ---- Accent Text ---- */
.accent { color: var(--accent); }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 600;
  font-family: var(--font-body);
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background var(--transition);
}
.btn-primary:hover::after { background: rgba(255,255,255,0.08); }
.btn-primary:hover {
  background: var(--primary-light);
  border-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(43, 95, 62, 0.45);
}
.btn-primary:active { transform: translateY(0); box-shadow: none; }

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.55);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--text-dark);
  border-color: rgba(0,0,0,0.35);
}
.btn-outline-dark:hover {
  background: var(--text-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

/* White outline — for use on dark section backgrounds */
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-full { width: 100%; justify-content: center; }

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 0;
  background: rgba(45, 32, 18, 0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.navbar.scrolled {
  background: rgba(22, 14, 6, 0.95);
  padding: 13px 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.35);
  border-bottom-color: rgba(255,255,255,0.05);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-icon { flex-shrink: 0; }
.logo-text {
  font-family: var(--font-head);
  font-size: 1.2rem;
  color: var(--white);
  font-weight: 400;
}
.logo-text strong { font-weight: 700; color: var(--accent); }

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  position: relative;
  transition: color var(--transition);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 50%; right: 50%;
  height: 2px;
  background: var(--accent);
  transition: left var(--transition), right var(--transition);
  border-radius: 99px;
}
.nav-link:hover,
.nav-link.active { color: var(--white); }
.nav-link:hover::after,
.nav-link.active::after { left: 0; right: 0; }

/* Nav Right */
.nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
}
.icon-btn {
  color: rgba(255,255,255,0.85);
  padding: 6px;
  transition: color var(--transition), transform var(--transition);
  border-radius: 50%;
}
.icon-btn:hover { color: var(--white); transform: scale(1.1); }

.nav-cta { font-size: 0.9rem; padding: 10px 22px; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  background: linear-gradient(145deg, #7A5030 0%, #9A6848 30%, #B07858 60%, #986040 100%);
  min-height: 100vh;
  padding-top: 100px;
  position: relative;
  overflow: hidden;
}

/* Decorative blobs */
.hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(212, 168, 67, 0.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 100px; left: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero-bg-decor { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.leaf {
  position: absolute;
  opacity: 0.18;
  animation: floatLeaf 6s ease-in-out infinite;
  line-height: 0;
}
.leaf-1 { top: 8%; left: 28%; animation-delay: 0s; transform: rotate(-30deg); }
.leaf-2 { top: 15%; right: 22%; animation-delay: 2s; transform: rotate(20deg); }

@keyframes floatLeaf {
  0%, 100% { transform: translateY(0) rotate(-30deg); }
  50% { transform: translateY(-18px) rotate(-20deg); }
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr 0.7fr;
  align-items: center;
  gap: 40px;
  padding: 60px 24px 40px;
  min-height: calc(100vh - 200px);
}

/* Hero Content */
.hero-content { z-index: 2; }

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.12;
  margin-bottom: 20px;
}

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

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-btn { font-size: 0.95rem; }

/* Hero Image */
.hero-image-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

.hero-image-ring {
  width: 390px;
  height: 390px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 4px solid rgba(255,255,255,0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 30px 80px rgba(0,0,0,0.3), inset 0 0 40px rgba(255,255,255,0.04);
  overflow: hidden;
  animation: floatImage 4.5s ease-in-out infinite;
  will-change: transform;
}

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

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  transition: transform 0.6s ease;
}
.hero-image-ring:hover .hero-img { transform: scale(1.05); }

/* Floating Badges */
.floating-badge {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-lg);
  font-size: 0.8rem;
  animation: badgeFloat 3.5s ease-in-out infinite;
  will-change: transform;
  backdrop-filter: blur(4px);
}
.floating-badge strong { font-size: 1rem; color: var(--text-dark); line-height: 1.1; }
.floating-badge small { color: var(--text-muted); font-size: 0.68rem; display: block; margin-top: 1px; }
.badge-top-right { top: -16px; right: -36px; animation-delay: 0.8s; }
.badge-bottom-left { bottom: -16px; left: -44px; }
.badge-star { display: flex; align-items: center; color: var(--accent); line-height: 0; }
.badge-icon { display: flex; align-items: center; line-height: 0; }

@keyframes badgeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* Hero Stats */
.hero-stats {
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 2;
}

.stat-card {
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform var(--transition), background var(--transition), border-color var(--transition);
}
.stat-card:hover {
  transform: translateX(8px);
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.28);
}

.stat-num {
  display: block;
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.stat-label {
  display: block;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.75);
  margin-top: 4px;
}

/* ---- Featured Dishes Strip ---- */
.featured-strip {
  padding: 28px 0 44px;
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.featured-dishes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.featured-card {
  background: rgba(255,255,255,0.97);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15), 0 1px 3px rgba(0,0,0,0.08);
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid rgba(255,255,255,0.6);
}
.featured-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.22), 0 4px 8px rgba(0,0,0,0.1);
}

.featured-card img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.dish-info { flex: 1; min-width: 0; }

.dish-rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1;
}
.dish-rating .star { display: inline-flex; align-items: center; line-height: 0; }

.dish-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dish-price {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
  background: linear-gradient(155deg, #9A6848 0%, #845838 40%, #724830 100%);
}

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

/* About Image */
.about-image-wrap { position: relative; }

.about-img-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-lg);
}
.about-img-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.25) 0%, transparent 50%);
  z-index: 1;
  pointer-events: none;
}

.about-img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  transition: transform var(--transition-slow);
  will-change: transform;
}
.about-img-frame:hover .about-img { transform: scale(1.04); }

.play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 12px rgba(212, 168, 67, 0.25), 0 0 0 24px rgba(212, 168, 67, 0.1);
  transition: transform var(--transition), box-shadow var(--transition);
}
.play-btn:hover {
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 0 0 16px rgba(212, 168, 67, 0.3), 0 0 0 32px rgba(212, 168, 67, 0.12);
}
.play-btn svg { margin-left: 4px; }

/* About Content */
.about-content { color: var(--white); }
.about-content .section-label { margin-bottom: 10px; }
.about-content .section-title { color: var(--white); margin-bottom: 20px; }

.about-text {
  font-size: 0.97rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.8;
  margin-bottom: 32px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 36px;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  transition: background var(--transition), border-color var(--transition);
}
.about-feature:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
}
.feature-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: rgba(212,168,67,0.18);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-feature strong { color: var(--white); font-size: 0.88rem; display: block; margin-bottom: 2px; }
.about-feature p { color: rgba(255,255,255,0.65); font-size: 0.78rem; margin: 0; line-height: 1.4; }

/* ============================================
   MENU SECTION
   ============================================ */
.menu {
  background: linear-gradient(180deg, #6A4025 0%, #874A2E 40%, #9E6040 100%);
  overflow: hidden;
}

.menu-bg-blob {
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(212,168,67,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.menu .section-title { color: var(--white); }
.menu .section-subtitle { color: rgba(255,255,255,0.7); }

/* Tabs */
.menu-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.tab-btn {
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.65);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  transition: all var(--transition);
  cursor: pointer;
  font-family: var(--font-body);
  letter-spacing: 0.01em;
}
.tab-btn:hover {
  color: rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.25);
}
.tab-btn.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 4px 18px rgba(43, 95, 62, 0.45);
}

/* Menu Grid */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

/* ---- Menu Item Card ---- */
.menu-item-card {
  background: #FFFBF4;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 4px 22px rgba(124,45,18,0.09), 0 1px 4px rgba(0,0,0,0.05);
  border: 1px solid rgba(212,168,67,0.14);
  transition: transform 0.38s cubic-bezier(0.4,0,0.2,1),
              box-shadow 0.38s cubic-bezier(0.4,0,0.2,1),
              opacity 0.3s ease;
  will-change: transform;
  position: relative;
}
/* animated accent bar that reveals on hover */
.menu-item-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.38s cubic-bezier(0.4,0,0.2,1);
  border-radius: 0 0 22px 22px;
}
.menu-item-card:hover::after { transform: scaleX(1); }
.menu-item-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 28px 60px rgba(124,45,18,0.18),
              0 8px 24px rgba(124,45,18,0.10);
}
.menu-item-card.hidden  { display: none; }
.menu-item-card.fade-out {
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
}

/* ---- Image ---- */
.menu-item-img-wrap {
  position: relative;
  height: 228px;
  overflow: hidden;
}
.menu-item-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4,0,0.2,1);
}
.menu-item-card:hover .menu-item-img-wrap img { transform: scale(1.1); }
/* fade image bottom into card bg */
.card-img-gradient {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 64px;
  background: linear-gradient(to top, #FFFBF4 0%, transparent 100%);
  pointer-events: none;
}

/* ---- Badge ---- */
.menu-badge {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--primary);
  color: var(--white);
  font-size: 0.67rem;
  font-weight: 700;
  padding: 5px 13px;
  border-radius: var(--radius-full);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 3px 12px rgba(124,45,18,0.40);
  backdrop-filter: blur(4px);
}
.menu-badge.badge-new {
  background: linear-gradient(135deg, var(--accent), #f0b830);
  color: var(--text-dark);
  box-shadow: 0 3px 12px rgba(212,168,67,0.45);
}

/* ---- Card Body ---- */
.menu-item-info { padding: 18px 22px 20px; }

.menu-item-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
}
.dish-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Indian veg / non-veg square indicator */
.veg-dot {
  flex-shrink: 0;
  width: 17px; height: 17px;
  border-radius: 4px;
  border: 2px solid currentColor;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.veg-dot::after {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: currentColor;
}
.veg-dot.veg  { color: #209046; }
.veg-dot.nonveg { color: #bf2c1c; }

.menu-item-top h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
}

/* Price as a warm pill */
.menu-price {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
  background: var(--primary);
  padding: 5px 13px;
  border-radius: var(--radius-full);
  letter-spacing: 0.02em;
  line-height: 1;
  box-shadow: 0 2px 8px rgba(124,45,18,0.25);
  transition: background var(--transition), transform var(--transition);
}
.menu-item-card:hover .menu-price {
  background: var(--accent);
  color: var(--text-dark);
  transform: scale(1.05);
}

.menu-item-info p {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 14px;
}

/* Thin saffron divider */
.card-divider {
  height: 1px;
  background: linear-gradient(90deg, rgba(212,168,67,0.35), transparent);
  margin-bottom: 14px;
}

.menu-item-footer {
  display: flex;
  align-items: center;
}

/* Rating as a soft gold pill */
.menu-rating {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.77rem;
  font-weight: 700;
  color: #9a6e10;
  background: rgba(212,168,67,0.13);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  line-height: 1;
  border: 1px solid rgba(212,168,67,0.22);
}

.menu-cta { text-align: center; padding-top: 8px; }

/* Stagger card entry animations */
.menu-item-card:nth-child(1) { transition-delay: 0.05s; }
.menu-item-card:nth-child(2) { transition-delay: 0.10s; }
.menu-item-card:nth-child(3) { transition-delay: 0.15s; }
.menu-item-card:nth-child(4) { transition-delay: 0.20s; }
.menu-item-card:nth-child(5) { transition-delay: 0.25s; }
.menu-item-card:nth-child(6) { transition-delay: 0.30s; }

/* ============================================
   CHEF SECTION
   ============================================ */
.chef {
  background: linear-gradient(140deg, #C8963A 0%, #B88030 50%, #A87028 100%);
  overflow: hidden;
  position: relative;
}

.chef-bg {
  position: absolute;
  inset: 0;
  background: url("https://images.unsplash.com/photo-1581299894007-aaa50297cf16?w=1400&q=30") center/cover no-repeat;
  mix-blend-mode: multiply;
  opacity: 0.25;
}

.chef-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.chef-content .section-title { color: var(--white); font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 32px; }

/* Testimonial Card */
.testimonial-card {
  background: rgba(255,255,255,0.97);
  border-radius: var(--radius-lg);
  padding: 28px 30px;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255,255,255,0.8);
  transition: opacity var(--transition), transform var(--transition);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.testimonial-author img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent);
}
.testimonial-author strong { display: block; font-size: 0.95rem; color: var(--text-dark); }
.testimonial-author span { font-size: 0.8rem; color: var(--text-muted); }

.testimonial-card p {
  font-size: 0.92rem;
  color: var(--text-dark);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-nav {
  display: flex;
  gap: 10px;
}

.nav-arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--text-muted);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
}
.nav-arrow:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(43, 95, 62, 0.06);
}

/* Chef Image */
.chef-image-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.chef-img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s ease;
}
.chef-image-wrap:hover .chef-img { transform: scale(1.03); }

/* ============================================
   SERVICES SECTION
   ============================================ */
.services { background: var(--white); }

.services .section-title { color: var(--text-dark); }

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

.service-card {
  text-align: center;
  padding: 38px 26px;
  border-radius: var(--radius-lg);
  border: 1.5px solid rgba(0,0,0,0.06);
  transition: all var(--transition);
  background: var(--white);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transition: transform var(--transition);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}
.service-card:hover {
  border-color: rgba(43, 95, 62, 0.2);
  box-shadow: var(--shadow-md);
  transform: translateY(-7px);
}
.service-card:hover::before { transform: scaleX(1); }

/* Stagger service card entries */
.services-grid .service-card:nth-child(1) { transition-delay: 0.06s; }
.services-grid .service-card:nth-child(2) { transition-delay: 0.12s; }
.services-grid .service-card:nth-child(3) { transition-delay: 0.18s; }
.services-grid .service-card:nth-child(4) { transition-delay: 0.24s; }

.service-icon {
  width: 82px;
  height: 82px;
  background: var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  transition: background var(--transition), transform var(--transition);
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
.service-card:hover .service-icon {
  background: rgba(212,168,67,0.18);
  transform: scale(1.08) rotate(-3deg);
}

.service-card h3 {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 10px;
}
.service-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials {
  background: linear-gradient(140deg, #C27245 0%, #B06038 50%, #9A5028 100%);
  overflow: hidden;
  position: relative;
}

.testimonials-bg {
  position: absolute;
  inset: 0;
  background: url("https://images.unsplash.com/photo-1512621776951-a57141f2eefd?w=1400&q=20") center/cover;
  opacity: 0.1;
  mix-blend-mode: overlay;
}

.testimonials-slider { position: relative; z-index: 2; }

.testimonials-overflow {
  overflow: hidden;
  padding: 8px 0 12px;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.testimonials-track {
  display: flex;
  gap: 24px;
  padding: 10px 0;
  width: max-content;
  animation: marqueeScroll 32s linear infinite;
  will-change: transform;
}

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

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.testimonial-review-card {
  flex: 0 0 300px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  text-align: center;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all var(--transition);
}
.testimonial-review-card:hover,
.testimonial-review-card.highlight {
  background: rgba(255,255,255,0.2);
  transform: translateY(-7px) scale(1.02);
  box-shadow: var(--shadow-xl);
  border-color: rgba(255,255,255,0.32);
}

.reviewer-img {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255,255,255,0.55);
  margin: 0 auto 18px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.testimonial-review-card p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.9);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 14px;
}

.reviewer-name {
  font-weight: 600;
  color: var(--white);
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.stars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: var(--accent);
  margin-top: 4px;
  line-height: 0;
}

/* ============================================
   RESERVATION SECTION
   ============================================ */
.reservation {
  position: relative;
  overflow: hidden;
  padding: 100px 0;
}

.reservation-bg-img {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.reservation-bg-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.reservation-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(80, 50, 20, 0.93) 0%, rgba(35, 55, 25, 0.90) 100%);
}

.reservation-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.reservation-text .section-title { margin-bottom: 16px; }

.reservation-desc {
  font-size: 0.97rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.8;
  margin-bottom: 32px;
}

.reservation-info { display: flex; flex-direction: column; gap: 14px; }

.res-info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.85);
  font-size: 0.92rem;
}

/* Form */
.reservation-form-wrap {
  background: rgba(255,255,255,0.97);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-lg);
}

.reservation-form { display: flex; flex-direction: column; gap: 14px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; }
.form-group.full { grid-column: 1 / -1; }

.form-group input,
.form-group select,
.form-group textarea {
  padding: 13px 16px;
  border: 1.5px solid rgba(0,0,0,0.09);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-dark);
  background: #FAFAF9;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
  width: 100%;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(43, 95, 62, 0.1);
  background: #FFFFFF;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #b0b0a8; }
.form-group select { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B7A6B' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 38px; }
.form-group textarea { resize: vertical; min-height: 90px; }

/* ============================================
   NEWSLETTER SECTION
   ============================================ */
.newsletter {
  background: var(--cream);
  text-align: center;
  background-image: radial-gradient(ellipse at 20% 50%, rgba(43,95,62,0.05) 0%, transparent 60%),
                    radial-gradient(ellipse at 80% 50%, rgba(212,168,67,0.06) 0%, transparent 60%);
}

.newsletter-inner {
  max-width: 520px;
  margin: 0 auto;
}

.newsletter-icon {
  width: 64px;
  height: 64px;
  background: rgba(43, 95, 62, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.newsletter h2 {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.3;
}

.newsletter p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.7;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  margin-bottom: 28px;
  background: var(--white);
  border: 1.5px solid rgba(0,0,0,0.1);
  border-radius: var(--radius-full);
  padding: 5px 5px 5px 22px;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.newsletter-form:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(43,95,62,0.1);
}

.newsletter-form input {
  flex: 1;
  padding: 10px 0;
  border: none;
  border-radius: 0;
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  background: transparent;
  min-width: 0;
}
.newsletter-form .btn { flex-shrink: 0; padding: 11px 24px; }

.newsletter-social {
  display: flex;
  justify-content: center;
  gap: 16px;
}
.newsletter-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0,0,0,0.06);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.newsletter-social a:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  position: relative;
  overflow: hidden;
  padding: 70px 0 0;
}

.footer-bg-img {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.footer-bg-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.footer-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, rgba(52, 32, 14, 0.95) 0%, rgba(24, 42, 16, 0.93) 100%);
}

.footer-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.8fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  align-items: start;
}

.footer h4 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 18px;
  font-weight: 600;
}

.footer-logo-col .logo-text { color: var(--white); }

.footer-tagline {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
  margin-top: 10px;
  max-width: 180px;
}

.footer-contact { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.75);
  font-size: 0.88rem;
}

.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.footer-social a:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
}

/* Footer Gallery */
.footer-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}
.gallery-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 1;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.08); }

.gallery-nav {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}
.gallery-nav .nav-arrow {
  width: 32px;
  height: 32px;
  border-color: rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}
.gallery-nav .nav-arrow:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: transparent;
}

/* Footer Address */
.footer-address {
  color: rgba(255,255,255,0.75);
  font-size: 0.88rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-links a {
  color: rgba(255,255,255,0.65);
  font-size: 0.85rem;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--accent); }

/* Footer Bottom */
.agency-credit {
  margin-top: 6px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.38);
  letter-spacing: 0.03em;
}
.credit-heart {
  color: #D4A843;
  font-size: 0.85rem;
  display: inline-block;
  animation: heartbeat 1.6s ease-in-out infinite;
}
@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  14%       { transform: scale(1.25); }
  28%       { transform: scale(1); }
  42%       { transform: scale(1.18); }
  56%       { transform: scale(1); }
}
.agency-link {
  color: rgba(212,168,67,0.75);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.06em;
  transition: color 0.25s ease;
}
.agency-link:hover {
  color: #D4A843;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-bottom {
  position: relative;
  z-index: 2;
  padding: 20px 0;
}
.footer-divider {
  height: 1px;
  background: rgba(255,255,255,0.1);
  margin-bottom: 18px;
}
.footer-bottom p {
  text-align: center;
  color: rgba(255,255,255,0.55);
  font-size: 0.82rem;
}

/* ============================================
   BACK TO TOP & TOAST
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  width: 46px;
  height: 46px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(43, 95, 62, 0.45), 0 0 0 0 rgba(43,95,62,0);
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: all var(--transition);
  will-change: transform, opacity;
}
.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--primary-light);
  transform: translateY(-5px);
  box-shadow: 0 8px 28px rgba(43, 95, 62, 0.55);
}

.toast {
  position: fixed;
  bottom: 84px;
  right: 28px;
  z-index: 1100;
  background: var(--text-dark);
  color: var(--white);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
  max-width: 300px;
  border-left: 3px solid var(--accent);
}
.toast.show {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================
   AOS ANIMATIONS (Custom)
   ============================================ */
[data-aos] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}
[data-aos="fade-right"] { transform: translateX(-28px); }
[data-aos="fade-left"]  { transform: translateX(28px); }
[data-aos="fade-up"]    { transform: translateY(28px); }
[data-aos].aos-visible  {
  opacity: 1;
  transform: translate(0, 0) !important;
}

/* ============================================
   RESPONSIVE — TABLET (≤ 1024px)
   ============================================ */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .hero-stats { display: none; }
  .hero-image-ring { width: 300px; height: 300px; }
  .featured-dishes { grid-template-columns: repeat(2, 1fr); }
  .about-inner { gap: 40px; }
  .menu-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .chef-inner { gap: 36px; }
  .testimonials-track { flex-wrap: nowrap; }
  .testimonial-review-card { flex: 0 0 calc(33.33% - 14px); }
  .reservation-inner { gap: 40px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* ============================================
   RESPONSIVE — MOBILE (≤ 768px)
   ============================================ */
@media (max-width: 768px) {
  .section { padding: 64px 0; }

  /* Navbar */
  .nav-links {
    position: fixed;
    top: 0; left: -100%;
    height: 100vh;
    width: 72%;
    max-width: 290px;
    background: rgba(20, 13, 6, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    padding: 40px 36px;
    transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    box-shadow: 6px 0 32px rgba(0,0,0,0.4);
    border-right: 1px solid rgba(255,255,255,0.06);
  }
  .nav-links.open { left: 0; }
  .nav-link { font-size: 1.05rem; }
  .hamburger { display: flex; }
  .nav-cta { display: none; }

  /* Mobile menu backdrop */
  .nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }
  .nav-backdrop.visible {
    opacity: 1;
    pointer-events: auto;
  }

  /* Hero */
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 40px 24px 20px;
    gap: 28px;
  }
  .hero-actions { justify-content: center; }
  .hero-image-ring { width: 240px; height: 240px; }
  .badge-top-right { top: -10px; right: -10px; }
  .badge-bottom-left { bottom: -10px; left: -10px; }
  .featured-dishes { grid-template-columns: 1fr 1fr; gap: 10px; }

  /* About */
  .about-inner { grid-template-columns: 1fr; gap: 32px; }
  .about-img { height: 280px; }
  .about-features { grid-template-columns: 1fr; }

  /* Menu */
  .menu-grid { grid-template-columns: 1fr; }
  .menu-tabs { gap: 8px; }

  /* Chef */
  .chef-inner { grid-template-columns: 1fr; }
  .chef-img { height: 280px; }

  /* Services */
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .service-card { padding: 24px 16px; }

  /* Testimonials */
  .testimonials-track { animation-duration: 22s; }
  .testimonial-review-card { flex: 0 0 240px; }

  /* Reservation */
  .reservation-inner { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .reservation-form-wrap { padding: 24px; }

  /* Newsletter */
  .newsletter-form { flex-direction: column; }
  .newsletter-form .btn { width: 100%; justify-content: center; }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-logo-col { text-align: center; }
}

/* ============================================
   RESPONSIVE — SMALL MOBILE (≤ 420px)
   ============================================ */
@media (max-width: 420px) {
  .hero-title { font-size: 1.9rem; }
  .hero-image-ring { width: 200px; height: 200px; }
  .featured-dishes { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 1.7rem; }
}
