/* ==========================================
   RESTAURANT WEBSITE - DESIGN SYSTEM
   ========================================== */

/* CSS Custom Properties */
:root {
  /* Colors - Mild & Warm Theme */
  --color-bg-primary: #FCF8F4;
  --color-bg-secondary: #F5EBE0;
  --color-bg-card: #ffffff;
  --color-bg-glass: rgba(255, 255, 255, 0.7);

  --color-text-primary: #2D2926;
  --color-text-secondary: #5D5752;
  --color-text-muted: #8C857D;

  /* Terracotta accent */
  --color-accent-primary: #D87D56;
  --color-accent-primary-light: #E5A186;
  --color-accent-primary-dark: #B55F3B;

  /* Sage Green secondary */
  --color-accent-secondary: #6B705C;
  --color-accent-secondary-light: #A5A58D;

  /* Warm Tan */
  --color-accent-tertiary: #CB997E;

  /* Muted Gold */
  --color-accent-gold: #B7933B;
  --color-accent-gold-light: #D4AF37;
  --color-accent-gold-dark: #9A7B2C;

  /* Typography */
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;

  --font-size-xs: 0.875rem;
  --font-size-sm: 1rem;
  --font-size-base: 1.125rem;
  --font-size-lg: 1.5rem;
  --font-size-xl: 2rem;
  --font-size-2xl: 3rem;
  --font-size-3xl: 4rem;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;

  /* Effects */
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;

  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;

  --shadow-sm: 0 2px 12px rgba(93, 87, 82, 0.1);
  --shadow-md: 0 4px 20px rgba(93, 87, 82, 0.15);
  --shadow-lg: 0 12px 32px rgba(93, 87, 82, 0.2);

  --blur-sm: 10px;
  --blur-md: 20px;
}

/* ==========================================
   RESET & BASE STYLES
   ========================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  line-height: 1.7;
  color: var(--color-text-primary);
  background-color: var(--color-bg-primary);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

/* ==========================================
   TYPOGRAPHY
   ========================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing-sm);
}

h1 {
  font-size: var(--font-size-3xl);
  letter-spacing: -0.02em;
}

h2 {
  font-size: var(--font-size-2xl);
  letter-spacing: -0.01em;
}

h3 {
  font-size: var(--font-size-xl);
}

p {
  margin-bottom: var(--spacing-sm);
  color: var(--color-text-secondary);
}

.text-accent {
  color: var(--color-accent-gold);
}

/* ==========================================
   LAYOUT UTILITIES
   ========================================== */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.section {
  padding: var(--spacing-xl) 0;
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: var(--spacing-lg);
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent-secondary-light), var(--color-accent-primary-light), var(--color-accent-secondary-light));
  margin: var(--spacing-md) auto 0;
}

.hero-subtitle.readable {
  color: #ffffff;
  font-weight: 500;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  display: inline-block;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.hero-title {
  color: #ffffff;
}

.section-title.text-left::after {
  margin-left: 0;
}

/* ==========================================
   HEADER & NAVIGATION
   ========================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(252, 248, 244, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(183, 147, 59, 0.3);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: var(--transition-normal);
}

.header.scrolled {
  background: rgba(252, 248, 244, 0.95);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
  border-bottom: 1px solid rgba(183, 147, 59, 0.4);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  color: var(--color-accent-primary);
  font-weight: 700;
  font-size: 1.3rem;
}

.logo-icon {
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-logo-img {
  width: 100%;
  height: auto;
  transition: var(--transition-normal);
  mix-blend-mode: multiply;
  border-radius: 50%;
}

.nav-logo:hover .nav-logo-img {
  transform: rotate(5deg) scale(1.1);
}

.logo-text {
  font-family: var(--font-heading);
  background: linear-gradient(135deg, var(--color-accent-primary), var(--color-accent-tertiary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

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

.nav-link {
  font-family: var(--font-heading);
  font-weight: 700;
  font-style: italic;
  letter-spacing: 0.5px;
  font-size: 0.85rem;
  padding: 0.5rem 1.25rem;
  border-radius: 0;
  border: none;
  border-bottom: 1px solid transparent;
  background: transparent;
  color: var(--color-text-primary);
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
  transition: all 0.35s ease;
  display: block;
  white-space: nowrap;
  position: relative;
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1px;
  background: var(--color-accent-gold);
  transition: all 0.35s ease;
  transform: translateX(-50%);
}

.nav-link:hover {
  color: var(--color-accent-gold);
}

.nav-link:hover::before {
  width: 100%;
}

.nav-cta {
  font-style: normal;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 0.7rem 1.8rem;
  background: linear-gradient(135deg, var(--color-accent-primary), var(--color-accent-tertiary));
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(216, 125, 86, 0.3);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  transition: all 0.35s ease;
  cursor: pointer;
}

.nav-cta::before {
  display: none;
}

.nav-cta:hover {
  background: linear-gradient(135deg, var(--color-accent-primary-dark), var(--color-accent-primary));
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(216, 125, 86, 0.4);
  border-color: rgba(255, 255, 255, 0.5);
}

.nav-link::after {
  display: none;
}

/* Mobile Order Button (Hidden on desktop) */
.mobile-order-btn {
  display: none;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.7rem 1.75rem;
  background: linear-gradient(135deg, var(--color-accent-primary), var(--color-accent-tertiary));
  color: white;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(216, 125, 86, 0.25);
  transition: all 0.3s ease;
  cursor: pointer;
}

.mobile-order-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(216, 125, 86, 0.35);
}

/* GloriaFood Widget Button Styling in Header */
.nav-links .glf-button {
  font-style: normal !important;
  font-weight: 700 !important;
  font-size: 0.75rem !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  padding: 0.7rem 1.8rem !important;
  background: linear-gradient(135deg, var(--color-accent-primary), var(--color-accent-tertiary)) !important;
  color: white !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  border-radius: 50px !important;
  box-shadow: 0 4px 15px rgba(216, 125, 86, 0.3) !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3) !important;
  transition: all 0.35s ease !important;
  cursor: pointer !important;
  display: inline-block !important;
  font-family: var(--font-heading) !important;
}

.nav-links .glf-button:hover {
  background: linear-gradient(135deg, var(--color-accent-primary-dark), var(--color-accent-primary)) !important;
  color: #fff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 25px rgba(216, 125, 86, 0.4) !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
}

/* Hide any child buttons GloriaFood creates inside our styled span */
.nav-links .glf-button>button,
.nav-links .glf-button>a {
  display: none !important;
}

/* Mobile GloriaFood Button */
.mobile-order-btn.glf-button {
  display: none !important;
  font-family: var(--font-heading) !important;
  font-weight: 700 !important;
  font-size: 0.8rem !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  padding: 0.75rem 1.75rem !important;
  background: linear-gradient(135deg, var(--color-accent-primary), var(--color-accent-tertiary)) !important;
  color: white !important;
  border-radius: 50px !important;
  box-shadow: 0 4px 15px rgba(216, 125, 86, 0.25) !important;
  transition: all 0.3s ease !important;
  cursor: pointer !important;
  border: none !important;
}

.mobile-order-btn.glf-button:hover {
  transform: scale(1.05) !important;
  box-shadow: 0 6px 20px rgba(216, 125, 86, 0.35) !important;
}

/* Hide any child buttons GloriaFood creates inside mobile button */
.mobile-order-btn.glf-button>button,
.mobile-order-btn.glf-button>a {
  display: none !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--spacing-xs);
}

.nav-toggle span {
  width: 25px;
  height: 2px;
  background: var(--color-text-primary);
  transition: var(--transition-fast);
}

/* ==========================================
   HERO SECTION
   ========================================== */

.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom,
      rgba(0, 0, 0, 0.3),
      rgba(0, 0, 0, 0.1),
      rgba(45, 41, 38, 0.5));
  z-index: -1;
}

/* Add subtle texture/grain for luxury feel */
.hero-overlay::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"><filter id="n"><feTurbulence baseFrequency="0.9"/></filter><rect width="100" height="100" filter="url(%23n)" opacity="0.05"/></svg>');
  pointer-events: none;
}

.hero-content {
  text-align: center;
  z-index: 1;
  animation: fadeInUp 1s ease;
}

.hero-logo-large {
  width: 180px;
  height: auto;
  margin: 0 auto var(--spacing-md);
  transition: all 0.5s ease;
  filter: brightness(1.1) drop-shadow(0 0 8px rgba(216, 125, 86, 0.3));
  animation: logoGlow 3s ease-in-out infinite alternate;
}

.hero-logo-large:hover {
  transform: translateY(-5px) scale(1.05);
  filter: brightness(1.2) drop-shadow(0 0 15px rgba(216, 125, 86, 0.5));
}

@keyframes logoGlow {
  from {
    filter: brightness(1.1) drop-shadow(0 0 8px rgba(216, 125, 86, 0.3));
  }

  to {
    filter: brightness(1.15) drop-shadow(0 0 12px rgba(216, 125, 86, 0.5));
  }
}

.hero-title {
  font-size: clamp(2.5rem, 8vw, 5rem);
  margin-bottom: var(--spacing-md);
  text-shadow:
    0 2px 10px rgba(0, 0, 0, 0.4),
    0 8px 30px rgba(0, 0, 0, 0.2);
  letter-spacing: 2px;
}

.hero-subtitle {
  font-size: var(--font-size-lg);
  color: var(--color-accent-primary);
  margin-bottom: var(--spacing-lg);
  font-family: var(--font-heading);
  font-style: italic;
}

.hero-badges {
  display: flex;
  justify-content: center;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
  flex-wrap: wrap;
}

.hero-badge {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-size: 0.85rem;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.2),
    inset 0 1px 1px rgba(255, 255, 255, 0.3);
  font-weight: 600;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.hero-badge:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.35);
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.25);
}

.hero-badge i {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1rem;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

.hero-cta {
  display: inline-block;
  padding: var(--spacing-sm) var(--spacing-md);
  background: linear-gradient(135deg, var(--color-accent-primary), var(--color-accent-tertiary));
  color: #ffffff;
  font-weight: 600;
  border-radius: var(--border-radius-sm);
  transition: var(--transition-normal);
  box-shadow: var(--shadow-md);
}

.hero-cta:hover {
  background: linear-gradient(135deg, var(--color-accent-primary-light), var(--color-accent-tertiary));
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}


/* ==========================================
   NEWS BANNER
   ========================================== */

#news-banner-container {
  width: 100%;
  position: relative;
  z-index: 900;
}

.news-banner {
  background: linear-gradient(135deg, var(--color-accent-primary), var(--color-accent-tertiary));
  color: white;
  padding: 1rem 0;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  animation: slideDown 0.5s ease-out;
  margin-bottom: 0.5rem;
  /* Space between multiple banners */
}

.news-banner:last-child {
  margin-bottom: 0;
  /* No margin on last banner */
}

.news-banner.banner-announcement {
  background: linear-gradient(135deg, var(--color-accent-secondary), var(--color-accent-secondary-light));
}

.news-banner.banner-promotion {
  background: linear-gradient(135deg, var(--color-accent-gold), var(--color-accent-gold-light));
}

.news-banner.banner-alert {
  background: linear-gradient(135deg, #D87D56, #E5A186);
}

.news-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  animation: shimmer 3s infinite;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-100%);
  }

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

@keyframes shimmer {
  0% {
    left: -100%;
  }

  100% {
    left: 100%;
  }
}

.news-banner-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
  gap: var(--spacing-md);
}

.news-banner-text {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.news-banner-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }
}

.news-banner-message {
  flex: 1;
}

.news-banner-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: white;
}

.news-banner-body {
  font-size: 0.95rem;
  opacity: 0.95;
  line-height: 1.4;
  color: white;
}

.news-banner-close {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  flex-shrink: 0;
  font-size: 1.2rem;
  backdrop-filter: blur(5px);
}

.news-banner-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.news-banner-close:active {
  transform: scale(0.95);
}

/* Dismissing animation */
.news-banner.dismissing {
  animation: slideUp 0.4s ease-out forwards;
}

@keyframes slideUp {
  from {
    opacity: 1;
    transform: translateY(0);
    max-height: 200px;
  }

  to {
    opacity: 0;
    transform: translateY(-100%);
    max-height: 0;
    padding: 0;
  }
}

/* News Banner Indicators (for carousel) */
.news-banner-indicators {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-left: auto;
  padding-left: 1rem;
}

.news-banner-indicators .indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.news-banner-indicators .indicator:hover {
  background: rgba(255, 255, 255, 0.6);
  transform: scale(1.2);
}

.news-banner-indicators .indicator.active {
  background: white;
  width: 24px;
  border-radius: 4px;
  cursor: default;
}

/* ==========================================
   ONLINE ORDER LOGOS
   ========================================== */

.order-logos-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.order-logo-link {
  transition: var(--transition-normal);
  display: flex;
  align-items: center;
  justify-content: center;
}

.order-logo-link:hover {
  transform: scale(1.1);
  filter: brightness(1.2);
}

/* Hidden platform - can be re-enabled by removing this class */
.hidden-platform {
  display: none !important;
}

.order-img-logo,
.svg-order-logo {
  height: 35px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  filter: grayscale(1) opacity(0.7);
  transition: var(--transition-normal);
}

.order-logo-link:hover .order-img-logo,
.order-logo-link:hover .svg-order-logo {
  filter: grayscale(0) opacity(1);
}

.skip-logo {
  height: 45px;
}

.doordash-logo {
  height: 25px;
}

/* ==========================================
   MENU SECTION
   ========================================== */

.menu {
  background: #FAF6F1;
}

/* Meal Plans Grid */
.meal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.meal-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.5);
  display: flex;
  flex-direction: column;
}

.meal-card:hover {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 40px rgba(93, 87, 82, 0.25);
  border-color: rgba(183, 147, 59, 0.6);
}

.meal-card.featured-plan {
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid rgba(183, 147, 59, 0.5);
  box-shadow: 0 8px 32px rgba(183, 147, 59, 0.2);
}

.plan-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--color-accent-gold);
  color: white;
  padding: 0.25rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  letter-spacing: 0.5px;
}

.meal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding-bottom: 1rem;
}

.meal-header h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-text-primary);
  margin: 0;
}

.plan-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-accent-primary);
}

.plan-desc {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.5;
  font-style: italic;
}

.plan-items {
  list-style: none;
  padding: 0;
  margin: 0;
  flex-grow: 1;
}

.plan-items li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.05);
  font-size: 1rem;
  color: var(--color-text-primary);
}

.plan-items li:last-child {
  border-bottom: none;
}

.plan-items li i {
  color: var(--color-accent-gold);
  width: 20px;
  text-align: center;
}


/* Daily Special Card (Rotational Menu) */
.todays-menu-container {
  max-width: 100%;
  margin: 0 auto 3rem;
}

.daily-special-card {
  background: white;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  overflow: visible;
  border: 1px solid rgba(0, 0, 0, 0.08);
  position: relative;
}

.special-header {
  background: linear-gradient(135deg, var(--color-accent-primary), var(--color-accent-tertiary));
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
}

.day-badge {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
}

.week-badge {
  background: rgba(255, 255, 255, 0.2);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.85rem;
  backdrop-filter: blur(5px);
}

.special-content {
  padding: 2rem;
  text-align: center;
  position: relative;
}

/* Week Navigation Container - Top Positioned */
.week-navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.week-nav-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  flex: 1;
  justify-content: center;
  font-weight: 500;
}

.week-nav-indicator i {
  color: var(--color-accent-primary);
  font-size: 1rem;
}

/* Week Navigation Buttons - Horizontal Layout */
.week-nav-btn {
  background: linear-gradient(135deg, var(--color-accent-primary), var(--color-accent-tertiary));
  border: none;
  color: white;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(216, 125, 86, 0.25);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--border-radius-sm);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.week-nav-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.week-nav-btn:hover::before {
  opacity: 1;
}

.week-nav-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(216, 125, 86, 0.35);
}

.week-nav-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(216, 125, 86, 0.25);
}

.week-nav-btn i {
  pointer-events: none;
  transition: transform 0.2s ease;
  font-size: 1rem;
}

.week-nav-btn:hover i {
  transform: scale(1.15);
}

.nav-label {
  font-family: var(--font-body);
  letter-spacing: 0.3px;
}


.daily-items-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--color-text-primary);
}

.daily-items-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.daily-items-list li i {
  color: var(--color-accent-gold);
}

/* Weekly Menu Grid */
.weekly-menu-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin-top: 1rem;
  animation: fadeInSlide 0.5s ease-out;
  position: relative;
  z-index: 1;
}

@keyframes fadeInSlide {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

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

.day-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  /* Minimal border */
  border-radius: var(--border-radius-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: fadeInCard 0.6s ease-out backwards;
}

@keyframes fadeInCard {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Stagger animation for each day card */
.day-card:nth-child(1) {
  animation-delay: 0.05s;
}

.day-card:nth-child(2) {
  animation-delay: 0.1s;
}

.day-card:nth-child(3) {
  animation-delay: 0.15s;
}

.day-card:nth-child(4) {
  animation-delay: 0.2s;
}

.day-card:nth-child(5) {
  animation-delay: 0.25s;
}

.day-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.active-card {
  border-color: var(--color-accent-primary);
  box-shadow: 0 4px 12px rgba(216, 125, 86, 0.15);
  background: #FFFAF8;
  /* Very Light Orange tint */
  position: relative;
  z-index: 10;
  transform: scale(1.02);
}

.active-card:hover {
  transform: scale(1.02) translateY(-3px);
}

.day-header {
  background: var(--color-bg-secondary);
  color: var(--color-accent-primary);
  padding: 0.75rem 0.5rem;
  text-align: center;
  font-weight: 700;
  font-family: var(--font-heading);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: var(--border-radius-sm) var(--border-radius-sm) 0 0;
}

.active-card .day-header {
  background: var(--color-accent-primary);
  color: #fff;
}

.day-body {
  padding: 1rem 0.75rem;
  flex-grow: 1;
  font-size: 0.9rem;
  color: var(--color-text-secondary);
}

.day-items {
  list-style: none;
  padding: 0;
  margin: 0;
}

.day-items li {
  margin-bottom: 0.4rem;
  line-height: 1.4;
  position: relative;
  padding-left: 0.5rem;
}

.day-items li:before {
  content: "✦";
  position: absolute;
  left: -0.2rem;
  color: var(--color-accent-gold);
  font-size: 0.8em;
  top: 2px;
}

.closed-msg {
  font-style: italic;
  color: var(--color-text-muted);
  text-align: center;
  margin-top: 1rem;
}

.off-card {
  opacity: 0.7;
  border: 1px dashed rgba(0, 0, 0, 0.1);
}

.holiday-card {
  border: 2px solid rgba(220, 53, 69, 0.3);
  background: linear-gradient(135deg, #fff5f5 0%, #fff 100%);
  position: relative;
}

.holiday-card .day-header {
  background: linear-gradient(135deg, #dc3545, #c82333);
  color: #ffffff;
}

.holiday-card .closed-msg {
  color: #dc3545;
  font-weight: 600;
  font-size: 1rem;
}

@media (max-width: 900px) {
  .weekly-menu-grid {
    grid-template-columns: repeat(3, 1fr);
    /* 3 cols on tablet */
  }
}

/* Vertical stacking for weekly menu on mobile */
@media (max-width: 600px) {
  .weekly-menu-grid {
    grid-template-columns: 1fr;
    /* Stack vertically on mobile */
  }

  .day-card {
    min-height: auto;
  }

  .active-card {
    transform: none;
    /* Disable scale effect on mobile to prevent overflow issues */
  }
}

.status-text {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.date-range {
  font-size: 0.95rem;
  opacity: 0.9;
  font-weight: 500;
}

@media (max-width: 600px) {
  .special-header {
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
  }

  .status-text {
    font-size: 1.1rem;
  }

  .date-range {
    font-size: 0.9rem;
    align-self: flex-start;
  }

  .daily-items-list {
    flex-direction: column;
    gap: 0.8rem;
  }

  .weekly-row {
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.75rem 1rem;
  }

  .day-col {
    width: 100%;
  }

  /* OPTIMIZATION #1 & #2: Week navigation with better touch targets */
  .week-navigation {
    padding: 0.75rem 1rem;
    gap: 0.75rem;
  }

  .week-nav-indicator span {
    display: none;
    /* Hide text on mobile */
  }

  .week-nav-indicator {
    font-size: 1.1rem;
  }

  .week-nav-btn {
    padding: 0.8rem 1.2rem;
    font-size: 0.9rem;
    min-width: 48px;
    /* Minimum touch target */
    min-height: 48px;
  }

  .nav-label {
    display: none;
    /* Hide labels on very small screens if needed */
  }

  .week-nav-btn i {
    font-size: 1.1rem;
  }

  .special-content {
    padding: 1rem 0.5rem;
  }
}



/* ==========================================
   GALLERY SECTION
   ========================================== */

.gallery {
  background: linear-gradient(135deg, #FFF8F0 0%, #FFE8D6 100%);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-sm);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius-md);
  aspect-ratio: 1;
  cursor: pointer;
}

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

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

.gallery-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.7));
  opacity: 0;
  transition: var(--transition-normal);
}

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

/* ==========================================
   ONLINE ORDER SECTION
   ========================================== */

.online-order {
  background: var(--color-bg-primary);
}

.section-subtitle {
  text-align: center;
  font-size: var(--font-size-base);
  color: var(--color-text-secondary);
  margin-top: calc(var(--spacing-sm) * -1);
  margin-bottom: var(--spacing-lg);
}

.order-platforms {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--spacing-md);
  max-width: 1200px;
  margin: 0 auto;
}

.platform-card {
  background: var(--color-bg-card);
  border-radius: var(--border-radius-md);
  padding: var(--spacing-md);
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 160px;
  position: relative;
  overflow: hidden;
}

.platform-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--color-accent-primary), var(--color-accent-tertiary));
  opacity: 0;
  transition: var(--transition-normal);
  z-index: 0;
}

.platform-card:hover {
  transform: translateY(-8px);
  border-color: var(--color-accent-primary);
  box-shadow: 0 12px 40px rgba(216, 125, 86, 0.15);
}

.platform-card:hover::before {
  opacity: 0.1;
}


.platform-icon {
  width: 48px;
  height: 48px;
  margin-bottom: var(--spacing-sm);
  color: var(--color-accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.platform-icon svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 2px 8px rgba(216, 125, 86, 0.15));
  transition: var(--transition-normal);
}

.platform-card:hover .platform-icon svg {
  transform: scale(1.05);
  filter: drop-shadow(0 4px 12px rgba(216, 125, 86, 0.25));
}

.platform-card h3 {
  font-family: var(--font-heading);
  font-size: var(--font-size-lg);
  color: var(--color-text-primary);
  margin-bottom: var(--spacing-xs);
  position: relative;
  z-index: 1;
}

/* ==========================================
   FLOATING SOCIAL MEDIA BAR
   ========================================== */

.floating-social {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  animation: slideInRight 0.5s ease-out;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateY(-50%) translateX(100px);
  }

  to {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
  }
}

.floating-social-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: white;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.floating-social-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.floating-social-icon:hover::before {
  left: 100%;
}

.instagram-float {
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.instagram-float:hover {
  transform: scale(1.15) rotate(5deg);
  box-shadow: 0 8px 30px rgba(225, 48, 108, 0.5);
}

.facebook-float {
  background: linear-gradient(135deg, #1877F2, #0A66C2);
}

.facebook-float:hover {
  transform: scale(1.15) rotate(-5deg);
  box-shadow: 0 8px 30px rgba(24, 119, 242, 0.5);
}

.phone-float {
  background: linear-gradient(135deg, #25D366, #128C7E) !important;
  opacity: 1 !important;
}

.phone-float:hover {
  transform: scale(1.15) rotate(5deg);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

.messenger-float {
  background: linear-gradient(135deg, #00B2FF, #0084FF) !important;
  opacity: 1 !important;
}

.messenger-float:hover {
  transform: scale(1.15) rotate(-5deg);
  box-shadow: 0 8px 30px rgba(0, 132, 255, 0.5);
}

/* Reposition floating social on mobile to avoid interrupting reading */
@media (max-width: 1024px) {
  .floating-social {
    right: 10px;
    top: auto;
    bottom: 100px;
    transform: none;
    gap: 0.5rem;
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 0;
    border-radius: 0;
    border: none;
    box-shadow: none;
  }

  /* OPTIMIZATION #1: Improved touch targets - minimum 48x48px */
  .floating-social-icon {
    width: 42px;
    height: 42px;
    font-size: 1.1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  }
}


/* ==========================================
   FOOTER
   ========================================== */

.footer {
  background: linear-gradient(135deg, #FFF8F0 0%, #FFE8D6 100%);
  padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.footer-section h3 {
  color: var(--color-accent-primary);
  margin-bottom: var(--spacing-md);
}

.footer-section p,
.footer-section a {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  display: block;
  margin-bottom: var(--spacing-xs);
  transition: var(--transition-fast);
}

.footer-section a:hover {
  color: var(--color-accent-primary);
  padding-left: 5px;
}

.weekly-menu-section {
  padding-top: var(--spacing-lg);
  border-top: 1px solid rgba(183, 147, 59, 0.1);
  scroll-margin-top: 100px;
}

.footer-bottom {
  text-align: center;
  padding: var(--spacing-md) 0;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  margin-top: var(--spacing-lg);
}

.footer-bottom-links {
  display: flex;
  justify-content: center;
  gap: var(--spacing-md);
  margin-top: var(--spacing-sm);
}

.footer-bottom-links a {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* ==========================================
   ANIMATIONS
   ========================================== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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

.hero-logo-img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 40px rgba(216, 125, 86, 0.8));
  mix-blend-mode: multiply;
  border-radius: 50%;
}

.logo-icon:hover .nav-logo-img {
  transform: translateY(-2px);
  filter: drop-shadow(0 4px 10px rgba(216, 125, 86, 0.3));
}

@keyframes float {
  0% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-20px) rotate(5deg);
  }

  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

.fade-in {
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

@media (max-width: 968px) {
  :root {
    --font-size-3xl: 3rem;
    --font-size-2xl: 2.5rem;
    --spacing-xl: 4rem;
  }

  .grid-2 {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }


  .order-platforms {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

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

@media (max-width: 1024px) {

  /* Thinner, more elegant mobile header */
  .nav {
    padding: 0.5rem 0;
  }

  .logo-icon {
    width: 30px;
    height: 30px;
  }

  .logo-text {
    font-size: 1.1rem;
  }

  /* Premium glassmorphic mobile menu */
  .nav-links {
    position: fixed;
    top: 55px;
    /* Increased to prevent overlap with header */
    left: -100%;
    width: 100%;
    height: calc(100vh - 55px);
    /* Adjusted to match new top position */
    background: linear-gradient(135deg, rgba(252, 248, 244, 0.95), rgba(255, 248, 240, 0.95));
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 1px solid rgba(183, 147, 59, 0.2);
    border-top: none;
    /* Prevent border from overlapping header */
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    left: 0;
    display: flex !important;
  }

  .nav-text {
    display: none;
  }

  /* Premium mobile nav links with glassmorphism */
  .nav-logo {
    margin-right: auto;
  }

  .nav-links {
    display: none;
    /* Ensure desktop links are hidden */
  }

  /* Premium Mobile Order Button in header */
  .mobile-order-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-left: auto;
    /* Push to the right, next to toggle */
    margin-right: 12px;
    /* Small spacing between button and toggle */
    width: auto !important;
    max-width: none !important;
    height: auto !important;
    max-height: 46px !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    font-size: 0.85rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.5px !important;
    padding: 0.75rem 1.75rem !important;
    background: linear-gradient(135deg, #D87D56, #E5A186, #CB997E) !important;
    background-size: 200% 200% !important;
    border: 2px solid rgba(255, 255, 255, 0.4) !important;
    border-radius: 50px !important;
    box-shadow:
      0 4px 20px rgba(216, 125, 86, 0.5),
      0 0 30px rgba(216, 125, 86, 0.3),
      inset 0 1px 1px rgba(255, 255, 255, 0.3) !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4) !important;
    color: white !important;
    animation: orderButtonPulse 2s ease-in-out infinite !important;
  }

  .mobile-order-btn:active {
    transform: scale(0.95) !important;
    box-shadow: 0 2px 10px rgba(216, 125, 86, 0.4) !important;
  }

  /* Override the display:none for GloriaFood mobile button */
  .mobile-order-btn.glf-button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    margin-right: var(--spacing-sm);
    width: auto !important;
    max-width: none !important;
    height: auto !important;
    max-height: 46px !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    font-size: 0.85rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.5px !important;
    padding: 0.75rem 1.75rem !important;
    background: linear-gradient(135deg, #D87D56, #E5A186, #CB997E) !important;
    background-size: 200% 200% !important;
    border: 2px solid rgba(255, 255, 255, 0.4) !important;
    border-radius: 50px !important;
    box-shadow:
      0 4px 20px rgba(216, 125, 86, 0.5),
      0 0 30px rgba(216, 125, 86, 0.3),
      inset 0 1px 1px rgba(255, 255, 255, 0.3) !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4) !important;
    color: white !important;
    animation: orderButtonPulse 2s ease-in-out infinite !important;
  }

  .mobile-order-btn.glf-button:active {
    transform: scale(0.95) !important;
    box-shadow: 0 2px 10px rgba(216, 125, 86, 0.4) !important;
  }

  /* Pulsing glow animation for mobile Order button */
  @keyframes orderButtonPulse {

    0%,
    100% {
      box-shadow:
        0 4px 20px rgba(216, 125, 86, 0.5),
        0 0 20px rgba(216, 125, 86, 0.2);
      background-position: 0% 50%;
    }

    50% {
      box-shadow:
        0 6px 25px rgba(216, 125, 86, 0.6),
        0 0 40px rgba(216, 125, 86, 0.4);
      background-position: 100% 50%;
    }
  }

  .nav-link:hover i {
    transform: none;
  }

  /* Premium Order Online button in hamburger menu - matches nav links style */
  /* Target the parent li to center the button */
  .nav-links li:last-child {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
  }

  .nav-cta.glf-button,
  .nav-links .glf-button {
    width: auto !important;
    min-width: 70% !important;
    max-width: 80% !important;
    height: auto !important;
    min-height: 52px !important;
    max-height: none !important;
    position: static !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    padding: 1rem 2.5rem !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    font-style: italic !important;
    margin: 0.3rem 0 !important;
    background: rgba(255, 255, 255, 0.6) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 2px solid rgba(183, 147, 59, 0.4) !important;
    border-radius: 50px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
    color: var(--color-accent-primary) !important;
    text-shadow: none !important;
    transition: all 0.3s ease !important;
  }

  .nav-cta.glf-button:hover,
  .nav-cta.glf-button:active,
  .nav-links .glf-button:hover,
  .nav-links .glf-button:active {
    background: rgba(255, 255, 255, 0.9) !important;
    border-color: rgba(183, 147, 59, 0.6) !important;
    transform: scale(1.02) !important;
    box-shadow: 0 6px 20px rgba(183, 147, 59, 0.15) !important;
  }

  /* Premium hamburger toggle */
  .nav-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 38px;
    height: 38px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 8px;
    border: 1px solid rgba(183, 147, 59, 0.25);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    cursor: pointer;
  }

  .nav-toggle span {
    display: block;
    width: 20px;
    height: 2.5px;
    background: var(--color-accent-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
  }

  .nav-toggle:active {
    transform: scale(0.95);
    background: rgba(255, 255, 255, 0.9);
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  /* Premium mobile hero badges */
  .hero-badges {
    gap: 0.6rem;
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: 0.6rem 1rem;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  }

  /* Mobile hero logo - slightly smaller */
  .hero-logo-large {
    width: 140px;
  }

  /* Mobile Order Button */
  .direct-order-wrapper .direct-order-brand {
    padding: 1rem 2rem;
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {

  /* OPTIMIZATION #3: Reduce spacing on mobile to minimize scrolling */
  :root {
    --spacing-lg: 2rem;
    --spacing-xl: 2.5rem;
    --font-size-base: 1rem;
  }

  .container {
    padding: 0 var(--spacing-sm);
  }

  .section {
    padding: var(--spacing-lg) 0;
  }

  .hero-title {
    font-size: 2.2rem;
    letter-spacing: 1px;
  }

  .hero-subtitle.readable {
    font-size: 0.9rem;
    padding: 0.4rem 1.2rem;
  }

  /* Even smaller logo on very small screens */
  .hero-logo-large {
    width: 120px;
  }

  .menu-item-header {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Premium glassmorphic meal cards on mobile */
  .meal-card {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  .special-content {
    padding: 1rem;
  }

  /* Smaller floating icons on very small screens */
  .floating-social {
    bottom: 80px;
    padding: 0;
  }

  .floating-social-icon {
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }
}


/* ==========================================
   GALLERY SECTION REFINEMENTS
   ========================================== */

#gallery {
  background-color: var(--color-bg-secondary);
  position: relative;
  overflow: hidden;
}

#gallery::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Subtle pattern overlay */
  background-image: radial-gradient(var(--color-accent-primary-light) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.15;
  pointer-events: none;
}

.instagram-feed-wrapper {
  background: white;
  padding: 1.5rem;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  margin-top: 2rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Direct Order Button in Body */
.direct-order-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: #2D2926;
  font-weight: 700;
  font-size: 1.5rem;
  font-family: var(--font-heading);
  white-space: nowrap;
}

.direct-order-brand i {
  color: #D87D56;
}

.direct-order-wrapper .glf-button {
  background: none;
  padding: 0;
  box-shadow: none;
  border-radius: 0;
  color: inherit;
  font-weight: inherit;
  font-size: inherit;
  display: block;
  /* Ensure it wraps the div correctly */
}

.direct-order-wrapper .glf-button:hover {
  background: none;
  box-shadow: none;
  color: inherit;
}

/* Make Order Button More Prominent */
.direct-order-wrapper .direct-order-brand {
  padding: 1.25rem 2.5rem;
  background: linear-gradient(135deg, var(--color-accent-primary), var(--color-accent-tertiary));
  color: white;
  border-radius: 50px;
  box-shadow: 0 6px 25px rgba(216, 125, 86, 0.4);
  transition: all 0.3s ease;
  cursor: pointer;
  font-size: 1.6rem;
}

.direct-order-wrapper .direct-order-brand i {
  color: white;
}

.direct-order-wrapper:hover .direct-order-brand {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 35px rgba(216, 125, 86, 0.5);
}

/* Shared Subsection Title (formerly extras-title) */
.extras-title {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 1.75rem;
  color: var(--color-accent-primary);
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.extras-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--color-accent-gold);
  margin: 0.5rem auto 0;
  border-radius: 2px;
}

.plan-price small {
  font-size: 0.6em;
  font-weight: 400;
  color: var(--color-text-secondary);
  margin-left: 2px;
}



/* ==========================================
   ABOUT US SECTION
   ========================================== */

.about-us {
  background: linear-gradient(135deg, #FFF8F0 0%, #FFE8D6 100%);
  position: relative;
  padding-bottom: var(--spacing-lg);
}

.about-us .section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: var(--color-text-secondary);
  font-style: italic;
  margin-bottom: 3rem;
}

.about-content {
  max-width: 900px;
  margin: 0 auto;
}

.about-story {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.story-paragraph {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  animation: fadeInLeft 0.6s ease;
}

.story-paragraph:nth-child(even) {
  animation: fadeInRight 0.6s ease;
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.story-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent-primary-light), var(--color-accent-tertiary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.3rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
}

.story-paragraph:hover .story-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: var(--shadow-lg);
}

.story-text {
  flex: 1;
}

.story-text p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--color-text-primary);
  margin: 0;
}

/* Highlighted Section */
.story-highlight {
  background: var(--color-bg-card);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  border-left: 5px solid var(--color-accent-gold);
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  margin: 1rem 0;
  transition: var(--transition-normal);
}

.story-highlight:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(93, 87, 82, 0.25);
}

.highlight-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent-gold), var(--color-accent-gold-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  box-shadow: 0 8px 20px rgba(183, 147, 59, 0.3);
}

.highlight-text {
  flex: 1;
}

.highlight-text h3 {
  font-size: 1.5rem;
  color: var(--color-accent-primary);
  margin-bottom: 0.75rem;
}

.highlight-text p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--color-text-primary);
  margin: 0;
}

.highlight-text .text-accent {
  font-weight: 600;
  font-style: italic;
}

/* Conclusion */
.story-conclusion {
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  margin-top: 1rem;
}

.story-conclusion p {
  font-size: 1.3rem;
  color: var(--color-accent-primary-dark);
  margin: 0;
  font-family: var(--font-heading);
  font-style: italic;
}

.story-conclusion strong {
  color: var(--color-accent-primary);
}

/* News Banner Mobile Responsive */
@media (max-width: 768px) {
  .news-banner-content {
    flex-direction: row;
    align-items: flex-start;
    padding: 0 1rem;
  }

  .news-banner-text {
    gap: 0.75rem;
    flex-direction: column;
    align-items: flex-start;
  }

  .news-banner-icon {
    font-size: 1.2rem;
    align-self: flex-start;
  }

  .news-banner-title {
    font-size: 1rem;
  }

  .news-banner-body {
    font-size: 0.9rem;
  }

  .news-banner-close {
    width: 28px;
    height: 28px;
    font-size: 1rem;
  }

  /* About Us Mobile Responsive */
  .story-paragraph {
    gap: 1rem;
  }

  .story-icon {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }

  .story-text p {
    font-size: 1rem;
  }

  .story-highlight {
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
  }

  .highlight-icon {
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
  }

  .highlight-text h3 {
    font-size: 1.3rem;
  }

  .highlight-text p {
    font-size: 1rem;
  }

  .story-conclusion p {
    font-size: 1.1rem;
  }
}

/* ==========================================
   REVIEWS SECTION
   ========================================== */

.reviews-section {
  background: #FAF6F1;
  position: relative;
  overflow: hidden;
  padding-bottom: calc(var(--spacing-xl) + 3rem);
  border-bottom: 3px solid var(--color-accent-gold);
}

.reviews-section::after {
  content: '';
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent-secondary-light), var(--color-accent-primary-light), var(--color-accent-secondary-light));
}

.reviews-section .section-title {
  color: var(--color-text-primary);
}

.reviews-section .section-title::after {
  display: none;
}

.reviews-section .section-subtitle {
  color: var(--color-text-secondary);
  margin-bottom: 3rem;
}

/* ==========================================
   LOADING & ERROR STATES
   ========================================== */

.loading-state,
.error-state {
  animation: fadeIn 0.4s ease-out;
}

.loading-state i.fa-spinner {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.error-state {
  background: rgba(216, 125, 86, 0.05);
  border-radius: var(--border-radius-md);
}

.error-state i {
  margin-bottom: 0.5rem;
}

.loading-state p,
.error-state p {
  color: inherit;
  margin: 0;
}

/* ==========================================
   GLORIAFOOD WIDGET CLOSE BUTTON
   ========================================== */

/* Close button overlay for GloriaFood widget on mobile/tablet */
#glf-close-btn {
  display: none;
  /* Hidden by default */
  position: fixed;
  top: 12px;
  /* At header level, aligned with DAL CHAWAL text */
  left: calc(50% + 40px);
  /* Center horizontally, offset 40px to the right */
  transform: translateX(-50%);
  /* Perfect centering */
  z-index: 999999;
  /* Above GloriaFood iframe */
  width: 36px;
  /* Reduced for more minimal appearance */
  height: 36px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 50%;
  border: 2px solid var(--color-accent-primary);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  align-items: center;
  justify-content: center;
}

#glf-close-btn:hover {
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.4);
  border-color: var(--color-accent-primary-dark);
}

#glf-close-btn:active {
  transform: scale(0.98);
}

#glf-close-btn i {
  font-size: 18px;
  /* Reduced to match smaller button */
  color: var(--color-accent-primary);
  transition: color 0.3s ease;
}

#glf-close-btn:hover i {
  color: var(--color-accent-primary-dark);
}

/* Only show on mobile/tablet devices */
@media (max-width: 1366px) {
  #glf-close-btn.active {
    display: flex;
  }
}

/* Hide on desktop */
@media (min-width: 1367px) {
  #glf-close-btn {
    display: none !important;
  }
}