/* --- Hero Carousel Styles --- */
.hero-carousel {
  height: 100vh;
}
.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; /* or set a fixed height like 80vh */
  background-size: cover;
  background-position: center;
  transition: opacity 1s ease;
  opacity: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slide.active {
  opacity: 1;
  z-index: 2;
}

.hero-overlay {
  position: absolute;
  inset: 0; /* shorthand for top/left/right/bottom: 0 */
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: black;
  padding: 20px;
  max-width: 90%;
  margin: 0 auto;
}
.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.hero-content p {
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto;
}

.hero-slide.slide1 {
  background-image: url('https://proxiascodex.com/wp-content/uploads/2025/06/DTR-scaled.png');
}
.hero-slide.slide2 {
  background-image: url('https://proxiascodex.com/wp-content/uploads/2025/06/slide2-desktop.jpg');
}
.hero-slide.slide3 {
  background-image: url('https://proxiascodex.com/wp-content/uploads/2024/11/GA-Schedule-2.png');
}

/* Mobile background images */
@media (max-width: 640px) {
  .hero-slide.slide1 {
    background-image: url('https://proxiascodex.com/wp-content/uploads/2025/06/DTR-mobile.png');
  }
  .hero-slide.slide2 {
    background-image: url('https://proxiascodex.com/wp-content/uploads/2025/06/slide2-mobile.jpg');
  }
  .hero-slide.slide3 {
    background-image: url('https://proxiascodex.com/wp-content/uploads/2025/06/slide3-mobile.jpg');
  }
}

/* Button Styles */
.hero-buttons {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  width: calc(100% - 40px); /* keeps padding on mobile */
}


.hero-buttons button {
  background-color: white;
  color: #333;
  padding: 10px 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s;
  font-size: 14px;
  text-decoration: none;
  display: inline-block;
}

.hero-buttons button:hover {
  background-color: #0056b3;
  color: white;
}
.hero-buttons a {
  background-color: white;
  color: #333;
  padding: 10px 16px;
  border-radius: 6px;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s;
  font-size: 14px;
  border: none; /* Mimic button border */
  cursor: pointer;
}

.hero-buttons a:hover {
  background-color: #0056b3;
  color: white;
}

/* Nav Arrows */
.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background-color: rgba(255, 255, 255, 0.5);
  border: none;
  padding: 10px;
  font-size: 24px;
  cursor: pointer;
  border-radius: 50%;
}

#prev-slide {
  left: 20px;
}

#next-slide {
  right: 20px;
}