/* 
Oh Sugar Website - Main Stylesheet
*/

/* ======= Base Styles ======= */
:root {
  /* Color palette */
  --primary: #8e44ad;
  --primary-dark: #6c3483;
  --primary-light: #a569bd;
  --secondary: #e98aeb;
  --secondary-light: #f9d5fa;
  --secondary-dark: #d66ad7;
  --text-dark: #333333;
  --text-medium: #666666;
  --text-light: #999999;
  --white: #ffffff;
  --off-white: #f7f7f7;
  --gray-light: #e0e0e0;
  --gray: #999999;
  --black: #222222;
  --success: #2ecc71;
  --warning: #f39c12;
  --danger: #e74c3c;

  /* Typography */
  --font-heading: "Pacifico", cursive;
  --font-body: "Open Sans", sans-serif;
  --font-alt: "Playfair Display", serif;

  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-xxl: 3rem;

  /* Border radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 12px 24px rgba(0, 0, 0, 0.1);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;
}

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

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

body {
  font-family: var(--font-body);
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--off-white);
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

.menu-page {
  padding-top: 90px; /* Reduced padding now that utility bar is gone */
}

.contact-page,
.legal-page {
  padding-top: 90px; /* Reduced padding now that utility bar is gone */
}

/* Skip link for keyboard users */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  position: fixed;
  left: 20px;
  top: 20px;
  width: auto;
  height: auto;
  padding: var(--spacing-sm) var(--spacing-md);
  background: var(--black);
  color: var(--white);
  z-index: 10000;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
}

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

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

a:hover {
  color: var(--primary-dark);
}

/* ======= Typography ======= */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: var(--spacing-md);
  line-height: 1.3;
  font-weight: 700;
  color: var(--primary);
}

h1,
.h1 {
  font-size: 2.5rem;
  font-family: var(--font-heading);
}

h2,
.h2 {
  font-size: 2rem;
  font-family: var(--font-heading);
}

h3,
.h3 {
  font-size: 1.5rem;
  font-family: var(--font-alt);
}

h4,
.h4 {
  font-size: 1.25rem;
  font-family: var(--font-alt);
}

p {
  margin-bottom: var(--spacing-md);
}

.lead {
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: var(--spacing-lg);
}

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

/* ======= Layout Containers ======= */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

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

/* ======= Preloader ======= */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--white);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.spinner {
  width: 40px;
  height: 40px;
  position: relative;
  margin: 100px auto;
}

.double-bounce1,
.double-bounce2 {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: var(--primary);
  opacity: 0.6;
  position: absolute;
  top: 0;
  left: 0;
  animation: sk-bounce 2s infinite ease-in-out;
}

.double-bounce2 {
  animation-delay: -1s;
}

@keyframes sk-bounce {
  0%,
  100% {
    transform: scale(0);
  }
  50% {
    transform: scale(1);
  }
}

/* ======= Header & Navigation ======= */

/* Utility bar removed */

/* Updated Navbar Styles */
.navbar {
  position: fixed;
  top: 0; /* At the top of the page now that utility bar is removed */
  left: 0;
  width: 100%;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.98),
    rgba(252, 248, 254, 0.98)
  );
  backdrop-filter: blur(15px);
  border-bottom: 2px solid rgba(142, 68, 173, 0.1);
  z-index: 1000;
  transition: all 0.3s ease;
  box-shadow: 0 2px 20px rgba(142, 68, 173, 0.1);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  position: relative;
  min-height: 80px;
}

.navbar .container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--primary),
    var(--secondary),
    var(--primary)
  );
  opacity: 0.6;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 6px 10px;
  border-radius: 12px;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.logo::before {
  content: "";
  position: absolute;
  top: 0;
  left: -10px;
  right: -10px;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(142, 68, 173, 0.05),
    rgba(233, 138, 235, 0.05)
  );
  border-radius: 12px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.logo:hover::before {
  opacity: 1;
}

.logo img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  transition: all var(--transition-medium);
  filter: drop-shadow(0 3px 10px rgba(142, 68, 173, 0.25));
  border-radius: 8px;
}

.logo:hover img {
  transform: scale(1.08);
  filter: drop-shadow(0 5px 15px rgba(142, 68, 173, 0.4));
}

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

.nav-list {
  display: flex;
  list-style: none;
  gap: 28px;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-link {
  color: #2c2c2c;
  font-weight: 500;
  text-decoration: none;
  font-size: 0.9rem;
  position: relative;
  transition: color 0.3s ease;
  letter-spacing: 0.01em;
  padding: 8px 0;
  white-space: nowrap;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

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

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

.nav-link.active {
  color: var(--primary);
  font-weight: 600;
}

.nav-cta {
  background: linear-gradient(135deg, var(--primary), #7c3aed);
  color: white;
  padding: 8px 20px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(142, 68, 173, 0.3);
  margin-left: 16px;
  white-space: nowrap;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(142, 68, 173, 0.4);
  color: white;
}

/* Mobile Navigation - Enhanced Hamburger Menu */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  transition: all 0.3s ease;
  z-index: 1001;
}

.nav-toggle:hover {
  background: rgba(
    142,
    68,
    173,
    0.25
  ); /* Increased opacity for better contrast */
  box-shadow: 0 2px 8px rgba(142, 68, 173, 0.3);
}

/* Add a subtle outline on hover for better visibility */
.nav-toggle:hover span {
  width: 26px; /* Slightly wider on hover */
  left: 7px; /* Adjust position to keep centered */
}

.nav-toggle span {
  display: block;
  position: absolute;
  left: 10px;
  width: 24px;
  height: 3px;
  background: #000000; /* Increased contrast with pure black */
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 2px;
  transform-origin: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); /* Enhanced shadow */
}

.nav-toggle span:nth-child(1) {
  top: 10px;
}

.nav-toggle span:nth-child(2) {
  top: 18px;
}

.nav-toggle span:nth-child(3) {
  top: 26px;
}

/* Enhanced hamburger animation with better contrast */
.nav-toggle.active span:nth-child(1) {
  top: 18px;
  transform: rotate(45deg);
  background: #ffffff;
  width: 24px;
  height: 4px; /* Thicker for better visibility */
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-20px) scale(0);
  background: #ffffff;
}

.nav-toggle.active span:nth-child(3) {
  top: 18px;
  transform: rotate(-45deg);
  background: #ffffff;
  width: 24px;
  height: 4px; /* Thicker for better visibility */
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
}

/* Enhanced background for better contrast */
.nav-toggle.active {
  background: #8e44ad; /* Solid color for better contrast */
  box-shadow: 0 0 0 2px #ffffff, 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Mobile Menu - Enhanced Design with Glow Effects */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    max-width: 80vw;
    height: 100vh;
    background: linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.98),
      rgba(252, 248, 254, 0.98)
    );
    backdrop-filter: blur(20px);
    padding: 70px 25px 30px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    border-left: 3px solid #8e44ad;
  }

  .nav-menu.active {
    right: 0;
    box-shadow: -8px 0 32px rgba(142, 68, 173, 0.2);
  }

  /* Ensure menu doesn't exceed viewport on very small screens */
  @media (max-width: 400px) {
    .nav-menu {
      width: 260px;
      max-width: 85vw;
      padding: 70px 20px 25px;
    }
  }

  .nav-list {
    flex-direction: column;
    gap: 0;
    align-items: flex-start;
    width: 100%;
  }

  .nav-list li {
    width: 100%;
    border-bottom: 2px solid rgba(142, 68, 173, 0.15);
    opacity: 0;
    transform: translateX(30px);
    animation: slideInRight 0.4s ease forwards;
  }

  .nav-list li:nth-child(1) {
    animation-delay: 0.1s;
  }
  .nav-list li:nth-child(2) {
    animation-delay: 0.15s;
  }
  .nav-list li:nth-child(3) {
    animation-delay: 0.2s;
  }
  .nav-list li:nth-child(4) {
    animation-delay: 0.25s;
  }
  .nav-list li:nth-child(5) {
    animation-delay: 0.3s;
  }
  .nav-list li:nth-child(6) {
    animation-delay: 0.35s;
  }

  .nav-list li:last-child {
    border-bottom: none;
  }

  .nav-link {
    display: block;
    padding: 20px 0;
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
    transition: all 0.3s ease;
    position: relative;
    letter-spacing: 0.02em;
  }

  .nav-link:hover {
    color: var(--primary);
    padding-left: 12px;
    transform: translateX(8px);
    background-color: rgba(142, 68, 173, 0.08);
    box-shadow: inset 0 0 20px rgba(142, 68, 173, 0.1);
  }

  .nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: width 0.3s ease;
    box-shadow: 0 1px 3px rgba(142, 68, 173, 0.3);
  }

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

  .nav-link.active {
    color: var(--primary);
    font-weight: 700;
    background-color: rgba(142, 68, 173, 0.08);
    box-shadow: inset 0 0 20px rgba(142, 68, 173, 0.15);
  }

  .nav-cta {
    display: block;
    width: 100%;
    text-align: center;
    margin: 30px 0 0;
    padding: 16px 20px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 700;
    opacity: 0;
    transform: translateY(20px);
    animation: slideInUp 0.5s ease 0.4s forwards;
    background: linear-gradient(135deg, #8e44ad, #7c3aed);
    color: white;
    box-shadow: 0 8px 25px rgba(142, 68, 173, 0.3),
      0 0 0 2px rgba(255, 255, 255, 0.2), 0 0 20px rgba(142, 68, 173, 0.2);
    letter-spacing: 0.05em;
    position: relative;
    overflow: hidden;
  }

  .nav-cta::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
      90deg,
      transparent,
      rgba(255, 255, 255, 0.2),
      transparent
    );
    transition: left 0.5s ease;
  }

  .nav-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(142, 68, 173, 0.4),
      0 0 0 3px rgba(255, 255, 255, 0.3), 0 0 30px rgba(142, 68, 173, 0.3);
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
    color: white;
  }

  .nav-cta:hover::before {
    left: 100%;
  }

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

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

/* Enhanced overlay when menu is open */
body.nav-open::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.4),
    rgba(142, 68, 173, 0.1)
  );
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  z-index: 999;
}

body.nav-open::before {
  opacity: 1;
  pointer-events: auto;
}

/* Prevent body scroll when menu is open */
body.nav-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

/* Logo animation when menu opens */
body.nav-open .logo img {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

/* Smooth transitions for all navigation elements */
.navbar,
.nav-menu,
.nav-toggle,
.nav-link {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Enhanced focus styles for better accessibility */
.nav-toggle:focus,
.nav-link:focus {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgba(142, 68, 173, 0.2);
}

.nav-toggle:focus {
  background: rgba(142, 68, 173, 0.1);
  transform: scale(1.02);
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .nav-toggle span {
    background: #000;
    height: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  }

  .nav-toggle.active span {
    background: #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
  }

  .nav-toggle.active {
    background: #000;
    border: 2px solid #ffffff;
  }

  .nav-link {
    color: #000;
    font-weight: 600;
  }

  .nav-link:hover,
  .nav-link.active {
    color: var(--primary);
    background: rgba(142, 68, 173, 0.1);
  }
}

/* ======= Hero Section ======= */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 90px; /* Reduced margin now that utility bar is gone */
  overflow: hidden;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--white);
  max-width: 800px;
  padding: var(--spacing-xl);
}

.hero-title {
  font-size: 4.5rem;
  margin-bottom: var(--spacing-md);
  color: var(--white);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  font-family: var(--font-heading);
}

.hero-subtitle {
  font-size: 1.8rem;
  margin-bottom: var(--spacing-xl);
  color: var(--white);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  font-family: var(--font-alt);
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: var(--spacing-md);
}

/* ======= Welcome Banner ======= */
.welcome-banner {
  background-color: var(--primary);
  color: var(--white);
  padding: var(--spacing-lg) 0;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.welcome-content {
  max-width: 800px;
  margin: 0 auto;
}

.welcome-content h2 {
  color: var(--white);
  font-size: 2rem;
  margin-bottom: var(--spacing-sm);
}

.welcome-content p {
  color: var(--white);
  opacity: 0.9;
  font-size: 1.2rem;
  margin-bottom: 0;
}

/* ======= Buttons ======= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-sm) var(--spacing-lg);
  border-radius: var(--radius-md);
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-medium);
  text-decoration: none;
  text-align: center;
  border: none;
  font-size: 1rem;
}

.btn i {
  margin-right: var(--spacing-sm);
}

.btn-lg {
  padding: var(--spacing-md) var(--spacing-xl);
  font-size: 1.1rem;
}

.btn-sm {
  padding: var(--spacing-xs) var(--spacing-md);
  font-size: 0.9rem;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--white);
}

.btn-secondary:hover {
  background-color: var(--secondary-dark);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* ======= Section Headers ======= */
.section-header {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-sm);
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--text-medium);
  font-family: var(--font-alt);
}

.divider {
  width: 100%;
  text-align: center;
  margin: var(--spacing-sm) auto var(--spacing-md);
}

.divider span {
  display: inline-block;
  width: 80px;
  height: 3px;
  background-color: var(--primary);
  position: relative;
}

.divider span::before,
.divider span::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  background-color: var(--primary);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
}

.divider span::before {
  left: -10px;
}

.divider span::after {
  right: -10px;
}

/* ======= About Section ======= */
.about-section {
  background-color: var(--white);
  padding: var(--spacing-xxl) 0;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  max-width: 1100px;
  margin: 0 auto;
  text-align: left;
}

.about-text {
  padding: var(--spacing-md);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ======= About & Event Sliders - FIXED ======= */
.about-slider-container,
.event-slider-container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  margin-bottom: var(--spacing-xl);
}

.about-slider,
.event-slider {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  background-color: var(--black);
  aspect-ratio: 16 / 9;
}

/* Slider Navigation */
.slider-navigation {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  pointer-events: none;
}

.nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.8);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-medium);
  box-shadow: var(--shadow-md);
  pointer-events: auto;
  color: var(--primary);
  font-size: 1.2rem;
  z-index: 15;
}

.nav-arrow:hover {
  background-color: var(--primary);
  color: var(--white);
}

.prev-arrow {
  left: 15px;
}

.next-arrow {
  right: 15px;
}

/* Slider Track */
.slider-track {
  display: flex;
  transition: transform 0.4s ease;
  height: 100%;
  width: 100%;
  transform: translateX(0%);
}

.slider-slide {
  flex: 0 0 100%;
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--black);
  overflow: hidden;
  transform: translateZ(0); /* Force GPU acceleration */
}

.slide-image {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: cover;
  padding: 0;
  margin: 0 auto;
  cursor: pointer;
}

/* Caption for images */
.slide-caption {
  position: absolute;
  bottom: 70px;
  left: 0;
  width: 100%;
  padding: 10px 15px;
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  text-align: center;
  font-size: 0.9rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.slider-slide:hover .slide-caption {
  opacity: 1;
}

/* Thumbnails */
.slider-thumbnails {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px 0;
  background-color: rgba(0, 0, 0, 0.7);
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 5;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--primary) rgba(255, 255, 255, 0.1);
}

.slider-thumbnails::-webkit-scrollbar {
  height: 6px;
}

.slider-thumbnails::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
}

.slider-thumbnails::-webkit-scrollbar-thumb {
  background-color: var(--primary);
  border-radius: 6px;
}

.thumbnail {
  min-width: 60px;
  height: 45px;
  margin: 0 5px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  opacity: 0.6;
  transition: all var(--transition-medium);
  border: 2px solid transparent;
  flex-shrink: 0;
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumbnail.active {
  opacity: 1;
  border-color: var(--primary);
}

.thumbnail:hover {
  opacity: 0.9;
}

/* ======= Order Section ======= */
.order-section {
  background-color: var(--primary-light);
  color: var(--white);
}

.order-section .section-title,
.order-section .section-subtitle,
.order-section .lead {
  color: var(--white);
}

.order-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

/* ======= Fan Favorites Section ======= */
.bestsellers-section {
  background-color: var(--white);
}

.bestsellers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-xl);
  margin-top: var(--spacing-xl);
}

.bestseller-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-medium),
    box-shadow var(--transition-medium);
}

.bestseller-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.bestseller-image {
  height: 220px;
  overflow: hidden;
}

.bestseller-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.bestseller-card:hover .bestseller-image img {
  transform: scale(1.1);
}

.bestseller-content {
  padding: var(--spacing-lg);
}

.bestseller-title {
  font-size: 1.3rem;
  margin-bottom: var(--spacing-sm);
  color: var(--primary);
  font-family: var(--font-alt);
}

.bestseller-description {
  margin-bottom: var(--spacing-md);
  color: var(--text-medium);
}

.bestseller-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.9rem;
  color: var(--success);
  font-weight: 600;
}

.bestseller-badge i {
  margin-right: var(--spacing-xs);
}

/* ======= Menu Section ======= */
.menu-section {
  background-color: var(--off-white);
}

.menu-preview {
  max-width: 800px;
  margin: 0 auto;
}

.menu-images {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
}

.menu-image {
  width: 45%;
  max-width: 350px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-medium),
    box-shadow var(--transition-medium);
}

.menu-image:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-lg);
}

.menu-actions {
  display: flex;
  justify-content: center;
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

/* ======= Instagram Section ======= */
.instagram-section {
  background-color: var(--white);
}

.instagram-feed {
  margin-bottom: var(--spacing-xl);
}

.social-links {
  text-align: center;
  margin-top: var(--spacing-xl);
}

.social-buttons {
  display: flex;
  justify-content: center;
  gap: var(--spacing-md);
  margin-top: var(--spacing-md);
}

.social-btn {
  display: inline-flex;
  align-items: center;
  padding: var(--spacing-sm) var(--spacing-lg);
  border-radius: var(--radius-md);
  color: var(--white);
  font-weight: 600;
  transition: transform var(--transition-medium),
    opacity var(--transition-medium);
}

.social-btn:hover {
  transform: translateY(-3px);
  opacity: 0.9;
  color: var(--white);
}

.social-btn i {
  margin-right: var(--spacing-sm);
}

.social-btn.instagram {
  background: linear-gradient(
    45deg,
    #405de6,
    #5851db,
    #833ab4,
    #c13584,
    #e1306c,
    #fd1d1d
  );
}

.social-btn.facebook {
  background-color: #1877f2;
}

.social-btn.tiktok {
  background-color: #000000;
}

/* ======= Event Space Section ======= */
.event-section {
  background-color: var(--off-white);
}

.event-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: var(--spacing-xl);
  align-items: center;
}

.event-info {
  padding: var(--spacing-lg);
}

.event-gallery {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

/* ======= Hours & Location Section ======= */
.location-section {
  background-color: var(--white);
}

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

.hours-info,
.location-info {
  padding: var(--spacing-lg);
  background-color: var(--off-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: visible; /* Changed from hidden to visible */
  word-break: break-word; /* Add word break for long text */
}

.hours-info h3,
.location-info h3 {
  position: relative;
  padding-bottom: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.hours-info h3::after,
.location-info h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--primary);
}

.store-status {
  display: inline-block;
  margin-bottom: var(--spacing-md);
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
  width: auto; /* Make sure it's only as wide as needed */
  white-space: nowrap; /* Prevent wrapping of text */
}

.store-status.open {
  background-color: var(--success);
  color: var(--white);
}

.store-status.closed {
  background-color: var(--danger);
  color: var(--white);
}

.hours-list {
  list-style: none;
  width: 100%; /* Ensure full width */
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--spacing-sm);
  padding-bottom: var(--spacing-sm);
  border-bottom: 1px solid var(--gray-light);
  flex-wrap: wrap; /* Allow wrapping on small screens */
}

.hours-list li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.day {
  font-weight: 600;
  margin-right: var(--spacing-sm); /* Add space between day and time */
}

.time {
  white-space: nowrap; /* Keep time on one line */
}

.location-info address {
  margin-bottom: var(--spacing-md);
  font-style: normal;
  word-wrap: break-word; /* Ensure long addresses wrap properly */
}

.map-container {
  width: 100%;
  height: 450px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ======= Reviews Section ======= */
.reviews-section {
  background-color: var(--off-white);
}

.reviews-widget {
  max-width: 1000px;
  margin: 0 auto;
}

/* ======= Careers Section ======= */
.careers-section {
  background-color: var(--white);
}

.careers-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

/* ======= Contact Section ======= */
.contact-section {
  background-color: var(--off-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-xl);
  max-width: 900px;
  margin: 0 auto;
}

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

.info-card {
  background-color: var(--white);
  padding: var(--spacing-xl);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform var(--transition-medium),
    box-shadow var(--transition-medium);
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.info-icon {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: var(--spacing-md);
}

.info-card h3 {
  margin-bottom: var(--spacing-md);
  color: var(--primary);
}

.info-card p {
  margin-bottom: 0;
}

.info-card a {
  color: var(--text-dark);
  transition: color var(--transition-medium);
}

.info-card a:hover {
  color: var(--primary);
}

.social-connect {
  background-color: var(--white);
  padding: var(--spacing-xl);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.social-connect h3 {
  margin-bottom: var(--spacing-lg);
  color: var(--primary);
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: var(--spacing-md);
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: var(--white);
  font-size: 1.2rem;
  transition: transform var(--transition-medium),
    box-shadow var(--transition-medium);
}

.social-icons a:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.social-icons .facebook {
  background-color: #1877f2;
}

.social-icons .tiktok {
  background-color: #000000;
}

.social-icons .instagram {
  background: linear-gradient(
    45deg,
    #405de6,
    #5851db,
    #833ab4,
    #c13584,
    #e1306c,
    #fd1d1d
  );
}

/* ======= Contact Forms - IMPROVED FOR MOBILE ======= */
.contact-forms {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-xl);
  margin-top: var(--spacing-xl);
}

.contact-form {
  background-color: var(--white);
  padding: var(--spacing-xl);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  max-width: 100%;
  width: 100%;
}

.contact-form h3 {
  margin-bottom: var(--spacing-lg);
  color: var(--primary);
  text-align: center;
}

.form-group {
  margin-bottom: var(--spacing-md);
  width: 100%;
}

.form-label {
  display: block;
  margin-bottom: var(--spacing-xs);
  font-weight: 600;
  color: var(--text-dark);
}

.form-control {
  width: 100%;
  padding: var(--spacing-sm) var(--spacing-md);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color var(--transition-medium),
    box-shadow var(--transition-medium);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(142, 68, 173, 0.1);
}

.form-control.textarea {
  min-height: 150px;
  resize: vertical;
}

.form-actions {
  margin-top: var(--spacing-lg);
  text-align: center;
}

.form-actions .btn {
  min-width: 150px;
}

/* ======= Footer ======= */
.main-footer {
  background-color: var(--primary-dark);
  color: var(--white);
  padding: var(--spacing-xl) 0 var(--spacing-lg);
}

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

.footer-logo {
  display: flex;
  justify-content: center;
}

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

.footer-nav h3,
.footer-hours h3,
.footer-contact h3 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: var(--spacing-md);
  padding-bottom: var(--spacing-sm);
  position: relative;
}

.footer-nav h3::after,
.footer-hours h3::after,
.footer-contact h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--secondary);
}

.footer-nav ul,
.footer-hours ul {
  list-style: none;
}

.footer-nav ul li,
.footer-hours ul li {
  margin-bottom: var(--spacing-sm);
}

.footer-nav ul li a {
  color: var(--white);
  opacity: 0.8;
  transition: opacity var(--transition-medium),
    transform var(--transition-medium);
  display: inline-block;
}

.footer-nav ul li a:hover {
  opacity: 1;
  transform: translateX(5px);
}

.footer-contact p {
  margin-bottom: var(--spacing-sm);
  display: flex;
  align-items: flex-start;
}

.footer-contact p i {
  margin-right: var(--spacing-sm);
  color: var(--secondary);
  font-size: 1.1rem;
  margin-top: 5px;
}

.footer-contact p a {
  color: var(--white);
  opacity: 0.8;
  transition: opacity var(--transition-medium);
}

.footer-contact p a:hover {
  opacity: 1;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--spacing-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--spacing-md);
}

.footer-bottom p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

.footer-link {
  color: var(--secondary);
  transition: color var(--transition-medium);
}

.footer-link:hover {
  color: var(--white);
}

.footer-social {
  display: flex;
  gap: var(--spacing-sm);
}

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

.footer-social a:hover {
  background-color: var(--secondary);
  transform: translateY(-3px);
}

/* ======= Privacy & Cookies Pages ======= */
.legal-section {
  padding: var(--spacing-xxl) 0;
  background-color: var(--white);
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h2 {
  color: var(--primary);
  margin-top: var(--spacing-xl);
  margin-bottom: var(--spacing-md);
}

.legal-content h3 {
  color: var(--primary-dark);
  margin-top: var(--spacing-lg);
  margin-bottom: var(--spacing-sm);
}

.legal-content p {
  margin-bottom: var(--spacing-md);
}

.legal-content ul {
  margin-bottom: var(--spacing-md);
  padding-left: var(--spacing-lg);
}

.legal-content ul li {
  margin-bottom: var(--spacing-sm);
}

.legal-content a {
  color: var(--primary);
  text-decoration: underline;
}

.legal-content a:hover {
  color: var(--primary-dark);
}

.legal-content .updated-date {
  font-style: italic;
  color: var(--text-medium);
  margin-top: var(--spacing-lg);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--white);
  padding: var(--spacing-md);
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--spacing-md);
}

.cookie-banner p {
  margin-bottom: 0;
  flex: 1;
}

.cookie-banner .cookie-actions {
  display: flex;
  gap: var(--spacing-sm);
}

/* ======= Back to Top Button ======= */
#back-to-top {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--white);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  border: none;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-medium);
  z-index: 99;
}

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

#back-to-top:hover {
  background-color: var(--primary-dark);
  transform: translateY(-5px);
}

/* ======= Menu Page Styles ======= */
.menu-page {
  padding-top: 70px;
}

.page-header {
  background-color: var(--primary);
  color: var(--white);
  padding: var(--spacing-xxl) 0;
  text-align: center;
}

.page-title {
  color: var(--white);
  margin-bottom: var(--spacing-sm);
}

.page-subtitle {
  color: var(--white);
  opacity: 0.9;
  font-size: 1.2rem;
}

.menu-content {
  padding: var(--spacing-xxl) 0;
}

/* Hide legacy tab UI when digital menu is present */
.menu-page #digital-menu ~ .menu-tabs,
.menu-page #digital-menu ~ .menu-categories {
  display: none;
}

.menu-page .menu-item {
  background: var(--white);
  border: 1px solid var(--gray-light);
}

.menu-page .item-header .item-price {
  background: var(--secondary);
}

/* Enhanced Menu Navigation - Non-sticky */
.menu-navigation {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-xl);
  position: relative;
  z-index: 90;
  background-color: rgba(255, 255, 255, 0.98);
  padding: var(--spacing-md) 0;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.menu-nav-item {
  padding: var(--spacing-sm) var(--spacing-lg);
  background-color: var(--white);
  border: 2px solid var(--gray-light);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-medium);
  font-weight: 600;
  color: var(--text-medium);
  text-align: center;
  position: relative;
}

.menu-nav-item:hover {
  background-color: var(--primary-light);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.menu-nav-item.active {
  background-color: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(142, 68, 173, 0.2);
}

.menu-nav-item.active::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid var(--primary);
}

.menu-category {
  display: none;
  margin-bottom: var(--spacing-xl);
}

.menu-category.active {
  display: block;
}

.category-title {
  margin-bottom: var(--spacing-md);
  color: var(--primary);
  font-size: 1.8rem;
}

.category-note {
  margin-bottom: var(--spacing-lg);
  padding: var(--spacing-md);
  background-color: var(--secondary-light);
  border-radius: var(--radius-md);
  font-style: italic;
  color: var(--text-medium);
}

.menu-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
}

.menu-item {
  background-color: var(--white);
  padding: var(--spacing-lg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform var(--transition-medium),
    box-shadow var(--transition-medium);
  border-left: 3px solid var(--primary-light);
}

/* Grid-spanning category breaks (non-card headings) */
.menu-break {
  grid-column: 1 / -1;
  margin-top: var(--spacing-xxl);
  padding-top: var(--spacing-lg);
  border-top: 2px solid var(--gray-light);
  position: relative;
  scroll-margin-top: 150px; /* For smooth scrolling with sticky nav */
}

.menu-break:first-child {
  border-top: none;
  margin-top: 0;
}

.menu-break .category-title {
  margin-bottom: var(--spacing-md);
  font-size: 2.2rem;
  position: relative;
  display: inline-block;
}

.menu-break .category-title::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 60%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), transparent);
}

.menu-break .category-note {
  margin-bottom: var(--spacing-md);
  padding: var(--spacing-md);
  background-color: var(--secondary-light);
  border-radius: var(--radius-md);
  color: var(--text-medium);
}

.menu-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md), 0 0 20px rgba(142, 68, 173, 0.2);
  border-left: 3px solid var(--primary);
  animation: purpleGlow 0.6s ease-in-out;
}

.item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--spacing-sm);
  border-bottom: 1px dashed var(--gray-light);
  padding-bottom: var(--spacing-sm);
}

.item-title {
  margin: 0;
  font-size: 1.2rem;
  color: var(--primary);
  font-weight: 700;
}

.item-price {
  background-color: var(--primary);
  color: var(--white);
  padding: 4px 12px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 2px 4px rgba(142, 68, 173, 0.2);
}

.item-description {
  margin-bottom: var(--spacing-sm);
  color: var(--text-medium);
  font-size: 0.95rem;
  line-height: 1.5;
}

.item-badge {
  display: inline-block;
  padding: 2px 8px;
  background-color: var(--success);
  color: var(--white);
  font-size: 0.8rem;
  border-radius: var(--radius-full);
  font-weight: 600;
}

.menu-footer {
  margin-top: var(--spacing-xxl);
  text-align: center;
}

.menu-note {
  font-style: italic;
  color: var(--text-medium);
  margin-bottom: var(--spacing-lg);
}

/* ======= Responsive Styles ======= */
@media (max-width: 1200px) {
  .container {
    max-width: 1000px;
  }
}

@media (max-width: 992px) {
  .container {
    max-width: 90%;
  }

  .hero-title {
    font-size: 3rem;
  }

  .hero-subtitle {
    font-size: 1.3rem;
  }

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

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

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

  .about-slider-container,
  .event-slider-container {
    margin-bottom: var(--spacing-lg);
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }

  /* Ensure navbar is properly positioned */
  .navbar {
    top: 0; /* Position at the top of the page */
    padding: 12px 0; /* Remove horizontal padding */
    width: 100%;
    overflow: visible; /* Ensure elements don't get clipped */
  }

  .navbar .container {
    padding: 8px 10px; /* Add some horizontal padding */
    position: relative; /* Ensure proper positioning context */
    min-height: 70px;
  }

  /* Logo adjustments for mobile */
  .logo {
    padding: 4px 6px;
  }

  .logo img {
    width: 55px;
    height: 55px;
    filter: drop-shadow(0 3px 8px rgba(142, 68, 173, 0.25));
  }

  /* Enhanced mobile navbar */
  .navbar {
    background: linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.98),
      rgba(252, 248, 254, 0.98)
    );
    border-bottom: 2px solid rgba(142, 68, 173, 0.15);
    box-shadow: 0 2px 15px rgba(142, 68, 173, 0.1);
  }

  /* Hide desktop navigation */
  .nav-menu {
    display: none;
  }

  /* Show mobile navigation */
  .nav-toggle {
    display: block;
  }

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

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: var(--spacing-sm);
  }

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

  .menu-images {
    flex-direction: column;
    align-items: center;
  }

  .menu-image {
    width: 100%;
    max-width: 400px;
  }

  .menu-actions {
    flex-direction: column;
  }

  .social-buttons {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
  }

  .social-btn {
    width: 100%;
  }

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

  .footer-nav h3::after,
  .footer-hours h3::after,
  .footer-contact h3::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-nav,
  .footer-hours,
  .footer-contact {
    text-align: center;
  }

  .footer-contact p {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }

  #back-to-top {
    bottom: 20px;
    left: 20px;
    width: 40px;
    height: 40px;
  }

  .menu-tabs {
    flex-direction: column;
    align-items: center;
  }

  .menu-tab {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }

  /* Enhanced mobile navigation styles */
  .nav-menu {
    display: block;
  }

  /* Improve touch targets */
  .nav-link {
    min-height: 48px;
    display: flex;
    align-items: center;
    touch-action: manipulation;
  }

  /* Better touch interactions for buttons */
  .btn {
    min-height: 44px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(142, 68, 173, 0.2);
  }

  .btn:active {
    transform: scale(0.98);
  }

  /* Menu navigation touch improvements */
  .menu-nav-item {
    min-height: 44px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(142, 68, 173, 0.2);
  }

  .menu-nav-item:active {
    transform: scale(0.95);
  }

  /* Better spacing for mobile */
  .nav-list li {
    margin: 0;
  }

  /* Ensure proper z-index stacking */
  .navbar {
    z-index: 1000;
  }

  .nav-menu {
    z-index: 1001;
  }

  .nav-toggle {
    z-index: 1002;
  }

  /* Improved menu navigation for mobile - Non-sticky */
  .menu-navigation {
    overflow-x: auto;
    padding: var(--spacing-sm) 0;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: var(--spacing-sm);
    position: relative;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
  }

  .menu-navigation::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
  }

  .menu-nav-item {
    white-space: nowrap;
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: 0.9rem;
  }

  /* Better menu item display on mobile */
  .menu-items {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }

  .menu-item {
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
    transition: all 0.3s ease;
  }

  .menu-item:active {
    transform: scale(0.98);
    box-shadow: 0 2px 8px rgba(142, 68, 173, 0.3);
  }

  .menu-break {
    scroll-margin-top: 120px;
  }

  .menu-break .category-title {
    font-size: 1.8rem;
  }

  /* Adjust hours and location section for mobile */
  .hours-info,
  .location-info {
    padding: var(--spacing-md);
    width: 100%;
    overflow-x: hidden;
  }

  .hours-list li {
    padding-right: var(--spacing-sm);
  }

  .day {
    flex: 1;
    min-width: 120px;
  }

  /* Improve contact form styling on mobile */
  .contact-form {
    padding: var(--spacing-md);
  }

  .social-connect {
    padding: var(--spacing-md);
  }

  .social-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .form-actions .btn {
    width: 100%;
    max-width: 200px;
  }

  .thumbnail {
    min-width: 50px;
    height: 38px;
  }

  /* Hide bottom thumbnails and adjust slider on mobile */
  .slider-thumbnails {
    display: none;
  }
  .about-slider,
  .event-slider {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }

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

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

  .info-card {
    padding: var(--spacing-md);
  }

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

  /* Make hours display better on tiny screens */
  .hours-list li {
    flex-direction: column;
    align-items: flex-start;
  }

  .time {
    margin-top: 2px;
  }

  .thumbnail {
    min-width: 40px;
    height: 30px;
  }

  .slide-caption {
    font-size: 0.8rem;
    padding: 8px 10px;
  }

  /* Further improve contact form on smaller screens */
  .info-card {
    margin-left: auto;
    margin-right: auto;
    max-width: 90%;
  }

  .form-control {
    font-size: 16px; /* Prevent zoom on input focus on iOS */
  }

  /* Make sliders taller on very small screens for better viewing */
  .about-slider,
  .event-slider {
    aspect-ratio: 1 / 1;
  }

  /* Enhanced mobile menu interactions */
  .menu-item {
    -webkit-tap-highlight-color: rgba(142, 68, 173, 0.1);
    touch-action: manipulation;
  }

  /* Better mobile scrolling */
  .menu-navigation {
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
  }

  /* Improved mobile menu footer */
  .menu-footer {
    padding: var(--spacing-lg) var(--spacing-md);
  }

  .menu-footer .btn {
    width: 100%;
    max-width: 300px;
    margin: var(--spacing-sm) auto;
  }
}

/* Contact page top padding to account for fixed header */
.contact-page {
  padding-top: 70px;
}
