/* ==========================================================================
   MONMU & MONJE CATERING - PREMIUM STYLESHEET
   Unique Design Language: Warm Velvet & Glassmorphic Culinary Luxury
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,800;1,400&display=swap');

/* --- CUSTOM PROPERTIES (Design Tokens) --- */
:root {
  --primary-hsl: 348, 78%, 23%;     /* Monmu Crimson: #6c0d1c */
  --secondary-hsl: 40, 88%, 52%;    /* Golden Honey: #f39c12 */
  --accent-hsl: 20, 80%, 45%;       /* Warm Coral / Stew Accent */
  
  --primary: hsl(var(--primary-hsl));
  --primary-light: hsl(348, 70%, 35%);
  --primary-dark: hsl(348, 85%, 15%);
  --secondary: hsl(var(--secondary-hsl));
  --accent: hsl(var(--accent-hsl));
  
  /* Velvet Dark Theme */
  --dark-bg: hsl(24, 18%, 7%);       /* Velvet Charcoal: #120e0c */
  --dark-surface: hsl(24, 15%, 12%);  /* Elevated Slate: #1e1917 */
  --dark-border: hsla(24, 15%, 25%, 0.25);
  
  /* Ivory Light Theme Accents */
  --light-bg: hsl(36, 45%, 97%);     /* Soft Warm Ivory */
  --light-surface: hsl(0, 0%, 100%);
  --light-border: hsla(348, 78%, 23%, 0.08);

  /* Typography */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Outfit', 'Segoe UI', sans-serif;
  
  /* Shadows & Glass */
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.15), 0 10px 10px -5px rgba(0, 0, 0, 0.06);
  --glass-bg: rgba(30, 25, 23, 0.75);
  --glass-border: rgba(233, 169, 48, 0.15);
  
  /* Layout */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  
  /* Animations */
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
}

/* --- BASE & RESET --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-sans);
  background-color: var(--dark-bg);
  color: var(--light-bg);
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

h1, h2, h3 {
  text-wrap: balance;
}

/* --- FOCUS INDICATORS & ACCESSIBILITY --- */
:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}

.btn:focus-visible, .qty-btn:focus-visible, .close-drawer:focus-visible, .close-modal:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}

/* Utility to switch page parts to clean ivory light backgrounds */
.ivory-section {
  background-color: var(--light-bg);
  color: var(--dark-bg);
  padding: 100px 0;
  position: relative;
}

.ivory-section h2 {
  color: var(--primary-dark);
}

.ivory-section p {
  color: hsl(24, 15%, 25%);
  text-wrap: pretty;
}

/* --- GRID & LAYOUT CONTAINER --- */
.container {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- BUTTONS & INTERACTIVE ELEMENTS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--radius-xl);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 2px solid transparent;
  gap: 8px;
}

.btn-primary {
  background-color: var(--secondary);
  color: var(--dark-bg);
  box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
}

.btn-primary:hover {
  background-color: #fff;
  color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4);
}

.btn-outline {
  background-color: transparent;
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.btn-outline:hover {
  background-color: #fff;
  color: var(--dark-bg);
  border-color: #fff;
  transform: translateY(-3px);
}

.btn-accent {
  background-color: var(--primary);
  color: #fff;
  box-shadow: 0 4px 15px rgba(108, 13, 28, 0.3);
}

.btn-accent:hover {
  background-color: var(--primary-light);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(108, 13, 28, 0.5);
}

/* --- GLASS NAVIGATION HEADER --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition-smooth);
}

header.scrolled {
  background: rgba(18, 14, 12, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 0;
  border-bottom: 1px solid var(--dark-border);
  box-shadow: var(--shadow-md);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-icon {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.logo-text {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.5px;
}

.logo-text span {
  color: var(--secondary);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 32px;
  align-items: center;
}

nav a {
  text-decoration: none;
  color: var(--light-bg);
  font-weight: 500;
  font-size: 15px;
  transition: var(--transition-fast);
  opacity: 0.85;
}

nav a:hover {
  color: var(--secondary);
  opacity: 1;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  font-size: 24px;
  color: #fff;
  cursor: pointer;
}

/* --- HERO SECTION --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 100px;
  background-color: var(--dark-bg);
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(180deg, rgba(18, 14, 12, 0.4) 0%, rgba(18, 14, 12, 0.9) 100%),
    linear-gradient(90deg, rgba(18, 14, 12, 0.85) 0%, rgba(18, 14, 12, 0.2) 60%, rgba(18, 14, 12, 0.9) 100%);
  z-index: 2;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.55;
  transform: scale(1.05);
  animation: slowZoom 25s infinite alternate ease-in-out;
}

@keyframes slowZoom {
  0% { transform: scale(1.02); }
  100% { transform: scale(1.12); }
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
  text-align: center;
  padding: 40px 20px;
}

.hero-tagline {
  display: inline-block;
  background-color: rgba(108, 13, 28, 0.2);
  border: 1px solid rgba(233, 169, 48, 0.3);
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}

.hero-title {
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.1;
  margin-bottom: 24px;
  font-weight: 800;
  letter-spacing: -1px;
}

.hero-title span {
  color: var(--secondary);
  position: relative;
}

.hero-title span::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--secondary);
  border-radius: 2px;
}

.hero-desc {
  font-size: clamp(16px, 2vw, 20px);
  opacity: 0.9;
  max-width: 650px;
  margin: 0 auto 36px auto;
  font-weight: 300;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* --- DYNAMIC EVENT CONFIGURATOR --- */
.configurator-section {
  position: relative;
  margin-top: -80px;
  z-index: 50;
  padding-bottom: 60px;
}

.config-card {
  background: var(--dark-surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.config-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.config-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.config-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--secondary);
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.guest-count-val {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  color: #fff;
}

/* Premium Range Slider styling */
.slider-container {
  position: relative;
  padding: 10px 0;
}

.range-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
  transition: background 450ms ease-in;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--secondary);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(243, 156, 18, 0.8);
  transition: transform 0.1s ease;
}

.range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.select-wrapper {
  position: relative;
}

.select-wrapper select {
  width: 100%;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 15px;
  appearance: none;
  outline: none;
  cursor: pointer;
  transition: var(--transition-fast);
}

.select-wrapper select:focus {
  border-color: var(--secondary);
  background-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px hsla(var(--secondary-hsl), 0.2);
}

.select-wrapper::after {
  content: '\f078';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.6);
  pointer-events: none;
  font-size: 12px;
}

/* Dropdown styling inside menu cards to reduce clutter */
.card-select-wrapper {
  margin: 12px 0 16px 0;
  position: relative;
  width: 100%;
}

.card-select-wrapper select {
  width: 100%;
  background-color: var(--light-bg);
  border: 1px solid var(--light-border);
  border-radius: var(--radius-sm);
  padding: 10px 36px 10px 14px; /* Added right padding to prevent text overlap */
  color: var(--dark-bg);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  cursor: pointer;
  transition: var(--transition-fast);
  text-overflow: ellipsis; /* Truncate if text is exceptionally long */
  white-space: nowrap;
  overflow: hidden;
}

.card-select-wrapper select:focus {
  border-color: var(--primary);
  background-color: #fff;
  box-shadow: 0 0 0 3px hsla(var(--primary-hsl), 0.2);
}

.card-select-wrapper::after {
  content: '\f078';
  font-family: 'Font Awesome 6 Free'; /* Updated for FA6 */
  font-weight: 900;
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary);
  pointer-events: none;
  font-size: 11px;
}

/* --- THE FEAST BUILDER (Menu Catalog) --- */
.feast-section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 50px auto;
}

.section-title {
  font-size: clamp(32px, 4vw, 48px);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 16px;
  opacity: 0.8;
  text-wrap: pretty;
}

.menu-search-filter {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 40px;
}

/* Styled Search input */
.search-box {
  position: relative;
  flex: 1;
  max-width: 400px;
  min-width: 250px;
}

.search-box input {
  width: 100%;
  background-color: var(--light-surface);
  border: 1px solid var(--light-border);
  padding: 16px 20px 16px 50px;
  border-radius: var(--radius-xl);
  font-family: var(--font-sans);
  font-size: 15px;
  outline: none;
  color: var(--dark-bg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.search-box input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px hsla(var(--primary-hsl), 0.2);
}

.search-box i {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #666;
  font-size: 16px;
}

/* Category Pill Tabs */
.filter-tabs {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
}

.filter-tabs::-webkit-scrollbar {
  height: 4px;
}

.filter-tab {
  background: var(--light-surface);
  border: 1px solid var(--light-border);
  padding: 12px 24px;
  border-radius: 30px;
  color: var(--dark-bg);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.filter-tab:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.filter-tab.active {
  background-color: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 4px 10px rgba(108, 13, 28, 0.2);
}

/* Menu items grid */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

/* Gorgeous Menu Card */
.menu-card {
  background-color: var(--light-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--light-border);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.menu-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(108, 13, 28, 0.2);
}

.menu-card.card-in-basket {
  border-color: rgba(243, 156, 18, 0.45);
  box-shadow: 0 4px 15px rgba(243, 156, 18, 0.05);
}

.menu-img-container {
  height: 200px;
  overflow: hidden;
  position: relative;
  background-color: #eee;
}

.menu-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.menu-card:hover .menu-img-container img {
  transform: scale(1.08);
}

.menu-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background-color: var(--primary);
  color: #fff;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.in-cart-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: linear-gradient(135deg, var(--secondary), #f5b041);
  color: var(--dark-bg);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  animation: badgeSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
}

@keyframes badgeSlideIn {
  from {
    transform: translateY(-10px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

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

.menu-title {
  font-size: 20px;
  color: var(--primary-dark);
  margin-bottom: 8px;
  font-weight: 700;
}

.menu-desc {
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
  flex-grow: 1;
  font-weight: 300;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-wrap: pretty;
}

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

.menu-price {
  display: flex;
  flex-direction: column;
}

.price-label {
  font-size: 10px;
  text-transform: uppercase;
  color: #595959;
  letter-spacing: 0.5px;
}

.price-val {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-dark);
  font-family: var(--font-sans);
}

/* Card Count Selector (Quantity selectors) */
.qty-selector {
  display: flex;
  align-items: center;
  background-color: var(--light-bg);
  border-radius: 30px;
  padding: 4px;
  border: 1px solid var(--light-border);
}

.qty-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background-color: #fff;
  color: var(--primary-dark);
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  font-size: 14px;
}

.qty-btn:hover {
  background-color: var(--primary);
  color: #fff;
}

.qty-val {
  width: 32px;
  text-align: center;
  font-weight: 700;
  font-size: 15px;
  color: var(--dark-bg);
}

.add-btn {
  background-color: var(--primary);
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.add-btn:hover {
  background-color: var(--primary-light);
  transform: scale(1.05);
}

/* --- THE SIGNATURE STORY SECTION --- */
.story-section {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: center;
  padding: 100px 0;
}

.story-img-collage {
  position: relative;
  height: 500px;
}

.collage-img {
  position: absolute;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 3px solid #fff;
  transition: var(--transition-smooth);
}

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

.collage-img:hover {
  transform: scale(1.05) translateY(-5px);
  z-index: 10 !important;
}

.collage-1 {
  width: 70%;
  height: 70%;
  top: 0;
  left: 0;
  z-index: 2;
}

.collage-2 {
  width: 55%;
  height: 55%;
  bottom: 0;
  right: 0;
  z-index: 3;
}

.collage-3 {
  width: 35%;
  height: 35%;
  top: 10%;
  right: 5%;
  z-index: 1;
}

.story-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.story-pill {
  color: var(--secondary);
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 13px;
}

.story-title {
  font-size: clamp(32px, 3.5vw, 44px);
  color: var(--primary-dark);
}

.story-text {
  font-size: 16px;
  line-height: 1.8;
  color: hsl(24, 15%, 25%);
  font-weight: 300;
  text-wrap: pretty;
}

.story-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 12px;
}

.story-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.story-feature-icon {
  background-color: rgba(108, 13, 28, 0.06);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 18px;
  flex-shrink: 0;
}

.story-feature-title {
  font-weight: 700;
  font-size: 16px;
  color: var(--primary-dark);
  margin-bottom: 4px;
}

.story-feature-desc {
  font-size: 13px;
  color: hsl(24, 12%, 35%);
}

/* --- THE WHY CHOOSE US (Velvet Highlights) --- */
.highlights-section {
  padding: 80px 0;
  background-color: var(--dark-surface);
  border-top: 1px solid var(--dark-border);
  border-bottom: 1px solid var(--dark-border);
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.highlight-card {
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: 40px;
  text-align: center;
  transition: var(--transition-smooth);
}

.highlight-card:hover {
  background-color: rgba(255, 255, 255, 0.04);
  border-color: var(--secondary);
  transform: translateY(-8px);
}

.highlight-icon {
  color: var(--secondary);
  font-size: 40px;
  margin-bottom: 24px;
}

.highlight-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
  font-family: var(--font-serif);
}

.highlight-card p {
  font-size: 14px;
  opacity: 0.75;
  line-height: 1.6;
  text-wrap: pretty;
}

/* --- FLOATING ENQUIRY BASKET DRAWER --- */
.basket-toggle {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  border-radius: 50px;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-family: var(--font-sans);
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  z-index: 900;
  border: 2px solid var(--secondary);
  transition: var(--transition-smooth);
  animation: pulseGlow 2.5s infinite;
}

@keyframes pulseGlow {
  0% { box-shadow: 0 0 0 0 rgba(233, 169, 48, 0.4); }
  70% { box-shadow: 0 0 0 15px rgba(233, 169, 48, 0); }
  100% { box-shadow: 0 0 0 0 rgba(233, 169, 48, 0); }
}

.basket-toggle:hover {
  transform: scale(1.05) translateY(-3px);
  background: var(--secondary);
  color: var(--dark-bg);
}

.basket-badge {
  background-color: var(--secondary);
  color: var(--dark-bg);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
}

.basket-toggle:hover .basket-badge {
  background-color: var(--primary);
  color: #fff;
}

/* Drawer Sliding Panel */
.basket-drawer {
  position: fixed;
  top: 0;
  right: -450px;
  width: 450px;
  height: 100vh;
  background-color: var(--dark-surface);
  border-left: 1px solid var(--glass-border);
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.basket-drawer.open {
  transform: translateX(-450px);
}

.drawer-header {
  padding: 24px;
  border-bottom: 1px solid var(--dark-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.drawer-header h3 {
  font-size: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.close-drawer {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.close-drawer:hover {
  color: var(--secondary);
  transform: rotate(90deg);
}

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

.basket-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 16px;
  opacity: 0.6;
  text-align: center;
}

.basket-empty i {
  font-size: 60px;
  color: var(--secondary);
}

.basket-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.basket-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  gap: 12px;
}

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

.basket-item-name {
  font-weight: 600;
  font-size: 15px;
  color: #fff;
}

.basket-item-category {
  font-size: 11px;
  color: var(--secondary);
  text-transform: uppercase;
}

.basket-item-price {
  font-size: 14px;
  font-weight: 700;
  opacity: 0.9;
}

.remove-item {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: var(--transition-fast);
}

.remove-item:hover {
  color: #ff4757;
}

/* Estimatation Panel inside basket drawer */
.basket-summary-panel {
  background-color: rgba(233, 169, 48, 0.05);
  border: 1px solid rgba(233, 169, 48, 0.2);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}

.summary-total {
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
  padding-top: 12px;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

.est-range {
  font-family: var(--font-serif);
  color: var(--secondary);
  font-size: 22px;
}

.drawer-footer {
  padding: 24px;
  border-top: 1px solid var(--dark-border);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Modal and drawer overlay screen blocker */
.drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  z-index: 950;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.drawer-backdrop.active {
  opacity: 1;
  pointer-events: all;
}

/* --- THE BOOKING & ENQUIRY MODAL --- */
.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  width: 100%;
  max-width: 600px;
  background-color: var(--dark-surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  z-index: 1100;
  padding: 40px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal.active {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  pointer-events: all;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.modal-header h3 {
  font-size: 28px;
}

.close-modal {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.close-modal:hover {
  color: var(--secondary);
}

/* Multistep Form Styling */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group-full {
  grid-column: span 2;
}

.form-group label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--secondary);
  font-weight: 600;
}

.form-group input, .form-group textarea {
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 15px;
  outline: none;
  transition: var(--transition-fast);
}

.form-group input:focus, .form-group textarea:focus {
  border-color: var(--secondary);
  background-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px hsla(var(--secondary-hsl), 0.2);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

.modal-actions .btn {
  flex: 1;
}

/* --- FOOTER --- */
footer {
  background-color: var(--dark-bg);
  border-top: 1px solid var(--dark-border);
  padding: 60px 0 30px 0;
  text-align: center;
}

.footer-logo {
  margin-bottom: 24px;
  justify-content: center;
}

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}

.social-link {
  background-color: rgba(255, 255, 255, 0.03);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: var(--transition-fast);
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.08);
}

.social-link:hover {
  background-color: var(--secondary);
  color: var(--dark-bg);
  transform: translateY(-3px);
  border-color: var(--secondary);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 30px;
  list-style: none;
}

.footer-links a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--secondary);
}

.footer-copyright {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  border-top: 1px solid var(--dark-border);
  padding-top: 30px;
}

/* --- RESPONSIVENESS (Media Queries) --- */
@media (max-width: 1024px) {
  .story-section {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .story-img-collage {
    height: 400px;
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
  }
  .config-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: block;
    position: relative;
    z-index: 1010;
  }
  nav {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background-color: var(--dark-surface);
    border-left: 1px solid var(--glass-border);
    padding: 100px 40px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-smooth);
    z-index: 1000;
  }
  nav.active {
    right: 0;
  }
  nav ul {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
    list-style: none;
  }
  nav a {
    font-size: 22px;
    font-family: var(--font-serif);
    font-weight: 700;
    color: var(--light-bg);
    opacity: 0.9;
  }
  nav a:hover {
    color: var(--secondary);
    padding-left: 6px;
  }
  .nav-cta {
    display: none;
  }
  .basket-drawer {
    width: 100%;
    right: -100%;
  }
  .basket-drawer.open {
    transform: translateX(-100%);
  }
  .highlights-grid {
    grid-template-columns: 1fr;
  }
  .hero-content {
    padding-top: 60px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-group-full {
    grid-column: span 1;
  }
  .modal {
    width: 90%;
    padding: 24px;
  }
}

/* --- ACCESSIBILITY: REDUCED MOTION --- */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-delay: -1ms !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    background-attachment: initial !important;
    scroll-behavior: auto !important;
    transition-duration: 0s !important;
    transition-delay: 0s !important;
  }
  .hero-bg {
    animation: none !important;
  }
  .basket-toggle {
    animation: none !important;
  }
}

