/* Royal Safety Nets - Dark Luxury Architectural Styling */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;700&family=Playfair+Display:ital,wght@0,500;0,700;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;600&display=swap');

:root {
  --navy: #031637;
  --deep-navy: #070e1f;
  --gold: #d0aa58;
  --gold-light: #f5e0a9;
  --dark-gold: #5e4526;
  --silver: #d2cfcb;
  --white: #ffffff;
  --f-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --f-serif: 'Playfair Display', Georgia, serif;
  --f-display: 'Cinzel', serif;
  --f-mono: 'JetBrains Mono', monospace;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--f-sans);
}

body {
  background-color: var(--deep-navy);
  color: var(--silver);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--f-serif);
  color: var(--white);
  font-weight: 700;
  line-height: 1.25;
}

h4, h5, h6 {
  font-family: var(--f-sans);
  color: var(--white);
  font-weight: 600;
}

.font-serif { font-family: var(--f-serif); }
.font-sans { font-family: var(--f-sans); }
.font-display { font-family: var(--f-display); }
.font-mono { font-family: var(--f-mono); }

/* Color utilities */
.bg-deep-navy { background-color: var(--deep-navy); }
.bg-navy { background-color: var(--navy); }
.text-gold { color: var(--gold); }
.text-silver { color: var(--silver); }
.border-dark-gold { border-color: var(--dark-gold); }

/* Dark Luxury Refined Button Classes */
.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: var(--gold);
  color: var(--navy);
  font-family: var(--f-sans);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.75rem;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  border: 1px solid var(--gold);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-gold:hover {
  background-color: var(--gold-light);
  border-color: var(--gold-light);
  box-shadow: 0 4px 20px rgba(208, 170, 88, 0.35);
  transform: translateY(-1px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid var(--dark-gold);
  color: var(--gold);
  background: transparent;
  font-family: var(--f-sans);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.75rem;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-outline:hover {
  background-color: var(--dark-gold);
  color: var(--white);
  border-color: var(--gold);
  transform: translateY(-1px);
}

/* Luxury Card Shadow & Hover Glow */
.luxury-card {
  background: var(--navy);
  border: 1px solid var(--dark-gold);
  border-radius: 6px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.luxury-card:hover {
  border-color: var(--gold);
  box-shadow: 0 10px 30px -10px rgba(208, 170, 88, 0.15);
}

/* Hero Slider Dimensions */
.hero-slider-container {
  position: relative;
  height: 380px;
  overflow: hidden;
  border-radius: 6px;
}

@media (min-width: 768px) {
  .hero-slider-container {
    height: 500px;
  }
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}

/* Modal Overlay */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 22, 55, 0.85);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-backdrop.hidden {
  display: none;
}

/* Before / After Slider */
.ba-container {
  position: relative;
  overflow: hidden;
  user-select: none;
  cursor: ew-resize;
  border-radius: 6px;
  border: 1px solid var(--dark-gold);
}

.ba-before {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  overflow: hidden;
}

.ba-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gold);
  cursor: ew-resize;
}

.ba-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--navy);
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

/* Mobile Sticky Bottom Bar */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(7, 14, 31, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--dark-gold);
  padding: 0.6rem 0.75rem;
}

@media (max-width: 768px) {
  .mobile-sticky-bar {
    display: flex;
  }
  body {
    padding-bottom: 70px;
  }
}

/* Accordion */
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq-item.open .faq-content {
  max-height: 500px;
  padding-top: 0.75rem;
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--deep-navy);
}
::-webkit-scrollbar-thumb {
  background: var(--dark-gold);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold);
}
