/* === GLOBAL STYLES === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

html,
body {
  width: 100%;
  overflow-x: hidden;
  height: 100%;
}

body {
  background-color: #fffdf9;
  color: #4b2e05;
  line-height: 1.6;
  margin: 0; /* ensure no default margin creates gaps */
  padding: 0; /* removed site-level padding */
}

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25d366;
  color: white;
  font-size: 28px;
  padding: 14px 16px;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}
.whatsapp-float:hover {
  transform: scale(1.1);
}

/* === HEADER & NAV === */
header {
  background-color: #e7572e;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 5%;
  flex-wrap: wrap;

  /* Force full width across viewport */
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  position: relative;
  left: 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav a:hover,
nav a.active {
  color: #f4b43a;
}

/* === HERO SECTION === */
.hero {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(to bottom, #fff4eb, #fff);
}

.hero img {
  width: 120px; /* reduced from 150px */
  border-radius: 50%;
  margin-bottom: 15px;
}
.hero h1 {
  font-size: 2.5rem;
  color: #4b2e05;
  /* color: #e7572e; */
  font-family: "Baloo 2", cursive;
}

.hero p {
  font-size: 1.2rem;
  margin: 10px 0 25px;
  color: #ffffff; /* changed to white for contrast */
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

/* .hero {
  background: url('images/logo.jpg') center/cover fixed;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.4);
} */

.hero {
  position: relative;
  color: #fff;
  text-align: center;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background: url("images/spag.jpg") center/cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4); /* Dark overlay for better text contrast */
  z-index: 0;
}

.hero-content {
  animation: fadeUp 1.5s ease forwards;
  opacity: 0;
  position: relative;
  z-index: 1; /* place content above the video */
  padding: 40px 20px;
}

/* Add bottom padding to the hero menu button */
.hero-content .btn {
  padding: 12px 28px;
  margin-bottom: 35px; /* increased from 20px */
}

/* Make the hero heading clearly visible over the background image/overlay */
.hero .hero-content h1 {
  color: #ffffff !important; /* ensure white text for contrast */
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.75);
  font-size: 2.8rem; /* slightly larger for prominence */
  line-height: 1.05;
  margin-bottom: 8px;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero video: make it fill the hero area responsively */
.hero {
  position: relative; /* ensure absolute children are positioned to this */
  overflow: hidden;
  /* configurable hero height - tweak this value to increase/decrease the hero area */
  --hero-height: 72vh;
  height: var(--hero-height);
  min-height: 420px; /* prevent too small on narrow screens */
}

/* Lightweight page header used on About/Contact to avoid hero styles */
.page-header {
  background: linear-gradient(180deg, #fffaf5 0%, #fff8f3 100%);
  color: #2e1a0a;
  border-bottom: 1px solid #f0e6de;
}

/* ensure page headers sit above following content that may overlap */
.page-header {
  position: relative;
  z-index: 50; /* below main site header (100) but above content (e.g. about-story z-index:10) */
}

.hero-video {
  position: absolute;
  inset: 0; /* top:0; right:0; bottom:0; left:0; */
  width: 100%;
  height: 100%;
  object-fit: cover; /* cover the area, cropping if needed */
  object-position: center 40%; /* shift focal point down slightly */
  display: block;
  z-index: 0;
  pointer-events: none; /* avoid capturing clicks */
}

/* Allow easier control: larger hero on desktop, smaller on phones */
@media (min-width: 1200px) {
  .hero {
    --hero-height: 80vh;
    min-height: 520px;
  }
}

@media (max-width: 768px) {
  .hero {
    --hero-height: 56vh;
    min-height: 360px;
  }
  .hero-video {
    object-position: center 30%;
  }
}

@media (max-width: 480px) {
  .hero {
    --hero-height: 46vh;
    min-height: 300px;
  }
  .hero-video {
    object-position: center 25%;
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1.2s ease forwards;
}
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.pulse {
  animation: pulse 1.5s infinite;
}
@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.btn {
  display: inline-block;
  background-color: #e7572e;
  color: #fff;
  padding: 10px 25px;
  border-radius: 25px;
  text-decoration: none;
  transition: 0.3s ease;
}

.btn:hover {
  background-color: #f4b43a;
  color: #4b2e05;
}

/* === WHY CHOOSE US === */
.why-choose-us {
  text-align: center;
  padding: 60px 20px;
  background-color: #fff8f3;
}

.why-choose-us h2 {
  color: #e7572e;
  margin-bottom: 40px;
}

.features {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

.feature-card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 25px;
  max-width: 280px;
  transition: 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-card img {
  width: 60px;
  margin-bottom: 15px;
}

.feature-card h3 {
  color: #e7572e;
  margin-bottom: 10px;
}

/* === POPULAR DISHES === */
.popular {
  text-align: center;
  padding: 60px 20px;
}

.popular h2 {
  color: #e7572e;
  margin-bottom: 40px;
}

.dish-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
}

.dish-card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: 250px;
  overflow: hidden;
  transition: 0.3s ease;
}

.dish-card:hover {
  transform: translateY(-5px);
}

.dish-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.dish-card h3 {
  margin: 10px 0 5px;
  color: #4b2e05;
}

.dish-card p {
  margin-bottom: 15px;
  font-weight: bold;
  color: #e7572e;
}

/* === REVIEWS === */
.review {
  text-align: center;
  background-color: #fff8f3;
  padding: 60px 20px;
}

.review h2 {
  color: #e7572e;
  margin-bottom: 25px;
}

.review-box {
  background: #fff;
  border-radius: 15px;
  max-width: 600px;
  margin: auto;
  padding: 25px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.review-box p {
  font-style: italic;
  color: #4b2e05;
  margin-bottom: 10px;
}

/* === CTA SECTION === */
.cta {
  text-align: center;
  padding: 60px 20px;
  background: #e7572e;
  color: #fff;

  /* Full width fix */
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  position: relative;
}

.cta h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.cta p {
  margin-bottom: 25px;
}

.cta .btn {
  background-color: #f4b43a;
  color: #4b2e05;
}

.cta .btn:hover {
  background-color: #fff;
  color: #e7572e;
}

/* Larger, more prominent spacing for the "View Full Menu" button in the popular section */
.popular .btn {
  padding: 14px 32px;
  font-weight: 600;
  border-radius: 28px;
}

/* nudge the 'View Full Menu' button down a bit for visual spacing */
.popular .btn {
  margin-top: 18px;
}

/* Header base */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 5%;
  background-color: #e7572e;
  color: #fff;
  flex-wrap: wrap;
  position: relative;
}

header .logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

header .logo img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

nav ul {
  display: flex;
  gap: 25px;
  list-style: none;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

nav a.active,
nav a:hover {
  color: #f4b43a;
}
/* Header base */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 5%;
  background-color: #e7572e;
  color: #fff;
  position: relative;
  z-index: 100; /* ensure it's above other content */
}

header .logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

header .logo img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

nav ul {
  display: flex;
  gap: 25px;
  list-style: none;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

nav a.active,
nav a:hover {
  color: #f4b43a;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  z-index: 200; /* above everything */
  margin-left: auto; /* push to the far right of the header */
  flex-shrink: 0; /* don't allow it to shrink/wrap below the logo */
  align-self: center; /* vertically center in the header */
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Responsive */
@media (max-width: 768px) {
  nav {
    position: absolute;
    top: 65px; /* below header */
    left: 0;
    width: 100%;
    background-color: #e7572e;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease;
  }

  /* Hide cart when nav is not active */
  .cart {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s;
  }

  /* Show cart when nav is active */
  nav.active ~ .container .cart {
    opacity: 1;
    visibility: visible;
  }

  nav ul {
    flex-direction: column;
    padding: 10px 0;
    gap: 15px;
    text-align: center;
  }

  .hamburger {
    display: flex;
  }

  nav.active {
    max-height: 300px; /* enough for all items */
  }
}

/* Hamburger animation to X */
.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* .hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
} */

/* === FOOTER === */
footer {
  text-align: center;
  background-color: #4b2e05;
  color: #fff;
  padding: 20px 0;
  font-size: 0.9rem;

  /* Full width fix */
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  position: relative;
  left: 0;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    gap: 10px;
  }

  .features,
  .dish-grid {
    flex-direction: column;
    align-items: center;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero img {
    width: 100px; /* reduced from 120px for tablets */
  }

  .hero-content {
    padding: 30px 15px;
  }

  .hero-content .btn {
    padding: 10px 24px;
    margin-bottom: 25px;
  }

  .btn {
    padding: 8px 20px;
    font-size: 0.9rem;
    /* padding-bottom: 40px;  */

  }

  /* Slightly reduce full-menu button padding on small screens */
  .popular .btn {
    padding: 10px 20px;
    margin-top: 12px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 0.9rem;
  }

  .hero img {
    width: 80px; /* reduced for mobile */
    margin-top: 50px; /* push down more on mobile */
  }

  .hero-content {
    padding: 20px 10px;
  }

  .hero-content .btn {
    padding: 8px 20px;
    margin-bottom: 20px;
    font-size: 0.95rem;
  }

  .btn {
    padding: 6px 16px;
    font-size: 0.8rem;
  }
}

/* menu */

:root {
  --accent: #e7572e; /* warm orange-red */
  --accent2: #f4b43a; /* mustard yellow */
  --muted: #6b4c1f; /* dark brown text tone */
  --card: #fff;
  --bg: #fff8f3;
  --glass: rgba(255, 255, 255, 0.7);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial;
  background: linear-gradient(180deg, #fffaf5 0%, var(--bg) 100%);
  color: #2e1a0a;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex; /* make page a column flex container */
  flex-direction: column;
  min-height: 100vh; /* ensure it fills viewport so .container can flex */
}

/* Add a container class for page content spacing so header/footer remain flush to edges */
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1 0 auto; /* allow container to grow and push footer */
}

.container header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  z-index: -1;
  position: relative;
}
h1 {
  margin: 0;
  font-size: 22px;
  color: var(--accent);
}
.subtitle {
  color: var(--muted);
  font-size: 13px;
}
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.card {
  background: var(--card);
  border-radius: 12px;
  padding: 14px;
  box-shadow: 0 6px 16px rgba(20, 20, 30, 0.06);
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 3px solid var(--accent2);
  transition: transform 0.15s ease;
}
.card:hover {
  transform: translateY(-2px);
}
.food-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.food-title h3 {
  margin: 0;
  font-size: 16px;
}
.price {
  font-weight: 700;
  color: var(--accent);
}
.desc {
  color: var(--muted);
  font-size: 13px;
}
.controls {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
}
.qty {
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #eee;
}
.qty button {
  background: #fff;
  border: 0;
  padding: 8px 10px;
  cursor: pointer;
  font-size: 16px;
  color: var(--accent);
}
.qty span {
  padding: 0 12px;
  min-width: 30px;
  display: inline-block;
  text-align: center;
}
.add-btn {
  background: var(--accent);
  color: #fff;
  border: 0;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: opacity 0.2s ease;
}
.add-btn:hover {
  opacity: 0.9;
}
.cart {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 320px;
  max-width: calc(100% - 48px);
  background: var(--glass);
  backdrop-filter: blur(6px);
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(10, 10, 20, 0.15);
  padding: 12px;
}
.cart h4 {
  margin: 0 0 8px 0;
  color: var(--accent);
}
.cart-list {
  max-height: 260px;
  overflow: auto;
  margin-bottom: 8px;
  padding-right: 8px;
}
.cart-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px dashed #eee;
  font-size: 14px;
}
.cart-row small {
  color: var(--muted);
}
.totals {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
  font-weight: 700;
}
.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25d366;
  color: #fff;
  border: 0;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
  width: 100%;
  font-weight: 700;
}
.note {
  font-size: 13px;
  color: var(--muted);
  margin-top: 6px;
}
.empty {
  color: var(--muted);
  text-align: center;
  padding: 16px 0;
}
footer {
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  margin-top: 28px;
}

/* Make the footer stick to the bottom when page content is short */
.container > footer {
  margin-top: auto;
}
input[type="text"] {
  width: 100%;
  padding: 8px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 14px;
}
input[type="text"]:focus {
  outline: 1px solid var(--accent);
}
@media (max-width: 720px) {
  /* Keep header items on a single row: logo on the left, controls on the right */
  header {
    flex-direction: row; /* keep horizontal layout */
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap; /* prevent wrapping so hamburger stays on same line */
  }

  /* Ensure nav and hamburger share a right-side container */
  header nav {
    margin-left: auto;
  }

  /* Keep cart positioned sensibly on small screens */
  .cart {
    left: 20px;
    right: 20px;
    width: auto;
  }
}

.menu-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin: 40px 0;
}

.menu-card {
  background: #fff4eb;
  padding: 20px;
  border-radius: 15px;
  min-width: 200px;
  flex: 1 1 200px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.menu-card:hover {
  transform: translateY(-5px);
}

/* menu */
/* ===== MENU GRID ===== */
.menu-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 10px;
}

.menu-section {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.menu-section-header {
  background: #e7572e;
  color: #fff;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.menu-section-header h3 {
  margin: 0;
  font-size: 18px;
}

.toggle-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  padding: 5px;
  transition: transform 0.3s ease;
}

.toggle-btn[aria-expanded="true"] {
  transform: rotate(180deg);
}

.menu-section-items {
  transition: max-height 0.3s ease-out;
  background: #fff8f0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  padding: 15px;
}

.menu-card {
  background: #fff8f0;
  border: 1px solid #e0cfc1;
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s;
}

.menu-card img.menu-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.menu-info {
  flex: 1;
}

.menu-card:hover {
  transform: translateY(-5px);
}

.menu-card h4 {
  font-size: 18px;
  margin-bottom: 5px;
}

.menu-card p {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 10px;
}

/* ===== QUANTITY CONTROLS ===== */
.qty-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.qty-controls button {
  border: none;
  background-color: #e7572e;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
}

.qty-controls button:hover {
  background-color: #d0451b;
}

.qty-controls .count {
  min-width: 24px;
  text-align: center;
  font-weight: 600;
}
/* ===== BASE CART ===== */
.cart {
  position: fixed;
  top: 80px;
  right: 20px;
  width: 280px;
  background: #fff8f0;
  border: 1px solid #e0cfc1;
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.1);
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  transition: transform 0.3s ease, right 0.3s ease;
}

/* ===== MOBILE CART BEHAVIOR ===== */
@media (max-width: 768px) {
  .cart {
    width: 95%;
    max-height: 80vh;
    bottom: -100%;
    right: 50%;
    transform: translateX(50%);
    top: auto;
    border-radius: 12px 12px 0 0;
    transition: bottom 0.3s ease;
    overflow-y: auto;
    z-index: 998;
    padding: 15px 10px 30px 10px;
  }

  /* hidden by default */
  .cart:not(.active) {
    bottom: -100%;
    visibility: hidden;
    opacity: 0;
  }

  /* visible when active */
  .cart.active {
    bottom: 0;
    visibility: visible;
    opacity: 1;
  }

  /* overlay for background blur */
  .cart-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 997;
  }

  .cart-overlay.active {
    display: block;
  }

  /* Cart toggle button */
  .cart-toggle {
    display: block;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #e7572e;
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 12px 18px;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 999;
    transition: background 0.2s;
  }

  .cart-toggle:hover {
    background: #d0451b;
  }
}

.cart h4 {
  margin-bottom: 10px;
}

.cart-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 14px;
}

.whatsapp-btn {
  display: block;
  width: 100%;
  padding: 10px;
  background: #25d366;
  color: #fff;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
  margin-top: 10px;
}

.whatsapp-btn:hover {
  background: #1ebe5d;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .menu-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }

  .cart {
    width: 220px;
  }

  .container header {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .container header .subtitle {
    font-size: 12px;
  }

  h1 {
    font-size: 20px;
  }
}

/* Contact page: improve layout on laptop/desktops */
@media (min-width: 992px) {
  .contact-info .contact-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    align-items: start;
  }

  .contact-form form {
    max-width: 700px;
    margin: 0 auto 0 0; /* align left when there's room */
  }

  .map-section iframe {
    height: 420px;
  }

  /* Side-by-side contact form + map on wide screens */
  .map-section,
  .contact-form {
    display: inline-block;
    vertical-align: top;
    width: calc(50% - 20px);
  }
}

@media (max-width: 768px) {
  .container {
    padding: 16px;
  }

  .container header {
    margin-bottom: 15px;
  }

  .container header h1 {
    font-size: 18px;
  }

  .container header .subtitle {
    font-size: 11px;
  }

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

  .menu-card {
    padding: 12px;
  }

  .menu-card h4 {
    font-size: 16px;
  }

  .menu-card p {
    font-size: 14px;
  }

  .qty-controls button {
    width: 28px;
    height: 28px;
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 12px;
  }

  .container header {
    margin-bottom: 12px;
  }

  .container header h1 {
    font-size: 16px;
  }

  .container header .subtitle {
    font-size: 10px;
  }

  .menu-card {
    padding: 10px;
  }

  .menu-card h4 {
    font-size: 15px;
  }

  .menu-card p {
    font-size: 13px;
  }

  .qty-controls button {
    width: 26px;
    height: 26px;
    font-size: 14px;
  }

  .cart {
    width: 90%;
    right: 5%;
    padding: 12px;
  }

  .whatsapp-btn {
    padding: 8px;
    font-size: 14px;
  }
}

.cart {
  position: fixed;
  top: 80px;
  right: 20px;
  width: 280px;
  background: #fff8f0;
  border: 1px solid #e0cfc1;
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.1);
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  transition: transform 0.3s ease, right 0.3s ease;
  transform: translateX(120%); /* hidden offscreen */
}

.cart.active {
  transform: translateX(0); /* visible */
}

/* Cart toggle button - mobile */

.cart-toggle:hover {
  background: #d0451b;
}

/* Remove mobile-only restriction */
.cart-toggle {
  display: block; /* always visible */
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #e7572e;
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 12px 18px;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 999;
  transition: background 0.2s;
}

.cart-toggle:hover {
  background: #d0451b;
}

/* Mobile cart slide */
/* @media (max-width: 768px) {
  .cart {
    width: 95%;              
    max-height: 80vh;         
    bottom: -100%;            
    right: 50%;
    transform: translateX(50%);
    top: auto;
    border-radius: 12px 12px 0 0;
    transition: bottom 0.3s ease;
    overflow-y: auto;         
    z-index: 998;
    padding: 15px 10px 30px 10px; 
  } */

.cart.active {
  bottom: 0;
}

.cart-toggle {
  display: block;
}

.cart-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 997;
}

.cart-overlay.active {
  display: block;
}
