.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0;
}
/* Modern Premium Restaurant Theme - Inspired by eatatfig.com */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* ============================
   ROOT & RESET
   ============================ */
:root {
  --primary-bg: #ffffff;
  --off-white: #fafaf8;
  --text-dark: #1a1a1a;
  --text-medium: #4a4a4a;
  --text-light: #888888;
  --accent: #2a9e6f;
  --accent-gold: #c9a961;
  --accent-gold-light: #e3c992;
  --accent-green: #2a9e6f;
  --accent-green-light: #25b377;
  --border-color: #e5e5e5;
  --border-light: #f0f0f0;
  --heading-font: 'Playfair Display', Georgia, serif;
  --body-font: 'Inter', -apple-system, system-ui, sans-serif;
  --max-width: 1100px;
  --transition: all 0.3s ease;
  --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  --card-hover-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  color: var(--text-dark);
  background: var(--primary-bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================
   TYPOGRAPHY
   ============================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0.5px;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1.1rem; }

p {
  margin-bottom: 1rem;
  color: var(--text-medium);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

/* Mobile adjustments for nav spacing */
@media (max-width: 768px) {
  .nav-container {
    padding: 0.5rem 1.5rem; /* Even tighter on mobile */
  }
}

/* Order icons below carousel for home page only */
.home-page .order-icons-below-carousel {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  padding: 0.6rem 0.8rem; /* reduced vertical padding to make the row more compact */
  background: var(--primary-bg);
  border-bottom: 1px solid var(--border-light);
}

/* Desktop: show icons below carousel and move nav below carousel on home page */
@media (min-width: 1025px) {
  /* On desktop home page: hide the separate icons below carousel and use combined nav row */
  .home-page .order-icons-below-carousel {
    display: none !important;
  }

  /* Hide header nav & header icons in the top header (keeps brand alone up top) */
  .home-page .site-header .nav-container .nav-links,
  .home-page .site-header .header-order-icons {
    display: none !important;
  }
  /* When header is scrolled, show nav and icons in sticky header (like menu.html) */
  .home-page .site-header.scrolled .nav-container .nav-links,
  .home-page .site-header.scrolled .header-order-icons {
    display: flex !important;
  }

  /* Desktop nav row (inserted into index.html) - combined nav + icons (replicate menu.html) */
  .home-page .desktop-nav-row {
    display: block;
    width: 100%;
    background: var(--primary-bg);
    border-top: none !important; /* removed to match menu page */
    box-shadow: none; /* keep it flat like menu */
  }

  /* Remove brand bottom border on home page desktop so no horizontal line appears */
  .home-page .brand-section {
    border-bottom: none !important;
  }

  /* Use the same container layout as the menu page */
  .home-page .desktop-nav-row .nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.6rem 1rem; /* tighter spacing to match menu */
    justify-content: center; /* center the nav links */
  }

  /* Group nav links + icons so they can be centered together */
  .home-page .desktop-nav-row .nav-group {
    display: flex;
    align-items: center;
    gap: 2rem; /* equal gap between nav links and icons */
    margin: 0 auto; /* center the group within the container */
    width: min-content; /* shrink-wrap to links + icons */
    justify-content: center;
  }

  /* Ensure nav-links and icons sit side-by-side without extra auto margins */
  .home-page .desktop-nav-row .nav-links {
    margin: 0; /* remove auto-centering which caused separation */
  }

  .home-page .desktop-nav-row .header-order-icons.desktop-icons {
    margin-left: 0; /* sit immediately next to nav links */
    margin-right: 0;
  }

  /* Center nav links and match menu visual style */
  .home-page .desktop-nav-row .main-nav {
    display: flex; /* ensure nav width matches links only */
    flex: 0 0 auto;
  }

  .home-page .desktop-nav-row .nav-links {
    display: flex;
    gap: 2rem; /* equal gap between nav links */
    list-style: none;
    padding: 0;
    margin: 0; /* reset margin so nav fits to content */
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
  }

  .home-page .desktop-nav-row .nav-links a {
    font-size: 0.95rem;
    font-weight: 600; /* slightly bolder like menu */
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-dark);
    padding: 0.45rem 0.6rem;
    border-radius: 6px;
    transition: background 0.2s ease, color 0.2s ease;
  }

  /* Desktop nav underline behavior like menu: green underline on hover/active (no solid green background) */
  .home-page .desktop-nav-row .nav-links { position: relative; }
  .home-page .desktop-nav-row .nav-links a { position: relative; }

  .home-page .desktop-nav-row .nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px; /* slight offset so underline sits nicely */
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-green);
    transition: width 0.25s ease;
  }

  .home-page .desktop-nav-row .nav-links a:hover::after,
  .home-page .desktop-nav-row .nav-links a.active::after {
    width: 100%;
  }

  /* Keep hover color subtle and remove solid active background */
  .home-page .desktop-nav-row .nav-links a:hover {
    background: none;
    color: var(--accent-green);
  }

  .home-page .desktop-nav-row .nav-links a.active {
    background: none;
    color: var(--accent-green);
  }

  /* Place icons closer to the nav like menu page */
  .home-page .desktop-nav-row .header-order-icons.desktop-icons {
    display: flex;
    gap: 0.5rem; /* slightly reduce gap between icons */
    margin-left: 0; /* icons sit flush next to links inside the grouped center */
    align-items: center;
    flex: 0 0 auto;
  }



  .home-page .desktop-nav-row .header-order-icons.desktop-icons a {
    width: 40px;
    height: 40px;
  }

  /* Ensure the inner nav has no bottom border or shadow so no line appears */
  .home-page .desktop-nav-row .main-nav {
    border-bottom: none !important;
    box-shadow: none !important;
  }

  /* Desktop: make always-compact pages (Menu/Gallery/Contact) match the index header
     by stacking the brand above the nav and using the same spacing/height */
  @media (min-width: 1025px) {
    .site-header.always-compact {
      flex-direction: column; /* stack brand and nav like home page */
      align-items: center;
      padding: 0;
      height: auto; /* let it size naturally like index */
      box-shadow: none;
      border-bottom: none;
    }

    .site-header.always-compact .brand-section {
      width: 100%;
      padding: 0.6rem 1rem 0.3rem; /* match home brand spacing */
      border-bottom: 1px solid var(--border-light);
      text-align: center;
    }

    .site-header.always-compact .main-nav {
      width: 100%;
      border-bottom: none;
    }

    .site-header.always-compact .nav-container {
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 0.6rem 1rem; /* align with home desktop nav spacing */
      justify-content: center;
      gap: 0.8rem;
    }

    .site-header.always-compact .brand-name {
      font-size: 2.5rem;
      letter-spacing: 4px;
    }
  }
}

.home-page .order-icons-below-carousel a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  transition: var(--transition);
}

.home-page .order-icons-below-carousel .whatsapp-icon {
  background: #25D366;
}

.home-page .order-icons-below-carousel .whatsapp-icon:hover {
  background: #1fa855;
}

.home-page .order-icons-below-carousel img {
  width: 45px;
  height: 45px;
  object-fit: contain;
}

.home-page .order-icons-below-carousel svg {
  width: 28px;
  height: 28px;
}

.home-page .order-icons-below-carousel a:hover {
  transform: translateY(-3px);
}

/* ============================
   INTRO BRAND (HOME PAGE)
   ============================ */
.intro-brand {
  text-align: center;
  padding: 0.3rem 1rem; /* Kept extremely tight as requested */
  background: var(--primary-bg);
}

.intro-brand .brand-name {
  font-family: var(--heading-font);
  font-size: 2.2rem;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #2a9e6f;
  margin: 0;
  line-height: 1.2;
}

/* ============================
   HEADER & BRAND
   ============================ */
.site-header {
  background: var(--primary-bg);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

/* Home Page Header: Initially hide the internal brand section */
.home-page .site-header .brand-section {
  max-width: 0;
  max-height: 0;
  opacity: 0;
  padding: 0;
  margin: 0;
  overflow: hidden;
  border: none;
  white-space: nowrap;
}

/* Scrolled State: Merge Header & Nav */
.site-header.scrolled,
.site-header.always-compact {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  height: 65px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Scrolled Brand Section (Home Page Reveal) */
.home-page .site-header.scrolled .brand-section {
  max-width: 400px;
  max-height: 60px; /* Slightly larger to prevent clipping */
  opacity: 1;
  margin-right: 0;
  /* Ensure padding matches the generic scrolled state if needed, implies 0 from line 144 */
}

.brand-section {
  text-align: center;
  padding: 0.4rem 1rem 0.3rem;
  background: var(--primary-bg);
  border-bottom: 1px solid var(--border-light);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
}

/* Scrolled Brand Section */
.site-header.scrolled .brand-section,
.site-header.always-compact .brand-section {
  border-bottom: none;
  padding: 0;
  width: auto;
  text-align: left;
  flex-shrink: 0;
}

.brand-name {
  font-family: var(--heading-font);
  font-size: 2.5rem;
  font-weight: 500;
  letter-spacing: 8px;
  text-transform: uppercase;
  color: #2a9e6f;
  margin: 0;
  transition: all 0.3s ease;
}

/* Scrolled Brand Name */
.site-header.scrolled .brand-name,
.site-header.always-compact .brand-name {
  font-size: 1.5rem; /* Small */
  letter-spacing: 2px;
}

.brand-name:hover {
  color: #1fa855;
}

.brand-tagline {
  display: none;
}

/* ============================
   NAVIGATION
   ============================ */
.main-nav {
  background: var(--primary-bg);
  padding: 0;
  border-bottom: 1px solid var(--border-light);
  width: 100%;
  transition: all 0.3s ease;
}

/* Scrolled Nav */
.site-header.scrolled .main-nav,
.site-header.always-compact .main-nav {
  border-bottom: none;
  width: auto;
  flex-grow: 1;
}

/* Home Page Specific: Remove border when not sticky */
.home-page .site-header .main-nav {
  border-bottom: none;
}

.home-page .site-header .main-nav .nav-container {
  padding: 0;
}
.home-page .site-header {
  border-bottom: none; /* Remove header border initially */
}
.home-page .site-header.scrolled {
  border-bottom: none; /* Keep no border on home page even when scrolled */
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  padding: 0.5rem 2rem; /* Reduced top/bottom padding */
  transition: all 0.3s ease;
}

/* Scrolled Nav Container */
.site-header.scrolled .nav-container,
.site-header.always-compact .nav-container {
  padding: 0;
  justify-content: flex-end; /* Move items to right */
  max-width: none;
}

.nav-links {
  display: flex;
  gap: 3rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-dark);
  position: relative;
  padding: 0.5rem 0;
  transition: var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: #2a9e6f;
  transition: width 0.3s ease;
}

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

.nav-links a:hover,
.nav-links a.active {
  color: #2a9e6f;
}

/* Modern Mobile Menu Toggle */
.mobile-menu-toggle {
  --hamburger-size: 20px; /* Slightly reduced size */
  --bar-height: 2px;
  --bar-radius: 0px;
  --hamburger-translate: translateY(-50%);
  display: none;
  align-items: center;
  justify-content: center;
  width: var(--hamburger-size);
  height: var(--hamburger-size);
  background: transparent !important; /* fully transparent container */
  border-radius: 0;
  border: none;
  box-shadow: none;
  padding: 0;
  position: absolute;
  right: 10px; /* Moved to far right */
  top: 50%;
  transform-origin: center;
  transform: var(--hamburger-translate);
  z-index: 1001;
  cursor: pointer;
  transition: opacity 0.3s ease;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* hover scales only (uses the translate variable so no vertical jumping on mobile) */
.mobile-menu-toggle:hover {
  transform: var(--hamburger-translate) scale(1.0);
  box-shadow: none;
  background: transparent !important;
}

/* Focus styles for accessibility */
.mobile-menu-toggle:focus {
  outline: none;
  transform: var(--hamburger-translate);
  box-shadow: none;
}

/* Show hamburger on iPad and smaller */
@media (max-width: 1024px) {
  /* Prevent unwanted horizontal scrollbar on small screens (home page) */
  body.home-page, html {
    overflow-x: hidden;
  }
  .mobile-menu-toggle {
    display: flex;
    position: fixed; /* fix to viewport so it aligns with the top brand */
    right: 1.5rem; /* Consistent right spacing */
    
    /* VERTICAL CENTERING WITH BRAND TEXT */
    /* Default for larger mobiles (Font 1.8rem) */
    /* Text center approx 22-24px */
    top: 24px; 
    --hamburger-translate: translateY(-50%);
    transform: var(--hamburger-translate);
    
    z-index: 10050;
    padding: 0;
    gap: 0;
    background: transparent !important;
    height: auto !important; /* Reset height */
  }

  /* Fine-tune for iPhone SE (Small Screen) */
  @media (max-width: 380px) {
    /* Home page: keep fixed so it lines up with viewport (works on iPhone SE) */
    body.home-page .mobile-menu-toggle {
      position: fixed !important;
      right: 0.9rem !important;
      top: 50% !important;
      transform: translateY(-50%) !important;
      --hamburger-translate: translateY(-50%);
    }

    /* For compact inner pages (Menu/Gallery/Contact) position inside the header and align to header padding */
    .site-header.always-compact {
      position: relative; /* ensure absolute children are positioned relative to the header */
    }

    .site-header.always-compact .mobile-menu-toggle {
      position: absolute !important; /* position inside the header to align with brand */
      right: 1rem !important; /* align with header padding */
      transform: none !important; /* no translate needed when using fixed offset */
      --hamburger-translate: translateY(0);
      z-index: 10055 !important; /* keep above nav row */
    }

    /* Make sure the second navbar sits below the brand row so the toggle doesn't overlap it */
    .site-header.always-compact .main-nav {
      margin-top: 0.35rem !important;
    }
  }

  /* Fix for always-compact pages: reset layout on mobile */
  .site-header.always-compact {
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    height: auto;
  }

  .site-header.always-compact .brand-section {
    width: 100%;
    text-align: center;
    border-bottom: none;
    padding: 0.6rem 1rem 0.25rem; /* nudged up to align with hamburger */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .site-header.always-compact .main-nav {
    width: 100%;
    border-top: 1px solid var(--border-light);
  }

  /* MOBILE: Keep brand size/position unchanged on scroll and keep nav centered */
  .site-header.scrolled,
  .site-header.always-compact {
    flex-direction: column;
    align-items: center;
    padding: 0;
    height: auto;
  }

  .site-header.scrolled .brand-section,
  .site-header.always-compact .brand-section {
    max-width: none;
    max-height: none;
    opacity: 1;
    padding: 0.6rem 1rem 0.25rem;
    margin-right: 0;
    text-align: center;
  }

  .brand-name,
  .site-header.scrolled .brand-name,
  .site-header.always-compact .brand-name {
    font-size: 1.8rem; /* Reduced from 2.5rem to prevent overlap with hamburger on small screens */
    letter-spacing: 2px;
  }

  @media (max-width: 380px) {
    .brand-name,
    .site-header.scrolled .brand-name,
    .site-header.always-compact .brand-name {
      font-size: 1.4rem !important; /* Force smaller on iPhone SE */
      letter-spacing: 1px;
    }
  }

  .site-header.scrolled .nav-container,
  .site-header.always-compact .nav-container {
    justify-content: center;
    padding: 0.5rem 1rem;
  }

  /* MOBILE: Make order icons move up only when scrolled (controlled via .moved-up class) */
  .home-page .order-icons-below-carousel {
    position: relative;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  .home-page .order-icons-below-carousel.moved-up {
    position: fixed !important; /* fixed so it stays visible under the header */
    top: calc(var(--header-height-mobile, 64px) - 1px); /* sit flush under header (nudge up 1px) */
    left: 0;
    right: 0;
    z-index: 999;
    padding: 0.35rem 0.8rem; /* compact */
    background: var(--primary-bg);
    border-bottom: 1px solid var(--border-light);
    display: flex;
    justify-content: center;
    transform: translateY(0);
    opacity: 1;
  }

  /* When icons are fixed, add spacing so the hero/content isn't overlapped */
  /* Issue 1: Prevent header overlap on mobile */
  .home-page .hero-with-carousel {
    padding-top: var(--header-height-mobile, 56px);
  }

  /* Issue 3: Use margin for compensation to avoid flicker loop */
  .home-page.icons-fixed .hero-with-carousel {
    /* Keep the padding for header overlap */
    padding-top: var(--header-height-mobile, 56px);
    /* Add margin to fill space left by fixed icons */
    margin-bottom: 74px;
  }

  /* Hide the large intro brand on mobile to avoid flicker/duplicate brands */
  .intro-brand,
  .desktop-nav-row {
    display: none !important;
  }

  /* Ensure header is fixed on mobile and the brand remains visible without layout shift */
  .home-page .site-header {
    --header-height-mobile: 56px; /* reduced header height for tighter mobile layout */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1100;
    background: var(--primary-bg);
    width: 100%;
    min-height: var(--header-height-mobile);
  }

  .home-page .site-header .brand-section {
    max-width: none !important;
    max-height: none !important;
    opacity: 1 !important;
    padding: 0.35rem 1rem 0.25rem !important; /* reduced top padding */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
  }

  /* Reserve space only when icons are fixed to avoid extra spacing when not needed */
  /* Use `.home-page.icons-fixed .hero-with-carousel` to add padding when the order icons are fixed under the header. */

  /* Ensure header won't translate on scroll */
  .home-page .site-header.scrolled {
    transform: none !important;
  }

  /* Issue 2: Reduce padding above About Us on mobile */
  .home-page .content-container {
    padding-top: 1rem;
  }

  /* Center brand name when hamburger is visible */
  .brand-section {
    text-align: center;
    flex: none;
    width: 100%;
    padding: 0.3rem 1rem 0.25rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav-container {
    position: static; /* allow hamburger to position relative to .site-header */
    justify-content: center;
    padding: 0.9rem 1rem;
  }

  /* Center all three order icons */
  .header-order-icons {
    position: static;
    z-index: 1;
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    margin: 0 auto;
  }

  /* On home page, hide top header icons on iPad/phone to avoid duplicate icons */
  .home-page .header-order-icons {
    display: none !important;
  }

  /* Show all three icons on menu/gallery/contact pages */
  .site-header.always-compact .header-order-icons a {
    display: inline-flex !important;
  }

  .header-order-icons a {
    width: 42px;
    height: 42px;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px; /* slightly narrower so side gutters are reduced */
    max-width: 92vw;
    height: 100vh;
    background: linear-gradient(180deg, #ffffff 0%, #fafaf8 100%);
    flex-direction: column;
    gap: 0;
    padding: 1rem 0.5rem 0.75rem; /* further reduced top and side padding for compact menu */
    box-shadow: -8px 0 24px rgba(0, 0, 0, 0.12);
    transition: right 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    align-items: flex-start;
    z-index: 1000;
    overflow-y: hidden; /* hide scrollbar since only a few items */
  }

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

  .nav-links li {
    width: 100%;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .nav-links.active li {
    opacity: 1;
    transform: translateX(0);
  }

  .nav-links.active li:nth-child(1) { transition-delay: 0.1s; }
  .nav-links.active li:nth-child(2) { transition-delay: 0.15s; }
  .nav-links.active li:nth-child(3) { transition-delay: 0.2s; }
  .nav-links.active li:nth-child(4) { transition-delay: 0.25s; }

  .nav-links a {
    width: 100%;
    padding: 0.6rem 0.5rem !important; /* tightened link padding */
    border-bottom: none !important;
    border-radius: 0;
    margin-bottom: 0;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
  }

  .nav-links a::before {
    content: '' !important;
    width: 6px !important;
    height: 6px !important;
    border-radius: 50% !important;
    background: transparent !important;
    transition: all 0.3s ease !important;
    flex-shrink: 0;
  }

  .nav-links a::after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 2rem !important;
    right: 2rem !important;
    width: auto !important;
    height: 1px !important;
    background: rgba(0, 0, 0, 0.06) !important;
    transition: none !important;
  }

  .nav-links li:last-child a::after {
    display: none !important;
  }

  .nav-links a:hover::before,
  .nav-links a.active::before {
    background: var(--accent-green) !important;
    box-shadow: 0 0 8px rgba(42, 158, 111, 0.4);
  }

  .nav-links a:hover,
  .nav-links a.active {
    background: transparent !important;
    padding-left: 2rem !important;
  }

  /* Make compact pages' mobile header match the index (height & spacing) */
  /* Reduce top padding and center brand so hamburger aligns visually with home page */
  .site-header.always-compact {
    align-items: center;
    padding: 0; /* keep compact and avoid extra vertical space */
  }

  .site-header.always-compact .brand-section {
    padding: 0.35rem 1rem 0.25rem; /* Match home page spacing exactly */
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .site-header.always-compact .nav-container {
    padding: 0.2rem 1rem; /* match home nav spacing on mobile */
    justify-content: center;
  }

  /* Ensure hamburger aligns vertically with brand text on compact pages */
  .site-header.always-compact .mobile-menu-toggle,
  .site-header.always-compact .mobile-menu-toggle.active {
    /* top: 0.5rem;  Inherit from generic mobile rule to ensure perfect alignment */
    /*z-index: 10051 !important;  Ensure visibility */
  }
}

.mobile-menu-toggle span {
  display: block;
  width: 20px; /* Uniform width */
  height: 2px; /* Thinner lines */
  background: #2a9e6f;
  border-radius: 0; /* Straight lines, no rounded corners */
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, 0);
  transition: transform 0.3s ease, opacity 0.3s ease;
  box-shadow: none;
}

.mobile-menu-toggle span:nth-child(1) { transform: translate(-50%, -6px); width: 20px; }
.mobile-menu-toggle span:nth-child(2) { transform: translate(-50%, 0); width: 20px; opacity: 1; }
.mobile-menu-toggle span:nth-child(3) { transform: translate(-50%, 6px); width: 20px; }

/* hover effect on bars */
.mobile-menu-toggle:hover span { background: #2a9e6f; box-shadow: none; }

/* active -> morph into X */
.mobile-menu-toggle.active {
  transform: var(--hamburger-translate) scale(1.0);
  background: transparent !important; /* Ensure transparent background */
  box-shadow: none;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: translate(-50%, 0) rotate(45deg);
  width: 20px;
  background: var(--accent-green);
  box-shadow: none;
}
.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
  width: 20px;
}
.mobile-menu-toggle.active span:nth-child(3) {
  transform: translate(-50%, 0) rotate(-45deg);
  width: 20px;
  background: var(--accent-green);
  box-shadow: none;
}

/* small pulse ring for active state (purely visual - won't change layout) */
.mobile-menu-toggle::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 14px;
  transition: opacity 0.35s ease, transform 0.35s ease;
  opacity: 0;
  box-shadow: none;
}
.mobile-menu-toggle.active::after {
  opacity: 0; /* disable active pulse/ring */
  transform: none;
  box-shadow: none;
}

/* Header Order Icons */
.header-order-icons {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.header-order-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: var(--transition);
}

.header-order-icons a:hover {
  transform: translateY(-2px);
}

.header-order-icons .whatsapp-icon {
  background: #25D366;
}

.header-order-icons .whatsapp-icon:hover {
  background: #1fa855;
}

.header-order-icons img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.header-order-icons .zomato-icon img {
  width: 42px;
  height: 42px;
  max-width: none;
}

.header-order-icons svg {
  width: 24px;
  height: 24px;
}

/* ============================
   HERO SECTION
   ============================ */
.hero-section {
  width: 100%;
  height: 40vh;
  min-height: 300px;
  max-height: 500px;
  position: relative;
  overflow: hidden;
  background: var(--text-dark);
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.2));
}

/* Hero Gallery - Horizontal Scrolling */
.hero-with-carousel {
  width: 100%;
  background: var(--primary-bg);
  overflow: hidden;
  margin-bottom: 0;
  line-height: 0; /* Remove potential bottom gap from inline-block images */
  display: block;
}

.carousel {
  width: 100%;
  overflow: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  position: relative;
  /* Anti-shake context */
  perspective: 1000px;
  transform: translateZ(0); 
}

.carousel::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.carousel-grid {
  display: flex;
  gap: 0.5rem;
  width: max-content;
  padding: 0;
  animation: scroll-horizontal 180s linear infinite;
  /* Optimizations for smooth scrolling */
  will-change: transform;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
  transform-style: preserve-3d;
}

@keyframes scroll-horizontal {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

.carousel-grid:hover {
  animation-play-state: paused;
}

.carousel-slide {
  position: relative;
  height: 40vh;
  width: auto;
  max-width: 400px;
  flex-shrink: 0;
  overflow: hidden;
  opacity: 1;
  transition: opacity 0.3s ease;
  transform: translateZ(0); /* Prevent jitter */
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.carousel-slide:hover {
  opacity: 0.9;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-slide img {
  height: 100%;
  width: auto;
  object-fit: cover;
  display: block;
  margin-bottom: 0;
  vertical-align: bottom; /* Crucial for removing whitespace */
  /* Anti-shake for image */
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0); 
}

.carousel-slide::after {
  display: none;
}

.carousel-dots {
  display: none;
}

.dot {
  display: none;
}

.dot.active {
  display: none;
}

.hero-content {
  display: none;
}

.hero-content h2 {
  display: none;
}

.hero-content .btn {
  display: none;
}

.hero-content .btn:hover {
  display: none;
}

/* ============================
   CONTAINER & SECTIONS
   ============================ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.5rem 2rem;
}

.content-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0;
}

.home-page .content-container {
  padding-top: 1.5rem;
}

.section {
  margin-bottom: 4rem;
}

.section-title {
  font-family: var(--heading-font);
  font-size: 2rem;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 1rem;
  font-weight: 400;
  letter-spacing: 1px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 1rem;
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================
   MENU SECTION STYLES
   ============================ */
.menu-hero {
  text-align: center;
  padding: 3rem 0 1.5rem;
  background: var(--off-white);
  margin-bottom: 2rem;
}

.menu-title {
  font-family: var(--heading-font);
  font-size: 3rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
  font-weight: 700;
  letter-spacing: -1px;
}

.menu-subtitle {
  color: var(--text-medium);
  font-size: 1rem;
  font-weight: 400;
  max-width: 600px;
  margin: 0 auto;
}

.menu-sections {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.menu-section {
  margin-bottom: 3.5rem;
  position: relative;
}

/* About Us layout (desktop) */
.about-section {
  max-width: var(--max-width);
  margin: 0 auto 1.5rem;
  padding: 0 2rem;
}

.about-wrapper {
  display: flex;
  gap: 1.75rem;
  align-items: flex-start; /* side-by-side on desktop */
}

.about-image {
  flex: 0 0 45%;
  max-width: 45%;
}

.about-image img {
  width: 100%;
  height: auto;
  max-height: 250px;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--card-shadow);
}

/* center only the title within the content column */
.about-content .section-title { text-align: center; font-size: 2rem; }
.about-content p { text-align: left; color: #000000; }

.about-content {
  flex: 1;
}

.about-content .section-title {
  text-align: left;
  font-size: 1.6rem;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.about-content p {
  color: var(--text-medium);
  font-size: 1rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .about-wrapper {
    flex-direction: column;
    gap: 1rem;
  }

  .about-image {
    max-width: 100%;
    width: 100%;
  }

  .about-content .section-title {
    text-align: center;
  }

  .about-content p {
    text-align: center;
  }
}

/* Modern Minimal Section Header - Scoped to Menu Page */
.menu-sections .section-tile {
  text-align: left;
  margin-bottom: 2rem;
  position: relative;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.menu-sections .section-tile::before {
  display: none;
}

.menu-sections .section-title {
  font-family: var(--body-font);
  font-size: 1.1rem;
  color: var(--accent-green);
  display: inline-block;
  position: relative;
  margin: 0;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.menu-sections .section-title::after {
  display: none;
}

.menu-sections .section-tile .section-title::after {
  display: none;
}

.menu-sections .section-icon {
  display: none;
}

.menu-content {
  padding: 0;
  background: transparent;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  column-gap: 4rem;
  row-gap: 1.25rem; /* Tight vertical rhythm */
}

/* On small mobile, force single column and fit to screen */
@media (max-width: 450px) {
  .menu-grid {
    grid-template-columns: 1fr;
  }
}

/* Sleek Compact List Item */
.menu-item {
  background: transparent;
  padding: 0;
  border: none;
  border-radius: 0;
  transition: opacity 0.3s ease;
  position: relative;
  display: block;
}

.menu-item:hover {
  transform: none;
  box-shadow: none;
  border-color: transparent;
  opacity: 0.8;
}

.menu-item::before {
  display: none;
}

.menu-item .dish-name {
  font-family: var(--body-font);
  font-size: 1.05rem;
  color: var(--text-dark);
  font-weight: 600;
  margin-bottom: 0.15rem;
  line-height: 1.3;
  display: flex;
  align-items: center;
}

/* Creative Accent: Modern Bullet */
.menu-item .dish-name::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--accent-green);
  border-radius: 50%;
  margin-right: 12px;
  margin-top: 1px;
  flex-shrink: 0;
}

.menu-item .dish-desc {
  color: var(--text-medium);
  font-size: 0.9rem;
  line-height: 1.4;
  font-family: var(--body-font);
  margin-left: 18px; /* Indent to align with text */
  margin-top: 0;
  font-weight: 300;
}

.menu-item .dish-price {
  font-family: var(--body-font);
  font-size: 1rem;
  color: var(--text-dark);
  font-weight: 600;
  margin-left: auto;
}

/* ============================
   CARD GRID (Chef's Picks) — NEW MODERN STYLE
   ============================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2rem;
  align-items: stretch;
}

.card {
  position: relative;
  background: #fff;
  padding: 1rem 1rem 1rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(16,24,32,0.04);
  box-shadow: 0 8px 20px rgba(15, 15, 15, 0.06);
  transition: transform 0.24s cubic-bezier(.2,.9,.2,1), box-shadow 0.24s;
  overflow: visible;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.card-media {
  position: relative;
  width: 160px; /* larger image */
  height: 120px; /* landscape crop */
  border-radius: 8px; /* subtle rounding */
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(10,10,10,0.12);
  background: none;
  flex: 0 0 160px;
}

.card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }

.card-body {
  padding-top: 0;
  padding-left: 0;
  text-align: left; /* left-align text with image on left */
} 

.card .dish-name {
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
  color: var(--text-dark);
  font-weight: 500;
}

.card .muted {
  color: var(--text-medium);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Specific override for highlighted descriptions */
.muted--black {
  color: #000000;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(10,10,10,0.12);
}

/* Responsive: single column below 900px */
@media (max-width: 900px) {
  .card-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  /* Add container side padding so tiles don't touch viewport edges */
  .content-container { padding: 0 1rem; }
  /* Keep image left and text right on mobile, with padding */
  .card { padding: 1rem 0.75rem; display: flex; align-items: center; gap: 1rem; }
  .card-media { width: 112px; height: 88px; margin: 0; border-radius: 6px; box-shadow: 0 8px 24px rgba(10,10,10,0.08); flex: 0 0 112px; }
  .card-body { padding-left: 0; text-align: left; }
}

@media (max-width: 480px) {
  .content-container { padding: 0 0.75rem; }
  .card { padding: 0.9rem 0.6rem; gap: 0.75rem; }
  .card-media { width: 86px; height: 64px; border-radius: 4px; flex: 0 0 86px; }
  .card .dish-name { font-size: 1.08rem; }
  
  /* Force single column for menu items on small screens to prevent wrapping issues */
  .menu-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .card { padding: 0.9rem; gap: 0.75rem; }
  .card-media { width: 86px; height: 64px; border-radius: 4px; flex: 0 0 86px; }
  .card .dish-name { font-size: 1.08rem; }
} 
/* ============================
   ABOUT SECTION (match Chef's Picks)
   ============================ */
.about-section {
  background: transparent; /* removed tile background */
  padding: 0 2rem;
  border-radius: 0; /* no rounded corner */
  border: none;
  box-shadow: none;
  margin-bottom: 2rem;
}

.about-section .section-title {
  font-family: var(--heading-font);
  font-size: 2rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  text-align: left;
  font-weight: 400;
  letter-spacing: 0.25px;
}

.about-section p {
  color: #000000; ;
  font-size: 1.0rem;
  line-height: 1.6;
  margin: 0;
}

.about-wrapper { gap: 1.25rem; align-items: center; }

@media (max-width: 768px) {
  .about-section { padding: 0 1rem; margin-bottom: 2rem; }
  .about-wrapper { flex-direction: column; gap: 1rem; align-items: center; text-align: center; }
  .about-image { max-width: 100%; width: 100%; flex: 0 0 100%; }
  .about-image img { width: 100%; max-height: 240px; }

  /* Match desktop typography on mobile and keep centered */
  .about-section .section-title { text-align: center; font-size: 2rem; }
  .about-section p { text-align: center; color: #000000; font-size: 1rem; line-height: 1.6; }
}

/* ============================
   CONTACT PAGE
   ============================ */
.contact-hero {
  text-align: center;
  padding: 0.5rem 0 0.5rem;
  margin-bottom: 0.5rem;
}

.page-title {
  font-family: var(--heading-font);
  font-size: 2.2rem;
  color: var(--text-dark);
  font-weight: 400;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.contact-subtitle {
  font-size: 1.1rem;
  color: #524e4e;
  font-weight: 300;
  margin-bottom: 0;
}

.contact-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 0.5rem;
}

.contact-info-section {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  width: 100%;
}

.combined-card, .location-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.5rem;
  gap: 1rem;
  height: 100%;
}

.contact-row-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.icon-box {
  width: auto;
  height: auto;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-green);
  flex-shrink: 0;
}

.icon-box svg {
  width: 42px;
  height: 42px;
}

.contact-row-item a, 
.contact-row-item address {
  font-size: 1.05rem;
  color: var(--text-medium);
  font-weight: 500;
  text-decoration: none;
  font-style: normal;
  line-height: 1.5;
}

.contact-row-item a:hover {
  color: var(--accent-green);
}

/* Hide old classes */
.contact-item, .vertical-divider, .small-icon, .contact-details {
  display: none;
}

/* Responsive */
@media (max-width: 900px) {
  .contact-info-section {
    grid-template-columns: 1fr;
  }
}

.contact-card {
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  height: 100%;
}

.contact-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
}

.contact-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #2a9e6f 0%, #25b377 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: all 0.3s ease;
}

.contact-card:hover .contact-icon {
  transform: scale(1.1);
}

.contact-details {
  flex: 1;
}

.contact-details h3 {
  font-family: var(--heading-font);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  letter-spacing: 0.5px;
}

.contact-details a {
  color: var(--text-medium);
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
  display: inline-block;
}

.contact-details a:hover {
  color: var(--accent-green);
  transform: translateX(4px);
}

.contact-details address {
  font-style: normal;
  color: var(--text-medium);
  line-height: 1.7;
  font-size: 1rem;
}

.map-section {
  width: 100%;
}

.map-card {
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  width: 100%;
  display: flex;
  flex-direction: column;
}

.map-card h3 {
  font-family: var(--heading-font);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
}

.map-wrap {
  border-radius: 12px;
  overflow: hidden;
  width: 100%;
  height: 450px; /* Big explicit height */
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Responsive Design */
@media (max-width: 900px) {
  .contact-info-section {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .map-wrap {
    height: 350px;
  }
}

@media (max-width: 600px) {
  .page-title {
    font-size: 2.25rem;
  }
  
  .contact-subtitle {
    font-size: 1rem;
  }
  
  .contact-card {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }
  
  .contact-icon {
    margin: 0 auto;
  }
  
  .map-wrap {
    min-height: 300px;
  }
  
  .map-wrap iframe {
    min-height: 300px;
  }
}

/* ============================
   FOOTER
   ============================ */
.site-footer {
  background: #ffffff; /* full-width white footer */
  padding: 0.75rem 0 0 0;
  margin-top: 1.5rem;
  border-top: 1px solid rgba(0,0,0,0.04); /* thin neutral divider */
  box-shadow: 0 -6px 20px rgba(0,0,0,0.06); /* subtle elevated layover effect */
  position: relative;
  z-index: 5; /* ensure footer sits above content slightly */
}

.site-footer .footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
  background: transparent;
  border-radius: 0; /* keep straight edges */
  box-shadow: none;
  padding: 1.5rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 0;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem;
    padding: 0 1.5rem;
  }
}

.footer-section h4 {
  font-family: var(--body-font);
  font-size: 0.85rem;
  color: #2a9e6f; /* footer section headings use brand green */
  margin-bottom: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.footer-section p,
.footer-section address {
  font-family: var(--body-font);
  font-style: normal;
  color: #000000; /* body text under headings should be black */
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-section a {
  font-family: var(--body-font);
  color: #000000; /* links in footer should also be black by default */
  transition: all 0.3s ease;
}

.footer-section a:hover {
  color: var(--accent-green);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-size: 0.95rem;
  word-break: break-word;
  font-family: var(--accent-font, var(--heading-font));
  color: #000000; /* ensure contact links match black body text */
  font-weight: 500;
  line-height: 1.45;
  transition: color 0.18s ease, transform 0.18s ease;
}

.footer-link svg {
  flex-shrink: 0;
}


.social-icons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: transparent;
  border: none;
  transition: all 0.3s ease;
}

/* Footer Order Icons - Replicated from Header */
.order-icons {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.order-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: var(--transition);
}

.order-icons a:hover {
  transform: translateY(-2px);
}

.order-icons .whatsapp-icon {
  background: #25D366;
}

.order-icons .whatsapp-icon:hover {
  background: #1fa855;
}

.order-icons img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.order-icons .zomato-icon img {
  width: 42px;
  height: 42px;
  max-width: none;
}

.order-icons svg {
  width: 24px;
  height: 24px;
}

.social-icons a:hover {
  transform: translateY(-2px);
}

.social-icons svg {
  width: 28px;
  height: 28px;
}

.footer-bottom {
  margin-top: 2rem;
  padding: 1rem 0 0 0;
  text-align: center;
  border-top: 1px solid rgba(0,0,0,0.03);
  background: transparent;
}

.footer-bottom p {
  font-family: var(--body-font);
  font-size: 0.85rem;
  color: #666;
  margin: 0;
  line-height: 1.6;
}

.footer-bottom .heart {
  color: #FF0000; /* YouTube red */
  font-size: 1.3em;
  display: inline-block;
  animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  25% { transform: scale(1.1); }
  50% { transform: scale(1); }
}

/* ============================
   SCROLL TO TOP BUTTON
   ============================ */
.scroll-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #2a9e6f 0%, #25b377 100%);
  color: #ffffff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(42, 158, 111, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 1000;
}

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

.scroll-to-top:hover {
  background: linear-gradient(135deg, #25b377 0%, #2a9e6f 100%);
  box-shadow: 0 6px 24px rgba(42, 158, 111, 0.4);
  transform: translateY(-3px);
}

.scroll-to-top:active {
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .scroll-to-top {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 45px;
    height: 45px;
  }
}
  height: 38px;
  object-fit: contain;
}

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 768px) {
  .brand-section {
    padding: 0.3rem 1rem 0.25rem;
  }

  .brand-name {
    font-size: 1.8rem;
    letter-spacing: 4px;
  }

  /* Override always-compact to match home page mobile brand styling */
  .site-header.always-compact .brand-section {
    padding: 0.3rem 1rem 0.25rem;
  }

  .site-header.always-compact .brand-name {
    font-size: 1.8rem !important;
    letter-spacing: 4px !important;
  }

  .carousel-grid {
    gap: 0.25rem;
  }

  .carousel-slide {
    height: 32vh;
  }

  .nav-container {
    position: relative;
    padding: 1rem;
  }

  /* Hide header order icons on home page - they'll show below carousel */
  .home-page .header-order-icons {
    display: none !important;
  }
  
  /* For other pages, hide Zomato and Swiggy on mobile */
  .header-order-icons a:nth-child(2),
  .header-order-icons a:nth-child(3) {
    display: none;
  }

  .hero-section,
  .hero-with-carousel {
    height: 35vh;
    min-height: 250px;
  }

  .hero-content h2 {
    font-size: 2rem;
    letter-spacing: 2px;
  }

  .hero-content .btn {
    padding: 0.8rem 2rem;
    font-size: 0.85rem;
  }

  .container,
  .content-container {
    padding: 2rem 1.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .menu-title {
    font-size: 2.5rem;
  }

  .menu-section h3 {
    font-size: 1.5rem;
  }

  .card-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-bottom {
    padding: 1.5rem 1.5rem;
  }

  .footer-bottom p {
    font-size: 0.8rem;
    line-height: 1.8;
  }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.8rem; }
  h3 { font-size: 1.5rem; }
}

/* ============================
   GALLERY PAGE STYLES
   ============================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.gallery-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: 1px solid rgba(0,0,0,0.03);
}

.gallery-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.gallery-image-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 75%; /* Force 4:3 Aspect Ratio */
  height: 0;
  overflow: hidden;
  background-color: #f8f9fa;
}

.gallery-image-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-card:hover .gallery-image-wrapper img {
  transform: none;
} 

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.4s ease;
}

.gallery-card:hover .gallery-overlay {
  opacity: 1;
}

.view-icon {
  background: rgba(255,255,255,0.9);
  padding: 12px;
  border-radius: 50%;
  color: var(--text-dark);
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-card:hover .view-icon {
  transform: translateY(0);
}

.gallery-info {
  padding: 1.5rem;
  text-align: center;
}

.gallery-title {
  font-family: var(--heading-font);
  font-size: 1.35rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.gallery-desc {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .gallery-image-wrapper {
    height: 240px;
  }
}

/* ============================
   UTILITIES
   ============================ */
.muted {
  color: var(--text-light);
}

.text-center {
  text-align: center;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

/* MOBILE FINAL OVERRIDES: preserve brand appearance on scroll */
@media (max-width: 1024px) {
  .site-header.scrolled,
  .site-header.always-compact {
    flex-direction: column !important;
    align-items: center !important;
    padding: 0 !important;
    height: auto !important;
  }

  .site-header.scrolled .brand-section,
  .site-header.always-compact .brand-section {
    text-align: center !important;
    max-width: none !important;
    padding: 0.1rem 1rem 0.25rem !important;
    margin-right: 0 !important;
    border-bottom: none !important;
  }

  .site-header.scrolled .brand-name,
  .site-header.always-compact .brand-name,
  .brand-name {
    font-size: 2.2rem !important;
    letter-spacing: 4px !important;
  }

  /* Reduce vertical padding and make home header compact like menu on mobile */
  .home-page .site-header {
    flex-direction: row !important;
    align-items: center !important;
    padding: 0 1rem !important;
  }

  .home-page .site-header .brand-section {
    padding: 0.15rem 0.8rem !important; /* reduce vertical space */
    border-bottom: none !important;
  }

  .home-page .nav-container {
    padding: 0.2rem 0.8rem !important; /* match compact header */
  }

  .home-page .mobile-menu-toggle {
    /*top: 0.1rem !important;  keep hamburger aligned */
  }
}
