/* === GLOBAL === */
body, html {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

/* === HEADER / NAVBAR === */
.navbar {
  height: 10vh;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background-color: #ff5a00;
  transition: top 0.3s, background-color 0.3s;
}

.navbar.scrolled {
  background-color: rgba(255, 90, 0, 0.85);
}

.navbar-hidden {
  top: -100px;
}

.nav-link.active {
  position: relative;
  color: #fff !important;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #fff;
}


/* === BANNER PARALLAX === */
.banner {
  position: relative;
  height: 60vh;
  clip-path: polygon(0 0, 100% 0, 100% 60%, 0% 100%);
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.banner .parallax-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%;
  object-fit: cover;
  transform: translateY(0);
  z-index: 0;
  transition: transform 0.2s ease-out;
}

.banner .banner-text {
  position: relative;
  z-index: 2;
  color: #fff;
}

.banner h1,
.banner p {
  color: #fff;
  font-weight: bold;
}

/* Optional overlay darkening */
.banner::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
}

.custom-select-rounded {
  width: auto;
  border-radius: 50px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: #fff;
  padding-right: 3rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 24 24'%3E%3Cpath fill='gray' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.4rem center;
  background-size: 1.8rem; 
}

/* === CARD === */
.card-img-top {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.card-body h6 {
  font-size: 1rem;
  margin-top: 0.5rem;
  line-height: 1.3em;
  height: calc(1.3em * 3);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
}

.card:hover {
  transform: translateY(-3px);
  transition: 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.pagination .page-link {
  border: none;
  border-radius: 0.375rem; 
  color: #000;
  padding: 0.5rem 0.75rem;
  margin: 0 2px;
  transition: all 0.2s ease;
}

.pagination .page-item.active .page-link {
  background-color: #ff5a00;
  color: #fff;
  font-weight: bold;
}

.pagination .page-link:hover {
  background-color: #ffe6d9;
  color: #ff5a00;
}

.pagination .page-item.disabled .page-link {
  color: #ccc;
  pointer-events: none;
}

