/* Hero Section Styles */

.hero-section {
  background-color: var(--dark-blue);
  background-image: url('../images/hero-bg.svg');
  background-size: cover;
  background-position: center;
  background-blend-mode: multiply;
  color: var(--white);
  padding: 14rem 0 10rem; /* Increased padding for better spacing */
  position: relative;
  overflow: hidden;
  margin-top: -100px; /* Adjust based on your navbar height */
  z-index: 0;
}

.hero-section.hero-adjusted {
  margin-top: 0;
  padding-top: 14rem;
  padding-bottom: 5rem;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px; /* Slightly wider */
  margin: 0 auto;
}

.hero-title {
  font-size: 4rem; /* Larger title */
  font-weight: 800;
  margin-bottom: 2rem;
  line-height: 1.15;
  text-shadow: 0 4px 10px rgba(0,0,0,0.5); /* Stronger shadow for contrast */
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: 1.6rem;
  margin-bottom: 3rem;
  color: rgba(255, 255, 255, 0.95); /* Brighter subtitle */
  padding: 0 1rem;
  font-weight: 400;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem; /* More space between buttons */
  flex-wrap: wrap;
  position: relative;
  z-index: 5;
}

.hero-buttons .btn {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

.hero-buttons .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.accent-text {
  color: #43bfe3; /* Ensure this is the bright light blue */
  text-shadow: 0 0 20px rgba(67, 191, 227, 0.4); /* Glow effect */
}

.highlight-text {
  color: #ffffff;
  position: relative;
  z-index: 1;
}

.highlight-text::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: -5px;
  right: -5px;
  height: 12px;
  background-color: rgba(67, 191, 227, 0.4);
  z-index: -1;
  border-radius: 4px;
  transform: rotate(-1deg);
}

/* 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: #1f2830;
}

/* Fix for the space between wave and next section */
.reviews-section {
  background-color: #1f2830;
  position: relative;
  z-index: 10;
  margin-top: -2px;
}

/* Page-specific hero backgrounds */
.webhosting-hero {
  background-image: url('../images/webhosting-bg.svg');
}

.vps-hero {
  background-image: url('../images/vps-bg.svg');
}

.minecraft-hero {
  background-image: url('../images/minecraft-bg.svg');
}

.domain-hero {
  background-image: url('../images/domain-bg.svg');
}

.server-hero {
  background-image: url('../images/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('../images/hero-bg.svg');
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 1.75rem;
  }
  
  .hero-section {
    padding: 7rem 0 3rem;
  }
}
