/* HERO SECTION BASE STYLES */
.hero-section {
  width: 100%;
  min-height: 70vh;
  /* Generic background properties */
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;

  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  text-align: center;
  color: #fff;
}

/* Specific backgrounds for different hero sections */
#nav-hero {
  background-image: url("../img/hero-bg.jpg");
}

#service-hero {
  /* Using a gradient overlay to differentiate service pages */
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../img/hero-bg.jpg");
}

.hero-content {
  max-width: 720px;
  margin: 0 auto;
}

.hero-title {
  font-size: 2rem;
  margin-bottom: 20px;
}

.hero-text {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

/* BUTTON STYLES */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1rem;
  transition: background 0.3s ease, color 0.3s ease;
}

.btn-primary {
  background: #f1f1f1;
  color: #0f0f0f;
}

.btn-primary:hover {
  background: rgba(255, 255, 255, 0.85);
}

.btn-secondary {
  background: rgba(51, 49, 49, 0.85);
  color: #fff;
}

.btn-secondary:hover {
  background: rgba(11, 230, 95, 0.7);
}

/* === RESPONSIVE BREAKPOINTS === */

/* Small screens: mobile phones */
@media (max-width: 480px) {
  .hero-section {
    padding: 40px 15px;
    min-height: 60vh;
  }
  .hero-title {
    font-size: 1.8rem;
  }
  .hero-text {
    font-size: 1rem;
  }
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  .btn {
    width: 100%;
    max-width: 320px;
  }
}

/* Medium screens: tablets */
@media (min-width: 600px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-text {
    font-size: 1.2rem;
  }

  .btn {
    padding: 14px 36px;
  }
}

/* Large screens: desktops */
@media (min-width: 992px) {
  .hero-section {
    min-height: 100vh;
  }

  .hero-title {
    font-size: 3rem;
  }

  .hero-text {
    font-size: 1.3rem;
  }

  .btn {
    padding: 16px 42px;
    font-size: 1.05rem;
  }
}

.hero-content {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards;
}

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