/* ==========================================================================
   1. VARIABLES & GLOBAL STYLES
   ========================================================================== */
:root {
    --bg-krem: #FDFBF4;
    --cokelat-tua: #5C3200;
    --cokelat-muda: #A05C07;
    --emas-lembut: #D4AF37;
    --teks-gelap: #2D2D2D;
    --oranye-terang: #FFB043;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 15px;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--bg-krem);
    color: var(--teks-gelap);
    overflow-x: hidden;
    line-height: 2;
}

/* =========================
   CONTAINER
========================= */
.container {
    max-width: 1150px;
}

/* =========================
   TEXT & TYPOGRAPHY
========================= */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    color: var(--cokelat-tua);
    font-weight: 700;
    line-height: 1.3;
}

.display-5 {
    font-size: 2rem !important;
}

.display-6 {
    font-size: 1.8rem;
}

p {
    font-size: 0.95rem;
}

.small {
    font-size: 0.82rem !important;
}

/* =========================
   BUTTON
========================= */
.btn-cokelat {
    background: var(--cokelat-tua);
    color: white;
    border: none;
    border-radius: 40px;
    padding: 10px 22px;
    font-weight: 600;
    font-size: 0.92rem;
    transition: .3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-cokelat:hover {
    background: var(--cokelat-muda);
    color: white;
    transform: translateY(-2px);
}

/* =========================
   HERO SECTION
========================= */
.hero-section {
    background: linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.55)), url('../gambar/foto risol.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 140px 0 120px 0; 
    margin-top: 0;            
}

.hero-title {
    font-size: 2.5rem;
    line-height: 1.2;
    color: white !important;
    margin-bottom: 14px;
}

.text-light-hero {
    color: #f5f5f5;
    max-width: 560px;
    font-size: 0.95rem !important;
    line-height: 1.8;
}

.badge-premium-hero {
    background: rgba(255, 255, 255, .15);
    backdrop-filter: blur(5px);
    padding: 7px 16px;
    border-radius: 50px;
    color: white;
    font-size: .72rem;
    letter-spacing: .5px;
}

/* ==========================================================================
   2. NEW MODERN INFORMASI / WHY US SECTION
   ========================================================================== */
#informasi {
    background-color: var(--bg-krem);
}

.badge-why-us {
    background: #FAF6ED;
    border: 1px solid #E6DFD3;
    color: var(--cokelat-muda);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    display: inline-block;
}

.accent-line {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--oranye-terang), var(--cokelat-muda));
    border-radius: 2px;
}

.card-why-modern {
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid rgba(92, 50, 0, 0.04);
    box-shadow: 0 10px 35px rgba(92, 50, 0, 0.03);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-why-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(92, 50, 0, 0.08);
    border-color: rgba(255, 176, 67, 0.3);
}

.img-wrapper-modern {
    width: 100%;
    height: 210px; 
    overflow: hidden;
    position: relative;
}

.img-why {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.card-why-modern:hover .img-why {
    transform: scale(1.05);
}

.badge-card-floating {
    position: absolute;
    bottom: 15px;
    left: 15px;
    padding: 5px 14px;
    font-size: 0.72rem;
    font-weight: 600;
    border-radius: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Area Konten Teks di Dalam Card */
.card-content-modern {
    padding: 24px;
}

.title-why {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--cokelat-tua);
    font-family: 'Poppins', sans-serif;
}

.desc-why {
    font-size: 0.88rem;
    line-height: 1.7;
    color: #616161;
    margin-top: 12px;
    margin-bottom: 0;
}

.mini-icon-box {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.bg-warning-light { background: rgba(255, 176, 67, 0.15); }
.bg-success-light { background: rgba(40, 167, 69, 0.1); }
.bg-danger-light { background: rgba(220, 53, 69, 0.1); }

/* ==========================================================================
   3. PROMO SECTION (Perbaikan Ukuran Gambar Agar Pas & Rapi)
   ========================================================================== */
#promosi {
    background: #FAF6ED;
}

.promo-container {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(92, 50, 0, 0.04);
}

.promo-container .col-md-5 {
    display: flex;
    align-items: stretch;
}

.promo-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 320px;
    max-height: 380px;
}

.price-tag {
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--cokelat-tua);
}

/* ==========================================================================
   4. MEDIA QUERIES (RESPONSIVE SYSTEM)
   ========================================================================== */

/* --- LAPTOP (Layar <= 1200px) --- */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .display-5 {
        font-size: 1.9rem !important;
    }

    .display-6 {
        font-size: 1.7rem !important;
    }
}

/* --- TABLET --- */
@media (max-width: 992px) {
    html {
        font-size: 14px;
    }

    .hero-section {
        text-align: center;
        padding: 100px 0 80px 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .text-light-hero {
        margin: 0 auto;
    }

    .hero-section .d-flex {
        justify-content: center;
    }

    .promo-container .row {
        flex-direction: column;
    }

    .promo-container img {
        height: 280px;
        min-height: auto;
        max-height: auto;
    }

    .img-wrapper-modern {
        height: 190px;
    }
    
    .card-content-modern {
        padding: 20px;
    }

    #tentang .position-relative {
        width: 100%;
        max-width: 100%;
    }

    #tentang .position-relative img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }
}

/* --- MOBILE --- */
@media (max-width: 576px) {
    html {
        font-size: 13px;
    }

    section {
        padding-top: 45px !important;
        padding-bottom: 45px !important;
    }

    .hero-section {
        padding: 80px 0 60px 0;
    }

    .hero-title {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .text-light-hero {
        font-size: .9rem !important;
    }

    .display-5, .display-6 {
        font-size: 1.5rem !important;
    }

    .hero-section .d-flex {
        flex-direction: column;
        gap: 10px;
    }

    /* Tombol Hero di HP */
    .hero-section .btn {
        width: auto !important;         
        min-width: 200px;               
        max-width: 280px;               
        margin: 0 auto;                 
        padding: 12px 30px !important;  
        font-size: 0.95rem !important;  
    }

    .promo-container {
        border-radius: 16px;
    }

    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    #promosi .position-relative {
        min-height: 0;
    }

    .price-tag {
        font-size: 1.4rem;
    }

    .promo-container img {
        height: 200px;
        min-height: auto;
    }

    .img-wrapper-modern {
        height: 175px;
    }
    
    .title-why {
        font-size: 1.05rem;
    }
    
    .desc-why {
        font-size: 0.85rem;
    }
}