/* Hero Section Styles */

.hero-section {
  background: linear-gradient(135deg, var(--color-primary-navy) 0%, var(--color-primary-navy-light) 100%);
  color: var(--color-neutral-white);
  padding: var(--spacing-xxxl) 0;
  min-height: 100vh;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/* Override for hero sections with background images - they need dark overlay instead */
.hero-section.bg-image-section::before,
.hero-section.image-overlay::before {
  background: linear-gradient(135deg, rgba(26, 35, 50, 0.82), rgba(26, 35, 50, 0.78));
  pointer-events: auto;
  z-index: 1;
}

.hero-section .container {
  position: relative;
  z-index: 1;
}

.hero-section h1 {
  font-size: var(--font-size-h1);
  font-weight: var(--font-weight-bold);
  color: var(--color-neutral-white);
  margin-bottom: var(--spacing-lg);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-section p {
  font-size: var(--font-size-h4);
  font-weight: var(--font-weight-light);
  color: var(--color-neutral-light-gray);
  margin-bottom: var(--spacing-xxl);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-section .cta-buttons {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  flex-wrap: wrap;
}

.hero-section .btn {
  font-size: var(--font-size-h6);
  padding: var(--spacing-md) var(--spacing-xxl);
  min-width: 200px;
}

/* Responsive Hero Section */
@media (max-width: 768px) {
  .hero-section {
    min-height: 80vh;
    padding: var(--spacing-xxl) 0;
  }
  
  .hero-section h1 {
    font-size: 2rem;
  }
  
  .hero-section p {
    font-size: var(--font-size-h5);
  }
  
  .hero-section .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-section .btn {
    width: 100%;
    max-width: 300px;
  }
}

@media (min-width: 769px) and (max-width: 991px) {
  .hero-section {
    min-height: 90vh;
  }
  
  .hero-section h1 {
    font-size: 2.5rem;
  }
}

/* Small Hero Section for Interior Pages */
.hero-section-small {
  min-height: auto;
  height: auto;
  padding: var(--spacing-xxxl) 0 var(--spacing-xxl) 0;
}

@media (max-width: 768px) {
  .hero-section-small {
    padding: var(--spacing-xxl) 0 var(--spacing-xl) 0;
  }
  
  /* Hero sections with background images - mobile optimization */
  .hero-section-small.bg-image-section {
    background-attachment: scroll;
    background-position: center center;
  }
  
  .hero-section-small h1 {
    font-size: 1.75rem;
  }
  
  .hero-section-small .lead {
    font-size: 1rem;
  }
}

/* Mobile-specific adjustments for background image hero sections */
@media (max-width: 576px) {
  .hero-section.bg-image-section,
  .hero-section-small.bg-image-section {
    background-attachment: scroll;
    background-position: center;
  }
  
  /* Lighter overlay on mobile for better image visibility */
  .hero-section.bg-image-section::before,
  .hero-section-small.bg-image-section::before,
  .hero-section.image-overlay::before,
  .hero-section-small.image-overlay::before {
    background: linear-gradient(135deg, rgba(26, 35, 50, 0.82), rgba(26, 35, 50, 0.78)) !important;
  }
  
  /* Ensure buttons are touch-friendly */
  .hero-section .btn,
  .hero-section-small .btn {
    min-height: 48px;
    padding: 0.75rem 1.5rem;
  }
}
