/*
Theme Name: Custom ITTA Lightweight
Author: Your Name
Description: Edge-to-edge Bootstrap 5 theme with shortcode support and Alpine.js.
Version: 1.0
*/

/* GLOBAL RESET */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #212529;
  background-color: #fff;
}

/* HERO SLIDER */
.hero-swiper {
  width: 100%;
  height: 100vh;
  position: relative;
  overflow: hidden;
}

.hero-swiper .swiper-slide {
  height: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-align: center;
  z-index: 2;
  max-width: 80%;
  padding: 2rem;
}

.hero-content h2 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.hero-btn {
  background-color: #ffc107;
  color: #212529;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 0.25rem;
}

.hero-btn:hover {
  background-color: #e0a800;
  color: #fff;
}

/* Swiper Controls */
.hero-swiper .swiper-button-prev,
.hero-swiper .swiper-button-next {
  color: #fff;
  z-index: 3;
}

.hero-swiper .swiper-pagination-bullet {
  background: #fff;
  opacity: 0.7;
}

.hero-swiper .swiper-pagination-bullet-active {
  opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-content h2 {
    font-size: 2rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
}

/* TOP NAVIGATION */
.navbar {
  padding: 0.75rem 1rem;
}

.navbar-brand {
  font-weight: bold;
}

/* Light Theme Navbar */
.navbar-light .navbar-nav .nav-link {
  color: #212529;
}

.navbar-light .navbar-nav .nav-link:hover {
  color: #0d6efd;
}

/* Dropdown Menu - Strong Specificity */
.navbar-light .dropdown-menu {
  background-color: #ffffff !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1) !important;
}

.navbar-light .dropdown-menu .dropdown-item {
  color: #0d6efd !important;
  background-color: transparent !important;
}

.navbar-light .dropdown-menu .dropdown-item:hover,
.navbar-light .dropdown-menu .dropdown-item:focus,
.navbar-light .dropdown-menu .dropdown-item.active,
.navbar-light .dropdown-menu .dropdown-item:active {
  color: #ffffff !important;
  background-color: #0d6efd !important;
}

/* Enable dropdowns on hover for larger screens */
@media (min-width: 992px) {
  .navbar-nav .dropdown:hover > .dropdown-menu {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
  }
}
