/*
 * BROSIST & CO. LANDING PAGE STYLES
 * File ini berisi semua CSS yang diekstrak dari file HTML.
 * Menggunakan palet warna yang ditentukan.
 *
 * MODIFIKASI TERAKHIR:
 * 1. Hero section diubah kembali menjadi CAROUSEL/SLIDER (90vh).
 * 2. Semua teks konten di dalam slider (carousel-caption) dihilangkan.
 * 3. Style logo navbar dipindahkan dari <style> di index.php ke sini.
 */

/* --- Palet Warna --- */
:root {
    /* Primary: #C51F5D (Pink/Merah Gelap) */
    --color-primary: #C51F5D;
    /* Secondary Dark: #243447 (Biru Tua/Navy) */
    --color-secondary-dark: #243447;
    /* Tertiary Dark: #141D26 (Hampir Hitam) */
    --color-tertiary-dark: #141D26;
    /* Light: #E2E2D2 (Abu-abu Muda/Cream) */
    --color-light: #E2E2D2;
    /* Warna Teks Default (Menggunakan Tertiary Dark) */
    --color-text-default: #141D26;
    /* Warna Teks Terang (Putih) */
    --color-text-light: #FFFFFF;
}

/* --- Pengaturan Global (Diperbarui dengan font Inter) --- */
body {
    background-color: var(--color-light);
    color: var(--color-text-default);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

/* Font khusus untuk logo/judul besar */
.font-insignia {
    font-family: 'Inter', sans-serif;
    font-weight: 900;
}

/* --- Typography (Teks) --- */
h1, h2, h3, h4, h5, h6 {
    color: var(--color-secondary-dark);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-secondary-dark);
    text-decoration: none;
}

/* --- Header dan Footer (Navbar) --- */
.navbar {
    background-color: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1020;
}
.navbar-brand, .navbar-nav .nav-link, .navbar-toggler-icon {
    /* Warna terang karena navbar di atas Hero Image */
    color: var(--color-text-light) !important;
}
.navbar-nav .nav-link:hover {
    color: var(--color-primary) !important;
}

/* Penyesuaian Logo dan Navbar yang dipindahkan dari index.php */
.navbar-brand {
    display: flex; /* Menggunakan Flexbox */
    align-items: center; 
    padding-top: 0.3125rem; 
    padding-bottom: 0.3125rem;
}

.navbar-brand img {
    margin-right: 8px;
}

.navbar-nav .nav-link {
    padding-top: 0.5rem !important; 
    padding-bottom: 0.5rem !important;
}

/* Gaya untuk Badge Keranjang (Angka 0) */
.cart-badge {
    padding: 0.3em 0.5em;
    font-size: 0.65rem;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
}

/* Garis Pemisah Navbar (Horizontal Separator Line) */
.navbar-line-separator {
    width: 100%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.4);
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 1021;
}

.footer {
    background-color: var(--color-secondary-dark);
    color: var(--color-text-light);
    padding: 3rem 0;
}

/* --- Tombol (Buttons) Overrides Bootstrap --- */
.btn-primary {
    background-color: var(--color-primary) !important;
    color: var(--color-text-light) !important;
    border-color: var(--color-primary) !important;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}
.btn-primary:hover {
    background-color: var(--color-secondary-dark) !important;
    border-color: var(--color-secondary-dark) !important;
}
.btn-outline-light {
    color: var(--color-light) !important;
    border-color: var(--color-light) !important;
    border-radius: 8px;
    font-weight: 600;
}
.btn-outline-light:hover {
    background-color: var(--color-light) !important;
    color: var(--color-tertiary-dark) !important;
}

/* Tombol Success (untuk WhatsApp) */
.btn-success {
    background-color: #25D366 !important;
    border-color: #25D366 !important;
    color: #FFF !important;
    border-radius: 8px;
}
.btn-success:hover {
    background-color: #128C7E !important;
    border-color: #128C7E !important;
}

/* --- Custom Section & Component Styles --- */
.section-dark {
    background-color: var(--color-tertiary-dark);
    color: var(--color-text-light);
    padding: 5rem 0;
}
.section-dark h2, .section-dark h3 {
    color: var(--color-light);
}

.section-title {
    border-bottom: 4px solid var(--color-primary);
    padding-bottom: 5px;
    display: inline-block;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

/* ============================================== */
/* HERO SECTION (CAROUSEL SLIDER) */
/* ============================================== */
.hero-section {
    position: relative;
    /* Menggunakan 90vh untuk tampilan slider di bawah navbar */
    height: 90vh; 
    overflow: hidden;
    padding-top: 0;
    padding-bottom: 0;
    z-index: 1;
}

/* Styling untuk Carousel agar menjadi latar belakang penuh */
.hero-carousel,
.carousel-inner,
.carousel-item,
.carousel-item img {
    height: 100%;
    width: 100%;
}

.carousel-item img {
    object-fit: cover; 
}

/* Posisikan indicator slider di bawah */
.hero-carousel .carousel-indicators {
    bottom: 20px;
    margin-bottom: 0;
}

/* Ganti warna indikator slide menjadi putih */
.hero-carousel .carousel-indicators button {
    background-color: #ffffff;
}
/* ============================================== */
/* AKHIR HERO SECTION */
/* ============================================== */


@media (min-width: 992px) {
    /* Memastikan link navbar tetap rapi */
    .navbar-nav .nav-item {
        margin-right: 0.5rem;
    }
    .navbar-nav .nav-link {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }
    .hero-img {
        max-width: 100%;
    }
}

/* Feature Box */
.feature-box {
    background-color: #FFFFFF;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(197, 31, 93, 0.15);
}
.feature-icon {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

/* Product Card Styling */
.product-card {
    background-color: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(197, 31, 93, 0.15);
}
.product-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}
.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
}

/* About Section */
.about-img {
    border-radius: 12px !important;
}

/* Testimonial Card */
.testimonial-card {
    background-color: #FFFFFF;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(197, 31, 93, 0.15);
}
.testimonial-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--color-primary);
}

/* Footer Social Icons */
.footer .social-icons a {
    font-size: 1.5rem;
    margin-right: 15px;
    color: var(--color-light);
    transition: color 0.3s ease;
}
.footer .social-icons a:hover {
    color: var(--color-primary);
}

/* CSS untuk Tombol WhatsApp Mengambang */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease-in-out;
}

.whatsapp-float:hover {
    color: #FFF;
    transform: scale(1.1);
}

/* Menghilangkan panah dropdown (carets) */
.navbar-nav .dropdown-toggle::after {
    display: none;
}

/* CSS tambahan untuk memastikan ikon terlihat di layar kecil (Mobile) */
@media (max-width: 991.98px) {
    .navbar-toggler {
        margin-left: 0;
    }
    /* Mengubah urutan tampilan di mobile */
    .d-lg-none .navbar-nav {
        padding-left: 1rem;
    }
}

/* Animasi saat Scroll */
.scroll-animate {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.scroll-animate.animate {
    opacity: 1;
    transform: translateY(0);
}
/* Menambahkan delay untuk elemen yang memiliki class delay-1, delay-2, dst. */
.scroll-animate.delay-1 { transition-delay: 0.1s; }
.scroll-animate.delay-2 { transition-delay: 0.2s; }
.scroll-animate.delay-3 { transition-delay: 0.3s; }
.scroll-animate.delay-4 { transition-delay: 0.4s; }
.scroll-animate.delay-5 { transition-delay: 0.5s; }