/* Hero Section Styles */

.hero-section {
  background-color: var(--dark-blue);
  background-image: url('../includes/img/hero-bg.svg');
  background-size: cover;
  background-position: center;
  background-blend-mode: multiply;
  color: var(--white);
  padding: 12rem 0 8rem;
  position: relative;
  overflow: hidden;
  margin-top: -92px; /* Adjust based on your navbar height */
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 850px;
  margin: 0 auto;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  padding: 0 1rem;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 5;
}

.accent-text {
  color: var(--light-blue); /* Changed from yellow to light blue */
}

.highlight-text {
  color: var(--light-blue);
}

/* Hero wave element */
.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 3;
}

.hero-wave svg {
  position: relative;
  display: block;
  width: 100%;
  height: 100px;
}

.hero-wave .shape-fill {
  fill: var(--white);
}

/* Fix for the space between wave and next section */
.reviews-section {
  background-color: var(--white);
  position: relative;
  z-index: 10;
  margin-top: -2px;
}

/* Page-specific hero backgrounds */
.webhosting-hero {
  background-image: url('../includes/img/webhosting-bg.svg');
}

.vps-hero {
  background-image: url('../includes/img/vps-bg.svg');
}

.minecraft-hero {
  background-image: url('../includes/img/minecraft-bg.svg');
}

.domain-hero {
  background-image: url('../includes/img/domain-bg.svg');
}

.server-hero {
  background-image: url('../includes/img/server-bg.svg');
}

/* Ensure the content is above the particles */
.hero-section .container {
  position: relative;
  z-index: 2;
}

/* Video background */
.hero-section.with-video-bg {
  background-image: none;
}

.video-background::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(22, 35, 60, 0.7); /* Updated to match --dark-blue with opacity */
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-section {
    padding: 10rem 0 6rem;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .hero-section {
    padding: 8rem 0 4rem;
    margin-top: -70px;
  }
  
  .hero-section.with-video-bg {
    background-image: url('../includes/img/hero-bg.svg');
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 1.75rem;
  }
  
  .hero-section {
    padding: 7rem 0 3rem;
  }
}
