/*
 * Adams Detailing - Premium Conversion-Focused Stylesheet
 * Custom CSS with dark default theme, responsive grids, and clean transitions.
 */

/* -------------------------------------------------------------
 * 1. DESIGN TOKENS & RESET
 * ------------------------------------------------------------- */
:root {
  /* Colors - Dark Mode Default */
  --bg-primary: #0a0a0c;
  --bg-secondary: #141416;
  --bg-tertiary: #1c1c1f;
  --text-primary: #f4f4f6;
  --text-secondary: #a0a0a5;
  --text-muted: #6e6e73;
  --accent: #e53935; /* Premium Deep Metallic Red */
  --accent-hover: #b71c1c;
  --border-color: #2c2c30;
  --card-bg: rgba(20, 20, 22, 0.7);
  --card-border: rgba(255, 255, 255, 0.05);
  --shadow: rgba(0, 0, 0, 0.5);

  /* Typography */
  --font-heading: 'Inter', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  
  /* UI Attributes */
  --border-radius: 8px;
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --focus-ring: 0 0 0 3px rgba(229, 57, 53, 0.4);
}

/* Light Mode Class Override */
body.light-theme {
  --bg-primary: #ffffff;
  --bg-secondary: #f6f6f9;
  --bg-tertiary: #eeeef2;
  --text-primary: #121214;
  --text-secondary: #4a4a50;
  --text-muted: #86868b;
  --accent: #e53935;
  --accent-hover: #c62828;
  --border-color: #e2e2e8;
  --card-bg: rgba(246, 246, 249, 0.85);
  --card-border: rgba(0, 0, 0, 0.06);
  --shadow: rgba(0, 0, 0, 0.08);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.3s ease, color 0.3s ease;
  overflow-x: hidden;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* Focus States */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

/* Typography elements */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  margin-bottom: 0.5rem;
}

p {
  color: var(--text-secondary);
  font-size: clamp(1rem, 1.2vw, 1.125rem);
}

.text-accent {
  color: var(--accent);
}

/* -------------------------------------------------------------
 * 2. REUSABLE UTILITIES & LAYOUTS
 * ------------------------------------------------------------- */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.section-padding {
  padding: 6rem 0;
}

/* Alternate light/dark sections for rhythm */
.section-dark {
  background-color: var(--bg-primary);
}

.section-light {
  background-color: var(--bg-secondary);
}

.section-title-wrapper {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-subtitle {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

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

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  border: none;
  min-height: 48px; /* Touch target accessibility */
}

.btn-primary {
  background-color: var(--accent);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
}

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

.btn-secondary:hover {
  background-color: var(--border-color);
  transform: translateY(-2px);
}

.btn-text {
  background-color: transparent;
  color: var(--text-primary);
  text-decoration: underline;
  padding: 0.5rem 1rem;
}

.btn-text:hover {
  color: var(--accent);
}

/* Glassmorphism Cards */
.card {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius);
  padding: 2.5rem 2rem;
  box-shadow: 0 10px 30px var(--shadow);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
}

/* -------------------------------------------------------------
 * 3. COMPONENT STYLING
 * ------------------------------------------------------------- */

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(10, 10, 12, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--card-border);
  transition: var(--transition);
}

body.light-theme header {
  background-color: rgba(255, 255, 255, 0.85);
}

header.scrolled {
  box-shadow: 0 4px 20px var(--shadow);
  border-bottom-color: var(--border-color);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

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

.logo-mark {
  height: 40px;
  width: auto;
  border-radius: 6px;
  object-fit: contain;
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .logo-mark {
    height: 32px;
  }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--accent);
}

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

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Theme Toggle Button */
.theme-toggle {
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
}

.theme-toggle:hover {
  background-color: var(--bg-tertiary);
}

/* Header Click-to-Call Icon */
.nav-phone {
  color: var(--text-primary);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  text-decoration: none;
  transition: var(--transition);
}

.nav-phone:hover {
  background-color: var(--bg-tertiary);
  color: var(--accent);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 12, 0.4) 0%,
    rgba(10, 10, 12, 0.8) 50%,
    rgba(10, 10, 12, 0.95) 100%
  );
  z-index: 1;
}

body.light-theme .hero-overlay {
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.4) 0%,
    rgba(255, 255, 255, 0.75) 50%,
    rgba(255, 255, 255, 0.98) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 750px;
  margin-top: -2rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(229, 57, 53, 0.15);
  color: var(--accent);
  padding: 0.5rem 1rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero h1 {
  margin-bottom: 1.5rem;
  font-weight: 800;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  margin-bottom: 2.5rem;
  color: var(--text-secondary);
}

.hero-btns {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.hero-trust-line {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.hero-trust-line span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* Trust Strip */
.trust-strip {
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 2rem 0;
  background-color: var(--bg-tertiary);
}

.trust-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-around;
  gap: 2rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.trust-item i {
  color: var(--accent);
  font-size: 1.2rem;
}

/* Services */
.service-inclusions {
  list-style: none;
  margin: 1.5rem 0;
}

.service-inclusions li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.service-inclusions li i {
  color: var(--accent);
  margin-top: 0.25rem;
  font-size: 0.9rem;
}

.service-footer {
  margin-top: auto;
}

.service-best-for {
  font-size: 0.85rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
  margin-bottom: 1.5rem;
}

.service-upcoming {
  border-style: dashed;
  border-width: 1.5px;
  background-color: transparent;
  display: flex;
  flex-direction: column;
}

.service-upcoming-badge {
  background-color: var(--border-color);
  color: var(--text-secondary);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  align-self: flex-start;
  margin-bottom: 1rem;
}

/* Before and After Image Slider */
.slider-container {
  position: relative;
  width: 100%;
  max-width: 800px;
  height: 500px;
  margin: 0 auto;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 20px 45px var(--shadow);
}

.slider-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  pointer-events: none;
}

.slider-after {
  z-index: 1;
}

.slider-before {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 50%;
  height: 100%;
  overflow: hidden;
  border-right: 2px solid #ffffff;
}

.slider-before .slider-img {
  /* Force the inner image to span the full container width, not just the clipped portion */
  width: 800px;
  max-width: none;
}

/* Slider Controls */
.slider-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--accent);
  color: #ffffff;
  border: 3px solid #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  cursor: ew-resize;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease;
}

.slider-handle:hover {
  transform: translate(-50%, -50%) scale(1.1);
}

.slider-label {
  position: absolute;
  bottom: 1rem;
  background-color: rgba(10, 10, 12, 0.7);
  color: #ffffff; /* Always white — labels sit on images regardless of theme */
  padding: 0.35rem 0.85rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  z-index: 2;
}

.label-before {
  left: 1rem;
}

.label-after {
  right: 1rem;
}

/* Service Path/Levels Section */
.level-card {
  text-align: center;
  padding: 3rem 2rem;
}

.level-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(229, 57, 53, 0.15);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
  font-size: 1.5rem;
}

/* Recommendation Quiz */
.quiz-box {
  max-width: 650px;
  margin: 0 auto;
}

.quiz-progress-bar {
  width: 100%;
  height: 4px;
  background-color: var(--border-color);
  border-radius: 10px;
  margin-bottom: 2.5rem;
  overflow: hidden;
}

.quiz-progress {
  height: 100%;
  width: 33.33%;
  background-color: var(--accent);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.quiz-step {
  display: none;
}

.quiz-step.active {
  display: block;
  animation: fadeIn 0.4s ease-out forwards;
}

.quiz-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 2rem 0;
}

.quiz-option {
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-weight: 500;
  transition: var(--transition);
}

.quiz-option:hover {
  border-color: var(--accent);
  background-color: rgba(229, 57, 53, 0.05);
}

.quiz-option:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-color: var(--accent);
}

.quiz-option.selected {
  border-color: var(--accent);
  background-color: rgba(229, 57, 53, 0.1);
  box-shadow: 0 0 0 1px var(--accent);
}

.quiz-option-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--text-muted);
  position: relative;
  transition: var(--transition);
}

.quiz-option.selected .quiz-option-dot {
  border-color: var(--accent);
}

.quiz-option.selected .quiz-option-dot::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent);
}

.quiz-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
}

.quiz-result-box {
  text-align: center;
}

.quiz-result-recommendation {
  background-color: rgba(229, 57, 53, 0.05);
  border: 1.5px solid var(--accent);
  border-radius: var(--border-radius);
  padding: 2rem;
  margin: 2rem 0;
}

/* Process Section */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.process-item {
  position: relative;
}

.process-number {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(229, 57, 53, 0.15);
  margin-bottom: 0.5rem;
}

.process-title {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

/* FAQ Accordion */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1rem;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
  padding: 0;
  color: var(--text-secondary);
}

.faq-answer.open {
  max-height: 300px;
  padding-bottom: 1rem;
}

.faq-icon {
  font-size: 1.25rem;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--text-muted);
}

.faq-question.open .faq-icon {
  transform: rotate(45deg);
  color: var(--accent);
}

/* Waitlist Form */
.waitlist-form {
  display: flex;
  gap: 0.75rem;
  max-width: 500px;
  margin: 2rem 0 0 0;
}

.form-group {
  flex-grow: 1;
}

.form-input {
  width: 100%;
  height: 48px;
  padding: 0.75rem 1rem;
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-input:focus {
  border-color: var(--accent);
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}

.testimonial-rating {
  color: #ffb300;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.testimonial-source {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

/* Booking Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  position: relative;
  width: 90%;
  max-width: 1000px;
  height: 85vh;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.open .modal-container {
  transform: scale(1);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2rem;
  border-bottom: 1px solid var(--border-color);
}

.modal-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
}

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

.modal-body {
  flex-grow: 1;
  position: relative;
  background-color: var(--bg-primary);
}

.booking-iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.iframe-fallback {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
  z-index: 10;
  display: none; /* Shown dynamically if needed */
}

/* Sticky Mobile Booking Bar */
.sticky-mobile-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 1rem 1.5rem;
  z-index: 999;
  display: none;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
}

.sticky-mobile-info {
  display: flex;
  flex-direction: column;
}

.sticky-mobile-title {
  font-weight: 700;
  font-size: 0.95rem;
}

.sticky-mobile-subtitle {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.sticky-mobile-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.sticky-call-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  min-height: 40px;
  border-radius: 50%;
  background-color: var(--bg-tertiary);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  text-decoration: none;
  font-size: 1.05rem;
  flex-shrink: 0;
  transition: var(--transition);
}

.sticky-call-btn:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* Find Us (address + map) */
.find-us-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 2.5rem;
  align-items: stretch;
}

.find-us-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}

.find-us-details p {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-primary);
  font-size: 1rem;
  margin: 0;
}

.find-us-details a {
  color: var(--text-primary);
  text-decoration: none;
}

.find-us-details a:hover {
  color: var(--accent);
}

.find-us-map {
  border-radius: var(--border-radius);
  overflow: hidden;
  min-height: 280px;
  border: 1px solid var(--border-color);
}

.find-us-map iframe {
  width: 100%;
  height: 100%;
  min-height: 280px;
  border: 0;
  display: block;
}

@media (max-width: 768px) {
  .find-us-grid {
    grid-template-columns: 1fr;
  }
}

/* About Founder Area */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 4rem;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 15px 35px var(--shadow);
}

.about-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

/* Final Call To Action */
.final-cta {
  background-size: cover;
  background-position: center;
  position: relative;
  text-align: center;
}

.final-cta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 10, 12, 0.9);
  z-index: 1;
}

body.light-theme .final-cta-overlay {
  background-color: rgba(255, 255, 255, 0.95);
}

.final-cta-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.final-cta h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1.5rem;
}

.final-cta p {
  margin-bottom: 2.5rem;
}

/* Footer styling */
footer {
  background-color: #050507;
  color: #8f8f94;
  padding: 5rem 0 2rem 0;
  border-top: 1px solid var(--border-color);
  font-size: 0.9rem;
}

body.light-theme footer {
  background-color: #f0f0f4;
  color: #55555c;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand h4 {
  color: var(--text-primary);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.footer-links-col h5 {
  color: var(--text-primary);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links-col ul {
  list-style: none;
}

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

.footer-links-col ul li a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links-col ul li a:hover {
  color: var(--accent);
}

/* Legal pages (Privacy Policy / Terms of Service) */
.legal-hero {
  padding-bottom: 2rem;
}

.legal-content {
  max-width: 760px;
}

.legal-content h2 {
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
  margin-top: 2.5rem;
  color: var(--text-primary);
}

.legal-content h2:first-of-type {
  margin-top: 0;
}

.legal-content p {
  margin-bottom: 1.25rem;
}

.legal-content ul {
  margin: 0 0 1.25rem 1.25rem;
  color: var(--text-secondary);
}

.legal-content li {
  margin-bottom: 0.5rem;
}

.legal-content a {
  color: var(--accent);
}

.legal-disclaimer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
}

.footer-policy-info {
  margin-bottom: 1rem;
}

.footer-policy-info span {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
  gap: 1.5rem;
}

.footer-socials {
  display: flex;
  gap: 1.25rem;
}

.footer-socials a {
  color: var(--text-secondary);
  font-size: 1.2rem;
  transition: var(--transition);
}

.footer-socials a:hover {
  color: var(--accent);
}

/* -------------------------------------------------------------
 * 4. RESPONSIVE MEDIA QUERIES
 * ------------------------------------------------------------- */

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

@media (max-width: 1024px) {
  .slider-container {
    height: 400px;
  }
  .slider-before .slider-img {
    width: 800px; /* Container is still close to 800px at this size */
  }
}

@media (max-width: 768px) {
  /* Hide standard nav links and button */
  .nav-links, .nav-actions .btn {
    display: none;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  /* Mobile menu overlay */
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    padding: 2rem 5%;
    gap: 1.5rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    animation: fadeIn 0.3s ease-out forwards;
  }

  .hero {
    min-height: auto;
    padding: 8rem 0 5rem 0;
  }
  
  .hero-btns {
    flex-direction: column;
    gap: 1rem;
  }
  
  .hero-btns .btn {
    width: 100%;
  }

  .slider-container {
    height: 300px;
  }
  
  .slider-before .slider-img {
    width: 100vw; /* Match viewport width for mobile */
  }

  .sticky-mobile-bar {
    display: flex; /* Show sticky booking bar on mobile */
  }
  
  /* Add padding to body to prevent footer clipping from sticky bar */
  body {
    padding-bottom: 80px;
  }

  .waitlist-form {
    flex-direction: column;
    max-width: 100%;
  }
}
