/* ==========================================================================
   DEPOT SQUARE EVENTS - LUXURY REDESIGN SYSTEM
   Inspired by The Saint Elle | Full-Bleed & Edge-to-Edge Responsive
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-dark-primary: #0A1612;
  --bg-dark-surface: #12241C;
  --bg-dark-card: #182E24;
  --bg-dark-glass: rgba(18, 36, 28, 0.75);
  --bg-light-primary: #FAF8F5;
  --bg-light-surface: #F3EFEA;
  
  --gold-primary: #D4AF37;
  --gold-light: #F3E5AB;
  --gold-dark: #AA820A;
  --gold-glow: rgba(212, 175, 55, 0.25);
  
  --emerald-accent: #2E7D60;
  --emerald-bright: #3EB489;
  
  --text-light-main: #F7F5F0;
  --text-light-muted: #B8C7C0;
  --text-dark-main: #1A2420;
  --text-dark-muted: #5C6E66;
  
  --border-gold: rgba(212, 175, 55, 0.3);
  --border-dark: rgba(255, 255, 255, 0.08);
  --border-light: rgba(0, 0, 0, 0.08);

  /* Fonts */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-accent: 'Cormorant Garamond', serif;
  --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout & Spacing */
  --container-max-width: 1720px;
  --container-padding: clamp(1.2rem, 4vw, 4rem);
  --section-padding-y: clamp(4rem, 8vw, 9rem);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  /* Transitions & Shadows */
  --transition-fast: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.7s cubic-bezier(0.16, 1, 0.3, 1);

  --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 10px 40px rgba(0, 0, 0, 0.35);
  --shadow-gold: 0 8px 32px rgba(212, 175, 55, 0.2);
}

/* Base Reset & Reset Defaults */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-dark-primary);
  color: var(--text-light-main);
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

ul {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  background: none;
  outline: none;
}

button {
  cursor: pointer;
}

/* Dynamic Ambient Edge Rails (Eliminates empty white space on ultra-widescreen) */
.ambient-background-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-glow-orb {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.18;
  animation: floatOrb 18s ease-in-out infinite alternate;
}

.orb-1 {
  top: -100px;
  left: -100px;
  background: var(--gold-primary);
}

.orb-2 {
  bottom: 10%;
  right: -100px;
  background: var(--emerald-accent);
  animation-delay: -5s;
}

.orb-3 {
  top: 50%;
  left: 40%;
  background: #1B4D3E;
  animation-delay: -10s;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, 80px) scale(1.1); }
  100% { transform: translate(-40px, 40px) scale(0.95); }
}

/* Floating Quick Action Rails on Screen Edges */
.edge-floating-actions {
  position: fixed;
  right: 1.5rem;
  bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 90;
}

.floating-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(18, 36, 28, 0.85);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-gold);
  color: var(--gold-primary);
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-full);
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-fast);
}

.floating-pill-btn:hover {
  background: var(--gold-primary);
  color: var(--bg-dark-primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
}

/* Layout Containers & Edge-to-Edge Logic */
.site-wrapper {
  position: relative;
  z-index: 1;
  width: 100%;
}

.container-fluid {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

.full-bleed-section {
  width: 100%;
  position: relative;
}

/* Typography Utility Styles */
.font-serif {
  font-family: var(--font-heading);
}

.font-accent {
  font-family: var(--font-accent);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold-primary);
  margin-bottom: 1.25rem;
}

.section-label::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--gold-primary);
}

.heading-xl {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5.5vw, 5.2rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.heading-lg {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.8vw, 3.4rem);
  font-weight: 400;
  line-height: 1.15;
}

.heading-md {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  font-weight: 400;
}

.subtext-lg {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  color: var(--text-light-muted);
  font-weight: 300;
}

.text-gold {
  color: var(--gold-primary);
}

.text-gradient-gold {
  background: linear-gradient(135deg, #F3E5AB 0%, #D4AF37 50%, #AA820A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.1rem 2.4rem;
  border-radius: var(--radius-full);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.btn-gold {
  background: linear-gradient(135deg, #D4AF37, #C59B27);
  color: #0A1612;
  box-shadow: 0 6px 24px rgba(212, 175, 55, 0.25);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #F3E5AB, #D4AF37);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
}

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

.btn-outline-gold:hover {
  background: rgba(212, 175, 55, 0.12);
  color: var(--gold-light);
  transform: translateY(-2px);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-dark);
  color: var(--text-light-main);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--border-gold);
  transform: translateY(-2px);
}

/* ==========================================================================
   1. NAVIGATION HEADER
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 1.5rem 0;
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  padding: 0.85rem 0;
  background: rgba(10, 22, 18, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-gold);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

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

.site-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand-logo-icon {
  width: 44px;
  height: 44px;
  border: 1px solid var(--gold-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  background: var(--bg-dark-surface);
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  letter-spacing: 0.08em;
  color: var(--text-light-main);
  text-transform: uppercase;
}

.brand-subtitle {
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  color: var(--gold-primary);
  text-transform: uppercase;
}

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

.nav-link {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light-muted);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold-primary);
  transition: width var(--transition-fast);
}

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

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

.header-right-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.header-phone-link {
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  color: var(--gold-primary);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 32px;
  background: none;
  border: none;
}

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--gold-primary);
  transition: all var(--transition-fast);
}

/* ==========================================================================
   2. HERO SECTION (Full Screen Immersive & Live Stat Counter)
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 8rem;
  padding-bottom: 5rem;
  overflow: hidden;
}

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

.hero-slide-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.8s ease-in-out;
  transform: scale(1.04);
}

.hero-slide-item.active {
  opacity: 1;
  transform: scale(1);
  transition: opacity 1.8s ease-in-out, transform 10s linear;
}

.hero-overlay-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(10, 22, 18, 0.75) 0%,
    rgba(10, 22, 18, 0.55) 40%,
    rgba(10, 22, 18, 0.95) 100%
  );
  z-index: 2;
}

.hero-content-wrap {
  position: relative;
  z-index: 10;
  max-width: 1000px;
}

.hero-title {
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  margin-bottom: 2.5rem;
  max-width: 720px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 4rem;
}

/* Stats Counter Bar */
.hero-stats-bar {
  position: relative;
  z-index: 10;
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  background: rgba(18, 36, 28, 0.85);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 2.2rem;
  box-shadow: var(--shadow-md);
}

.stat-item {
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--border-dark);
  padding-right: 1.5rem;
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  color: var(--gold-primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-light-muted);
}

/* ==========================================================================
   3. HERITAGE & ARCHITECTURE SECTION
   ========================================================================== */
.section-heritage {
  padding: var(--section-padding-y) 0;
  position: relative;
  background: var(--bg-dark-primary);
}

.heritage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.heritage-media-box {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow-md);
}

.heritage-media-box img {
  width: 100%;
  height: 580px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.heritage-media-box:hover img {
  transform: scale(1.05);
}

.heritage-badge-floating {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  background: rgba(10, 22, 18, 0.9);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-gold);
  padding: 1.25rem 1.8rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.badge-year {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--gold-primary);
  line-height: 1;
}

.badge-text {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-light-muted);
}

.heritage-features-list {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.feature-pill {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-dark);
  padding: 1.2rem;
  border-radius: var(--radius-sm);
  transition: border-color var(--transition-fast);
}

.feature-pill:hover {
  border-color: var(--border-gold);
}

.feature-icon {
  color: var(--gold-primary);
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-title {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-light-main);
  margin-bottom: 0.2rem;
}

.feature-desc {
  font-size: 0.8125rem;
  color: var(--text-light-muted);
}

/* ==========================================================================
   4. INTERACTIVE SPACES & AMENITIES SHOWCASE
   ========================================================================== */
.section-spaces {
  padding: var(--section-padding-y) 0;
  background: var(--bg-dark-surface);
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}

.spaces-header-wrap {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3.5rem auto;
}

.spaces-tabs-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.tab-btn {
  padding: 0.9rem 2rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-dark);
  color: var(--text-light-muted);
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  transition: all var(--transition-fast);
}

.tab-btn.active, .tab-btn:hover {
  background: var(--gold-primary);
  color: #0A1612;
  border-color: var(--gold-primary);
  box-shadow: var(--shadow-gold);
}

.space-content-panel {
  display: none;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  background: var(--bg-dark-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.space-content-panel.active {
  display: grid;
  animation: fadeIn 0.6s ease-in-out;
}

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

.space-image-holder {
  height: 100%;
  min-height: 480px;
  position: relative;
}

.space-image-holder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.space-info-box {
  padding: clamp(2rem, 4vw, 3.5rem);
}

.space-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 2rem 0;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}

.spec-item-val {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--gold-primary);
}

.spec-item-key {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-light-muted);
}

/* ==========================================================================
   5. INTERACTIVE CAPACITY & FLOOR PLAN CALCULATOR
   ========================================================================== */
.section-calculator {
  padding: var(--section-padding-y) 0;
  background: var(--bg-dark-primary);
  position: relative;
}

.calc-box-wrapper {
  background: rgba(18, 36, 28, 0.8);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 4rem);
  box-shadow: var(--shadow-md);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 4vw, 4rem);
}

.calc-controls-wrap {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.form-group-custom {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.form-label-custom {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-primary);
  font-weight: 500;
}

.layout-selector-btn-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.layout-select-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  padding: 1rem;
  text-align: left;
  transition: all var(--transition-fast);
}

.layout-select-btn:hover, .layout-select-btn.active {
  border-color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.1);
}

.layout-btn-title {
  font-weight: 500;
  color: var(--text-light-main);
  font-size: 0.9rem;
}

.layout-btn-sub {
  font-size: 0.75rem;
  color: var(--text-light-muted);
}

/* Floorplan Visualizer Canvas Simulation */
.floorplan-visualizer {
  background: #08100C;
  border: 1px dashed var(--border-gold);
  border-radius: var(--radius-md);
  height: 100%;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.floorplan-stage {
  width: 70%;
  height: 40px;
  background: linear-gradient(135deg, #D4AF37, #AA820A);
  color: #0A1612;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  border-radius: 4px;
  margin-bottom: 2rem;
}

.floorplan-dancefloor {
  width: 50%;
  height: 90px;
  background: rgba(46, 125, 96, 0.35);
  border: 1px solid var(--emerald-bright);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--emerald-bright);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  margin-bottom: 1.5rem;
}

.floorplan-tables-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  width: 100%;
}

.table-node {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--gold-primary);
  background: rgba(212, 175, 55, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  color: var(--gold-light);
}

/* ==========================================================================
   6. REAL-TIME BOOKING & AVAILABILITY CHECKER
   ========================================================================== */
.section-availability {
  padding: var(--section-padding-y) 0;
  background: var(--bg-dark-surface);
}

.availability-card {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3.5rem);
  box-shadow: var(--shadow-md);
}

.avail-form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.input-custom {
  width: 100%;
  padding: 1rem 1.25rem;
  background: rgba(10, 22, 18, 0.8);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  color: var(--text-light-main);
  transition: border-color var(--transition-fast);
}

.input-custom:focus {
  border-color: var(--gold-primary);
}

.pricing-estimate-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10, 22, 18, 0.9);
  border: 1px solid var(--border-gold);
  padding: 1.5rem 2rem;
  border-radius: var(--radius-md);
  margin-top: 2rem;
}

.estimate-price-val {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--gold-primary);
}

/* ==========================================================================
   7. PHOTO GALLERY & LIGHTBOX MODAL
   ========================================================================== */
.section-gallery {
  padding: var(--section-padding-y) 0;
  background: var(--bg-dark-primary);
}

.gallery-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 3rem;
}

.filter-btn {
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-dark);
  color: var(--text-light-muted);
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all var(--transition-fast);
}

.filter-btn.active, .filter-btn:hover {
  background: var(--gold-primary);
  color: #0A1612;
  border-color: var(--gold-primary);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
}

.gallery-item-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 320px;
  cursor: pointer;
  border: 1px solid var(--border-dark);
  transition: transform var(--transition-normal), border-color var(--transition-normal);
}

.gallery-item-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-gold);
}

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

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

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(10, 22, 18, 0.85) 0%, transparent 60%);
  opacity: 0;
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  transition: opacity var(--transition-fast);
}

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

.gallery-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--text-light-main);
}

.gallery-category {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-primary);
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(5, 12, 9, 0.95);
  backdrop-filter: blur(20px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-content-box {
  max-width: 90vw;
  max-height: 85vh;
  position: relative;
}

.lightbox-content-box img {
  max-width: 100%;
  max-height: 85vh;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-gold);
}

.lightbox-close-btn {
  position: absolute;
  top: -40px;
  right: 0;
  color: var(--gold-primary);
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
}

/* ==========================================================================
   8. TESTIMONIALS SECTION
   ========================================================================== */
.section-testimonials {
  padding: var(--section-padding-y) 0;
  background: var(--bg-dark-surface);
  border-top: 1px solid var(--border-dark);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.review-card {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 2.2rem;
  position: relative;
  transition: all var(--transition-fast);
}

.review-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-4px);
}

.stars-row {
  color: var(--gold-primary);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.review-quote {
  font-family: var(--font-accent);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text-light-main);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.reviewer-name {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--gold-light);
}

.reviewer-role {
  font-size: 0.75rem;
  color: var(--text-light-muted);
}

/* ==========================================================================
   9. INQUIRY / TOUR BOOKING MODAL
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(5, 12, 9, 0.88);
  backdrop-filter: blur(16px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-overlay.active {
  display: flex;
}

.modal-card {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 680px;
  padding: clamp(2rem, 4vw, 3rem);
  position: relative;
  box-shadow: var(--shadow-md);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close-icon {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  color: var(--gold-primary);
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

/* ==========================================================================
   10. FOOTER
   ========================================================================== */
.site-footer {
  background: #060D0B;
  border-top: 1px solid var(--border-gold);
  padding: 5rem 0 2rem 0;
  position: relative;
  z-index: 10;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand-desc {
  color: var(--text-light-muted);
  font-size: 0.9rem;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

.footer-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--gold-primary);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-links-list li {
  margin-bottom: 0.75rem;
}

.footer-links-list a {
  color: var(--text-light-muted);
  font-size: 0.875rem;
}

.footer-links-list a:hover {
  color: var(--gold-primary);
}

.footer-bottom-bar {
  border-top: 1px solid var(--border-dark);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: var(--text-light-muted);
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .heritage-grid, .space-content-panel, .calc-grid {
    grid-template-columns: 1fr;
  }
  .nav-menu {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
  }
  .stat-item {
    border-right: none;
    border-bottom: 1px solid var(--border-dark);
    padding-bottom: 1rem;
  }
  .edge-floating-actions {
    display: none;
  }
}
