/* ================================================ */
/* === Global Styles & Body Background ========== */
/* ================================================ */

body {
  background-color: #c8bec8;
}

/* ====================================================================== */
/* ▼▼▼ ATURAN BARU YANG LEBIH STABIL UNTUK CAROUSEL ▼▼▼ */
/* ====================================================================== */

.carousel-item {
  /* Atur warna latar belakang untuk 'letterboxing' di mobile */
  background-color: #c8bec8;
}

.carousel-item img {
  /* Membuat gambar mengisi tinggi dan lebar parent-nya */
  width: 100%;
  height: 100%;
  /* Aturan default untuk DESKTOP: zoom/crop agar pas (sama seperti 'cover') */
  object-fit: cover;
}

/* Aturan untuk Mobile (Layar <= 768px) */
@media (max-width: 768px) {
  header {
    height: 56.25vw;
    max-height: 60vh;
    margin-top: 1.5rem; 
  }
  
  #introCarousel, .carousel-inner, .carousel-item, .carousel-item.active {
    height: 100%;
  }

  /* Ubah aturan gambar untuk MOBILE: tampilkan utuh (sama seperti 'contain') */
  .carousel-item img {
    object-fit: contain;
  }
}

/* Aturan untuk Desktop (Layar > 768px) */
@media (min-width: 769px) {
  header {
    /* Tinggi layar dikurangi 80px untuk tinggi navbar yang lebih akurat */
    height: calc(100vh + 70px); 
  }
  
  .carousel-item {
    /* Pastikan di desktop tidak ada warna latar belakang */
    background-color: transparent;
  }
  
  /* Atur posisi gambar spesifik untuk Desktop */
  .carousel-item:nth-child(1) img {
    object-position: bottom center;
  }
}

/* ================================================ */
/* === Sisa Kode (Navbar, Footer, dll) =========== */
/* ================================================ */

.navbar {
  padding-top: 0.1rem;
  padding-bottom: 0.1rem;
  background-color: #c8bec8;
  opacity: 0.9;
  position: relative; 
  z-index: 10;
}

/* =============================================================== */
/* ▼▼▼ [FITUR BARU] MEMBUAT NAVBAR DROPDOWN MENJADI OVERLAY ▼▼▼ */
/* =============================================================== */
/* Aturan ini berlaku saat navbar berubah menjadi mode toggler (di bawah 992px) */
@media (max-width: 991.98px) {
  .navbar-collapse {
    position: absolute;
    top: 100%; /* Posisi persis di bawah navbar */
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(200, 190, 200, 0.95); /* Warna background semi-transparan */
    padding: 1.5rem;
    border-bottom-left-radius: 0.75rem;
    border-bottom-right-radius: 0.75rem;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    /* Bonus: Efek blur pada konten di belakangnya (jika browser mendukung) */
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
  }
}

.navbar .nav-link {
    color: #000000 !important;
    font-weight: 400;
    font-size: 1.2rem;
}

.navbar .navbar-nav .nav-item.active .nav-link {
    text-decoration: underline;
    text-underline-offset: 5px;
    text-decoration-thickness: 2px;
}

.footer {
  background-color: #c8bec8;
  opacity: 0.9;
  font-size: 1.1rem;
}

/* Pembatas Artistik */
.custom-shape-divider-bottom-1719329715 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.custom-shape-divider-bottom-1719329715 svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 150px;
}

.custom-shape-divider-bottom-1719329715 .shape-fill {
    fill: #c8bec8;
}

/* Kartu Video */
.video-card {
  padding: 0.75rem;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: .75rem;
  backdrop-filter: blur(4px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.video-card video {
    border-radius: .5rem;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in-section {
  opacity: 0;
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-section.is-visible {
  opacity: 1;
  animation: fadeInUp 0.8s ease-out forwards;
}

.about-hero {
  position: relative; 
  color: white;
  background-image: url('../img/asset/aboutus.jpg');
  aspect-ratio: 5000 / 3000; 
  background-size: cover; 
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.35);
  z-index: 1; 
}

.hero-text-overlay {
  position: relative; 
  z-index: 2;
  text-align: center;
  padding: 2rem 3rem;
  background-color: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 1rem;
}

.why-us-icon {
  font-size: 3rem;
  color: #8b7d8b;
}

.social-icon {
  display: inline-block;
  width: 50px;
  height: 50px;
  line-height: 50px;
  font-size: 1.5rem;
  color: #ffffff;
  background-color: #000000;
  border-radius: 50%;
  margin: 0 10px;
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.social-icon:hover {
  color: #ffffff;
  background-color: #8b7d8b;
  transform: scale(1.1);
}

.shadow-3-strong {
    box-shadow: 0 4px 15px -5px rgba(0, 0, 0, 0.3) !important;
}

.card-portrait {
  max-width: 300px;
  margin-left: auto;
  margin-right: auto;
}

.card-portrait .card-img-top {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  width: 100%;
}

#series-hijab-title {
  font-family: 'Velvet Vanilla', sans-serif;
  font-size: 6.5rem;
}

.section-heading {
  font-size: 2.5rem;
}

.description-text {
  font-size: 1.25rem;
  line-height: 1.6;
  text-align: justify;
}

.btn-custom-checkout {
  background-color: #000000;
  color: #ffffff;
  font-weight: 500;
  border-radius: 0.5rem;
  padding: 0.6rem 1.5rem;
  transition: background-color 0.3s ease;
}

.btn-custom-checkout:hover {
  background-color: #333333;
  color: #ffffff;
}

.text-black-solid {
  color: #000000 !important;
}