/* Custom Styles for The Sizzling Restaurant */

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #121212;
  color: #e0e0e0;
}

/* Leave room so the sticky basket bar never covers the footer */
body.has-sticky-bar {
  padding-bottom: 90px;
}

.max-w-700 {
  max-width: 700px;
}

.width-30 {
  width: 30px;
}

.fs-7 {
  font-size: 0.85rem;
}

/* Logo in the navigation bar */
.brand-logo {
  height: 40px;
  width: auto;
}

/* Page Section Visibility: only the active page is shown */
.page-section {
  display: none;
}

.page-section.active-page {
  display: block;
}

/* Hero Section */
.hero-section {
  min-height: 80vh;
  background: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.85)), url('https://images.unsplash.com/photo-1555396273-367ea4eb4db5?auto=format&fit=crop&w=1350&q=80') center/cover no-repeat;
}

/* Food image area + placeholder (shown if an image is missing) */
.card-img-wrap {
  height: 200px;
  overflow: hidden;
  background-color: #1a1d24;
}

.img-placeholder-box {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #1f242d 0%, #2b303c 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.food-card:hover .img-placeholder-box {
  background: linear-gradient(135deg, #2b303c 0%, #3a4150 100%);
}

.placeholder-badge {
  background-color: rgba(0, 0, 0, 0.6);
  border: 1px dashed #ffc107;
  padding: 4px 10px;
  border-radius: 4px;
}

/* Badges on top of the food image (Chef's Special, Bestseller, Spicy) */
.badge-stack {
  position: absolute;
  top: 0;
  left: 0;
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  pointer-events: none;
}

.badge-stack .badge {
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

/* Veg / Non-veg mark (green or red square with a dot) */
.diet-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  border: 2px solid;
  border-radius: 3px;
  background: #fff;
  vertical-align: middle;
}

.diet-mark > span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.diet-mark.veg {
  border-color: #198754;
}

.diet-mark.veg > span {
  background: #198754;
}

.diet-mark.nonveg {
  border-color: #dc3545;
}

.diet-mark.nonveg > span {
  background: #dc3545;
}

/* Card Styling */
.food-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  background-color: #1a1d24 !important;
}

.food-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(255, 193, 7, 0.15) !important;
}

/* Filter Buttons */
.filter-btn,
.diet-btn {
  border-radius: 20px;
  padding: 6px 20px;
  font-weight: 600;
}

.diet-btn {
  padding: 4px 16px;
}

/* Search box and inputs on dark background */
.form-control::placeholder {
  color: #8a8f98;
}

.form-control:focus {
  border-color: #ffc107;
  box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.2);
}

/* Quick note buttons in the basket */
.note-chip {
  border-radius: 14px;
  font-size: 0.78rem;
  padding: 2px 10px;
}

/* Keep pop-up messages below the sticky navigation bar */
.toast-offset {
  margin-top: 56px;
}

/* Map */
.map-container iframe {
  display: block;
}
