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

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--heartland-blue) 0%, var(--gray-900) 100%);
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
  display: block;
  min-width: 100%;
  min-height: 100%;
}

/* Hide slideshow on largest screens, show video */
.hero-slideshow {
  display: none;
}

/* Smaller screens: Hide video, show slideshow */
@media (max-width: 1199px) {
  .hero-video {
    display: none;
  }
  
  .hero-slideshow {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
  }
}

/* Slideshow Styles - Fade with Zoom Effect */
.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: scale(0.95);
  transition: all 0.8s ease-in-out;
}

.slide.active {
  opacity: 1;
  transform: scale(1);
}

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

/* Modern Slideshow Navigation */
.slideshow-nav {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 1rem;
  z-index: 3;
}

.slide-btn {
  width: 3px;
  height: 24px;
  border-radius: 2px;
  border: none;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  padding: 0;
}

.slide-btn.active,
.slide-btn:hover {
  background: var(--white);
  height: 32px;
  transform: translateY(-4px);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 2;
}

/* Modern Centered Layout */
.hero-layout {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4rem;
  animation: fadeInUp 1s ease-out;
}

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

/* Hero Text Section */
.hero-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  max-width: 900px;
}

/* Ultra Modern Headline */
.hero-headline {
  font-size: clamp(3.5rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin: 0;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.8)) drop-shadow(0 1px 3px rgba(0, 0, 0, 0.9));
}

/* Hero Meta Section */
.hero-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

/* Modern Subtitle */
.hero-subtitle {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 600;
  color: var(--white);
  margin: 0;
  opacity: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-family: system-ui, -apple-system, sans-serif;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8), 0 1px 2px rgba(0, 0, 0, 0.9);
  filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.5));
  white-space: normal;
  word-wrap: break-word;
  hyphens: auto;
  text-align: center;
  max-width: 100%;
}

/* Refined Tagline */
.hero-tagline {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 400;
  margin: 0;
  opacity: 0.9;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.6;
  max-width: 600px;
}

/* Hero Actions */
.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  width: 100%;
}

.btn-hero {
  padding: 1.25rem 3rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 8px;
  min-width: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}



.btn-hero.btn-primary {
  background: var(--heartland-red);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(220, 38, 38, 0.3);
}

.btn-hero.btn-primary:hover {
  background: var(--heartland-red-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4);
}

.btn-hero.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.btn-hero.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.btn-hero.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--heartland-red);
  backdrop-filter: blur(10px);
}

.btn-hero.btn-outline:hover {
  background: var(--heartland-red);
  border-color: var(--heartland-red);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(220, 38, 38, 0.3);
}

/* Ultra Minimal Location */
.hero-location {
  opacity: 0.7;
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 0.5rem;
  text-align: center;
  width: 100%;
}

/* Responsive styles for larger screens */
@media (min-width: 640px) {
  .hero-actions {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
  }
  
  .btn-hero {
    min-width: 200px;
  }
  
  .hero-location {
    flex-basis: 100%;
    text-align: center;
  }
}

/* Mobile-specific styles */
@media (max-width: 1023px) {
  .hero-layout {
    padding: 0 1.5rem;
  }
  
  .hero-content {
    gap: 3rem;
  }
  
  .hero-text {
    gap: 2rem;
  }
}

@media (max-width: 640px) {
  .hero-layout {
    padding: 0 1rem;
  }
  
  .hero-content {
    gap: 2.5rem;
  }
  
  .hero-text {
    gap: 1.5rem;
  }
  
  .hero-headline {
    font-size: clamp(2.5rem, 8vw, 3.5rem);
    line-height: 1.1;
    white-space: normal;
    word-wrap: break-word;
    hyphens: auto;
  }
  
  .slide-btn {
    width: 4px;
    height: 20px;
  }
  
  .slide-btn.active,
  .slide-btn:hover {
    height: 28px;
  }
  
  .slideshow-nav {
    bottom: 2rem;
    gap: 0.75rem;
  }
  
  .btn-hero {
    min-width: 260px;
    padding: 1rem 2.5rem;
  }
  
  .hero-actions {
    flex-direction: column;
    gap: 1.5rem;
  }
}

/* Large screen optimizations */
@media (min-width: 1024px) {
  .hero-content {
    gap: 5rem;
  }
  
  .hero-text {
    gap: 3rem;
  }
}

/* Extra large screens */
@media (min-width: 1400px) {
  .hero-layout {
    max-width: 1400px;
  }
  
  .hero-content {
    gap: 6rem;
  }
}

/* Very small screens */
@media (max-width: 480px) {
  .hero-headline {
    font-size: clamp(2rem, 6vw, 2.5rem);
    line-height: 1.2;
    white-space: normal;
    word-wrap: break-word;
    hyphens: auto;
  }
  
  .hero-subtitle {
    font-size: clamp(1rem, 3vw, 1.25rem);
    line-height: 1.3;
    padding: 0 0.5rem;
  }
}

 