/* 360 Fire Prevention - Professional Corporate Design */

:root {
  /* Logo Colors - from logo-360-fire.svg */
  --logo-red: #FF4136;           /* Flame outer layer */
  --logo-orange: #FF8C00;        /* Flame middle layer */
  --logo-yellow: #FFD700;        /* Flame inner/core */
  --logo-red-orange: #FF6347;    /* "FIRE PREVENTION" text */
  --logo-off-white: #F5F5DC;     /* "360" number */
  --logo-grey: #CCCCCC;          /* Arc */
  --logo-black: #000000;         /* Background */
  
  /* Site Color Palette - Client requested colors */
  --primary-red: #b83903;        /* Primary brand color (dark red/orange) */
  --primary-blue: #4472c4;       /* Primary blue */
  --accent-color: #0f253e;       /* Accent color (dark blue) */
  --navy-blue: #1e3a5f;          /* Keep for contrast */
  --charcoal-gray: #2c2c2c;
  --light-grey: #e5e5e5;
  --off-white: #F5F5DC;
  --white: #ffffff;
  --text-dark: #333333;
  --text-light: #666666;
  /* Form controls — visible edges on white / off-white sections */
  --form-field-border: #8b95a6;
  --form-field-border-hover: #64748b;
  --form-field-shadow: 0 1px 3px rgba(15, 37, 62, 0.08),
    0 0 0 1px rgba(15, 37, 62, 0.05);
}

/* Flash Messages */
.flash-messages {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.5rem 3rem;
}

.flash-alert {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
  border-radius: 6px;
  border-left: 4px solid;
  position: relative;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  font-size: 0.95rem;
  font-weight: 500;
}

.flash-alert-success {
  background-color: #d4edda;
  color: #155724;
  border-left-color: #28a745;
}

.flash-alert-error {
  background-color: #f8d7da;
  color: #721c24;
  border-left-color: #dc3545;
}

.flash-alert-warning {
  background-color: #fff3cd;
  color: #856404;
  border-left-color: #ffc107;
}

.flash-alert-info {
  background-color: #d1ecf1;
  color: #0c5460;
  border-left-color: #17a2b8;
}

.flash-icon {
  font-size: 1.25rem;
  font-weight: bold;
  flex-shrink: 0;
}

.flash-message {
  flex: 1;
}

.flash-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: inherit;
  opacity: 0.6;
  line-height: 1;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: opacity 0.2s ease;
}

.flash-close:hover {
  opacity: 1;
}

@media (max-width: 768px) {
  .flash-messages {
    padding: 1rem 1.5rem;
  }

  .flash-alert {
    padding: 0.875rem 1rem;
    font-size: 0.9rem;
  }
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI',
    sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--white);
  border-top: none !important;
  outline: none !important;
}

html {
  border-top: none !important;
  outline: none !important;
}

.fire-prevention-site {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Navigation */
.main-nav {
  background-color: var(--white) !important;
  border-bottom: 2px solid var(--light-gray);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1001;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(10px);
  overflow: visible; /* Ensure navigation content is visible */
}


.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: opacity 0.3s ease;
  border: none !important;
  border-top: none !important;
  outline: none !important;
  box-shadow: none !important;
}

.logo-link::before,
.logo-link::after {
  display: none !important;
  content: none !important;
}

.logo-link:focus,
.logo-link:focus-visible,
.logo-link:active {
  outline: none !important;
  border: none !important;
  box-shadow: none !important;
}

.logo-link:hover {
  opacity: 0.85;
}

.logo-img {
  height: 50px;
  width: auto;
  transition: transform 0.3s ease;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  display: block;
}

.logo-img::before,
.logo-img::after {
  display: none !important;
  content: none !important;
}

.nav-container {
  border-top: none !important;
}

.main-nav {
  border-top: none !important;
}

.logo-link:hover .logo-img {
  transform: scale(1.02);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 0;
  align-items: center;
  margin: 0;
  padding: 0;
  height: 100%;
}

.nav-menu li {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.nav-menu a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 80%;
  height: 3px;
  background-color: var(--primary-red);
  transition: transform 0.3s ease;
}

.nav-menu a:hover {
  color: var(--primary-red);
  background-color: rgba(122, 20, 26, 0.03);
}

.nav-menu a:hover::after {
  transform: translateX(-50%) scaleX(1);
}

.nav-menu a.active {
  color: var(--primary-red);
  background-color: rgba(122, 20, 26, 0.05);
  font-weight: 700;
}

.nav-menu a.active::after {
  transform: translateX(-50%) scaleX(1);
}

/* Navigation Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  background: none;
  border: none;
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  cursor: pointer;
  font-family: inherit;
}

.nav-dropdown-toggle::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 80%;
  height: 3px;
  background-color: var(--primary-red);
  transition: transform 0.3s ease;
}

.nav-dropdown-toggle:hover {
  color: var(--primary-red);
  background-color: rgba(122, 20, 26, 0.03);
}

.nav-dropdown-toggle:hover::after {
  transform: translateX(-50%) scaleX(1);
}

.nav-dropdown-toggle.active {
  color: var(--primary-red);
  background-color: rgba(122, 20, 26, 0.05);
  font-weight: 700;
}

.nav-dropdown-toggle.active::after {
  transform: translateX(-50%) scaleX(1);
}

.nav-dropdown-toggle[aria-expanded="true"] {
  color: var(--primary-red);
  background-color: rgba(122, 20, 26, 0.05);
}

.nav-dropdown-toggle[aria-expanded="true"]::after {
  transform: translateX(-50%) scaleX(1);
}

.nav-dropdown-toggle[aria-expanded="true"] .dropdown-arrow {
  transform: rotate(180deg);
}

.nav-dropdown-toggle:focus,
.nav-dropdown-toggle:focus-visible {
  outline: 3px solid var(--primary-red);
  outline-offset: 2px;
  background-color: rgba(122, 20, 26, 0.1);
}

.dropdown-arrow {
  transition: transform 0.3s ease;
  flex-shrink: 0;
  transform-origin: center;
  display: inline-block;
}

.nav-dropdown-menu {
  position: absolute;
  /* Pull up slightly so there is no dead pixel gap between toggle and menu.
     Without this, mouseleave can fire on .nav-dropdown while moving to the links,
     which closes the menu (feels "temperamental" on desktop). */
  top: calc(100% - 6px);
  padding-top: 6px;
  left: 0;
  background-color: var(--white);
  background-clip: padding-box;
  min-width: 200px;
  list-style: none;
  margin: 0;
  padding-bottom: 0.5rem;
  padding-left: 0;
  padding-right: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-radius: 0 0 6px 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  z-index: 1000;
}

.nav-dropdown-toggle[aria-expanded="true"] + .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Desktop: show submenu without relying on fragile JS timers.
   Entire .nav-dropdown (button + menu) is one hover/focus region — no gap bugs. */
@media (min-width: 769px) {
  .nav-dropdown:hover .nav-dropdown-menu,
  .nav-dropdown:focus-within .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

.nav-dropdown-menu li {
  height: auto;
  display: block;
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.75rem 1.5rem;
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  text-transform: none;
  letter-spacing: 0;
  transition: all 0.2s ease;
  height: auto;
}

.nav-dropdown-menu a::after {
  display: none;
}

.nav-dropdown-menu a:hover {
  background-color: rgba(122, 20, 26, 0.05);
  color: var(--primary-red);
  padding-left: 1.75rem;
}

.nav-dropdown-menu a.active {
  background-color: rgba(122, 20, 26, 0.08);
  color: var(--primary-red);
  font-weight: 600;
}

/* Navigation CTA Button */
.nav-cta {
  margin-left: 1rem;
  padding-left: 1rem;
  border-left: 1px solid var(--light-gray);
}

.nav-book-btn {
  background-color: var(--primary-red) !important;
  color: var(--white) !important;
  padding: 0.625rem 1.5rem !important;
  border-radius: 6px !important;
  font-weight: 700 !important;
  text-transform: none !important;
  letter-spacing: 0.5px !important;
  box-shadow: 0 2px 6px rgba(184, 57, 3, 0.25) !important;
  transition: all 0.3s ease !important;
}

.nav-book-btn::after {
  display: none !important;
}

.nav-book-btn:hover {
  background-color: #9a2f02 !important;
  color: var(--white) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(184, 57, 3, 0.4) !important;
}

.nav-book-btn:active {
  transform: translateY(0) !important;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 2px solid var(--text-dark);
  border-radius: 4px;
  cursor: pointer;
  padding: 0.5rem 0.75rem;
  transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
  border-color: var(--primary-red);
  background-color: rgba(122, 20, 26, 0.05);
}

.mobile-menu-toggle span {
  width: 22px;
  height: 2.5px;
  background-color: var(--text-dark);
  transition: all 0.3s ease;
  border-radius: 2px;
}

.mobile-menu-toggle:hover span {
  background-color: var(--primary-red);
}

/* Skip Link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary-red);
  color: white;
  padding: 8px 16px;
  text-decoration: none;
  z-index: 10000;
  border-radius: 0 0 4px 0;
  font-weight: 600;
  transition: top 0.2s ease;
  opacity: 0;
  pointer-events: none;
}

.skip-link:focus {
  top: 0;
  outline: 3px solid var(--primary-red);
  outline-offset: 2px;
  opacity: 1;
  pointer-events: auto;
}

/* Focus Indicators */
.nav-menu a:focus,
.mobile-menu-toggle:focus,
.logo-link:focus {
  outline: 3px solid var(--primary-red);
  outline-offset: 2px;
}

/* Remove default focus outline, add custom */
.nav-menu a:focus-visible {
  outline: 3px solid var(--primary-red);
  outline-offset: 2px;
  background-color: rgba(122, 20, 26, 0.1);
}

.mobile-menu-toggle:focus-visible {
  outline: 3px solid var(--primary-red);
  outline-offset: 2px;
}

.logo-link:focus-visible {
  outline: none !important;
  border: none !important;
  box-shadow: none !important;
}

/* Mobile Menu States */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    height: auto;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    z-index: 999;
  }

  .nav-menu.is-open {
    max-height: 500px;
    padding: 1rem 0;
  }

  .nav-menu li {
    width: 100%;
    height: auto;
  }

  .nav-menu a,
  .nav-dropdown-toggle {
    width: 100%;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e0e0e0;
    text-align: left;
    justify-content: space-between;
  }

  .nav-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    background-color: rgba(0, 0, 0, 0.02);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .nav-dropdown-toggle[aria-expanded="true"] + .nav-dropdown-menu {
    max-height: 200px;
  }

  .nav-dropdown-menu a {
    padding-left: 2.5rem;
    font-size: 0.875rem;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }
}

/* Main Content */
.main-content {
  flex: 1;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Hero Section */
.hero-section {
  position: relative;
  color: var(--white);
  padding: 8rem 2rem;
  padding-top: 8rem; /* Ensure top padding keeps content below navigation */
  text-align: center;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0; /* Ensure no margin that could cause overlap */
  overflow: hidden;
}

/* Hero image container */
.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Dark overlay for text readability */
.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(30, 58, 95, 0.65) 0%,
    rgba(44, 44, 44, 0.55) 100%
  );
  z-index: 1;
}

@media (min-width: 1200px) {
  .hero-section {
    min-height: 700px;
  }
}


.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

/* Decorative Shapes */
.hero-shapes {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1; /* Below text content (z-index: 2) but above overlay (z-index: 0) */
  pointer-events: none;
  overflow: hidden;
}

.hero-shapes .shape {
  position: absolute;
  opacity: 0.7; /* More opaque for better visibility */
  animation: float 20s infinite ease-in-out;
}

/* Large hexagon at top center */
.hero-shapes .shape-hexagon-large-center {
  width: 180px;
  height: 180px;
  top: 20px;
  left: calc(50% - 90px);
  animation-delay: 0s;
}

/* Top left corner */
.hero-shapes .shape-hexagon-orange {
  width: 120px;
  height: 120px;
  top: 80px;
  left: -30px;
  animation-delay: 1s;
}

/* Top right corner */
.hero-shapes .shape-hexagon-blue {
  width: 130px;
  height: 130px;
  top: 15px;
  right: -40px;
  animation-delay: 2s;
}

/* Bottom left corner */
.hero-shapes .shape-hexagon-dark-blue {
  width: 100px;
  height: 100px;
  bottom: -35px;
  left: -25px;
  animation-delay: 3s;
}

/* Right side middle */
.hero-shapes .shape-hexagon-orange-2 {
  width: 110px;
  height: 110px;
  top: 35%;
  right: -35px;
  animation-delay: 4s;
}

/* Bottom right corner */
.hero-shapes .shape-hexagon-blue-2 {
  width: 95px;
  height: 95px;
  bottom: -30px;
  right: -30px;
  animation-delay: 5s;
}

/* Left side middle */
.hero-shapes .shape-hexagon-dark-blue-2 {
  width: 90px;
  height: 90px;
  top: 40%;
  left: -25px;
  animation-delay: 6s;
}

/* Bottom left side */
.hero-shapes .shape-hexagon-orange-3 {
  width: 85px;
  height: 85px;
  bottom: 15%;
  left: -20px;
  animation-delay: 7s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) translateX(0) rotate(0deg);
  }
  25% {
    transform: translateY(-30px) translateX(15px) rotate(8deg);
  }
  50% {
    transform: translateY(-20px) translateX(-10px) rotate(-8deg);
  }
  75% {
    transform: translateY(-25px) translateX(10px) rotate(5deg);
  }
}

/* Responsive adjustments for hexagons */
@media (max-width: 768px) {
  .hero-shapes .shape {
    opacity: 0.6; /* More opaque on mobile */
  }
  
  .hero-shapes .shape-hexagon-large-center {
    width: 120px;
    height: 120px;
    top: 80px;
    left: calc(50% - 60px);
  }
  
  .hero-shapes .shape-hexagon-orange {
    width: 80px;
    height: 80px;
    top: 100px;
    left: -20px;
  }
  
  .hero-shapes .shape-hexagon-blue {
    width: 85px;
    height: 85px;
    top: 80px;
    right: -25px;
  }
  
  .hero-shapes .shape-hexagon-dark-blue {
    width: 70px;
    height: 70px;
    bottom: -25px;
    left: -15px;
  }
  
  .hero-shapes .shape-hexagon-orange-2 {
    width: 75px;
    height: 75px;
    top: 30%;
    right: -25px;
  }
  
  .hero-shapes .shape-hexagon-blue-2 {
    width: 65px;
    height: 65px;
    bottom: -20px;
    right: -20px;
  }
  
  .hero-shapes .shape-hexagon-dark-blue-2 {
    width: 60px;
    height: 60px;
    top: 35%;
    left: -15px;
  }
  
  .hero-shapes .shape-hexagon-orange-3 {
    width: 55px;
    height: 55px;
    bottom: 12%;
    left: -12px;
  }
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  font-family: 'Merriweather', serif;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.375rem;
  margin-bottom: 2.5rem;
  opacity: 0.95;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Enhanced Corporate Buttons */
.btn {
  display: inline-block;
  padding: 0.9375rem 2.25rem;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.3px;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background-color: var(--primary-red);
  color: var(--white);
  border-color: var(--primary-red);
  box-shadow: 0 2px 6px rgba(184, 57, 3, 0.25);
}

.btn-primary:hover {
  background-color: #9a2f02;
  border-color: #9a2f02;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(184, 57, 3, 0.4);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(184, 57, 3, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: var(--white);
  border-color: var(--white);
  box-shadow: 0 2px 4px rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
  background-color: var(--white);
  color: var(--navy-blue);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-red);
  border-color: var(--primary-red);
  box-shadow: 0 2px 4px rgba(184, 57, 3, 0.1);
}

.btn-outline:hover {
  background-color: var(--primary-red);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(184, 57, 3, 0.3);
}

/* Button States */
.btn:disabled,
.btn.disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

.btn.loading {
  position: relative;
  color: transparent;
}

.btn.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1.25rem;
  height: 1.25rem;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* Form Submit Button */
.form-submit {
  margin-top: 1.5rem;
  width: 100%;
  padding: 1rem 2rem;
  font-size: 1.0625rem;
}

.btn-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-group .btn {
  flex: 1;
  min-width: 150px;
}

/* Features Section */
.features-section {
  padding: 4rem 2rem;
  background-color: var(--light-gray);
}

.features-section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--navy-blue);
  font-family: 'Merriweather', serif;
}

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

.feature-card {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  color: var(--navy-blue);
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.feature-card p {
  color: var(--text-light);
}

/* Services Preview */
.services-preview {
  padding: 4rem 2rem;
}

.services-preview h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--navy-blue);
  font-family: 'Merriweather', serif;
}

.section-intro {
  text-align: center;
  font-size: 1.125rem;
  color: var(--text-light);
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.service-card {
  background-color: var(--white);
  padding: 2rem;
  border: 1px solid var(--light-gray);
  border-radius: 8px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  border-color: var(--primary-red);
  box-shadow: 0 4px 12px rgba(122, 20, 26, 0.1);
}

.service-card h3 {
  color: var(--navy-blue);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.service-card p {
  color: var(--text-light);
}

.text-center {
  text-align: center;
}

/* Page Header */
.page-header {
  background: linear-gradient(
    135deg,
    var(--navy-blue) 0%,
    var(--charcoal-gray) 100%
  );
  color: var(--white);
  padding: 3rem 2rem;
  text-align: center;
}

.page-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-family: 'Merriweather', serif;
}

.page-subtitle {
  font-size: 1.125rem;
  opacity: 0.9;
}

/* Services Detail */
.services-detail {
  padding: 4rem 2rem;
}

.service-item {
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--light-gray);
}

.service-item:last-child {
  border-bottom: none;
}

.service-item h2 {
  color: var(--navy-blue);
  font-size: 2rem;
  margin-bottom: 1rem;
  font-family: 'Merriweather', serif;
}

.service-item p {
  color: var(--text-light);
  margin-bottom: 1rem;
  font-size: 1.125rem;
}

.service-item ul {
  list-style: none;
  padding-left: 0;
}

.service-item li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-dark);
}

.service-item li:before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-red);
  font-weight: bold;
}

/* Services Hero Image */
.services-hero-image {
  width: 100%;
  max-width: 100%; /* Expand to full container width */
  margin: 0 auto 3rem auto;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.services-hero-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.services-hero-image:hover .services-hero-img {
  transform: scale(1.02);
}

/* Services Ticker (Stock Ticker Style) */
.services-ticker-wrapper {
  width: 100%;
  margin: 0;
  padding: 0;
  position: relative;
}

.services-ticker {
  background: #0a1628;
  border: 2px solid rgba(184, 57, 3, 0.3);
  border-left: none;
  border-right: none;
  border-radius: 0;
  padding: 1rem 1.5rem;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3), 
              0 0 0 1px rgba(255, 255, 255, 0.05) inset;
  position: relative;
}

.services-ticker::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    var(--primary-red) 50%, 
    transparent 100%);
  animation: ticker-glow 2s ease-in-out infinite;
}

@keyframes ticker-glow {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.services-ticker:hover {
  border-color: rgba(184, 57, 3, 0.6);
}

.ticker-content {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: ticker-scroll 60s linear infinite;
  width: fit-content;
}

.services-ticker:hover .ticker-content {
  animation-play-state: paused;
}

.ticker-item {
  color: #e8f4f8;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  white-space: nowrap;
  margin-right: 1.5rem !important;
  flex-shrink: 0;
}

.ticker-separator {
  color: var(--primary-red);
  font-size: 1rem;
  font-weight: bold;
  opacity: 0.7;
  margin-right: 1.5rem !important;
  flex-shrink: 0;
}

/* Ensure all children have consistent spacing */
.ticker-content > * {
  margin-right: 1.5rem !important;
}

/* Ensure last child also has spacing for seamless loop */
.ticker-content .ticker-item:last-child,
.ticker-content .ticker-separator:last-child,
.ticker-content > *:last-child {
  margin-right: 1.5rem !important;
}

@keyframes ticker-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .ticker-content {
    animation: none;
  }
  
  .ticker-content {
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .ticker-item,
  .ticker-separator {
    margin-right: 1rem;
  }
  
  .services-ticker::before {
    animation: none;
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .services-ticker-wrapper {
    margin: 0;
    width: 100%;
  }
  
  .services-ticker {
    padding: 0.875rem 1.25rem;
  }
  
  .ticker-item {
    font-size: 0.85rem;
    margin-right: 1.25rem !important;
  }
  
  .ticker-separator {
    font-size: 0.9rem;
    margin-right: 1.25rem !important;
  }
  
  /* Ensure all children have consistent spacing on mobile */
  .ticker-content > * {
    margin-right: 1.25rem !important;
  }
  
  /* Ensure last child also has spacing on mobile */
  .ticker-content .ticker-item:last-child,
  .ticker-content .ticker-separator:last-child,
  .ticker-content > *:last-child {
    margin-right: 1.25rem !important;
  }
  
}

/* About Content */
.about-content, .fire-facts-content {
  padding: 4rem 2rem;
}

.about-section, .fire-facts-section {
  margin-top: 3rem;
  margin-bottom: 3rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.about-section h2, .fire-facts-section h2 {
  color: var(--navy-blue);
  font-size: 2rem;
  margin-bottom: 1rem;
  font-family: 'Merriweather', serif;
}

.about-section p {
  color: var(--text-light);
  margin-bottom: 1rem;
  font-size: 1.125rem;
  line-height: 1.8;
}

.about-section ul, .fire-facts-section ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-top: 1rem;
}

.about-section li, .fire-facts-section li {
  margin-bottom: 0.5rem;
  padding: 0.5rem 0;
  color: var(--text-dark);
}

.about-section li:before, .fire-facts-section li:before {
  content: none;
}

.about-section li::marker, .fire-facts-section li::marker {
  /* content: none; */
  color: var(--primary-red);
  font-weight: bold;
}

/* Contact */
.contact-content {
  padding: 4rem 2rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-info h2 {
  color: var(--navy-blue);
  font-size: 2rem;
  margin-bottom: 1rem;
  font-family: 'Merriweather', serif;
}

.contact-info > p {
  color: var(--text-light);
  margin-bottom: 2rem;
}

.contact-details {
  margin-top: 2rem;
}

.contact-item {
  margin-bottom: 2rem;
}

.contact-item h3 {
  color: var(--navy-blue);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.contact-item p {
  color: var(--text-light);
}

.contact-form-wrapper h2 {
  color: var(--navy-blue);
  font-size: 2rem;
  margin-bottom: 1.5rem;
  font-family: 'Merriweather', serif;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Enhanced Corporate Form Styles */
.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.5rem;
}

.form-group label {
  color: #1a1a1a;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.625rem;
  letter-spacing: 0.2px;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.form-group label::after {
  content: '';
}

.form-group label.required::after {
  content: '*';
  color: var(--primary-red);
  margin-left: 0.25rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 0.9375rem 1.125rem;
  border: 2px solid var(--form-field-border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text-dark);
  background-color: var(--white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  width: 100%;
  box-shadow: var(--form-field-shadow);
}

.form-group input:hover,
.form-group textarea:hover,
.form-group select:hover {
  border-color: var(--form-field-border-hover);
  box-shadow: 0 2px 6px rgba(15, 37, 62, 0.1), 0 0 0 1px rgba(15, 37, 62, 0.06);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-red);
  box-shadow: 0 0 0 3px rgba(184, 57, 3, 0.18), 0 2px 8px rgba(15, 37, 62, 0.12);
  background-color: #fff;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #6b7280;
  opacity: 1;
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.6;
  font-family: inherit;
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

/* Form Error States */
.form-group.error input,
.form-group.error textarea,
.form-group.error select {
  border-color: #dc2626;
  background-color: #fef2f2;
}

.form-group.error input:focus,
.form-group.error textarea:focus,
.form-group.error select:focus {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.form-group .error-message {
  color: #dc2626;
  font-size: 0.875rem;
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.form-group .error-message::before {
  content: '⚠';
  font-size: 1rem;
}

/* Form Success States */
.form-group.success input,
.form-group.success textarea,
.form-group.success select {
  border-color: #10b981;
}

.form-group.success .success-message {
  color: #10b981;
  font-size: 0.875rem;
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.form-group.success .success-message::before {
  content: '✓';
  font-size: 1rem;
  font-weight: bold;
}

/* Form Help Text */
.form-group .help-text {
  color: var(--text-light);
  font-size: 0.875rem;
  margin-top: 0.5rem;
  line-height: 1.5;
}

/* Radio and Checkbox Styling */
.form-group input[type='radio'],
.form-group input[type='checkbox'] {
  width: auto;
  margin-right: 0.5rem;
  cursor: pointer;
  appearance: none;
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid var(--form-field-border);
  border-radius: 4px;
  position: relative;
  flex-shrink: 0;
}

.form-group input[type='radio'] {
  border-radius: 50%;
}

.form-group input[type='radio']:checked,
.form-group input[type='checkbox']:checked {
  background-color: var(--primary-red);
  border-color: var(--primary-red);
}

.form-group input[type='radio']:checked::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0.5rem;
  height: 0.5rem;
  background-color: white;
  border-radius: 50%;
}

.form-group input[type='checkbox']:checked::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 0.875rem;
  font-weight: bold;
}

.form-group .radio-group,
.form-group .checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.form-group .radio-option,
.form-group .checkbox-option {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 0.75rem;
  border: 2px solid var(--form-field-border);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.form-group .radio-option:hover,
.form-group .checkbox-option:hover {
  border-color: var(--primary-red);
  background-color: rgba(122, 20, 26, 0.02);
}

.form-group .radio-option input:checked + label,
.form-group .checkbox-option input:checked + label {
  color: var(--primary-red);
  font-weight: 600;
}

/* Date and Time Inputs */
.form-group input[type='date'],
.form-group input[type='time'],
.form-group input[type='datetime-local'] {
  cursor: pointer;
}

.form-group input[type='date']::-webkit-calendar-picker-indicator,
.form-group input[type='time']::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: 0.6;
  filter: invert(0.5);
}

.form-group input[type='date']::-webkit-calendar-picker-indicator:hover,
.form-group input[type='time']::-webkit-calendar-picker-indicator:hover {
  opacity: 1;
}

/* Form Loading State */
.form-group.loading input,
.form-group.loading textarea,
.form-group.loading select {
  background-color: #f9fafb;
  cursor: wait;
  opacity: 0.7;
}

/* Form Section Styling - Card-like Professional Sections */
.form-section {
  background-color: var(--white);
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 2rem 2.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 6px rgba(15, 37, 62, 0.06);
  transition: box-shadow 0.3s ease;
}

.form-section:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.06);
}

.form-section:last-child {
  margin-bottom: 0;
}

.form-section-title {
  color: var(--navy-blue);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  font-family: 'Merriweather', serif;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.form-section-title::before {
  content: '';
  width: 4px;
  height: 1.5rem;
  background: linear-gradient(
    135deg,
    var(--primary-red) 0%,
    var(--navy-blue) 100%
  );
  border-radius: 2px;
}

.form-section-description {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 2rem;
  line-height: 1.6;
  padding-left: 1.75rem;
}

/* Form Grid Layout for Multiple Fields in a Row */
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

/* Full Width Fields */
.form-group.full-width {
  grid-column: 1 / -1;
}

/* Booking Form Container */
.booking-form-section {
  padding: 4rem 2rem;
  background-color: var(--light-gray);
}

.booking-form {
  max-width: 900px;
  margin: 0 auto;
}

/* Time Slots Display */
.time-slots-container {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--light-gray);
}

.time-slots-container-caption {
  color: var(--text-light);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}
.time-slots-title {
  color: var(--navy-blue);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.time-slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
  max-width: 100%;
}

/* Limit to maximum 4 columns */
@media (min-width: 600px) {
  .time-slots-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.time-slots-grid-no-data {
  grid-column: 1 / -1;
}

.time-slot-btn {
  padding: 0.875rem 1rem;
  background-color: #f8fafc;
  border: 2px solid var(--form-field-border);
  border-radius: 8px;
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  box-shadow: 0 1px 2px rgba(15, 37, 62, 0.06);
}

.time-slot-btn:hover {
  border-color: var(--primary-red);
  background-color: rgba(122, 20, 26, 0.05);
  color: var(--primary-red);
  transform: translateY(-2px);
  box-shadow: 0 2px 6px rgba(122, 20, 26, 0.15);
}

.time-slot-btn.selected {
  background-color: var(--primary-red);
  border-color: var(--primary-red);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(122, 20, 26, 0.3);
}

.time-slot-btn:disabled,
.time-slot-btn.unavailable {
  opacity: 0.5;
  cursor: not-allowed;
  background-color: #f3f4f6;
}

.time-slots-loading {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2rem;
  color: var(--text-light);
  font-style: italic;
}

/* Time Range Containers (Morning, Afternoon, Evening) */
.time-slots-grouped {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 1rem;
}

.time-range-container {
  display: none; /* Hidden by default, shown when slots are available */
}

.time-range-title {
  color: var(--navy-blue);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  text-transform: capitalize;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid var(--light-gray);
  border-top-color: var(--primary-red);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.time-slots-empty {
  /* text-align: center; */
  padding: 2rem;
  color: var(--text-light);
}

.time-slots-empty strong {
  color: var(--text-dark);
  display: block;
  margin-bottom: 0.5rem;
}

/* CTA Section */
.cta-section {
  background-color: var(--navy-blue);
  color: var(--white);
  padding: 4rem 2rem;
  text-align: center;
}

.cta-section h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-family: 'Merriweather', serif;
}

.cta-section p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* Footer */
.site-footer {
  background-color: var(--charcoal-gray);
  color: var(--white);
  padding: 3rem 2rem 1.5rem;
  margin-top: auto;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
  align-items: start;
}

.footer-section--brand {
  max-width: 280px;
}

.footer-logo-link {
  display: inline-block;
  line-height: 0;
  margin-bottom: 1rem;
  border-radius: 4px;
  opacity: 0.98;
  transition: opacity 0.25s ease;
}

.footer-logo-link:hover {
  opacity: 1;
}

.footer-logo-link:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 4px;
}

.footer-logo-img {
  width: 148px;
  max-width: 100%;
  height: auto;
  display: block;
}

.footer-tagline {
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.4;
}

.footer-section h3,
.footer-section h4 {
  margin-bottom: 1rem;
  color: var(--white);
}

.footer-section p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.5rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 1.5rem;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}

/* Responsive Images */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Image Container */
.responsive-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
}

.responsive-image-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
}

.responsive-image-container img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.responsive-image-container:hover img {
  transform: scale(1.05);
}

/* Image Grid - Responsive */
.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.image-grid-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
}

.image-grid-item:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.image-grid-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.image-grid-item:hover img {
  transform: scale(1.05);
}

/* Responsive Image with Caption */
.image-with-caption {
  margin: 2rem 0;
}

.image-with-caption img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.image-caption {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--text-light);
  text-align: center;
  font-style: italic;
}

/* Feature Card with Image */
.feature-card-with-image {
  background-color: var(--white);
  padding: 0;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.feature-card-with-image:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.feature-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.feature-card-content {
  padding: 1.5rem;
}

/* Service Card with Image */
.service-card-with-image {
  background-color: var(--white);
  padding: 0;
  border: 1px solid var(--light-gray);
  border-radius: 8px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.service-card-with-image:hover {
  border-color: var(--primary-red);
  box-shadow: 0 4px 12px rgba(122, 20, 26, 0.1);
}

.service-card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.service-card-content {
  padding: 2rem;
}

/* Mobile Responsive Images */
@media (max-width: 768px) {
  .image-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
  }
  
  .feature-card-image,
  .service-card-image {
    height: 180px;
  }
  
  .image-grid-item:hover img {
    transform: none; /* Disable hover effects on mobile for better performance */
  }
}

@media (max-width: 480px) {
  .image-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .feature-card-image,
  .service-card-image {
    height: 160px;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .nav-container {
    padding: 0 1.5rem;
    height: 65px;
  }

  .logo-img {
    height: 42px;
  }

  /* .nav-menu visibility is controlled by .is-open class and max-height in earlier media query */

  .nav-cta {
    margin-left: 0;
    padding-left: 0;
    border-left: none;
    border-top: 1px solid var(--light-gray);
    margin-top: 0.5rem;
    padding-top: 0.5rem;
  }

  .nav-book-btn {
    width: 100%;
    text-align: center;
    padding: 0.75rem 1.5rem !important;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  /* Form Responsive Styles */
  .booking-form-section {
    padding: 2rem 1rem;
  }

  .form-section {
    padding: 1.5rem 1.25rem;
    margin-bottom: 1.5rem;
  }

  .form-section-title {
    font-size: 1.25rem;
  }

  .form-section-description {
    font-size: 0.9rem;
    padding-left: 0;
    margin-bottom: 1.5rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .time-slots-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.625rem;
  }

  .time-slot-btn {
    padding: 0.75rem 0.875rem;
    font-size: 0.9rem;
  }

  .hero-section {
    padding: 4rem 1.5rem;
    min-height: 500px;
    background-size: cover;
    background-position: center;
  }

  .hero-content h1 {
    font-size: 2.25rem;
  }

  .hero-subtitle {
    font-size: 1.125rem;
  }

  .hero-subtitle.subtitle-handwritten {
    font-size: 1.3rem;
  }

  .page-subtitle.subtitle-handwritten,
  .gallery-header .subtitle-handwritten {
    font-size: 1.25rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .features-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .services-detail {
    padding: 2rem 1rem;
  }

  .service-item {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
  }

  .services-hero-image {
    max-width: 100%;
    margin-bottom: 2rem;
  }

  .service-item h2 {
    font-size: 1.5rem;
  }

  .container {
    padding: 0 1.5rem;
  }

  .page-header {
    padding: 2rem 1.5rem;
  }

  .page-header h1 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .hero-section {
    padding: 3rem 1rem;
    min-height: 400px;
  }

  .hero-content h1 {
    font-size: 1.75rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-subtitle.subtitle-handwritten {
    font-size: 1.2rem;
  }

  .page-subtitle.subtitle-handwritten,
  .gallery-header .subtitle-handwritten {
    font-size: 1.125rem;
  }

  .hero-cta {
    flex-direction: column;
    gap: 0.75rem;
  }

  .btn {
    width: 100%;
    text-align: center;
  }
}

.btn-next-available {
  background: transparent;
  border: 2px solid rgb(122, 20, 26);
  color: rgb(122, 20, 26);
  width: auto;
  padding: 0.75rem 1.5rem;
}

.btn-next-available:hover {
  background: rgb(122, 20, 26);
  color: white;
}

/* Handwritten Font for Secondary Headings
   Script faces read smaller than sans/serif at the same rem — bump sizes for legibility */
.handwritten-heading,
h2.handwritten {
  font-family: 'Caveat', cursive;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.3;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
}

.subtitle-handwritten {
  font-family: 'Caveat', cursive;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.35;
  font-size: 1.35rem;
}

/* Hero: slightly larger than page subtitles (handwritten reads small next to big h1) */
.hero-subtitle.subtitle-handwritten {
  font-size: 1.5rem;
}

/* Page headers (about, services, fire-facts): explicit so it wins over .page-subtitle */
.page-subtitle.subtitle-handwritten {
  font-size: 1.35rem;
}

/* Gallery inline block uses .gallery-header p — need higher specificity */
.gallery-header .subtitle-handwritten {
  font-size: 1.35rem;
}

/* Alternative handwritten fonts - uncomment to use instead of Caveat */
/* 
.handwritten-heading {
  font-family: 'Kalam', cursive;  /* Clean, casual alternative */


.handwritten-heading {
  font-family: 'Dancing Script', cursive;  /* Elegant, flowing alternative */
}

.handwritten-heading {
  font-family: 'Satisfy', cursive;  /* Script-like alternative */
}
*/
