/* ==========================================================================
   FoodPoint - Premium Gourmet Restaurant & Food Template
   Design System & Styling Rules
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,600;0,700;0,800;1,600&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  /* Color Palette - Default Dark Luxury Theme */
  --bg-main: #141210;
  --bg-surface: #1E1B18;
  --bg-card: #27231F;
  --bg-card-hover: #312C27;
  
  --primary: #E65100;
  --primary-light: #FF6D00;
  --primary-dark: #BF360C;
  --primary-glow: rgba(230, 81, 0, 0.25);
  
  --secondary: #FFB300;
  --accent-green: #388E3C;
  
  --text-main: #F5F0EB;
  --text-sub: #B0A69D;
  --text-muted: #8C8075;
  
  --border-light: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(230, 81, 0, 0.3);
  
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 10px 30px rgba(230, 81, 0, 0.3);
  
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
}

[data-theme="light"] {
  --bg-main: #FFFDF9;
  --bg-surface: #F5EFE6;
  --bg-card: #FFFFFF;
  --bg-card-hover: #FAF4EB;
  
  --text-main: #2C221E;
  --text-sub: #5C4E46;
  --text-muted: #8A7A70;
  
  --border-light: rgba(0, 0, 0, 0.08);
  --border-accent: rgba(230, 81, 0, 0.2);
  
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.12);
}

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

html, body {
  scroll-behavior: smooth;
  font-size: 16px;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  position: relative;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  transition: background-color 0.4s ease, color 0.4s ease;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

img, video, iframe, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
  border: none;
  background: none;
}

button {
  cursor: pointer;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography Utility */
.highlight {
  color: var(--primary-light);
  background: linear-gradient(135deg, var(--primary-light), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
  line-height: 1.2;
  word-wrap: break-word;
}

.section-title span {
  color: var(--primary-light);
}

.section-subtitle {
  text-align: center;
  color: var(--text-sub);
  font-size: clamp(0.95rem, 3.5vw, 1.1rem);
  max-width: 600px;
  margin: 0 auto 3rem auto;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #FFFFFF;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-glow);
  transition: var(--transition);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(230, 81, 0, 0.45);
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: transparent;
  color: var(--text-main);
  border: 2px solid var(--border-accent);
  font-weight: 600;
  padding: 12px 30px;
  border-radius: var(--radius-full);
  transition: var(--transition);
}

.btn-secondary:hover {
  border-color: var(--primary-light);
  color: var(--primary-light);
  background: rgba(230, 81, 0, 0.08);
}

.btn-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-surface);
  color: var(--text-main);
  border: 1px solid var(--border-light);
  transition: var(--transition);
  position: relative;
}

.btn-icon:hover {
  background: var(--primary);
  color: #FFF;
  border-color: var(--primary);
}

/* Header & Navbar */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition);
  padding: 18px 0;
  background: rgba(20, 18, 16, 0.75);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-main);
}

.logo-img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.logo-text span {
  color: var(--primary-light);
}

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

.nav-links a {
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--text-sub);
  transition: var(--transition);
  position: relative;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--primary-light);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary-light);
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--primary-light);
  color: #FFF;
  font-size: 0.75rem;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  cursor: pointer;
  position: relative;
  z-index: 1100;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.hamburger {
  position: relative;
  width: 20px;
  height: 2px;
  background-color: var(--text-main);
  transition: var(--transition);
  display: block;
}

.hamburger::before, .hamburger::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 2px;
  background-color: var(--text-main);
  transition: var(--transition);
  left: 0;
}
.hamburger::before { top: -6px; }
.hamburger::after { top: 6px; }

.nav-toggle.active .hamburger {
  background-color: transparent;
}
.nav-toggle.active .hamburger::before {
  transform: rotate(45deg);
  top: 0;
  background-color: var(--primary-light);
}
.nav-toggle.active .hamburger::after {
  transform: rotate(-45deg);
  top: 0;
  background-color: var(--primary-light);
}

/* Hero Section */
.hero {
  position: relative;
  padding: 160px 0 100px 0;
  background: radial-gradient(circle at 70% 30%, rgba(230, 81, 0, 0.12) 0%, transparent 60%);
  overflow: hidden;
}

.outer-decor {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  opacity: 0.9;
}

.decor-bottom-left-bowl {
  bottom: 8%;
  left: -75px;
  width: 230px;
  filter: drop-shadow(0 15px 25px rgba(0,0,0,0.5));
  animation: floatAnim 8s ease-in-out infinite alternate;
}

.decor-bottom-right-bowl {
  bottom: 10%;
  right: -75px;
  width: 230px;
  filter: drop-shadow(0 15px 25px rgba(0,0,0,0.5));
  animation: floatAnim 7.5s ease-in-out infinite alternate-reverse;
}

/* Outer Floating Food Cutout & SVG System (Clean & Balanced across webpage) */
.floating-food-decor, .floating-svg {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  opacity: 0.82;
  transition: transform 0.4s ease;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.4));
}

/* Floating Herb Elements Anchored Organically Around Main Hero Dish */
.floating-dish-leaf {
  position: absolute;
  pointer-events: none;
  z-index: 5;
  font-size: 1.8rem;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,0.35));
}

.floating-dish-leaf.leaf-tr {
  top: -12px;
  right: -12px;
  animation: floatHero 4.5s ease-in-out infinite alternate;
}

.floating-dish-leaf.leaf-bl {
  bottom: 45px;
  right: -18px;
  animation: floatHero 5.5s ease-in-out infinite alternate-reverse;
}

/* Best Selling Section Decors - Far outer screen edges */
.best-flame-tr {
  top: 12%;
  right: 25px;
  width: 38px;
  height: 38px;
  color: #FF9800;
  filter: drop-shadow(0 0 16px rgba(255, 152, 0, 0.5));
  animation: floatSvg2 8s ease-in-out infinite alternate;
}

/* Testimonials Section Decors */
.testi-star-tl {
  top: 10%;
  left: 25px;
  width: 36px;
  height: 36px;
  color: #FFD54F;
  filter: drop-shadow(0 0 12px rgba(255, 213, 79, 0.6));
  animation: floatSvg3 6.5s ease-in-out infinite alternate;
}

.testi-cutlery-br {
  bottom: 10%;
  right: 25px;
  width: 38px;
  height: 38px;
  color: var(--primary-light);
  filter: drop-shadow(0 0 12px rgba(230, 81, 0, 0.4));
  animation: floatSvg1 9s ease-in-out infinite alternate;
}

/* Hide floating margin decors on screens below 1200px to ensure zero text collision */
@media (max-width: 1200px) {
  .floating-food-decor, .floating-svg {
    display: none;
  }
}

@keyframes floatSpoon {
  0% { transform: translateY(0px) rotate(25deg); }
  100% { transform: translateY(-16px) rotate(35deg); }
}

@keyframes floatFork {
  0% { transform: translateY(0px) rotate(-25deg); }
  100% { transform: translateY(-16px) rotate(-35deg); }
}

@keyframes floatDish {
  0% { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(-14px) rotate(10deg); }
}

@keyframes floatSvg1 {
  0% { transform: translateY(0px) rotate(0deg) scale(1); }
  50% { transform: translateY(-18px) rotate(14deg) scale(1.08); }
  100% { transform: translateY(-6px) rotate(-8deg) scale(0.96); }
}

@keyframes floatSvg2 {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-22px) rotate(-15deg); }
  100% { transform: translateY(-8px) rotate(10deg); }
}

@keyframes floatSvg3 {
  0% { transform: translateY(0px) scale(0.9); }
  50% { transform: translateY(-14px) scale(1.12); }
  100% { transform: translateY(-4px) scale(0.95); }
}

@keyframes floatAnim {
  0% { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(-18px) rotate(12deg); }
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
  position: relative;
  z-index: 2;
}

.hero-subheading {
  display: inline-block;
  background: rgba(230, 81, 0, 0.12);
  color: var(--primary-light);
  border: 1px solid var(--border-accent);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.1rem, 6.2vw, 3.75rem);
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 24px;
  word-wrap: break-word;
}

.hero-description {
  font-size: clamp(0.95rem, 3.5vw, 1.15rem);
  color: var(--text-sub);
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.hero-image-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-img-box {
  position: relative;
  width: 100%;
  max-width: 480px;
}

.hero-img-deluxe {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 30px rgba(0,0,0,0.6));
  animation: floatHero 5s ease-in-out infinite alternate;
}

@keyframes floatHero {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-14px); }
}

.badge-premium-quality {
  position: absolute;
  bottom: 20px;
  left: -20px;
  background: rgba(30, 27, 24, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-accent);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 14px;
}

.badge-percent {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1;
}

.badge-label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-main);
  line-height: 1.2;
}

/* Features Bar */
.hero-features-bar {
  margin-top: 60px;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 32px 0;
}

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

.feature-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(230, 81, 0, 0.14);
  color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--primary-light);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-text h4 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.feature-text p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Best Selling Section */
.best-selling {
  padding: 100px 0;
  position: relative;
}

.best-selling-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.food-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.food-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-lg);
  background: var(--bg-card-hover);
}

.card-img-wrap {
  width: 100%;
  height: 220px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 20px;
  position: relative;
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.food-card:hover .card-img-wrap img {
  transform: scale(1.08);
}

.price-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--primary);
  color: #FFF;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  box-shadow: var(--shadow-sm);
}

.food-card h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.food-card p {
  color: var(--text-sub);
  font-size: 0.95rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

.rating {
  color: var(--secondary);
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}

.card-footer .btn-primary,
.card-footer .btn-secondary {
  padding: 8px 16px;
  font-size: 0.85rem;
  white-space: nowrap;
}

/* Form Controls */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  color: var(--text-main);
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

/* Category Filter (Menu Page & Homepage) */
.category-tabs {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.tab-btn {
  padding: 10px 24px;
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  color: var(--text-sub);
  font-weight: 500;
  transition: var(--transition);
}

.tab-btn:hover, .tab-btn.active {
  background: var(--primary);
  color: #FFF;
  border-color: var(--primary);
}

/* Testimonial Section */
.testimonials {
  padding: 90px 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 30px;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
}

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

/* Cart Drawer */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.cart-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 100%;
  max-width: 420px;
  height: 100%;
  background: var(--bg-surface);
  z-index: 2001;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.cart-drawer.active {
  right: 0;
}

.cart-header {
  padding: 24px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-header h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
}

.cart-items {
  flex-grow: 1;
  overflow-y: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-card);
  padding: 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

.cart-item-img {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.cart-item-details {
  flex-grow: 1;
}

.cart-item-title {
  font-weight: 600;
  font-size: 0.95rem;
}

.cart-item-price {
  color: var(--primary-light);
  font-weight: 700;
  font-size: 0.9rem;
}

.cart-quantity-ctrl {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

.qty-btn {
  width: 24px;
  height: 24px;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.cart-footer {
  padding: 24px;
  border-top: 1px solid var(--border-light);
  background: var(--bg-card);
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 18px;
}

/* Footer */
.footer {
  background: #0B0A09;
  color: var(--text-sub);
  padding: 80px 0 30px 0;
  border-top: 1px solid var(--border-light);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col h4 {
  color: var(--text-main);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a:hover {
  color: var(--primary-light);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid var(--border-light);
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Responsive Media Queries */
.mobile-only-btn {
  display: none;
}

@media (max-width: 1200px) {
  .floating-food-decor, .floating-svg {
    display: none !important;
  }
}

@media (max-width: 992px) {
  .nav-actions .btn-primary {
    display: none;
  }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    max-width: 85vw;
    height: 100vh;
    background: var(--bg-surface);
    flex-direction: column;
    padding: 90px 24px 40px 24px;
    gap: 20px;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    z-index: 1050;
    overflow-y: auto;
  }
  .nav-links.active {
    right: 0;
  }
  .nav-links li {
    width: 100%;
  }
  .nav-links a {
    display: block;
    padding: 10px 0;
    font-size: 1.1rem;
  }
  .nav-toggle {
    display: flex;
  }

  .mobile-only-btn {
    display: block;
    width: 100%;
    margin-top: 10px;
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-img-box {
    max-width: 380px;
    margin: 0 auto;
  }
  .badge-premium-quality {
    position: relative;
    bottom: 0;
    left: 0;
    margin: 20px auto 0 auto;
    width: fit-content;
    max-width: 100%;
    padding: 12px 18px;
    justify-content: center;
  }

  .hero-features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .spotlight-grid,
  .about-story-grid,
  .contact-main-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }

  .decor-bottom-left-bowl,
  .decor-bottom-right-bowl {
    display: none !important;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 768px) {
  .header {
    padding: 12px 0;
  }
  .navbar {
    padding: 0 16px;
  }
  .logo {
    gap: 8px;
  }
  .logo-text {
    font-size: clamp(1.2rem, 4.5vw, 1.45rem);
  }
  .logo-img {
    width: 34px;
    height: 34px;
  }
  .nav-actions {
    gap: 8px;
  }
  .btn-icon {
    width: 38px;
    height: 38px;
  }

  .hero {
    padding: 115px 0 50px 0;
  }
  .hero-subheading {
    padding: 6px 14px;
    letter-spacing: 1px;
    max-width: 100%;
    white-space: normal;
  }
  .hero-buttons {
    gap: 12px;
  }

  .category-tabs {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 8px;
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .category-tabs::-webkit-scrollbar {
    display: none;
  }
  .tab-btn {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 8px 18px;
    font-size: 0.9rem;
  }

  .best-selling-grid,
  .menu-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
  }

  .food-card {
    padding: 20px;
  }

  .search-filter-wrap {
    margin-bottom: 20px;
  }

  .faq-question {
    padding: 16px 20px;
    font-size: 1rem;
  }
}

@media (max-width: 640px) {
  .modal-card {
    grid-template-columns: 1fr;
    width: 92%;
    max-height: 85vh;
    overflow-y: auto;
    margin: auto;
  }
  .modal-img {
    height: 180px;
    min-height: 180px;
  }
  .modal-body {
    padding: 20px;
  }

  .form-row-2,
  .form-row-3 {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .about-features-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

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

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  .hero-buttons .btn-primary,
  .hero-buttons .btn-secondary {
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 14px 20px;
    font-size: 0.95rem;
  }

  .hero-features-bar {
    padding: 20px 0;
    margin-top: 36px;
  }
  .hero-features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .feature-item {
    padding: 10px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    flex-direction: column;
    text-align: center;
  }
  .feature-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
  }
  .feature-icon svg {
    width: 20px;
    height: 20px;
  }
  .feature-text h4 {
    font-size: 0.88rem;
  }
  .feature-text p {
    font-size: 0.75rem;
  }

  .food-card h3 {
    font-size: 1.25rem;
  }
  .card-img-wrap {
    height: 180px;
  }
  .card-footer {
    flex-wrap: wrap;
    gap: 8px;
  }

  .timeline {
    padding-left: 20px;
    margin: 30px 0 0 10px;
  }
  .timeline-dot {
    left: -29px;
    width: 16px;
    height: 16px;
    top: 4px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 28px;
  }
  .footer .logo {
    justify-content: center;
  }

  .cart-drawer {
    max-width: 100vw;
  }
}

@media (max-width: 375px) {
  .hero-features-grid {
    grid-template-columns: 1fr;
  }
  .seating-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   Extended UI Component Styles
   ========================================================================== */

/* Search & Filter Bar */
.search-filter-wrap {
  max-width: 600px;
  margin: 0 auto 30px auto;
  position: relative;
}

.search-input {
  width: 100%;
  padding: 16px 24px 16px 50px;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  color: var(--text-main);
  font-size: 1rem;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.search-input:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 4px var(--primary-glow);
}

.search-icon-svg {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

/* Dietary Badges */
.diet-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.diet-tag {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.tag-spicy { background: rgba(229, 57, 53, 0.15); color: #EF5350; border: 1px solid rgba(229, 57, 53, 0.3); }
.tag-vegan { background: rgba(76, 175, 80, 0.15); color: #66BB6A; border: 1px solid rgba(76, 175, 80, 0.3); }
.tag-gf { background: rgba(255, 179, 0, 0.15); color: #FFCA28; border: 1px solid rgba(255, 179, 0, 0.3); }
.tag-chef { background: rgba(156, 39, 176, 0.15); color: #AB47BC; border: 1px solid rgba(156, 39, 176, 0.3); }

/* Dish Quick View Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(6px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  max-width: 720px;
  width: 100%;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  transform: scale(0.92);
  transition: var(--transition);
}

.modal-overlay.active .modal-card {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0,0,0,0.5);
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  cursor: pointer;
  border: 1px solid var(--border-light);
}

.modal-img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.modal-body {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.modal-price {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-light);
  margin-bottom: 16px;
}

@media (max-width: 640px) {
  .modal-card {
    grid-template-columns: 1fr;
    max-height: 90vh;
    overflow-y: auto;
  }
  .modal-img {
    height: 200px;
    min-height: 200px;
  }
}

/* Seating Zone Selection (Reservation Page) */
.seating-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.seating-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px 12px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.seating-card:hover, .seating-card.active {
  border-color: var(--primary-light);
  background: rgba(230, 81, 0, 0.12);
  transform: translateY(-2px);
}

.seating-card.active {
  box-shadow: 0 0 0 2px var(--primary-light);
}

.seating-icon {
  font-size: 1.6rem;
  margin-bottom: 6px;
}

.seating-title {
  font-weight: 600;
  font-size: 0.9rem;
}

/* FAQ Accordion */
.faq-grid {
  max-width: 800px;
  margin: 40px auto 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-question {
  padding: 20px 24px;
  font-weight: 600;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
}

.faq-answer {
  padding: 0 24px 20px 24px;
  color: var(--text-sub);
  font-size: 0.98rem;
  display: none;
  border-top: 1px solid var(--border-light);
  padding-top: 16px;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-icon {
  transition: var(--transition);
}

/* Master Chef Team */
.chef-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.chef-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-align: center;
  transition: var(--transition);
  padding-bottom: 24px;
}

.chef-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-lg);
}

.chef-img-wrap {
  width: 100%;
  height: 280px;
  overflow: hidden;
  margin-bottom: 20px;
}

.chef-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.chef-card:hover .chef-img-wrap img {
  transform: scale(1.06);
}

.chef-name {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin-bottom: 4px;
}

.chef-role {
  color: var(--primary-light);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.chef-bio {
  color: var(--text-sub);
  font-size: 0.9rem;
  padding: 0 20px;
}

/* History Timeline */
.timeline {
  max-width: 800px;
  margin: 50px auto 0 auto;
  position: relative;
  padding-left: 30px;
  border-left: 2px solid var(--border-accent);
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
}

.timeline-dot {
  position: absolute;
  left: -41px;
  top: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary);
  border: 4px solid var(--bg-main);
  box-shadow: var(--shadow-glow);
}

.timeline-year {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--secondary);
  font-weight: 700;
  margin-bottom: 6px;
}

.timeline-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.timeline-desc {
  color: var(--text-sub);
  font-size: 0.95rem;
}

/* Gallery Showcase */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 260px;
  cursor: pointer;
  border: 1px solid var(--border-light);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  transition: var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

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

.gallery-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: #FFF;
}

.gallery-cat {
  font-size: 0.85rem;
  color: var(--primary-light);
  font-weight: 600;
}

/* Responsive Grid Utility Classes */
.spotlight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

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

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

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

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

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

@media (max-width: 992px) {
  .spotlight-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }
  .spotlight-grid .section-title,
  .about-story-grid .section-title {
    text-align: center !important;
  }
  .spotlight-grid .diet-badges,
  .about-story-grid .diet-badges {
    justify-content: center;
  }
  .spotlight-grid .hero-subheading {
    margin-left: auto;
    margin-right: auto;
  }
  .about-story-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 50px;
  }
  .contact-main-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 640px) {
  .form-row-2, .form-row-3 {
    grid-template-columns: 1fr;
  }
  .about-features-grid {
    grid-template-columns: 1fr;
  }
}

