html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", sans-serif;
}

.navbar {
  background-color: rgba(0, 0, 0, 0.6);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.transition-navbar {
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
  background-color: rgba(0, 0, 0, 0.9);
  /* Darker background */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  /* Adds depth */
}

.navbar-brand {
  opacity: 0;
  transform: translateY(-10px);
  animation: brandFadeSlide 1s ease-out forwards;
  animation-delay: 0.5s;
}

@keyframes brandFadeSlide {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.navbar.scrolled .navbar-brand {
  letter-spacing: 1px;
  color: #ffc107;
  text-shadow: 0 0 5px rgba(255, 193, 7, 0.6);
}

.nav-link {
  position: relative;
  color: white;
  transition: color 0.3s ease;
}

.nav-link.active {
  color: #ffc107 !important;
  /* Highlight color */
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: #ffc107;
  transition: width 0.3s ease;
}

.nav-link.active::after {
  width: 100%;
}

section {
  padding: 4rem 0;
}

.hero {
  background: url("../images/hero_bg.jpg") center center / cover no-repeat;
  color: white;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding-top: 70px;
  /* Ensures space below navbar */
  padding-left: 2rem;
  padding-right: 2rem;
}

.hero-overlay {
  background-color: rgba(0, 0, 0, 0.6);
  padding: 3rem;
  border-radius: 8px;
  max-width: 900px;
  margin: auto;
  /* margin-top: 1rem; */
}

.hero-overlay h1 {
  font-size: 2.5rem;
  font-weight: 600;
}

.hero-overlay .lead {
  font-size: 1.2rem;
  margin-top: 1rem;
}

.tagline {
  font-size: 1.05rem;
  font-weight: 400;
  margin-top: 1.5rem;
  line-height: 1.6;
  color: #f0f0f0;
}

.btn-outline-light {
  border: 2px solid #fff;
  padding: 0.6rem 1.2rem;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.btn-outline-light:hover {
  background-color: #ffffff;
  color: #000000;
  transition: all 0.3s ease;
}

/* highlight section */
#highlights {
  background-color: #fdfdfd;
  /* or #f8f9fa for Bootstrap gray */
}

.card {
  background-color: #f8f9fa;
  border: none;
  border-left: 5px solid #ffc107;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.card p {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 500;
}

.btn-warning {
  font-weight: 500;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
}

.gallery img {
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* contact */
#contact .card {
  background-color: #fdfdfd;
  border-left: 5px solid #ffc107;
}

#contact .form-label {
  font-weight: 500;
}

#contact .btn-warning {
  padding: 0.6rem 1.2rem;
  font-weight: 500;
  border-radius: 6px;
}

/* footer */
footer {
  background-color: #2c3e50;
  color: white;
  padding: 1rem;
  text-align: center;
}

/* mobile */
@media (max-width: 768px) {
  .hero-overlay {
    padding: 2rem;
  }

  .hero-overlay h1 {
    font-size: 1.8rem;
  }

  .hero-overlay .lead,
  .tagline {
    font-size: 1rem;
  }
}
