/* ==========================================================================
   Re Leaf Resort Canteen Stylesheet
   ========================================================================== */

/* Page Background & Base Styles */
.canteen-body {
  background-color: #050505 !important;
  color: #f5f5f5 !important;
}

.canteen-section {
  position: relative;
  background-color: #050505;
  padding: 100px 0;
  overflow: hidden;
}

/* Gold Gradient text and details */
.text-gold {
  color: var(--theme-color1) !important;
}

.gold-gradient-bg {
  background: linear-gradient(135deg, #eac23c 0%, #b89218 100%);
}

.gold-border {
  border: 1px solid rgba(234, 194, 60, 0.2);
}

/* Glassmorphism Premium Base */
.glass-card {
  background: rgba(18, 18, 18, 0.6);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border: 1px solid rgba(234, 194, 60, 0.12);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.05);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.glass-card:hover {
  transform: translateY(-8px);
  border-color: rgba(234, 194, 60, 0.4);
  box-shadow: 0 20px 40px rgba(234, 194, 60, 0.08), 0 15px 35px rgba(0, 0, 0, 0.7);
}

/* 1. Hero Banner */
.canteen-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('../images/canteen-hero.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.canteen-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(10, 10, 10, 0.55) 100%);
  z-index: 1;
}

.canteen-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
}

.canteen-hero-sub {
  font-family: var(--heading-font-family);
  font-size: clamp(14px, 2vw, 20px);
  color: var(--theme-color1);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: inline-block;
}

.canteen-hero-title {
  font-family: var(--heading-font-family);
  font-size: clamp(48px, 8vw, 84px);
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 25px;
  font-weight: 500;
  text-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.canteen-hero-tagline {
  font-size: clamp(16px, 2.5vw, 24px);
  color: rgba(255, 255, 255, 0.85);
  font-weight: 300;
  letter-spacing: 2px;
  margin-bottom: 40px;
}

.canteen-hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons style */
.btn-canteen-primary {
  background: var(--theme-color1);
  color: #000000;
  font-family: var(--heading-font-family);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 2px;
  padding: 15px 35px;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--theme-color1);
  box-shadow: 0 8px 20px rgba(234, 194, 60, 0.2);
  transition: all 0.3s ease;
}

.btn-canteen-primary:hover {
  background: transparent;
  color: var(--theme-color1);
  box-shadow: 0 12px 24px rgba(234, 194, 60, 0.1);
  transform: translateY(-2px);
}

.btn-canteen-outline {
  background: transparent;
  color: #ffffff;
  font-family: var(--heading-font-family);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 2px;
  padding: 15px 35px;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.btn-canteen-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: #ffffff;
  transform: translateY(-2px);
}

/* 2. Why Choose Section */
.why-choose-card {
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.why-choose-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(234, 194, 60, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  border: 1px solid rgba(234, 194, 60, 0.2);
  color: var(--theme-color1);
  font-size: 28px;
  transition: all 0.4s ease;
}

.why-choose-card:hover .why-choose-icon {
  background: var(--theme-color1);
  color: #000;
  transform: scale(1.1) rotate(360deg);
}

.why-choose-card h3 {
  font-family: var(--heading-font-family);
  font-size: 24px;
  color: #ffffff;
  margin-bottom: 15px;
}

.why-choose-card p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 0;
}

/* 3. Food Categories Section */
.category-card {
  position: relative;
  height: 250px;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(234, 194, 60, 0.15);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.category-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}

.category-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.85) 100%);
  z-index: 1;
  transition: background 0.4s ease;
}

.category-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 25px;
  z-index: 2;
  transition: transform 0.4s ease;
}

.category-card:hover .category-bg {
  transform: scale(1.08);
}

.category-card:hover .category-overlay {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.95) 100%);
}

.category-card:hover {
  transform: translateY(-5px);
  border-color: var(--theme-color1);
  box-shadow: 0 15px 35px rgba(234, 194, 60, 0.12);
}

.category-title {
  font-family: var(--heading-font-family);
  font-size: 26px;
  color: #ffffff;
  margin-bottom: 8px;
  transition: color 0.3s ease;
}

.category-card:hover .category-title {
  color: var(--theme-color1);
}

.category-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.4;
  margin-bottom: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.4s ease;
}

.category-card:hover .category-desc {
  max-height: 60px;
  opacity: 1;
  margin-top: 5px;
}

/* Category Filter Tabs (Quick Switcher) */
.canteen-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 50px;
}

.canteen-tab-btn {
  background: rgba(18, 18, 18, 0.6);
  border: 1px solid rgba(234, 194, 60, 0.2);
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--heading-font-family);
  font-size: 16px;
  font-weight: 500;
  padding: 10px 24px;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.canteen-tab-btn:hover {
  border-color: var(--theme-color1);
  color: var(--theme-color1);
  background: rgba(234, 194, 60, 0.05);
}

.canteen-tab-btn.active {
  background: var(--theme-color1);
  border-color: var(--theme-color1);
  color: #000000;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(234, 194, 60, 0.25);
}

/* 4. Interactive Menu Grid */
.menu-grid-wrapper {
  min-height: 400px;
}

.menu-item-card {
  border-radius: 20px;
  overflow: hidden;
  background: rgba(18, 18, 18, 0.6);
  border: 1px solid rgba(234, 194, 60, 0.12);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.menu-item-card:hover {
  transform: translateY(-8px);
  border-color: rgba(234, 194, 60, 0.35);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 20px rgba(234, 194, 60, 0.05);
}

.menu-item-image-wrapper {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.menu-item-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.menu-item-card:hover .menu-item-image {
  transform: scale(1.06);
}

.menu-item-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(0, 0, 0, 0.75);
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 5px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.menu-item-badge.veg {
  color: #2ecc71;
}

.menu-item-badge.nonveg {
  color: #e74c3c;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.veg .badge-dot {
  background-color: #2ecc71;
}

.nonveg .badge-dot {
  background-color: #e74c3c;
}

.menu-item-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.menu-item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
  gap: 10px;
}

.menu-item-title {
  font-family: var(--heading-font-family);
  font-size: 22px;
  color: #ffffff;
  margin-bottom: 0;
  font-weight: 500;
  line-height: 1.2;
}

.menu-item-price {
  font-family: var(--heading-font-family);
  font-size: 22px;
  color: var(--theme-color1);
  font-weight: 600;
  white-space: nowrap;
}

.menu-item-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
  margin-bottom: 24px;
  flex-grow: 1;
}

.menu-item-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.btn-order-now {
  background: transparent;
  color: var(--theme-color1);
  border: 1px solid rgba(234, 194, 60, 0.3);
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 20px;
  letter-spacing: 1.5px;
  font-family: var(--heading-font-family);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
}

.btn-order-now:hover {
  background: var(--theme-color1);
  color: #000000;
  border-color: var(--theme-color1);
  box-shadow: 0 4px 12px rgba(234, 194, 60, 0.2);
  transform: translateY(-1px);
}

/* 5. Special Banner Section */
.canteen-special-section {
  position: relative;
  background-image: url('../images/canteen-special.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 120px 0;
}

.canteen-special-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.65) 50%, rgba(0, 0, 0, 0.85) 100%);
  z-index: 1;
}

.canteen-special-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.special-badge {
  background: rgba(234, 194, 60, 0.15);
  border: 1px solid var(--theme-color1);
  color: var(--theme-color1);
  font-family: var(--heading-font-family);
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 25px;
}

.special-title {
  font-family: var(--heading-font-family);
  font-size: clamp(32px, 5vw, 48px);
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
}

.special-desc {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  margin-bottom: 30px;
}

.special-price-info {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 35px;
}

.special-price-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.special-price {
  font-family: var(--heading-font-family);
  font-size: 32px;
  color: var(--theme-color1);
  font-weight: 700;
}

/* 6. Food Gallery Lightbox Grid */
.canteen-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

@media (max-width: 991px) {
  .canteen-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .canteen-gallery-grid {
    grid-template-columns: 1fr;
  }
}

.canteen-gallery-item {
  position: relative;
  height: 240px;
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid rgba(234, 194, 60, 0.1);
  display: block;
}

.canteen-gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.canteen-gallery-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  z-index: 1;
  transition: opacity 0.3s ease;
}

.canteen-gallery-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.canteen-gallery-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--theme-color1);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transform: scale(0.7);
  transition: transform 0.3s ease;
}

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

.canteen-gallery-item:hover::before {
  opacity: 1;
}

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

.canteen-gallery-item:hover .canteen-gallery-icon {
  transform: scale(1);
}

/* 7. FAQ Accordion Custom Styling */
.canteen-faq-wrapper .accordion-item {
  background: rgba(18, 18, 18, 0.6);
  border: 1px solid rgba(234, 194, 60, 0.12);
  border-radius: 12px;
  margin-bottom: 15px;
  overflow: hidden;
  backdrop-filter: blur(5px);
}

.canteen-faq-wrapper .accordion-button {
  background: transparent;
  color: #ffffff;
  font-family: var(--heading-font-family);
  font-size: 18px;
  padding: 20px 25px;
  border: none;
  box-shadow: none;
}

.canteen-faq-wrapper .accordion-button:not(.collapsed) {
  color: var(--theme-color1);
  background: rgba(234, 194, 60, 0.05);
}

.canteen-faq-wrapper .accordion-button::after {
  filter: invert(1) sepia(1) saturate(5) hue-rotate(5deg);
}

.canteen-faq-wrapper .accordion-body {
  background: rgba(10, 10, 10, 0.4);
  color: rgba(255, 255, 255, 0.65);
  font-size: 15px;
  line-height: 1.6;
  padding: 20px 25px;
  border-top: 1px solid rgba(234, 194, 60, 0.08);
}

/* 8. Location & Info Details */
.canteen-info-item {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
}

.canteen-info-icon {
  font-size: 20px;
  color: var(--theme-color1);
  margin-top: 3px;
}

.canteen-info-title {
  font-family: var(--heading-font-family);
  font-size: 18px;
  color: #ffffff;
  margin-bottom: 5px;
  font-weight: 500;
}

.canteen-info-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.5;
  margin-bottom: 0;
}

.canteen-map-wrapper {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(234, 194, 60, 0.15);
  box-shadow: 0 15px 35px rgba(0,0,0,0.6);
  height: 380px;
}

/* Animated Title Section */
.canteen-sec-title {
  text-align: center;
  margin-bottom: 60px;
}

.canteen-sec-title .sub-title {
  font-family: var(--heading-font-family);
  font-size: 15px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--theme-color1);
  display: inline-block;
  margin-bottom: 12px;
}

.canteen-sec-title .title {
  font-family: var(--heading-font-family);
  font-size: clamp(32px, 5vw, 48px);
  color: #ffffff;
  margin-bottom: 18px;
}

.canteen-sec-title .desc {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Veg / Non-veg Quick Switcher */
.food-type-filter {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: -20px;
  margin-bottom: 40px;
}

.type-filter-btn {
  background: rgba(18, 18, 18, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  padding: 6px 16px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.type-filter-btn:hover {
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

.type-filter-btn.active.veg-only {
  background: rgba(46, 204, 113, 0.15);
  border-color: #2ecc71;
  color: #2ecc71;
}

.type-filter-btn.active.nonveg-only {
  background: rgba(231, 76, 60, 0.15);
  border-color: #e74c3c;
  color: #e74c3c;
}

.type-filter-btn.active.all-items {
  background: rgba(234, 194, 60, 0.15);
  border-color: var(--theme-color1);
  color: var(--theme-color1);
}

/* Tab animations */
.menu-item-wrapper {
  animation: fadeInUp 0.5s ease forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Swiper Custom Styling for Popular Foods */
.popular-slider-container {
  position: relative;
  padding: 0 40px;
}

.popular-swiper {
  padding-bottom: 50px !important;
}

.chef-recommend-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--theme-color1);
  color: #000;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  box-shadow: 0 4px 10px rgba(234, 194, 60, 0.3);
  z-index: 5;
}

.popular-card {
  height: 100%;
}

.popular-pagination .swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.3) !important;
}

.popular-pagination .swiper-pagination-bullet-active {
  background: var(--theme-color1) !important;
  width: 24px;
  border-radius: 4px;
}

/* ==========================================================================
   Food Menu Section (Added for canteen.html)
   ========================================================================== */
.canteen-menu-categories-section {
  position: relative;
  background-color: #050505;
  padding: 100px 0;
  overflow: hidden;
}

.canteen-cat-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 380px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(234, 194, 60, 0.15);
  transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  cursor: pointer;
}

.canteen-cat-card:hover {
  transform: translateY(-10px);
  border-color: rgba(234, 194, 60, 0.5);
  box-shadow: 0 20px 40px rgba(234, 194, 60, 0.15), 0 15px 40px rgba(0, 0, 0, 0.8);
}

.canteen-cat-card .card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.85) 60%, rgba(0,0,0,0.95) 100%);
  transition: all 0.5s ease;
}

.canteen-cat-card:hover .card-overlay {
  background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.9) 60%, rgba(0,0,0,0.98) 100%);
}

.canteen-cat-card .card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  z-index: 2;
}

.canteen-cat-card .card-icon {
  width: 60px;
  height: 60px;
  line-height: 60px;
  background: rgba(20, 20, 20, 0.8);
  border: 1px solid var(--theme-color1);
  border-radius: 50%;
  color: var(--theme-color1);
  font-size: 24px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
  transition: all 0.4s ease;
  transform: translateY(20px);
}

.canteen-cat-card:hover .card-icon {
  background: var(--theme-color1);
  color: #000;
  transform: translateY(0);
}

.canteen-cat-card .card-title {
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 5px;
  letter-spacing: 0.5px;
  transition: all 0.4s ease;
  transform: translateY(20px);
}

.canteen-cat-card:hover .card-title {
  transform: translateY(0);
  color: var(--theme-color1);
}

.canteen-cat-card .card-desc {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 15px;
  transition: all 0.4s ease;
  transform: translateY(20px);
  opacity: 0.8;
}

.canteen-cat-card:hover .card-desc {
  transform: translateY(0);
  opacity: 1;
}

.canteen-cat-card .item-count {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(0,0,0,0.6);
  border: 1px solid rgba(234, 194, 60, 0.3);
  color: var(--theme-color1);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  backdrop-filter: blur(4px);
  z-index: 2;
}

.canteen-cat-card .btn-view-menu {
  background: transparent;
  color: var(--theme-color1);
  border: 1px solid var(--theme-color1);
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.4s ease;
  opacity: 0;
  transform: translateY(20px);
  display: flex;
  align-items: center;
  gap: 8px;
}

.canteen-cat-card:hover .btn-view-menu {
  opacity: 1;
  transform: translateY(0);
  background: var(--theme-color1);
  color: #000;
}

/* Modal Popup Styles */
.canteen-menu-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

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

.canteen-menu-modal .modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
}

.canteen-menu-modal .modal-content-wrapper {
  position: relative;
  background: #111;
  border: 1px solid rgba(234, 194, 60, 0.3);
  border-radius: 20px;
  width: 90%;
  max-width: 700px;
  max-height: 85vh;
  overflow-y: auto;
  padding: 45px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.9), 0 0 40px rgba(234, 194, 60, 0.08);
  transform: scale(0.95) translateY(20px);
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  z-index: 2;
}

.canteen-menu-modal.active .modal-content-wrapper {
  transform: scale(1) translateY(0);
}

.canteen-menu-modal .modal-close-btn {
  position: absolute;
  top: 25px;
  right: 25px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.canteen-menu-modal .modal-close-btn:hover {
  background: var(--theme-color1);
  color: #000;
  border-color: var(--theme-color1);
  transform: rotate(90deg);
}

.canteen-menu-modal .modal-header-section {
  text-align: center;
  margin-bottom: 35px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 25px;
}

.canteen-menu-modal .modal-icon {
  font-size: 36px;
  color: var(--theme-color1);
  margin-bottom: 15px;
}

.canteen-menu-modal .modal-title {
  color: #fff;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 1px;
}

.canteen-menu-modal .modal-subtitle {
  color: rgba(255, 255, 255, 0.6);
  font-size: 15px;
  margin-top: 10px;
}

/* Professional Table Styling */
.canteen-menu-table {
  width: 100%;
  border-collapse: collapse;
}

.canteen-menu-table th {
  text-align: left;
  padding: 15px 20px;
  color: var(--theme-color1);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 2px solid rgba(234, 194, 60, 0.3);
  background: rgba(255,255,255,0.02);
}

.canteen-menu-table th.col-price {
  text-align: right;
  width: 150px;
}

.canteen-menu-table td {
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  vertical-align: middle;
}

.canteen-menu-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.canteen-menu-table .item-name-cell {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}

.canteen-menu-table .item-desc {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-top: 5px;
  font-weight: 400;
}

.canteen-menu-table .item-price-cell {
  color: var(--theme-color1);
  font-size: 18px;
  font-weight: 700;
  text-align: right;
  white-space: nowrap;
}

/* Custom Scrollbar for Modal */
.modal-content-wrapper::-webkit-scrollbar {
  width: 6px;
}
.modal-content-wrapper::-webkit-scrollbar-track {
  background: #111;
  border-radius: 10px;
}
.modal-content-wrapper::-webkit-scrollbar-thumb {
  background: rgba(234, 194, 60, 0.3);
  border-radius: 10px;
}
.modal-content-wrapper::-webkit-scrollbar-thumb:hover {
  background: rgba(234, 194, 60, 0.6);
}

@media (max-width: 991px) {
  /* Always show the full card content on tablets and mobile because there is no hover */
  .canteen-cat-card .card-icon {
    transform: translateY(0);
    background: var(--theme-color1);
    color: #000;
  }
  .canteen-cat-card .card-title {
    transform: translateY(0);
    color: var(--theme-color1);
  }
  .canteen-cat-card .card-desc {
    transform: translateY(0);
    opacity: 1;
  }
  .canteen-cat-card .btn-view-menu {
    opacity: 1;
    transform: translateY(0);
    background: var(--theme-color1);
    color: #000;
  }
  .canteen-cat-card .card-overlay {
    background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.9) 60%, rgba(0,0,0,0.98) 100%);
  }
}

@media (max-width: 768px) {
  .canteen-menu-modal .modal-content-wrapper {
    padding: 30px 15px;
    width: 95%;
  }
  .canteen-menu-table th, .canteen-menu-table td {
    padding: 12px 10px;
  }
  .canteen-menu-table .item-name-cell {
    font-size: 15px;
  }
  .canteen-menu-table .item-price-cell {
    font-size: 16px;
  }
}

/* Cart Sheet Styles */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 1000;
  display: none;
  backdrop-filter: blur(5px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.cart-sheet {
  position: fixed;
  top: 0;
  right: -400px;
  width: 100%;
  max-width: 400px;
  height: 100vh;
  background: #111;
  z-index: 1001;
  box-shadow: -5px 0 30px rgba(0,0,0,0.8);
  display: flex;
  flex-direction: column;
  transition: right 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  border-left: 1px solid rgba(234, 194, 60, 0.2);
}

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

.cart-header {
  padding: 25px;
  border-bottom: 1px solid rgba(234, 194, 60, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(18, 18, 18, 0.95);
}

.cart-header h3 {
  color: var(--theme-color1);
  font-family: var(--heading-font-family);
  margin: 0;
  font-size: 24px;
}

.close-cart {
  background: none;
  border: none;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  transition: color 0.3s;
}

.close-cart:hover {
  color: var(--theme-color1);
}

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

.cart-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 15px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.cart-item-img {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  object-fit: cover;
}

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

.cart-item-title {
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 5px;
  line-height: 1.2;
}

.cart-item-price {
  color: var(--theme-color1);
  font-size: 14px;
  font-weight: 600;
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 20px;
  padding: 4px 8px;
}

.qty-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s;
}

.qty-btn:hover {
  background: var(--theme-color1);
  color: #000;
}

.qty-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  background: none;
  color: #fff;
}

/* Minimum-order note shown under the price in the menu modal */
.min-qty-note {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: rgba(234, 194, 60, 0.8);
  margin-top: 4px;
  white-space: nowrap;
}

.cart-item-unit-note {
  display: block;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 2px;
}

.cart-item-remove {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.35);
  font-size: 15px;
  cursor: pointer;
  transition: color 0.2s;
  padding: 4px;
}

.cart-item-remove:hover {
  color: #ff5b5b;
}

/* Informational banner reminding the customer of the 10-member minimum */
.meal-min-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 15px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.4;
  background: rgba(234, 194, 60, 0.1);
  border: 1px solid rgba(234, 194, 60, 0.3);
  color: rgba(255, 255, 255, 0.85);
}

.meal-min-banner i {
  color: var(--theme-color1);
  font-size: 16px;
  flex-shrink: 0;
}

.cart-footer {
  padding: 25px;
  background: rgba(18, 18, 18, 0.95);
  border-top: 1px solid rgba(234, 194, 60, 0.1);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  font-size: 20px;
  color: #fff;
  font-weight: 500;
}

.cart-total span:last-child {
  color: var(--theme-color1);
  font-weight: 700;
  font-size: 24px;
}

.btn-confirm-order {
  width: 100%;
  background: var(--theme-color1);
  color: #000;
  border: none;
  padding: 15px;
  border-radius: 30px;
  font-family: var(--heading-font-family);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s;
}

.btn-confirm-order:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(234, 194, 60, 0.3);
}

.btn-confirm-order:disabled {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.35);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.cart-floating-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: var(--theme-color1);
  color: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  cursor: pointer;
  z-index: 999;
  box-shadow: 0 5px 20px rgba(234, 194, 60, 0.4);
  transition: all 0.3s ease;
  border: none;
}

.cart-floating-btn:hover {
  transform: scale(1.1);
}

.cart-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #e74c3c;
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 12px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #000;
}

/* ==========================================================================
   Light section variant - used to alternate light/dark sections down the
   page instead of every section being pure black. Photo-based cards
   (category cards, menu cards, gallery items, popular dishes) already have
   their own dark image overlays and are left untouched here; only the
   plain text that sits directly on the section background is re-colored.
   ========================================================================== */
.canteen-section--light,
.canteen-menu-categories-section.canteen-section--light {
  background-color: #f9f5ec;
}

.canteen-section--light .canteen-sec-title .title {
  color: #1c1c1c !important;
}

.canteen-section--light .canteen-sec-title .desc {
  color: #5a5a5a !important;
}

.canteen-section--light .canteen-sec-title .sub-title,
.canteen-section--light .sec-title .sub-title {
  color: #b8860b !important;
}

.canteen-section--light .text-white {
  color: #1c1c1c !important;
}

.canteen-section--light .text-white-50 {
  color: rgba(0, 0, 0, 0.5) !important;
}

/* Why Choose Us / Reviews cards */
.canteen-section--light .glass-card {
  background: rgba(20, 20, 20, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08), inset 0 1px 1px rgba(255, 255, 255, 0.5);
}

.canteen-section--light .glass-card:hover {
  border-color: rgba(234, 194, 60, 0.5);
  box-shadow: 0 20px 40px rgba(234, 194, 60, 0.15), 0 15px 35px rgba(0, 0, 0, 0.1);
}

.canteen-section--light .why-choose-card h3 {
  color: #1c1c1c !important;
}

.canteen-section--light .why-choose-card p {
  color: #5a5a5a !important;
}

.canteen-section--light .glass-card .text-gold {
  color: #b8860b !important;
}

.canteen-section--light .canteen-review-text {
  color: #5a5a5a !important;
}

/* FAQ accordion */
.canteen-section--light .canteen-faq-wrapper .accordion-item {
  background: rgba(20, 20, 20, 0.03);
  border-color: rgba(0, 0, 0, 0.1);
}

.canteen-section--light .canteen-faq-wrapper .accordion-button {
  color: #1c1c1c !important;
}

.canteen-section--light .canteen-faq-wrapper .accordion-button:not(.collapsed) {
  color: #b8860b !important;
  background: rgba(234, 194, 60, 0.08);
}

.canteen-section--light .canteen-faq-wrapper .accordion-button::after {
  filter: none;
}

.canteen-section--light .canteen-faq-wrapper .accordion-body {
  background: rgba(0, 0, 0, 0.02);
  color: #5a5a5a !important;
  border-top-color: rgba(0, 0, 0, 0.06);
}

/* Location & info section */
.canteen-section--light .canteen-info-title {
  color: #1c1c1c !important;
}

.canteen-section--light .canteen-info-text {
  color: #5a5a5a !important;
}

.canteen-section--light .canteen-info-icon {
  color: #b8860b !important;
}

.canteen-section--light .canteen-dine-desc {
  color: #5a5a5a !important;
}

/* Popular Dishes / menu item cards: the info panel below the photo has
   no image of its own, so it relies on the card's background to look
   dark - make it a solid opaque dark instead of the semi-transparent
   rgba(18,18,18,0.6) used elsewhere, which turns a muddy grey when it
   shows the light section color through it. */
.canteen-section--light .menu-item-card {
  background: #181818;
  border-color: rgba(234, 194, 60, 0.2);
}

/* The rating "(4.9/5)" text uses the same .text-white-50 utility class
   as text sitting directly on the light section background, but here
   it's inside the still-dark menu-item-card, so it must stay light,
   not follow the section-wide dark-text override. */
.canteen-section--light .menu-item-card .text-white-50 {
  color: rgba(255, 255, 255, 0.5) !important;
}

/* ==========================================================================
   Minimum Order Notice Popup
   ========================================================================== */
body.notice-popup-open {
  overflow: hidden;
}

.notice-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(10, 10, 10, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

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

.notice-popup {
  position: relative;
  width: 100%;
  max-width: 460px;
  max-height: 90vh;
  overflow-y: auto;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(232, 90, 8, 0.15);
  border-radius: 20px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35), 0 8px 20px rgba(232, 90, 8, 0.12);
  padding: 40px 35px 35px;
  text-align: center;
  transform: scale(0.85);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.35s ease;
}

.notice-popup-overlay.active .notice-popup {
  transform: scale(1);
  opacity: 1;
}

.notice-popup-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: rgba(232, 90, 8, 0.12);
  border: 2px solid rgba(232, 90, 8, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: #E85A08;
  animation: noticePulse 1.8s ease-in-out infinite;
}

@keyframes noticePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(232, 90, 8, 0.25); }
  50% { box-shadow: 0 0 0 10px rgba(232, 90, 8, 0); }
}

.notice-popup-title {
  font-family: var(--heading-font-family);
  font-size: 26px;
  color: #1a1a1a;
  margin-bottom: 6px;
  font-weight: 700;
}

.notice-popup-subtitle {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #E85A08;
  margin-bottom: 20px;
}

.notice-popup-message {
  text-align: left;
  margin-bottom: 22px;
}

.notice-popup-message > p {
  font-size: 14.5px;
  line-height: 1.6;
  color: #444;
  margin-bottom: 12px;
}

.notice-line {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 500;
}

.notice-line--no {
  background: rgba(220, 53, 69, 0.08);
  color: #c0392b;
}

.notice-line--yes {
  background: rgba(40, 167, 69, 0.08);
  color: #1e7e34;
}

.notice-emoji {
  flex-shrink: 0;
}

.notice-popup-progress-track {
  width: 100%;
  height: 8px;
  background: rgba(232, 90, 8, 0.12);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 12px;
}

.notice-popup-progress-bar {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, #E85A08, #ff8a3d);
  border-radius: 10px;
  transition: width 1s linear;
}

.notice-popup-countdown {
  font-size: 13px;
  font-weight: 600;
  color: #888;
  margin-bottom: 22px;
  letter-spacing: 0.3px;
}

.notice-popup-btn {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 700;
  font-family: var(--heading-font-family);
  letter-spacing: 0.5px;
  cursor: not-allowed;
  background: rgba(232, 90, 8, 0.35);
  color: rgba(255, 255, 255, 0.9);
  transition: all 0.3s ease;
}

.notice-popup-btn:not(:disabled) {
  cursor: pointer;
  background: #E85A08;
  box-shadow: 0 8px 20px rgba(232, 90, 8, 0.35);
}

.notice-popup-btn:not(:disabled):hover {
  background: #d14e04;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(232, 90, 8, 0.45);
}

@media (max-width: 575px) {
  .notice-popup-overlay {
    padding: 14px;
  }

  .notice-popup {
    padding: 28px 20px 22px;
    border-radius: 16px;
    max-height: 88vh;
  }

  .notice-popup-icon {
    width: 56px;
    height: 56px;
    font-size: 24px;
    margin-bottom: 14px;
  }

  .notice-popup-title {
    font-size: 21px;
  }

  .notice-popup-subtitle {
    font-size: 11.5px;
    letter-spacing: 1px;
    margin-bottom: 16px;
  }

  .notice-popup-message {
    margin-bottom: 16px;
  }

  .notice-popup-message > p {
    font-size: 13.5px;
    line-height: 1.5;
    margin-bottom: 10px;
  }

  .notice-line {
    padding: 8px 12px;
    font-size: 13.5px;
  }

  .notice-popup-countdown {
    font-size: 12px;
    margin-bottom: 16px;
  }

  .notice-popup-btn {
    padding: 13px;
    font-size: 15px;
  }
}

@media (max-width: 360px) {
  .notice-popup {
    padding: 24px 16px 18px;
  }

  .notice-popup-icon {
    width: 50px;
    height: 50px;
    font-size: 22px;
  }

  .notice-popup-title {
    font-size: 19px;
  }

  .notice-popup-message > p,
  .notice-line {
    font-size: 13px;
  }
}
