    /* --- Enhanced color palette for restaurant theme --- */
    :root {
      --primary: black;
      --primary-dark: black;
      --secondary: black;
      --dark: #2d3436;
      --light: #f8f9fa;
      --accent: white;
      --shadow-light: 0 6px 15px rgba(214, 48, 49, 0.15);
      --shadow-hover: 0 12px 25px rgba(214, 48, 49, 0.3);
      --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    }

    /* --- Body refinements --- */
    body {
      background-color: var(--light, #f9faff);
      color: var(--dark);
      font-feature-settings: "liga", "calt";
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    }

    /* --- Logo Splash Screen --- */
    .logo-splash {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, var(--secondary) 100%);
      background-size: 400% 400%;
      animation: gradientShift 8s ease infinite;
      display: flex;
      justify-content: center;
      align-items: center;
      z-index: 9999;
      transition: opacity 0.5s ease-out;
    }

    .logo-splash.hidden {
      opacity: 0;
      pointer-events: none;
    }

    .splash-content {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 2rem;
    }

    .logo-container {
      animation: logoPulse 2s ease-in-out infinite;
    }

    @keyframes logoPulse {
      0%, 100% { transform: scale(1); }
      50% { transform: scale(1.05); }
    }

    .splash-logo {
      width: 120px;
      height: 120px;
      border-radius: 50%;
      object-fit: cover;
      box-shadow: 0 8px 25px rgba(108, 92, 231, 0.3);
      border: 4px solid white;
      animation: logoGlow 2s ease-in-out infinite;
    }

    @keyframes logoGlow {
      0%, 100% { box-shadow: 0 8px 25px rgba(108, 92, 231, 0.3); }
      50% { box-shadow: 0 8px 35px rgba(108, 92, 231, 0.6); }
    }

    .loading-container {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 1rem;
      width: 200px;
    }

    .loading-bar {
      width: 100%;
      height: 4px;
      background: rgba(255, 255, 255, 0.2);
      border-radius: 2px;
      overflow: hidden;
    }

    .loading-progress {
      height: 100%;
      background: white;
      border-radius: 2px;
      animation: loadingProgress 3s ease-out forwards;
    }

    @keyframes loadingProgress {
      0% { width: 0%; }
      100% { width: 100%; }
    }

    .loading-text {
      color: white;
      font-size: 0.9rem;
      font-weight: 500;
      margin: 0;
      animation: textFade 1.5s ease-in-out infinite;
    }

    @keyframes textFade {
      0%, 100% { opacity: 0.7; }
      50% { opacity: 1; }
    }
   

 /* --- Enhanced Header with Premium Logo & Info Layout --- */
.hero-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 40%, var(--secondary) 100%);
  background-size: 400% 400%;
  animation: gradientShift 8s ease infinite;
  padding: 1.75rem 1rem;
  border-radius: 0 0 32px 32px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  margin-bottom: 2rem;
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.75rem;
  position: relative;
  z-index: 2;
}

/* Enhanced Logo Section */
.logo-section {
  flex-shrink: 0;
  position: relative;
}

.restaurant-logo {
  width: 90px;
  height: 90px;
  border-radius: 22px;
  object-fit: cover;
  border: 4px solid rgba(255, 255, 255, 0.35);
  box-shadow: 
    0 12px 30px rgba(0, 0, 0, 0.25),
    inset 0 2px 8px rgba(255, 255, 255, 0.3);
  background: linear-gradient(145deg, #ffffff, #f0f0f0);
  padding: 0.5rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.restaurant-logo::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
  border-radius: 18px;
  z-index: 1;
}

.restaurant-logo:active {
  transform: scale(0.92);
  box-shadow: 
    0 6px 20px rgba(0, 0, 0, 0.2),
    inset 0 1px 4px rgba(255, 255, 255, 0.2);
}

/* Enhanced Info Section */
.info-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Timepass Section */
.timepass-section {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.timepass-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: 16px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(20px);
  -webkit-tap-highlight-color: transparent;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.timepass-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transition: left 0.6s ease;
}

.timepass-btn:hover::before {
  left: 100%;
}

.timepass-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.timepass-btn i {
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.timepass-btn:hover i {
  transform: scale(1.1);
}

/* Mobile positioning for timepass button */
@media (max-width: 768px) {
  .timepass-btn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
    padding: 0.75rem 1.25rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary);
    border: 2px solid var(--primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  }

  .timepass-btn:hover {
    transform: none;
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
  }

  .timepass-btn i {
    font-size: 1.1rem;
  }
}

.restaurant-name {
  font-size: 2rem;
  font-weight: 900;
  color: white;
  margin: 0;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-shadow: 
    0 4px 12px rgba(0, 0, 0, 0.3),
    0 2px 4px rgba(0, 0, 0, 0.2);
  background: linear-gradient(135deg, #ffffff, #e8f4ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  display: inline-block;
}

.restaurant-name::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
  border-radius: 2px;
}

.restaurant-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  backdrop-filter: blur(20px);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  -webkit-tap-highlight-color: transparent;
  position: relative;
  overflow: hidden;
}

.info-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transition: left 0.6s ease;
}

.info-item:active::before {
  left: 100%;
}

.info-item:active {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(2px);
  border-color: rgba(255, 255, 255, 0.35);
}

.info-item i {
  font-size: 1.3rem;
  color: var(--accent);
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.25));
  flex-shrink: 0;
  width: 24px;
  text-align: center;
  transition: transform 0.3s ease;
}

.info-item:active i {
  transform: scale(1.1);
}

.info-item span {
  color: white;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Enhanced Decorative Elements */
.header-decoration {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  opacity: 0.15;
  background-image: 
    radial-gradient(circle at 15% 25%, var(--accent) 0%, transparent 35%),
    radial-gradient(circle at 85% 75%, var(--secondary) 0%, transparent 35%),
    radial-gradient(circle at 50% 50%, rgba(255,255,255,0.3) 0%, transparent 50%);
  animation: pulse 6s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.1; transform: scale(1); }
  50% { opacity: 0.2; transform: scale(1.05); }
}

/* Floating Elements */
.floating-element {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.floating-element:nth-child(1) {
  width: 80px;
  height: 80px;
  top: 10%;
  left: 5%;
  animation-delay: 0s;
}

.floating-element:nth-child(2) {
  width: 60px;
  height: 60px;
  bottom: 15%;
  right: 8%;
  animation-delay: 2s;
}

.floating-element:nth-child(3) {
  width: 40px;
  height: 40px;
  top: 40%;
  right: 12%;
  animation-delay: 4s;
}

@keyframes float {
  0%, 100% { 
    transform: translateY(0) rotate(0deg) scale(1); 
  }
  33% { 
    transform: translateY(-20px) rotate(120deg) scale(1.1); 
  }
  66% { 
    transform: translateY(10px) rotate(240deg) scale(0.9); 
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .hero-header {
    padding: 1rem 1rem;
    border-radius: 0 0 24px 24px;
  }
  
  .header-content {
    gap: 1.25rem;
  }
  
  .restaurant-logo {
    width: 75px;
    height: 75px;
    border-radius: 18px;
  }
  
  .restaurant-name {
    font-size: 1.6rem;
  }
  
  .restaurant-name::after {
    width: 40px;
    height: 2px;
    bottom: -6px;
  }
  
  .info-item {
    padding: 0.875rem 1rem;
    gap: 0.875rem;
  }
  
  .info-item i {
    font-size: 1.2rem;
  }
  
  .info-item span {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .header-content {
    gap: 1rem;
  }
  
  .restaurant-logo {
    width: 65px;
    height: 65px;
    border-radius: 16px;
    border-width: 3px;
  }
  
  .restaurant-name {
    font-size: 1.4rem;
  }
  
  .restaurant-info {
    gap: 0.75rem;
  }
  
  .info-item {
    padding: 0.75rem 0.875rem;
    gap: 0.75rem;
  }
  
  .info-item i {
    font-size: 1.1rem;
  }
  
  .info-item span {
    font-size: 0.9rem;
  }
}

/* Desktop Enhancements */
@media (min-width: 769px) {
  .hero-header {
    padding: 2.5rem 2rem;
    border-radius: 0 0 40px 40px;
    margin-bottom: 2.5rem;
  }
  
  .header-content {
    gap: 2.5rem;
  }
  
  .restaurant-logo {
    width: 120px;
    height: 120px;
    border-radius: 26px;
  }
  
  .restaurant-logo:hover {
    transform: translateY(-5px) rotate(2deg);
    box-shadow: 
      0 20px 40px rgba(0, 0, 0, 0.3),
      inset 0 4px 12px rgba(255, 255, 255, 0.4);
  }
  
  .restaurant-name {
    font-size: 2.75rem;
  }
  
  .restaurant-name::after {
    width: 80px;
    height: 4px;
  }
  
  .restaurant-info {
    flex-direction: row;
    gap: 1.5rem;
  }
  
  .info-item {
    flex: 1;
    min-width: 200px;
  }
  
  .info-item:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.35);
  }
  
  .info-item:hover i {
    transform: scale(1.2);
  }
}

/* Large desktop */
@media (min-width: 1200px) {
  .restaurant-name {
    font-size: 3.25rem;
  }
  
  .restaurant-logo {
    width: 140px;
    height: 140px;
    border-radius: 30px;
  }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
  .restaurant-logo:hover {
    transform: none;
  }
  
  .info-item:hover {
    transform: none;
    background: rgba(255, 255, 255, 0.15);
  }
  
  .info-item:hover i {
    transform: none;
  }
}
    /* --- Menu Controls --- */
    .menu-controls {
      margin: 1.75rem auto 2.5rem;
      max-width: 1200px;
      padding: 1rem 2rem;
      border-radius: 18px;
      box-shadow: var(--shadow-light);
      background-color: #fff;
      transition: box-shadow 0.35s ease;
      user-select: none;
    }

    /* --- Search Container --- */
    .search-container {
      margin-bottom: 1.5rem;
      width: 100%;
    }

    .search-input-wrapper {
      position: relative;
      display: flex;
      align-items: center;
      width: 100%;
      max-width: 400px;
      margin: 0 auto;
    }

    .search-icon {
      position: absolute;
      left: 1rem;
      color: var(--primary);
      font-size: 1rem;
      z-index: 2;
      pointer-events: none;
      transition: color 0.3s ease;
    }

    .search-input {
      width: 100%;
      padding: 0.75rem 3rem 0.75rem 2.5rem;
      border: 2.5px solid var(--primary);
      border-radius: 50px;
      font-size: 1rem;
      font-weight: 500;
      color: var(--dark);
      background-color: white;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      outline: none;
      box-sizing: border-box;
    }

    .search-input:focus {
      border-color: var(--primary-dark);
      box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.1);
      background-color: #f8f9ff;
    }

    .search-input::placeholder {
      color: #999;
      font-weight: 400;
    }

    .clear-search-btn {
      position: absolute;
      right: 0.75rem;
      background: none;
      border: none;
      color: #999;
      font-size: 0.9rem;
      cursor: pointer;
      padding: 0.5rem;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.2s ease;
      opacity: 0;
      transform: scale(0.8);
      z-index: 2;
    }

    .search-input:not(:placeholder-shown) + .clear-search-btn {
      opacity: 1;
      transform: scale(1);
    }

    .clear-search-btn:hover {
      background-color: rgba(108, 92, 231, 0.1);
      color: var(--primary);
    }

    .clear-search-btn:active {
      transform: scale(0.9);
    }

    /* Tablet menu controls */
    @media (max-width: 992px) {
      .menu-controls {
        margin: 1.25rem auto 2rem;
        padding: 1rem 1.5rem;
        border-radius: 15px;
        top: 12px;
      }
    }

    /* Mobile menu controls */
    @media (max-width: 768px) {
      .menu-controls {
        margin: 0.75rem auto 1.25rem;
        padding: 0.5rem 0.75rem;
        border-radius: 10px;
        top: 8px;
        box-shadow: 0 2px 8px rgba(108, 92, 231, 0.2);
      }

    /* Small mobile screens */
    @media (max-width: 480px) {
      .menu-controls {
        margin: 0.5rem auto 1rem;
        padding: 0.75rem 0.5rem;
        border-radius: 8px;
        top: 5px;
      }
    }

    .menu-controls.scrolled {
      box-shadow: var(--shadow-hover);
    }

    #category-filter {
      width: 100%;
      max-width: 320px;
      border-radius: 50px;
      border: 2.5px solid var(--primary);
      padding: 0.6rem 1.5rem;
      font-weight: 700;
      font-size: 1.05rem;
      color: var(--primary-dark);
      background-color: white;
      cursor: pointer;
      appearance: none;
      background-image: url("data:image/svg+xml;charset=US-ASCII,%3csvg xmlns='http://www.w3.org/2000/svg' width='18' height='12' viewBox='0 0 18 12'%3e%3cpath fill='none' stroke='%236c5ce7' stroke-width='3' d='M2 2l7 7 7-7'/%3e%3c/svg%3e");
      background-repeat: no-repeat;
      background-position: right 1rem center;
      background-size: 18px 12px;
      transition: color 0.3s, box-shadow 0.3s;
    }
    #category-filter:hover,
    #category-filter:focus {
      background-color: var(--primary);
      color: white;
      box-shadow: 0 0 15px var(--primary);
      outline: none;
    }

    /* --- Menu Grid --- */
    .menu-grid {
      max-width: 1200px;
      margin: 0 auto 3.5rem;
      padding: 0 1.25rem;
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
      gap: 1.5rem;
      transition: all 0.4s ease;
    }

    /* --- Menu Card --- */
    .menu-card {
      background: #fff;
      border-radius: 18px;
      overflow: hidden;
      box-shadow: var(--shadow-light);
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      height: 100%;
      cursor: pointer;
      user-select: none;
      transition: var(--transition);
      animation: fadeInUp 0.4s ease forwards;
      opacity: 0;
      position: relative;
    }

    .menu-card:hover,
    .menu-card:focus-within {
      box-shadow: var(--shadow-hover);
      transform: translateY(-8px);
      outline: none;
    }

    .card-image {
      width: 100%;
      height: 190px;
      border-bottom-left-radius: 18px;
      border-bottom-right-radius: 18px;
      object-fit: cover;
      transition: transform 0.35s ease;
      user-select: none;
    }
    .menu-card:hover .card-image {
      transform: scale(1.08);
    }

    /* Overlay */
    .image-overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(108, 92, 231, 0.55);
      color: white;
      opacity: 0;
      font-weight: 700;
      display: flex;
      justify-content: center;
      align-items: center;
      font-size: 1.1rem;
      border-radius: 18px;
      cursor: pointer;
      transition: opacity 0.35s ease;
      user-select: none;
    }
    .menu-card:hover .image-overlay,
    .menu-card:focus-within .image-overlay {
      opacity: 0.9;
    }

    /* Card body */
    .card-body {
      padding: 1.5rem 2rem 2rem;
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
      justify-content: flex-start;
      flex-grow: 1;
      user-select: text;
    }

    .item-name {
      font-size: clamp(1.2rem, 2.8vw, 1.45rem);
      font-weight: 900;
      color: var(--dark);
      margin-bottom: 0.5rem;
      line-height: 1.3;
      letter-spacing: 0.03em;
    }

    .item-description {
      color: #555;
      font-size: clamp(0.875rem, 1.3vw, 1rem);
      min-height: 48px;
      flex-grow: 1;
      margin-bottom: 1rem;
    }

    .item-price {
      font-size: clamp(1.1rem, 2.3vw, 1.35rem);
      font-weight: 900;
      color: var(--primary-dark);
      white-space: nowrap;
      margin-bottom: 0.3rem;
      letter-spacing: 0.05em;
    }

    /* Featured badge */
    .featured-badge {
      position: absolute;
      top: 14px;
      right: 14px;
      background: var(--accent);
      color: var(--dark);
      padding: 0.35rem 1rem;
      border-radius: 50px;
      font-size: 0.85rem;
      font-weight: 900;
      box-shadow: 0 0 10px rgba(255, 209, 102, 0.75);
      pointer-events: none;
      user-select: none;
      z-index: 11;
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }

    /* Favorite button positioned on the right */
    .menu-card .favorite-btn {
      position: absolute;
      top: 8px;
      right: 40px;
      background: none;
      border: none;
      font-size: 1.2rem;
      color: #aaa;
      cursor: pointer;
      z-index: 2;
      transition: color 0.2s ease;
    }

    .menu-card .favorite-btn.favorited {
      color: var(--primary);
    }

    /* Favorite button positioned on the right */
    .menu-card .favorite-btn {
      position: absolute;
      top: 8px;
      right: 40px;
      background: none;
      border: none;
      font-size: 1.2rem;
      color: #aaa;
      cursor: pointer;
      z-index: 2;
      transition: color 0.2s ease;
    }

    .menu-card .favorite-btn.favorited {
      color: var(--primary);
    }

  

    /* Availability badges */
    .availability {
      display: inline-block;
      padding: 0.4rem 0.9rem;
      border-radius: 50px;
      font-size: 0.9rem;
      font-weight: 700;
      margin-top: 0.6rem;
      user-select: none;
      white-space: nowrap;
      box-shadow: 0 0 7px rgba(0, 0, 0, 0.12);
      transition: background-color 0.3s ease, color 0.3s ease;
      text-transform: capitalize;
    }
    .available {
      background: #d3eed4;
      color: #1b4d27;
      box-shadow: 0 0 10px rgba(31, 117, 41, 0.3);
    }
    .unavailable {
      background: #f3c6c9;
      color: #881b1c;
      box-shadow: 0 0 10px rgba(136, 27, 28, 0.3);
    }
    .seasonal {
      background: #fff7d6;
      color: #695f12;
      box-shadow: 0 0 10px rgba(124, 115, 0, 0.3);
    }

    /* Loading Spinner */
    .loading-spinner {
      padding: 3.5rem 0;
      color: var(--primary-dark);
      text-align: center;
    }

    /* Section Titles and container */
    .menu-section {
      margin-bottom: 3.75rem;
      max-width: 1200px;
      margin-left: auto;
      margin-right: auto;
      padding-left: 1.5rem;
      padding-right: 1.5rem;
      user-select: none;
    }
    .section-title {
      font-weight: 900;
      font-size: clamp(1.4rem, 3.5vw, 1.75rem);
      color: var(--primary-dark);
      margin-bottom: 1.2rem;
      border-bottom: 4px solid var(--primary);
      padding-bottom: 0.3rem;
      letter-spacing: 0.07em;
      display: inline-block;
    }

    /* Focus accessibility */
    button:focus-visible,
    select:focus-visible,
    .favorite-btn:focus-visible,
    .menu-card:focus-within {
      outline-offset: 3px;
      outline-color: var(--primary);
      outline-style: solid;
      outline-width: 3px;
      transition: outline-offset 0.25s ease;
    }

    /* Animation */
    @keyframes fadeInUp {
      0% {
        opacity: 0;
        transform: translateY(25px);
      }
      100% {
        opacity: 1;
        transform: translateY(0);
      }
    }

    /* Responsive tweaks */
    @media (max-width: 992px) {
      .menu-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
      }
      .card-image {
        height: 165px;
      }
    }
    @media (max-width: 576px) {
      .menu-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem 2rem;
      }
      .card-image {
        height: 145px;
      }
      .restaurant-logo {
        width: 75px;
        height: 75px;
      }
      .restaurant-name {
        font-size: 1.75rem;
      }
      .restaurant-info {
        font-size: 0.9rem;
        gap: 1.0rem;
      }
      #category-filter {
        max-width: 100%;
        font-size: 1.2rem;
        padding: 0.75rem 1.5rem;
        border-radius: 16px;
      }
      .favorite-btn {
        padding: 10px;
        font-size: 1.6rem;
        top: 12px;
        left: 12px;
      }
    }

    /* Error message styling */
    .error-message {
      text-align: center;
      padding: 2rem;
      color: #dc3545;
    }
    .error-message i {
      font-size: 3rem;
      margin-bottom: 1rem;
    }
    .error-message h3 {
      margin-bottom: 1rem;
    }
    .error-message button {
      margin-top: 1.5rem;
    }

/* Modal Styles */
.category-modal,
.outlet-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 10000;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
    
    .category-modal.active,
    .outlet-modal.active {
      display: flex;
      opacity: 1;
    }

    .modal-content {
      background: white;
      border-radius: 16px;
      padding: 2rem;
      width: 90%;
      max-width: 500px;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
      transform: translateY(20px);
      transition: transform 0.3s ease;
    }

    .category-modal.active .modal-content,
    .outlet-modal.active .modal-content {
      transform: translateY(0);
    }
    
    .modal-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 1.5rem;
      padding-bottom: 1rem;
      border-bottom: 1px solid #eee;
    }
    
    .modal-title {
      font-size: 1.5rem;
      font-weight: 700;
      color: #1d3557;
      margin: 0;
    }
    
    .close-modal {
      background: none;
      border: none;
      font-size: 1.5rem;
      cursor: pointer;
      color: #8d99ae;
      transition: color 0.2s;
    }
    
    .close-modal:hover {
      color: #e63946;
    }
    
    .category-list {
      list-style: none;
      padding: 0;
      margin: 0;
      max-height: 60vh;
      overflow-y: auto;
    }
    
    .category-item {
      padding: 1rem;
      border-radius: 8px;
      margin-bottom: 0.5rem;
      cursor: pointer;
      transition: all 0.2s ease;
      display: flex;
      align-items: center;
      border: 1px solid transparent;
    }
    
    .category-item:hover {
      background-color: rgba(var(--primary), 0.1);
      transform: translateX(5px);
    }

    .category-item.active {
      background-color: var(--primary);
      color: white;
      border-color: var(--primary-dark);
    }
    
    .category-icon {
      margin-right: 1rem;
      font-size: 1.2rem;
      width: 24px;
      text-align: center;
    }
    
    /* Mobile Responsiveness */
    @media (max-width: 768px) {
      .desktop-only {
        display: none !important;
      }
      
      .modal-content {
        padding: 1.5rem;
        margin: 1rem;
      }
      
      .modal-title {
        font-size: 1.3rem;
      }
      
      .category-item {
        padding: 0.8rem;
      }
    }
    
    @media (min-width: 769px) {
      .mobile-only {
        display: none !important;
      }
    }

    #category-modal-btn {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  border: none;
  border-radius: 12px;
  padding: 0.8rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

#category-modal-btn::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: all 0.5s ease;
}

#category-modal-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

#category-modal-btn:hover::before {
  left: 100%;
}

#category-modal-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#category-modal-btn i {
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

#category-modal-btn:hover i {
  transform: rotate(15deg);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  #category-modal-btn {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    border-radius: 10px;
  }
}

/* Sort Button Styles */
.sort-btn {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  border: none;
  border-radius: 12px;
  padding: 0.8rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-left: 1rem;
}

.sort-btn::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: all 0.5s ease;
}

.sort-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.sort-btn:hover::before {
  left: 100%;
}

.sort-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.sort-btn i {
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.sort-btn:hover i {
  transform: scale(1.1);
}

.sort-btn-mobile {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  border: none;
  border-radius: 12px;
  padding: 0.75rem 1rem;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-left: 0.5rem;
  min-height: 44px; /* Better touch target */
}

.sort-btn-mobile::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: all 0.5s ease;
}

.sort-btn-mobile:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.sort-btn-mobile:hover::before {
  left: 100%;
}

.sort-btn-mobile:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.sort-btn-mobile i {
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.sort-btn-mobile:hover i {
  transform: scale(1.1);
}

/* Mobile responsiveness for sort buttons */
@media (max-width: 768px) {
  .sort-btn {
    margin-left: 0.5rem;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }

  .sort-btn-mobile {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }
}

/* Food Type Toggle Styles */
.food-type-toggle {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.toggle-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: 2px solid var(--primary);
  background: white;
  color: var(--primary);
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.toggle-btn:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(108, 92, 231, 0.3);
}

.toggle-btn[aria-pressed="true"] {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 12px rgba(108, 92, 231, 0.3);
}

.toggle-btn[data-type="veg"] .food-type-indicator.veg {
  background: #4CAF50;
  color: white;
  border-radius: 50%;
  width: 10px;
  height: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
}

.toggle-btn[data-type="non-veg"] .food-type-indicator.non-veg {
  background: #F44336;
  color: white;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
}

.toggle-btn[aria-pressed="true"][data-type="veg"] .food-type-indicator.veg {
  background: white;
  color: #4CAF50;
}

.toggle-btn[aria-pressed="true"][data-type="non-veg"] .food-type-indicator.non-veg {
  background: white;
  color: #F44336;
}

/* Food Type Indicators for Menu Items */
.food-type-indicator.veg {
  background: linear-gradient(135deg, #4CAF50, #45a049);
  color: white;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: bold;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 2px 6px rgba(76, 175, 80, 0.4);
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  transition: all 0.3s ease;
}

.food-type-indicator.veg:hover {
  transform: scale(1.1);
  box-shadow: 0 3px 8px rgba(76, 175, 80, 0.6);
}

.food-type-indicator.non-veg {
  background: linear-gradient(135deg, #F44336, #d32f2f);
  color: white;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: bold;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 2px 6px rgba(244, 67, 54, 0.4);
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  transition: all 0.3s ease;
}

.food-type-indicator.non-veg:hover {
  transform: scale(1.1);
  box-shadow: 0 3px 8px rgba(244, 67, 54, 0.6);
}

/* Item Header Styles */
.item-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

/* Mobile responsiveness for food type toggle */
@media (max-width: 768px) {
  .food-type-toggle {
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .toggle-btn {
    padding: 0.05rem 0.2rem;
    font-size: 0.9rem;
    min-height: 16px; /* Minimum touch target */
    border-radius: 8px;
    flex: 1;
    min-width: 90px;
    max-width: 60px;
  }

  .toggle-btn .food-type-indicator {
    width: 2px;
    height: 2px;
    font-size: 2px;
  }

  .food-type-indicator.veg,
  .food-type-indicator.non-veg {
    width: 18px;
    height: 18px;
    font-size: 8px;
    border-width: 1px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  }
}

/* Focus state for accessibility */
#category-modal-btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.3);
}

/* Animation for when the button is clicked */
#category-modal-btn.clicked {
  animation: buttonClick 0.4s ease;
}

@keyframes buttonClick {
  0% { transform: scale(1); }
  50% { transform: scale(0.95); }
  100% { transform: scale(1); }
}

.menu-row-card {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 20px;
  border-radius: 16px;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
  margin-bottom: 20px;
  box-shadow:
    0 4px 20px rgba(108, 92, 231, 0.08),
    0 2px 8px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(108, 92, 231, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.menu-row-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.menu-row-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow:
    0 12px 40px rgba(108, 92, 231, 0.15),
    0 6px 20px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  border-color: rgba(108, 92, 231, 0.2);
}

.menu-row-card:hover::before {
  opacity: 1;
}

.menu-row-card .row-image {
  flex-shrink: 0;
  position: relative;
}

.menu-row-card .row-image img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 10px;
}

.menu-row-card .featured-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 6px;
}

.menu-row-card .row-content {
  flex: 1;
}

.menu-row-card .item-name {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--dark);
}

.menu-row-card .item-description {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 10px;
}

.menu-row-card .row-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
}

.menu-row-card .item-price {
  font-weight: bold;
  color: var(--primary);
}

.menu-row-card .availability {
  font-size: 0.8rem;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: capitalize;
}

.menu-row-card .availability.available {
  background: #e6f9ec;
  color: #1a7f37;
}

.menu-row-card .availability.unavailable {
  background: #ffe6e6;
  color: #cc0000;
}

.menu-row-card .availability.seasonal {
  background: #fff7e6;
  color: #b36b00;
}

.menu-row-card .favorite-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 1.2rem;
  color: #aaa;
  transition: color 0.2s;
  z-index: 2;
}

.menu-row-card .favorite-btn.favorited {
  color: var(--primary);
}

.preparation-time {
  font-size: 0.85rem;
  color: #666;
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 500;
}

.preparation-time i {
  color: var(--primary);
}

.menu-row-list {
  display: flex;
  flex-direction: column;
}
.menu-row-list .menu-row-card {
  margin-bottom: 1rem;
}

/* Compact card styles for text-only view */
.menu-row-card.compact {
  padding: 1rem;
  flex-direction: column;
  gap: 0.75rem;
}

.menu-row-card.compact .row-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.menu-row-card.compact .item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.menu-row-card.compact .item-name {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  flex: 1;
}

.menu-row-card.compact .item-description {
  margin: 0;
  font-size: 0.9rem;
  color: #666;
  line-height: 1.4;
}

.menu-row-card.compact .row-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.menu-row-card.compact .item-price {
  font-size: 1rem;
  font-weight: 800;
  color: var(--primary-dark);
}

.menu-row-card.compact .availability {
  font-size: 0.8rem;
  padding: 0.25rem 0.5rem;
  border-radius: 12px;
}

.menu-row-card.compact .preparation-time {
  font-size: 0.8rem;
  color: #888;
}

.menu-row-card.compact .favorite-btn {
  margin-left: auto;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 1.1rem;
  color: #aaa;
  transition: color 0.2s;
  padding: 0.25rem;
}

.menu-row-card.compact .favorite-btn.favorited {
  color: var(--primary);
}

.menu-row-card.compact .food-type-indicator {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  font-size: 10px;
  font-weight: bold;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Card end icons for compact view */
.card-end-icons {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.menu-row-card.compact .card-end-icons {
  position: static;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  justify-content: flex-end;
}

.menu-row-card.compact .row-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.menu-row-card.compact .row-footer .food-type-indicator {
  margin-left: auto;
  order: 2;
}
/* Banner Carousel Styles */
.banner-carousel {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
  margin-bottom: 2rem;
}

.carousel-inner {
  width: 100%;
  height: 100%;
  position: relative;
}

.banner-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.banner-item.active {
  opacity: 1;
  z-index: 1;
}

.banner-caption {
  background: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 1rem 2rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  text-align: center;
  max-width: 80%;
}

.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  cursor: pointer;
  transition: background 0.3s;
}

.carousel-control:hover {
  background: rgba(0, 0, 0, 0.8);
}

.carousel-control.prev {
  left: 15px;
}

.carousel-control.next {
  right: 15px;
}

.carousel-indicators {
  position: absolute;
  bottom: 15px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 10;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}

.indicator.active {
  background: white;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .banner-carousel {
    height: 200px;
  }
  
  .banner-caption {
    padding: 0.5rem 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
  }
  
  .carousel-control {
    width: 30px;
    height: 30px;
  }
}

.featured-section {
  padding: 2rem 0;
  margin-bottom: 2rem;
  background: white;
}

.featured-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1rem;
  margin-bottom: 1.5rem;
}

.scroll-controls {
  display: flex;
  gap: 0.5rem;
}

.scroll-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--primary);
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.scroll-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.scroll-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
}

.featured-slider {
  position: relative;
  overflow: hidden;
  padding: 0.5rem;
}

.featured-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.5s ease;
}

.featured-item {
  min-width: 280px;
  flex-shrink: 0;
}

/* Hide scrollbar but allow scrolling */
.featured-slider {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.featured-slider::-webkit-scrollbar {
  display: none;
}

@media (max-width: 768px) {
  .featured-item {
    min-width: 220px;
  }
  
  .scroll-btn {
    width: 35px;
    height: 35px;
  }
}

/* --- Footer Styles --- */
.footer {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, var(--secondary) 100%);
  background-size: 200% 200%;
  animation: gradientShift 8s ease infinite;
  color: white;
  padding: 2rem 1rem 1.5rem;
  text-align: center;
  font-weight: 500;
  font-size: 0.9rem;
  user-select: none;
  position: relative;
  overflow: hidden;
  border-radius: 32px 32px 0 0;
  box-shadow: 0 -15px 40px rgba(0, 0, 0, 0.2);
  margin-top: 2rem;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.footer-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.footer-logo span {
  font-size: 1rem;
  font-weight: 700;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.footer-logo-img {
  width: 120px;
  height: 60px;
  object-fit: contain;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.footer-logo-img:hover {
  transform: scale(1.05);
}

.footer-text {
  margin: 0;
}

.footer-text p {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.footer-text a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.footer-text a:hover {
  color: white;
  text-decoration: underline;
}

.footer-links {
  display: flex;
  gap: 0.8rem;
}

.footer-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.footer-link:hover {
  background: white;
  color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Mobile responsiveness for footer */
@media (max-width: 768px) {
  .footer {
    padding: 0.875rem 0.75rem 4rem; /* Increased bottom padding to avoid overlap with fixed TIMEPASS button */
  }

  .footer-content {
    gap: 0.625rem;
  }

  .footer-logo-img {
    width: 45px;
  }

  .footer-text p {
    font-size: 0.8rem;
  }

  .footer-links {
    gap: 0.4rem;
  }

  .footer-link {
    width: 30px;
    height: 30px;
    font-size: 0.85rem;
  }
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  box-shadow: var(--shadow-light);
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.scroll-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
}

/* Show scroll-to-top button only on mobile */
@media (max-width: 768px) {
  .scroll-to-top {
    display: flex;
  }
}

/* Banner Modal Styles */
.banner-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 10000;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.banner-modal.active {
  display: flex;
  opacity: 1;
}

.banner-modal-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.banner-modal.active .banner-modal-content {
  transform: scale(1);
}

.close-banner-modal {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.close-banner-modal:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: scale(1.1);
}

.banner-image-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
}

.banner-image-container img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
}

/* Mobile responsiveness for banner modal */
@media (max-width: 768px) {
  .banner-modal-content {
    max-width: 95vw;
    max-height: 95vh;
  }

  .banner-image-container img {
    max-height: 70vh;
  }

  .close-banner-modal {
    width: 30px;
    height: 30px;
    font-size: 1rem;
  }
}
