/* ============================================
   Holiday Motor Coach - Main Stylesheet
   Established 1986 | Idaho Falls, Idaho
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
  /* Brand Colors - derived from logo */
  --hmc-blue-dark: #1a3a6e;
  --hmc-blue-primary: #2952a3;
  --hmc-blue-light: #4a7fd4;
  --hmc-blue-bright: #5b9aed;
  --hmc-red: #B8352E;
  --hmc-red-dark: #9a2c26;
  --hmc-slate: #333333;
  --hmc-slate-dark: #222222;
  --hmc-silver: #a8b4c4;
  --hmc-silver-light: #d4dce8;
  
  /* Neutrals */
  --white: #ffffff;
  --off-white: #f8fafc;
  --gray-50: #f1f5f9;
  --gray-100: #e2e8f0;
  --gray-200: #cbd5e1;
  --gray-300: #94a3b8;
  --gray-400: #64748b;
  --gray-500: #475569;
  --gray-600: #334155;
  --gray-700: #1e293b;
  --gray-800: #0f172a;
  
  /* Accent */
  --accent-gold: #d4a853;
  --accent-gold-light: #e8c97a;
  
  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-heading: 'Montserrat', 'Segoe UI', sans-serif;
  --font-body: 'Source Sans 3', 'Segoe UI', sans-serif;
  
  /* Spacing */
  --section-padding: clamp(4rem, 8vw, 8rem);
  --container-max: 1280px;
  --container-padding: clamp(1rem, 4vw, 2rem);
  
  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
}

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

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

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--gray-700);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--hmc-blue-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--hmc-blue-light);
}

ul, ol {
  list-style: none;
}

/* ---------- Skip Link (Accessibility) ---------- */
.skip-link {
  position: absolute;
  top: -50px;
  left: 0;
  background: var(--hmc-red);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  z-index: 10000;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: 0 0 8px 0;
  transition: top 0.3s ease;
}

.skip-link:focus {
  top: 0;
  outline: 2px solid var(--white);
  outline-offset: 2px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--gray-800);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

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

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

/* ---------- Layout Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section {
  padding: var(--section-padding) 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: #B8352E;
  border-radius: 2px;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--gray-500);
  max-width: 600px;
  margin: 1.5rem auto 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
}

.btn-primary {
  background: #B8352E;
  color: var(--white);
  box-shadow: var(--shadow-md), 0 4px 14px rgba(184, 53, 46, 0.35);
  transition: all var(--transition-base);
}

.btn-primary:hover {
  background: #9a2c26;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), 0 6px 20px rgba(184, 53, 46, 0.45);
  color: var(--white);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--hmc-blue-dark);
}

.btn-outline {
  background: transparent;
  color: var(--hmc-slate);
  border: 2px solid var(--hmc-slate);
}

.btn-outline:hover {
  background: var(--hmc-slate);
  color: var(--white);
}

/* ---------- Header / Navigation ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(51, 51, 51, 0.9);
  box-shadow: var(--shadow-sm);
  transition: background 0.4s ease;
}

.header.scrolled {
  background: #333333;
}

.header .container {
  max-width: 100%;
  padding: 0;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 2rem;
  width: 100%;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 40px;
  width: auto;
  opacity: 0;
  max-width: 0;
  transition: opacity 0.4s ease, max-width 0.4s ease;
  overflow: hidden;
}

.header.scrolled .logo-img {
  opacity: 1;
  max-width: 200px;
}

.nav-cta-left {
  white-space: nowrap;
}

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

.nav-link {
  padding: 0.5rem 1rem;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  position: relative;
  text-decoration: none;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: #B8352E;
  transition: width 0.3s ease;
}

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

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

/* Mobile Menu Toggle */
.nav-mobile-buttons {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all var(--transition-base);
}

/* Nav Accessibility Toggle - hidden on desktop, shown on mobile */
.nav-ada-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  background: none;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  color: var(--white);
  transition: all 0.3s ease;
}

.nav-ada-toggle i {
  font-size: 22px;
}

.nav-ada-toggle:hover {
  color: var(--hmc-red);
}

.nav-ada-toggle:focus {
  outline: none;
}

.nav-ada-toggle:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 2px;
}

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Compact Hero Variant */
.hero.hero-compact {
  min-height: 50vh;
}

.hero.hero-compact .hero-content {
  padding: 6rem var(--container-padding) 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 50vh;
}

.hero.hero-compact .hero-subtitle {
  margin-bottom: 0;
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    to bottom,
    rgba(15, 23, 42, 0.6) 0%,
    rgba(15, 23, 42, 0.5) 50%,
    rgba(15, 23, 42, 0.75) 100%
  );
}

.hero-content {
  text-align: center;
  color: var(--white);
  padding: 6rem var(--container-padding) 4rem;
  max-width: 900px;
}

.hero-tagline {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(4px);
}

.hero-logo {
  max-width: 600px;
  width: 100%;
  height: auto;
  margin: 0 auto 1.5rem auto;
  display: block;
  filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.3));
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1rem;
  text-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.8),
    0 4px 8px rgba(0, 0, 0, 0.6),
    0 0 20px rgba(0, 0, 0, 0.5);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.hero-subtitle {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  font-weight: 300;
  opacity: 0.95;
  margin-bottom: 2.5rem;
  line-height: 1.6;
  text-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.7),
    0 4px 8px rgba(0, 0, 0, 0.5);
}

.hero-cta {
  margin-top: 2.5rem;
  padding: 1rem 2.5rem;
  font-size: 1rem;
}

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

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

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

.hero-stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-gold-light);
}

.hero-stat-label {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.8;
}

/* Larger hero stats variant (2 items) */
.hero-stats-large {
  gap: 5rem;
}

.hero-stats-large .hero-stat-number {
  font-size: 4rem;
}

.hero-stats-large .hero-stat-label {
  font-size: 1.125rem;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--white);
  opacity: 0.7;
  animation: bounce 2s infinite;
}

.scroll-indicator span {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.scroll-indicator svg {
  width: 24px;
  height: 24px;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

/* ---------- Action Cards Section ---------- */
.action-cards {
  background: var(--off-white);
  padding: var(--section-padding) 0;
  padding-bottom: clamp(2rem, 4vw, 4rem);
}

/* ---------- Intro/Positioning Statement ---------- */
.intro {
  background: var(--white);
  padding: 5rem 0;
  position: relative;
}

.intro-wrapper {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.intro .section-header {
  margin-bottom: 2.5rem;
}

.intro .section-header p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--gray-600);
  max-width: 800px;
}

.intro .section-header p strong {
  color: var(--gray-800);
  font-weight: 600;
}

.intro-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-100);
}

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

.intro-stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--hmc-slate);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.intro-stat-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.intro-stat-divider {
  width: 1px;
  height: 50px;
  background: var(--gray-200);
}

@media (max-width: 768px) {
  .intro {
    padding: 3rem 0;
  }
  
  .intro .section-header p {
    font-size: 1rem;
  }
  
  .intro-stats {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .intro-stat-divider {
    width: 60px;
    height: 1px;
  }
  
  .intro-stat-number {
    font-size: 2rem;
  }
}

.action-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.action-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-100);
  text-decoration: none;
  transition: all var(--transition-base);
  overflow: hidden;
}

.action-card:hover {
  box-shadow: var(--shadow-xl);
}

.action-card-image {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
  background: var(--hmc-slate);
}

.action-card-image img,
.action-card-image video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Placeholder styling when no image */
.action-card-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--hmc-slate);
  opacity: 0;
  z-index: 1;
}

.action-card-image img[src=""],
.action-card-image img:not([src]) {
  display: none;
}

.action-card-image:has(img[src=""]),
.action-card-image:has(img:not([src])) {
  background: var(--hmc-slate);
}

.action-card-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem;
  flex-grow: 1;
}

.action-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.action-card p {
  font-size: 0.9375rem;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.action-card .btn-outline {
  margin-top: auto;
}

/* Action Cards Responsive */
@media (max-width: 768px) {
  .action-cards-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .action-card-image {
    height: 220px;
  }
  
  .action-card-content {
    padding: 1.5rem;
  }
}

/* Wide Action Card (Full Width) */
.action-card-wide {
  grid-column: 1 / -1;
  flex-direction: row;
}

.action-card-wide .action-card-image {
  width: 40%;
  height: 320px;
  flex-shrink: 0;
}

.action-card-wide .action-card-content {
  width: 60%;
  justify-content: center;
  text-align: left;
  align-items: flex-start;
}

@media (max-width: 768px) {
  .action-card-wide {
    flex-direction: column;
  }
  
  .action-card-wide .action-card-image {
    width: 100%;
    height: 220px;
  }
  
  .action-card-wide .action-card-content {
    width: 100%;
    text-align: center;
    align-items: center;
  }
}

/* ---------- About Section ---------- */
.about {
  background: var(--off-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-content h2 {
  margin-bottom: 1.5rem;
}

.about-content h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--hmc-blue-primary), var(--hmc-blue-light));
  margin-top: 1rem;
  border-radius: 2px;
}

.about-content p {
  color: var(--gray-600);
  font-size: 1.0625rem;
}

.about-highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.highlight-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--hmc-blue-primary), var(--hmc-blue-dark));
  border-radius: 8px;
  color: var(--white);
}

.highlight-icon svg {
  width: 24px;
  height: 24px;
}

.highlight-text h4 {
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.highlight-text p {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin: 0;
}

.about-image {
  position: relative;
}

.about-image img {
  border-radius: 8px;
  box-shadow: var(--shadow-xl);
}

.about-image::before {
  content: '';
  position: absolute;
  top: -1rem;
  right: -1rem;
  width: 100%;
  height: 100%;
  border: 3px solid var(--hmc-blue-light);
  border-radius: 8px;
  z-index: -1;
}

.experience-badge {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-light));
  color: var(--gray-800);
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.experience-badge .years {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
}

.experience-badge span {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ---------- Services/Fleet Section ---------- */
.fleet {
  background: var(--white);
}

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

.fleet-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  border: 1px solid var(--gray-100);
}

.fleet-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.fleet-card-image {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--hmc-blue-dark), var(--hmc-blue-primary));
}

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

.fleet-card:hover .fleet-card-image img {
  transform: scale(1.05);
}

.fleet-card-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--white);
  opacity: 0.5;
}

.fleet-card-placeholder svg {
  width: 64px;
  height: 64px;
}

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

.fleet-card-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--gray-800);
}

.fleet-card-content p {
  color: var(--gray-500);
  font-size: 0.9375rem;
  margin-bottom: 1rem;
}

.fleet-card-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.feature-tag {
  padding: 0.25rem 0.75rem;
  background: var(--gray-50);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gray-600);
}

/* ---------- Drivers Section ---------- */
.drivers {
  background: linear-gradient(135deg, var(--hmc-blue-dark) 0%, var(--hmc-blue-primary) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.drivers::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.drivers .section-header h2 {
  color: var(--white);
}

.drivers .section-header h2::after {
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-gold-light));
}

.drivers .section-header p {
  color: rgba(255, 255, 255, 0.8);
}

.drivers-content {
  position: relative;
  z-index: 1;
}

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

.driver-feature {
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  transition: all var(--transition-base);
}

.driver-feature:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
}

.driver-feature-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-light));
  border-radius: 50%;
  color: var(--gray-800);
}

.driver-feature-icon svg {
  width: 36px;
  height: 36px;
}

.driver-feature h3 {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.driver-feature p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9375rem;
}

/* ---------- Locations Section ---------- */
.locations {
  background: var(--off-white);
}

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

.location-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.location-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--hmc-blue-primary), var(--hmc-blue-light));
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.location-card:hover {
  box-shadow: var(--shadow-lg);
}

.location-card:hover::before {
  transform: scaleX(1);
}

.location-card.headquarters {
  border: 2px solid var(--hmc-blue-primary);
}

.location-card.headquarters::before {
  transform: scaleX(1);
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-gold-light));
}

.location-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-50);
  border-radius: 8px;
  margin-bottom: 1rem;
  color: var(--hmc-blue-primary);
}

.location-card.headquarters .location-icon {
  background: linear-gradient(135deg, var(--hmc-blue-primary), var(--hmc-blue-dark));
  color: var(--white);
}

.location-icon svg {
  width: 24px;
  height: 24px;
}

.location-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.location-card p {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin: 0;
}

.location-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--accent-gold);
  color: var(--gray-800);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 50px;
  margin-bottom: 1rem;
}

/* ---------- Regulations Section ---------- */
.regulations {
  background: var(--white);
}

.regulations-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
}

.regulations-main h3 {
  margin-bottom: 1rem;
  color: var(--gray-800);
}

.regulations-main p {
  color: var(--gray-600);
}

.regulations-list {
  margin: 2rem 0;
}

.regulation-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--gray-100);
}

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

.regulation-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-50);
  border-radius: 8px;
  color: var(--hmc-blue-primary);
}

.regulation-icon svg {
  width: 20px;
  height: 20px;
}

.regulation-text h4 {
  font-size: 0.9375rem;
  margin-bottom: 0.25rem;
}

.regulation-text p {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin: 0;
}

.regulations-sidebar {
  background: var(--gray-50);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid var(--gray-100);
}

.regulations-sidebar h4 {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--hmc-blue-primary);
}

.cert-item {
  margin-bottom: 1.5rem;
}

.cert-item:last-child {
  margin-bottom: 0;
}

.cert-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray-500);
  margin-bottom: 0.25rem;
}

.cert-value {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--hmc-blue-dark);
}

.regulations-sidebar address {
  font-style: normal;
  color: var(--gray-600);
  font-size: 0.9375rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray-200);
}

/* ---------- FAQ Section ---------- */
.faq {
  background: #e2e8f0;
}

.faq .section-header h2 {
  color: var(--gray-800);
}

.faq .section-header p {
  color: var(--gray-600);
}

.faq-grid {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: 8px;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-800);
  transition: background var(--transition-fast);
}

.faq-question:hover {
  background: var(--gray-50);
}

.faq-question svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--hmc-slate);
  transition: transform var(--transition-base);
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-base);
}

.faq-answer-content {
  padding: 0 1.5rem 1.25rem;
  color: var(--gray-600);
  font-size: 0.9375rem;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

/* ---------- CTA Section ---------- */
.cta {
  background: var(--hmc-slate);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
  animation: pulse 15s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.2); opacity: 0.3; }
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.cta p {
  font-size: 1.125rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.cta .btn-secondary {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

.cta .btn-secondary:hover {
  background: var(--accent-gold);
  color: var(--gray-800);
}

/* ---------- Reach Out Section ---------- */
.reach-out {
  background-color: #f8fafc;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23e2e8f0' fill-opacity='0.4'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  padding-top: clamp(2rem, 4vw, 4rem);
}

.contact-form-wrapper {
  max-width: 910px;
  margin: 0 auto;
}

.contact-form {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-100);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 0.5rem;
}

.form-group label .required {
  color: #B8352E;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  font-size: 1rem;
  font-family: var(--font-body);
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  background: var(--white);
  color: var(--gray-800);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--hmc-slate);
  box-shadow: 0 0 0 3px rgba(51, 51, 51, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-400);
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23475569'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.25rem;
  padding-right: 3rem;
}

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

.contact-form .btn-primary {
  width: 100%;
  padding: 1rem 2rem;
  font-size: 1rem;
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
}

/* ---------- Contact Section ---------- */
.contact {
  background: var(--white);
}

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

.contact-info h3 {
  margin-bottom: 1.5rem;
}

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

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-method-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-50);
  border-radius: 8px;
  color: var(--hmc-blue-primary);
}

.contact-method-icon svg {
  width: 24px;
  height: 24px;
}

.contact-method-text h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.contact-method-text p,
.contact-method-text a {
  font-size: 0.9375rem;
  color: var(--gray-600);
  margin: 0;
}

.contact-method-text a:hover {
  color: var(--hmc-blue-primary);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.social-link {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-50);
  border-radius: 8px;
  color: var(--gray-600);
  transition: all var(--transition-fast);
}

.social-link:hover {
  background: var(--hmc-blue-primary);
  color: var(--white);
}

.social-link svg {
  width: 20px;
  height: 20px;
}

.contact-form-container {
  background: var(--gray-50);
  padding: 2rem;
  border-radius: 12px;
}

.contact-form-container h3 {
  margin-bottom: 0.5rem;
}

.contact-form-container > p {
  color: var(--gray-500);
  font-size: 0.9375rem;
  margin-bottom: 1.5rem;
}

/* Cognito Form Container */
.cognito-form {
  min-height: 400px;
}

/* ---------- Footer ---------- */
.footer {
  background: #333333;
  color: #e2e8f0;
  padding: 4rem 0 2rem;
}

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

.footer-grid-2 {
  grid-template-columns: 1fr 2fr;
}

.footer-grid-3 {
  grid-template-columns: 1fr 1.2fr 1.5fr;
}

.footer-heading {
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  list-style: none;
}

.footer-links li {
  color: #cbd5e1;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.footer-links a {
  color: #cbd5e1;
  font-size: 0.9375rem;
  transition: color var(--transition-fast);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--white);
  text-decoration: underline;
}

/* Footer Contacts Grid */
.footer-contacts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem 2rem;
}

.footer-contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.footer-contact-item .contact-label {
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.footer-contact-item a {
  color: #94a3b8;
  font-size: 0.875rem;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-contact-item a:hover {
  color: var(--white);
}

/* Legacy Footer Contact Cards */
.footer-contacts li {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  padding-bottom: 0.75rem;
  margin-bottom: 0.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-contacts li:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.contact-name {
  color: var(--white);
  font-weight: 500;
  font-size: 0.9375rem;
}

.contact-role {
  color: #94a3b8;
  font-size: 0.8125rem;
}

.contact-phone {
  color: #cbd5e1;
  font-size: 0.875rem;
}

.contact-phone:hover {
  color: var(--white);
}

.footer-spacer {
  height: 0.5rem;
}

.footer-middle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-social {
  display: flex;
  gap: 1.5rem;
}

.footer-social a {
  color: #cbd5e1;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-social a:hover {
  color: var(--white);
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  font-size: 0.9375rem;
  color: #cbd5e1;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-legal a:hover {
  color: var(--white);
}

.footer-bottom {
  padding-top: 1.5rem;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.875rem;
  color: #94a3b8;
  margin: 0 0 0.5rem 0;
}

.footer-credit {
  font-size: 0.8125rem;
}

.footer-credit a {
  color: #94a3b8;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-credit a:hover {
  color: var(--white);
}

.footer-legal a:hover {
  color: var(--gray-300);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .about-image {
    order: -1;
  }
  
  .regulations-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--hmc-slate);
    padding: 0;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base);
  }
  
  .nav-menu.active {
    max-height: 400px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .nav-menu li {
    width: 100%;
  }
  
  .nav-link {
    display: block;
    color: var(--white);
    padding: 1rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
  }
  
  .nav-link::after {
    display: none;
  }
  
  .nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
  }
  
  .nav-cta-left {
    font-size: 0.75rem;
    padding: 0.5rem 1rem;
  }
  
  .nav-mobile-buttons {
    display: flex;
  }
  
  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
    font-size: 1.5rem;
    color: var(--white);
    background: transparent;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
  }
  
  .nav-toggle:hover {
    color: var(--hmc-red);
  }
  
  .nav-ada-toggle {
    display: flex;
    z-index: 1001;
  }
  
  /* Compact hero mobile adjustments */
  .hero.hero-compact {
    min-height: 50vh;
  }
  
  .hero.hero-compact .hero-content {
    padding: 5rem var(--container-padding) 2rem;
  }
  
  .hero-logo {
    max-width: 400px;
  }
  
  .hero-stats {
    gap: 1.5rem;
  }
  
  .hero-stat-number {
    font-size: 2rem;
  }
  
  .hero-stats-large {
    gap: 3rem;
  }
  
  .hero-stats-large .hero-stat-number {
    font-size: 3rem;
  }
  
  .hero-stats-large .hero-stat-label {
    font-size: 1rem;
  }
  
  .about-highlights {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-grid-2 {
    grid-template-columns: 1fr;
  }
  
  .footer-grid-3 {
    grid-template-columns: 1fr;
  }
  
  .footer-contacts-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-middle {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .footer-social,
  .footer-legal {
    justify-content: center;
  }
  
  .footer-bottom {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-subtitle {
    display: none;
  }
  
  .hero-cta {
    margin-top: 1.5rem;
    padding: 0.7rem 1.8rem;
    font-size: 0.875rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-buttons .btn {
    width: 100%;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 1rem;
  }
  
  .locations-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-contacts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- Animations ---------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-on-scroll {
  opacity: 0;
}

.animate-on-scroll.animated {
  animation: fadeInUp 0.6s ease forwards;
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }

/* ============================================
   MODAL STYLES
   ============================================ */

.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  backdrop-filter: blur(4px);
}

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

.modal {
  background: white;
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  border-radius: 12px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  animation: modalIn 0.3s ease;
}

/* Modal Scrollbar - Ultra Thin Style */
.modal::-webkit-scrollbar {
  width: 4px;
}

.modal::-webkit-scrollbar-track {
  background: transparent;
}

.modal::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 2px;
}

.modal::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.4);
}

/* Firefox scrollbar support */
.modal {
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Modal Close Button - X to Line Animation */
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border: none;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.modal-close .line1,
.modal-close .line2 {
  position: absolute;
  width: 20px;
  height: 2px;
  background: white;
  transition: all 0.3s ease;
}

.modal-close .line1 {
  transform: rotate(45deg);
}

.modal-close .line2 {
  transform: rotate(-45deg);
}

.modal-close:hover {
  background: var(--hmc-red);
}

.modal-close:hover .line1 {
  transform: rotate(180deg);
}

.modal-close:hover .line2 {
  transform: rotate(0deg);
}

/* Carousel Styles */
.carousel {
  position: relative;
  height: 360px;
  overflow: hidden;
}

.carousel-slides {
  display: flex;
  height: 100%;
  transition: transform 0.5s ease;
}

.carousel-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 2rem;
  background: linear-gradient(135deg, #333 0%, #555 100%);
}

.carousel-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.6) 30%, rgba(0,0,0,0.2) 60%, rgba(0,0,0,0) 100%);
}

.carousel-content {
  position: relative;
  z-index: 2;
  max-width: 90%;
}

.carousel-content h2 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.8), 0 4px 8px rgba(0,0,0,0.6), 0 0 20px rgba(0,0,0,0.9);
}

.carousel-content p {
  font-size: 1rem;
  color: #e2e8f0;
  text-shadow: 0 2px 4px rgba(0,0,0,0.8), 0 4px 8px rgba(0,0,0,0.6), 0 0 20px rgba(0,0,0,0.9);
}

/* Fleet Carousel Slides */
.carousel-slide-fleet-1 {
  background: url('../img/Holiday-Motor-Coach-Fleet-1.jpg') center/cover no-repeat;
}
.carousel-slide-fleet-2 {
  background: url('../img/Holiday-Motor-Coach-Fleet-2.jpg') center/cover no-repeat;
}
.carousel-slide-fleet-3 {
  background: url('../img/Holiday-Motor-Coach-Fleet-3.jpg') center/cover no-repeat;
}
.carousel-slide-fleet-4 {
  background: url('../img/Holiday-Motor-Coach-Fleet-4.jpg') center/cover no-repeat;
}

/* Locations Carousel Slides - Gradients as placeholders */
.carousel-slide-locations-1 {
  background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%);
}
.carousel-slide-locations-2 {
  background: linear-gradient(135deg, #8b4513 0%, #cd853f 100%);
}
.carousel-slide-locations-3 {
  background: linear-gradient(135deg, #2d4a3e 0%, #4a7c59 100%);
}
.carousel-slide-locations-4 {
  background: linear-gradient(135deg, #5a3e2b 0%, #8b6914 100%);
}
.carousel-slide-locations-5 {
  background: linear-gradient(135deg, #6b3a3a 0%, #a05252 100%);
}
.carousel-slide-locations-6 {
  background: linear-gradient(135deg, #333 0%, #555 100%);
}

/* Reserve Carousel Slides - Gradients as placeholders */
.carousel-slide-reserve-1 {
  background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%);
}
.carousel-slide-reserve-2 {
  background: linear-gradient(135deg, #333 0%, #555 100%);
}
.carousel-slide-reserve-3 {
  background: linear-gradient(135deg, #5a3e2b 0%, #8b6914 100%);
}
.carousel-slide-reserve-4 {
  background: linear-gradient(135deg, #2d4a3e 0%, #4a7c59 100%);
}

/* About Carousel Slides - Gradients as placeholders */
.carousel-slide-about-1 {
  background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%);
}
.carousel-slide-about-2 {
  background: linear-gradient(135deg, #333 0%, #555 100%);
}
.carousel-slide-about-3 {
  background: linear-gradient(135deg, #2d4a3e 0%, #4a7c59 100%);
}

/* Static Modal Header Image (non-carousel) */
.modal-header-image {
  position: relative;
  width: 100%;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  border-radius: 12px 12px 0 0;
  overflow: hidden;
}

.modal-header-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.5) 40%,
    rgba(0, 0, 0, 0.2) 100%
  );
}

.modal-header-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 2rem;
}

.modal-header-content h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
  text-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.8),
    0 4px 8px rgba(0, 0, 0, 0.6);
}

.modal-header-content p {
  font-size: 1.125rem;
  color: #ffffff;
  opacity: 0.9;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
}

/* About Modal Header - uses same gradient as carousel slide */
.modal-header-about {
  background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%);
}

/* Reserve Modal Header */
.modal-header-reserve {
  background: linear-gradient(135deg, #B8352E 0%, #8a2820 100%);
}

/* Locations Modal Header */
.modal-header-locations {
  background-image: url('../img/Holiday-Motor-Coach-Areas.png');
  background-size: cover;
  background-position: center;
}

.modal-header-locations .modal-header-content h2,
.modal-header-locations .modal-header-content p {
  color: #ffffff;
}

/* Accessibility Modal Header */
.modal-header-accessibility {
  background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%);
}

/* Modal Highlight Box */
.modal-body-highlight {
  background: var(--gray-50);
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 4px solid var(--hmc-red);
  margin-top: 1.5rem;
}

.modal-body-highlight h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 0.75rem;
}

.modal-body-highlight ul {
  margin-left: 1.25rem;
  margin-top: 0.75rem;
  list-style: disc;
}

.modal-body-highlight li {
  margin-bottom: 0.375rem;
  color: var(--gray-600);
}

@media (max-width: 768px) {
  .modal-header-image {
    height: 200px;
  }
  
  .modal-header-content h2 {
    font-size: 1.5rem;
  }
  
  .modal-header-content p {
    font-size: 1rem;
  }
}

/* FAQ Carousel Slides */
.carousel-slide-faq-1 {
  background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%);
}

/* Carousel Navigation Arrows */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: none;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 50%;
  cursor: pointer;
  color: white;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-arrow svg {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

.carousel-arrow:hover {
  background: var(--hmc-red);
  transform: translateY(-50%) scale(1.15);
}

.carousel-arrow-prev:hover svg {
  transform: rotate(-360deg);
}

.carousel-arrow-next:hover svg {
  transform: rotate(360deg);
}

.carousel-arrow-prev {
  left: 1rem;
}

.carousel-arrow-next {
  right: 1rem;
}

/* Carousel Dots */
.carousel-dots {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  display: flex;
  gap: 0.5rem;
  z-index: 5;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid white;
  background: transparent;
  cursor: pointer;
  transition: all 0.2s;
  padding: 0;
}

.carousel-dot.active,
.carousel-dot:hover {
  background: white;
}

/* Modal Body */
.modal-body {
  padding: 2rem;
  color: var(--gray-600);
}

.modal-body p {
  margin-bottom: 1rem;
}

.modal-body ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.modal-body li {
  margin-bottom: 0.5rem;
}

.modal-body-intro {
  margin-bottom: 1.5rem;
}

.mission-quote {
  font-style: italic;
}

.modal-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.modal-col h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--gray-900);
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--hmc-red);
}

.modal-col ul {
  margin-left: 1.25rem;
  margin-bottom: 0;
}

.modal-col p {
  font-size: 0.9375rem;
  margin-bottom: 0.5rem;
}

.modal-link {
  color: var(--hmc-red);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.modal-link:hover {
  color: var(--hmc-red-dark);
  text-decoration: underline;
}

/* Safety Grid (About Modal) */
.modal-safety-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.modal-safety-item {
  background: var(--gray-50);
  padding: 1.25rem;
  border-radius: 8px;
  border-left: 3px solid var(--hmc-red);
}

.modal-safety-item h5 {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

.modal-safety-item p {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 0;
}

@media (max-width: 600px) {
  .modal-safety-grid {
    grid-template-columns: 1fr;
  }
}

.modal-body-section {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray-200);
}

.modal-body-section h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--gray-900);
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--hmc-red);
  display: inline-block;
}

/* FAQ Modal Styling */
.modal-faq-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.modal-faq-item {
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--gray-200);
}

.modal-faq-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.modal-faq-item h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

.modal-faq-item p {
  font-size: 0.9375rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 0;
}

/* Modal Footer */
.modal-footer {
  padding: 1.5rem 2rem;
  border-top: 1px solid var(--gray-200);
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}

.modal-footer-single {
  justify-content: center;
}

/* Modal Responsive */
@media (max-width: 768px) {
  .modal-overlay {
    padding: 1rem;
  }
  
  .carousel {
    height: 280px;
  }
  
  .carousel-content h2 {
    font-size: 1.25rem;
  }
  
  .carousel-arrow {
    width: 40px;
    height: 40px;
  }
  
  .carousel-arrow svg {
    width: 20px;
    height: 20px;
  }
  
  .modal-body {
    padding: 1.5rem;
  }
  
  .modal-two-col {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .modal-footer {
    flex-direction: column;
  }
  
  .modal-footer .btn {
    width: 100%;
    text-align: center;
  }
}

/* Action Card Button Reset (for modal triggers) */
button.action-card {
  text-align: left;
  font: inherit;
  cursor: pointer;
  padding: 0;
  margin: 0;
  width: 100%;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

button.action-card:active {
  transform: scale(0.98);
}

/* ============================================
   SCROLL TO TOP BUTTON
   ============================================ */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--hmc-red);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-to-top:hover {
  background: var(--hmc-red-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}

.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 768px) {
  .scroll-to-top {
    width: 45px;
    height: 45px;
    bottom: 20px;
    right: 20px;
  }
  
  .scroll-to-top svg {
    width: 20px;
    height: 20px;
  }
}

/* ============================================
   CONTACT FORM VALIDATION STYLES
   ============================================ */

/* Error state for inputs */
.input-error {
  border-color: #dc3545 !important;
  background-color: #fff8f8 !important;
}

.input-error:focus {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.15) !important;
}

/* Error message below input */
.form-error {
  display: block;
  color: #dc3545;
  font-size: 0.85rem;
  margin-top: 0.35rem;
  padding-left: 0.25rem;
}

/* Form-level messages (success/error) */
.form-message {
  padding: 1rem 1.25rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.form-message-error {
  background-color: #fff5f5;
  border: 1px solid #fed7d7;
  color: #c53030;
}

.form-message-success {
  background-color: #f0fff4;
  border: 1px solid #9ae6b4;
  color: #276749;
}

/* Loading button state */
.btn-loading {
  position: relative;
  cursor: wait !important;
  opacity: 0.85;
}

.btn-loading i {
  margin-right: 0.5rem;
}

/* reCAPTCHA + Submit row */
.form-submit-row {
  display: flex;
  align-items: stretch;
  gap: 1rem;
  margin-top: 0.5rem;
}

.form-submit-row .form-recaptcha {
  flex-shrink: 0;
}

.form-submit-row .form-recaptcha .form-error {
  margin-top: 0.35rem;
}

.form-submit-row .btn-primary {
  flex: 1;
  min-height: 78px;
  font-size: 1rem;
  letter-spacing: 0.05em;
}

@media (max-width: 600px) {
  .form-submit-row {
    flex-direction: column;
    align-items: stretch;
  }

  .form-submit-row .form-recaptcha {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .form-submit-row .btn-primary {
    min-height: 50px;
  }
}

/* ============================================
   CONFIRMATION MODAL STYLES
   ============================================ */

.modal-confirmation {
  max-width: 480px;
}

.modal-header-confirmation {
  background: linear-gradient(135deg, #276749 0%, #38a169 100%);
  padding: 3rem 2rem;
  text-align: center;
}

.modal-header-confirmation .modal-header-content {
  color: white;
}

.confirmation-icon {
  margin-bottom: 1rem;
}

.confirmation-icon i {
  font-size: 4rem;
  color: white;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.15));
  animation: confirmPulse 0.6s ease-out;
}

@keyframes confirmPulse {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.modal-header-confirmation h2 {
  font-size: 1.75rem;
  font-weight: 600;
  margin: 0;
  color: white;
  text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.modal-body-confirmation {
  padding: 2rem;
  text-align: center;
}

.confirmation-greeting {
  font-size: 1.25rem;
  color: #333;
  margin: 0 0 1rem;
}

.confirmation-greeting .confirmation-name {
  color: var(--hmc-red, #c53030);
}

.confirmation-message {
  color: #555;
  margin: 0 0 1rem;
  line-height: 1.5;
}

.confirmation-email-display {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: #f8f9fa;
  padding: 0.875rem 1.5rem;
  border-radius: 50px;
  margin: 0 0 1.5rem;
  font-weight: 500;
}

.confirmation-email-display i {
  color: var(--hmc-red, #c53030);
  font-size: 1.1rem;
}

.confirmation-email {
  color: #333;
  word-break: break-all;
}

.confirmation-notice {
  background: linear-gradient(135deg, #ebf8ff 0%, #e6fffa 100%);
  border: 1px solid #90cdf4;
  border-radius: 12px;
  padding: 1.25rem;
  margin: 0 0 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  text-align: left;
}

.confirmation-notice i {
  color: #2b6cb0;
  font-size: 1.25rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.confirmation-notice p {
  margin: 0;
  color: #2c5282;
  font-size: 0.95rem;
  line-height: 1.5;
}

.confirmation-urgent {
  color: #666;
  font-size: 0.9rem;
  margin: 0;
}

.confirmation-urgent a {
  color: var(--hmc-red, #c53030);
  font-weight: 600;
  text-decoration: none;
}

.confirmation-urgent a:hover {
  text-decoration: underline;
}

/* Modal footer with primary button */
.modal-confirmation .modal-footer .btn-primary {
  min-width: 140px;
}

/* Responsive adjustments */
@media (max-width: 480px) {
  .modal-confirmation {
    margin: 1rem;
  }
  
  .modal-header-confirmation {
    padding: 2rem 1.5rem;
  }
  
  .confirmation-icon i {
    font-size: 3rem;
  }
  
  .modal-header-confirmation h2 {
    font-size: 1.5rem;
  }
  
  .modal-body-confirmation {
    padding: 1.5rem;
  }
  
  .confirmation-greeting {
    font-size: 1.1rem;
  }
  
  .confirmation-email-display {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }
  
  .confirmation-notice {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
  }
}
