/* =============================================
   ALSCENTÉ - Main Stylesheet
   ============================================= */

/* --- Global --- */
body {
    position: relative;
    background-color: #f5f5f5;
    min-height: 100vh;
}

/* Overlay background halus */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(135deg, rgba(212, 175, 55, 0.08) 0%, rgba(255, 255, 255, 0.4) 100%),
        repeating-linear-gradient(45deg, rgba(0, 0, 0, 0.02) 0px, rgba(0, 0, 0, 0.02) 2px, transparent 2px, transparent 6px);
    pointer-events: none;
    z-index: -1;
}

/* --- Warna & Tombol --- */
/* Warna emas untuk teks */
.text-gold {
    color: #d4af37;
}

/* Tombol emas */
.btn-gold {
    background-color: #d4af37;
    border-color: #d4af37;
    color: #000;
    font-weight: bold;
}

.btn-gold:hover {
    background-color: #b8962e;
    border-color: #b8962e;
    color: #000;
}

/* Harga normal */
.price {
    font-weight: bold;
    color: #d4af37;
}

/* Harga asli yang dicoret (reseller) */
.original-price {
    text-decoration: line-through;
    color: #999;
    font-size: 0.9rem;
}

/* Harga setelah diskon (reseller) */
.discounted-price {
    color: #d4af37;
    font-weight: bold;
}

/* --- Card Produk --- */
.product-card {
    transition: transform 0.2s;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.product-card:hover {
    transform: translateY(-5px);
}

/* --- Banner Header --- */
.hero-banner {
    display: block;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 400px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

/* --- Footer --- */
footer {
    position: relative;
    z-index: 1;
}

/* --- Navbar --- */
/* Pastikan link di navbar terlihat jelas */
.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.85);
}
.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus {
    color: #fff;
}

/* --- Responsif --- */
@media (max-width: 768px) {
    .hero-banner {
        height: 250px;
    }

    .navbar-brand img {
        height: 35px;
    }

    /* Perkecil ukuran font brand di mobile */
    .navbar-brand span {
        font-size: 1rem;
    }
    .navbar-brand small {
        font-size: 0.65rem;
    }
}

/* Navbar mobile: menu wrap jika terlalu sempit */
@media (max-width: 576px) {
    .navbar-nav {
        flex-wrap: wrap;
        justify-content: flex-end;
    }
    .navbar-nav .nav-item {
        margin-right: 0.5rem;
    }
    /* Sembunyikan tagline di HP kecil */
    .navbar-brand small {
        display: none;
    }
}