footer {
    background: var(--brown-dark);
    /* Mengikuti variabel warna asli kamu */
    padding: 4rem 1.5rem 2rem 1.5rem;
    /* Padding disesuaikan untuk layar HP agar tidak terlalu memakan tempat */
    border-top: 1px solid rgba(212, 162, 80, 0.2);
    font-family: 'Poppins', sans-serif;
}

/* --- TAMPILAN UTAMA (DESKTOP / LAPTOP) --- */
.footer-top-section {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto 3rem auto;
    text-align: left;
}

.footer-logo-box {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    color: var(--cream);
    letter-spacing: 1px;
}


.footer-logo span {
    color: var(--gold);
    font-style: italic;
}

.footer-tagline {
    color: rgba(240, 224, 204, 0.6);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.column-title {
    color: var(--cream, #fff);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    position: relative;
    padding-bottom: 0.5rem;
    margin-top: 0;
    letter-spacing: 0.5px;
}

/* Garis aksen bawah (seperti di gambar contoh kamu) */
.column-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background: #C8885A;
    /* Warna merah aksen, bisa diganti var(--gold) */
}

.footer-links-vertical {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.footer-links-vertical a {
    text-decoration: none;
    color: rgba(240, 224, 204, 0.7);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links-vertical a:hover {
    color: var(--gold);
}

.footer-social-icons {
    display: flex;
    gap: 0.8rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(240, 224, 204, 0.12);
    color: var(--cream, #fff);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--gold);
    color: var(--brown-dark);
    transform: translateY(-3px);
}

.footer-copy {
    color: rgba(240, 224, 204, 0.3);
    font-size: 0.75rem;
    text-align: center;
    border-top: 1px solid rgba(240, 224, 204, 0.08);
    padding-top: 1.5rem;
    margin: 0;
    letter-spacing: 0.3px;
}


/* --- TAMPILAN KHUSUS HP (SANGAT RAPI & OPTIMAL) --- */
@media (max-width: 768px) {
    .footer-top-section {
        grid-template-columns: 1fr;
        /* Stack vertikal untuk area utama */
        gap: 2rem;
        text-align: center;
        /* Semua teks otomatis ke tengah agar seimbang di HP */
        margin-bottom: 2rem;
    }

    .footer-logo {
        font-size: 1.6rem;
    }

    .footer-logo span {
        vertical-align: 6px;
        font-size: 15px !important;
        line-height: 0;
    }

    .footer-tagline {
        font-size: 0.85rem;
        max-width: 320px;
        margin: 0 auto;
        /* Tagline diketengah */
    }

    /* Mengubah susunan link 'Company' dari atas-bawah menjadi berjejer ke samping (horizontal) */
    .footer-links-vertical {
        flex-direction: row;
        justify-content: center;
        gap: 1.5rem;
        /* Jarak antar link menu di HP */
        margin-top: 0.2rem;
    }

    /* Mengatur judul kolom di HP */
    .column-title {
        font-size: 1rem;
        margin-bottom: 0.8rem;
        display: inline-block;
        /* Supaya garis bawah pas dengan lebar tulisan */
        align-self: center;
    }

    /* Garis aksen merah bergeser tepat di tengah-tengah bawah tulisan */
    .column-title::after {
        left: 50%;
        transform: translateX(-50%);
        width: 25px;
        /* Sedikit diperkecil agar pas di HP */
    }

    /* Posisikan ikon sosmed tepat di tengah layar HP */
    .footer-social-icons {
        justify-content: center;
        margin-top: 0.2rem;
    }

    .social-icon {
        width: 38px;
        height: 38px;
        font-size: 0.95rem;
    }

    .footer-copy {
        padding-top: 1.2rem;
        line-height: 1.4;
    }
}