/* 1. Set font dasar untuk seluruh halaman (selain header) */
body {
    font-family: 'Poppins', sans-serif !important;
    font-size: 15px;
    color: #333;
}

/* 2. Set font khusus untuk semua jenis Header (h1 sampai h6) */
h1, .display-font {
    font-family: 'Bowlby One SC', sans-serif !important;
    text-transform: uppercase; /* Opsional: agar selalu huruf kapital sesuai gaya Bowlby */
    letter-spacing: 1px;       /* Memberi sedikit jarak antar huruf agar lebih terbaca */
}

/* Custom class jika ingin teks tertentu di navigasi pakai font header */
.navbar-brand, .nav-link-header {
    font-family: 'Bowlby One SC', sans-serif;
}
.carousel-item img {
    height: 400px; /* Tinggi tetap untuk desktop */
    object-fit: cover; /* Agar gambar tidak gepeng */
}

/* Penyesuaian tinggi untuk layar HP */
@media (max-width: 768px) {
    .carousel-item img {
        height: 200px;
    }
    .carousel-caption h5 {
        font-size: 1rem;
    }
}

/* Membuat transisi antar slide lebih halus */
.carousel-fade .carousel-item {
    transition-duration: 0.8s;
}

.carousel-indicators [data-bs-target] {
    width: 12px !important;       /* Paksa lebar jadi kecil */
    height: 12px !important;      /* Paksa tinggi sama dengan lebar */
    border-radius: 50% !important;/* Paksa jadi bulat */
    border: 0;                    /* Hilangkan border default */
    background-color: #fff;       /* Warna default */
    opacity: 0.5;
    margin-right: 5px;
    margin-left: 5px;
    transition: all 0.3s ease;    /* Animasi halus saat berubah */
  }

  .carousel-indicators .active {
    opacity: 1 !important;
    background-color: #f9fd0d !important; /* Warna saat aktif */
    transform: scale(1.2);        /* Sedikit lebih besar saat aktif agar manis */
  }
  /* Mengatur tinggi gambar agar seragam */
    .img-fluid-full {
        height: 450px; /* Tinggi di Desktop */
        object-fit: cover; /* Gambar dipotong agar proporsional, tidak ditarik */
        object-position: center;
    }

    /* Penyesuaian Indikator Bulat (yang tadi kita bahas) */
    .carousel-indicators [data-bs-target] {
        width: 10px !important;
        height: 10px !important;
        border-radius: 50% !important;
        background-color: #fff !important;
        border: none !important;
        opacity: 0.6;
    }
    .carousel-indicators .active {
        opacity: 1 !important;
        transform: scale(1.3);
    }

    /* Responsif untuk Layar Kecil (HP) */
    @media (max-width: 768px) {
        .img-fluid-full {
            height: 250px; /* Lebih pendek di HP agar tidak memenuhi satu layar penuh */
        }
        /* Box Luar Logo */
        .brand-item {
            text-align: center;
            width: 100%;
            flex: 0 0 25%; max-width: 25%;
        }
        /* Box Luar Logo */
        .brand-item-all {
            text-align: center;
            width: 100%;
            flex: 0 0 25%; max-width: 25%;
        }
    }

    @media (min-width: 768px) {
        /* Box Luar Logo */
        .brand-item {
            text-align: center;
            width: 100%;
            flex: 0 0 12.5%; max-width: 12.5%;
        }
        .brand-item-all {
            text-align: center;
            width: 100%;
            flex: 0 0 25%; max-width: 25%;
        }

    }

    /* Container Grid Utama */
    .brand-grid {
        display: grid;
        /* Membuat 8 kolom sama rata di layar desktop */
        grid-template-columns: repeat(8, 1fr); 
        gap: 15px; /* Jarak antar brand */
        justify-items: center;
    }


    /* Kotak Putih Logo (Sesuai Gambar) */
    .brand-card {
        border: 1px solid #e0e0e0;
        border-radius: 5px;
        padding: 15px;
        background-color: #fff;
        aspect-ratio: 1 / 1; /* Membuat kotak sempurna */
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        margin-bottom: 8px;
    }

    .brand-card img {
        max-width: 100%;
        height: auto;
        filter: grayscale(100%); /* Membuat logo B&W seperti di gambar */
        opacity: 0.8;
    }

    /* Efek saat logo diarahkan mouse */
    .brand-card:hover {
        border-color: #0d6efd;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }
    
    .brand-card:hover img {
        filter: grayscale(0%);
        opacity: 1;
    }

    /* Nama Brand di bawah logo */
    .brand-item p {
        font-family: 'Poppins', sans-serif;
        font-size: 14px;
        color: #333;
        margin: 0;
    }

    /* Responsif untuk layar Tablet & HP */
    @media (max-width: 1200px) {
        .brand-grid { grid-template-columns: repeat(4, 1fr); } /* 4 kolom di tablet */
    }

    @media (max-width: 576px) {
        .brand-grid { grid-template-columns: repeat(2, 1fr); } /* 2 kolom di HP */
    }

footer a:hover{
color:#0d6efd;
}

.bi-chevron-down{
    transition: transform .3s ease;
}

/* Saat collapse terbuka */
button:not(.collapsed) .bi-chevron-down{
    transform: rotate(180deg);
}

.sidebar .nav-link.active,
.sidebar .nav-link.text-primary{
    font-weight:600;
}

.thumb-img{
opacity:0.7;
transition:0.3s;
}

.thumb-img:hover{
opacity:1;
transform:scale(1.05);
}

.product-slider img{
height:450px;
width:100%;
object-fit:contain;
background:#f8f9fa;
}

/* .carousel-indicators button{
width:10px;
height:10px;
border-radius:50%;
background:#ccc;
}

.carousel-indicators .active{
background:#000;
} */

.carousel-indicators button{
background-color:#bbb;
}

.carousel-indicators .active{
background-color:#000;
}

/* .zoom-container{
overflow:hidden;
cursor:zoom-in;
}

.zoom-image{
transition: transform .4s ease;
}

.zoom-container:hover .zoom-image{
transform:scale(1.5);
} */

#imageLightbox img{
max-height:90vh;
object-fit:contain;
}

@media (min-width: 768px) {
.logo-header{
margin-left:5px;
max-height:5vh;
}
}

@media (max-width: 768px) {
  .logo-header {
margin-left:5px;
max-height:5vh;
  }
  .nav-link-icon {
    padding:10px;
  }
}