/* --- RESET & ROOT FALLBACK VARIABEL --- */
:root {
    --gold: #b89243;
    --dark-brown: #1a1510;
    --cream: #fcf8f2;
    --grey-text: #dfd5c6;
}

#kuliner-body {
    background-color: var(--dark-brown);
    color: var(--cream);
    overflow-x: hidden;
}

.tradisional-main-container { 
    padding-top: 120px;
    padding-bottom: 100px;
    width: 100%;
}

/* --- HERO SECTION --- */
.trad-hero {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px auto;
    padding: 0 20px;
}

.trad-subtitle {
    font-family: 'Josefin Sans', sans-serif;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--gold);
}

.trad-title {
    color: var(--cream);
    text-align: center;
}

.trad-divider {
    width: 60px;
    height: 3px;
    background: var(--gold);
    margin: 0 auto 20px auto;
}

.trad-desc {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    color: var(--grey-text);
    line-height: 1.7;
}

/* --- OVERLAP & ARCH LAYOUT (ZIG-ZAG) --- */
.trad-gallery-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 120px;
}

.trad-row {
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
}

.trad-row.reverse {
    flex-direction: row-reverse;
}

/* KOLOM GAMBAR */
.trad-img-col {
    width: 55%;
    position: relative;
    z-index: 1;
}

.trad-img-arch {
    width: 100%;
    height: 550px;
    background-size: cover;
    background-position: center;
    border-radius: 200px 200px 20px 20px; 
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.trad-row:hover .trad-img-arch {
    transform: translateY(-10px);
}

.img-overlay-dark {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(26,21,16,0.1), rgba(26,21,16,0.6));
}

/* KOLOM TEKS OVERLAPPING */
.trad-text-col {
    width: 55%;
    background: rgba(36, 28, 22, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(184, 146, 67, 0.3);
    padding: 50px 40px;
    border-radius: 24px;
    z-index: 2;
    box-shadow: 0 30px 50px rgba(0, 0, 0, 0.4);
    margin-left: -10%; 
    transition: border-color 0.4s ease, transform 0.4s ease;
}

.trad-row.reverse .trad-text-col {
    margin-left: 0;
    margin-right: -10%;
}

.trad-row:hover .trad-text-col {
    border-color: rgba(184, 146, 67, 0.8);
}

/* KONTEN KARTU */
.trad-number {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 700;
    color: rgba(184, 146, 67, 0.15);
    line-height: 0.8;
    margin-bottom: -10px;
}

.trad-name {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: var(--cream);
    margin-bottom: 20px;
}

.trad-detail {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.15rem;
    color: var(--grey-text);
    line-height: 1.6;
    margin-bottom: 30px;
}

.trad-complement {
    background: rgba(0, 0, 0, 0.3);
    padding: 15px 20px;
    border-left: 3px solid var(--gold);
    border-radius: 4px;
}

.c-label {
    display: block;
    font-family: 'Josefin Sans', sans-serif;
    color: var(--gold);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
    font-weight: 600;
}

.c-items {
    font-family: 'Josefin Sans', sans-serif;
    color: #c9c3bc;
    font-size: 0.95rem;
}

@media (max-width: 900px) {
    body#kuliner-body {
        padding-left: 1px;
        padding-right: 1px;
    }
    .trad-gallery-wrapper {
        gap: 80px; /* Sedikit lebih lega */
        padding: 0 15px; /* Memberikan ruang napas di pinggir layar */
    }

    .trad-row, .trad-row.reverse {
        flex-direction: column;
        align-items: center;
        width: 100%;
        margin-bottom: 20px;
    }

    .trad-img-col {
        width: 290px;
    }

    .trad-img-arch {
        height: 300px; /* Dibuat sedikit lebih pendek agar proporsional di HP */
        border-radius: 100px 100px 20px 20px;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6);
    }

    .trad-text-col {
        width: 88%; /* Sedikit lebih ramping agar tidak terlihat terlalu penuh */
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-top: -60px; /* Penyesuaian agar overlap terasa alami */
        padding: 15px;
        position: relative;
        width: 320px;
        text-align: center; /* Teks rata tengah agar lebih enak dibaca di HP */
    }

    /* Memperbaiki alignment elemen di dalam kartu */
    .trad-number {
        font-size: 3rem; /* Sedikit diperkecil agar tidak memakan ruang */
        margin-bottom: 5px;
    }

    .trad-name {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }

    .trad-detail {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .trad-complement {
        text-align: left; /* Biarkan bagian ini tetap rata kiri agar terlihat kontras */
        padding: 12px 15px;
    }
}