/* === WARNA DASAR === */
:root {
    --krem: #F8F5EF;
    --coklat-muda: #6F4E37;
    --coklat-tua: #3A271C;
    --putih: #FFFFFF;
    --emas: #B58A58;
}

/* === PENGATURAN AWAL === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--krem);
    color: var(--coklat-tua);
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.label-kecil {
    font-size: 0.78rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--emas);
    font-weight: 500;
    display: block;
    margin-bottom: 0.3rem;
}

.garis {
    width: 50px;
    height: 2px;
    background: var(--emas);
    margin: 0.8rem 0;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-utama {
    background: var(--coklat-tua);
    color: var(--putih);
}

.btn-utama:hover {
    background: var(--coklat-muda);
}

.btn-kosong {
    border: 1px solid var(--putih);
    color: var(--putih);
}

.btn-kosong:hover {
    background: var(--putih);
    color: var(--coklat-tua);
}

.fade-up {
    opacity: 0;
    transform: translateY(25px);
    transition: all 0.7s ease;
}

.fade-up.active {
    opacity: 1;
    transform: translateY(0);
}

/* === NAVBAR === */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    padding: 1.3rem 0;
    background: transparent;
    transition: 0.3s ease;
}

.navbar.berubah {
    background: rgba(248, 245, 239, 0.95);
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 8px rgba(58, 39, 28, 0.06);
    padding: 0.9rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--putih);
    transition: color 0.3s ease;
}

.navbar.berubah .nav-logo {
    color: var(--coklat-tua);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.6rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--putih);
    font-size: 0.88rem;
    transition: color 0.3s ease;
}

.navbar.berubah .nav-menu a {
    color: var(--coklat-tua);
}

.nav-menu a:hover,
.nav-menu a.aktif {
    color: var(--emas);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--putih);
}

.navbar.berubah .menu-toggle span {
    background: var(--coklat-tua);
}

/* === TAMPILAN MENU HP + TOMBOL TUTUP === */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 260px;
        background: var(--putih);
        flex-direction: column;
        padding: 4rem 2rem;
        transition: right 0.3s ease;
        box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    }

    .nav-menu.buka {
        right: 0;
    }

    .nav-menu a {
        color: var(--coklat-tua) !important;
        font-size: 1rem;
    }

    /* Gaya Tombol Tutup */
    .tombol-tutup {
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
    }

    #tutupMenu {
        font-size: 2rem;
        color: var(--coklat-tua);
        cursor: pointer;
        line-height: 1;
        transition: color 0.2s ease;
    }

    #tutupMenu:hover {
        color: var(--emas);
    }
}

/* === BAGIAN BERANDA === */
.beranda {
    height: 100vh;
    background: url('assets/seno.jpg') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
}

.hero-text {
    position: relative;
    z-index: 1;
    color: var(--putih);
    max-width: 600px;
    padding: 0 2rem;
}

.hero-text h1 {
    font-size: 3.2rem;
    line-height: 1.1;
}

.tagline {
    font-size: 1.1rem;
    font-weight: 300;
    margin-bottom: 1rem;
}

.deskripsi {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-bottom: 1.8rem;
}

.tombol-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* === BAGIAN CERITA === */
.cerita {
    padding: 4rem 0;
}

.bagian-cerita {
    max-width: 700px;
    margin-bottom: 3rem;
}

.bagian-cerita h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.bagian-cerita p {
    color: var(--coklat-muda);
    margin-bottom: 1rem;
    text-align: left;
}

/* === BAGIAN KEUNGGULAN === */
.bagian-keunggulan {
    margin-top: 3rem;
    text-align: center;
}

.bagian-keunggulan h2 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
}

.bungkus-geser {
    width: 100%;
    overflow: hidden;
}

.daftar-keunggulan {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 0.5rem 0 1rem;
    scrollbar-width: none;
}

.daftar-keunggulan::-webkit-scrollbar {
    display: none;
}

.item-keunggulan {
    min-width: 380px;
    min-height: 90px;
    padding: 1.2rem 2.5rem;
    background: var(--putih);
    border-radius: 10px;
    border-left: 4px solid var(--emas);
    box-shadow: 0 3px 12px rgba(58, 39, 28, 0.07);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.item-keunggulan:hover {
    transform: translateY(-3px);
}

.item-keunggulan h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--coklat-tua);
    line-height: 1.6;
    margin: 0;
}

/* KONTROL BAWAH */
.kontrol-bawah {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
}

.tombol-geser {
    width: 42px;
    height: 42px;
    border: none;
    background: var(--putih);
    color: var(--emas);
    font-size: 1.3rem;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.tombol-geser:hover {
    background: var(--emas);
    color: var(--putih);
}

/* === BAGIAN KONTAK === */
.bagian-kontak {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(111, 78, 55, 0.1);
}

.info-singkat {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.info-singkat h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--coklat-tua);
    margin-bottom: 0.2rem;
}

.info-singkat p {
    font-size: 0.9rem;
    color: var(--coklat-muda);
}

/* === KATALOG - 2 KOLOM === */
.katalog {
    padding: 4rem 0;
    background: var(--putih);
}

.judul-katalog {
    text-align: center;
    margin-bottom: 2.5rem;
}

.judul-katalog h2 {
    font-size: 1.8rem;
}

.grid-katalog {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
}

.item-katalog {
    overflow: hidden;
    border-radius: 8px;
}

.item-katalog img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.item-katalog:hover img {
    transform: scale(1.03);
}

/* === FOOTER === */
.footer {
    background: var(--coklat-tua);
    color: var(--putih);
    padding: 2.5rem 0 1rem;
}

.isi-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.merek h3 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.merek p {
    font-size: 0.9rem;
    opacity: 0.7;
}

.sosmed {
    display: flex;
    gap: 1rem;
}

.sosmed span {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s ease;
}

.sosmed span:hover {
    background: var(--emas);
    border-color: var(--emas);
}

.bawah-footer {
    text-align: center;
    font-size: 0.8rem;
    opacity: 0.5;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.08);
}

/* === RESPONSIF TAMBAHAN === */
@media (max-width: 480px) {
    .grid-katalog {
        grid-template-columns: 1fr;
    }

    .item-keunggulan {
        min-width: 280px;
        padding: 1rem 1.5rem;
    }

    .hero-text h1 {
        font-size: 2rem;
    }
}
