html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Segoe UI", Arial, sans-serif;
    background: linear-gradient(160deg, #001947, #00337A);
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ================= HEADER ================= */

.top-header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px 40px;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(5px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    position: relative;
}

.logo-box {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: 10px;
    align-items: center;
}

.logo-left { left: 40px; }
.logo-right { right: 40px; }

.logo-box img {
    max-height: 75px;
    object-fit: contain;
}

.title-box h1 {
    margin: 0;
    font-size: 32px;
    font-weight: 800;
    background: linear-gradient(90deg, #FFD85A, #FFFFFF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.title-box h2 {
    margin: 5px 0 0;
    font-size: 18px;
    font-weight: 400;
    opacity: 0.9;
}

/* ================= MENU ================= */

.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    padding: 50px 20px;
    flex: 1;
}

.menu-box {
    width: 260px;
    height: 200px;
    background: #FFC43D;
    color: #0A0A0A;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-size: 19px;
    font-weight: 600;
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
    transition: 0.3s;
}

.menu-box:hover {
    background: #ffb300;
    transform: translateY(-5px);
}

.menu-box img {
    width: 60px;
    margin-bottom: 12px;
}

/* ================= SLIDESHOW (FIX UTAMA) ================= */

.slideshow-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 20px 0 35px;
}

.slideshow-container {
    width: 92%;
    max-width: 900px;
    aspect-ratio: 16 / 9;   /* 🔥 KUNCI RESPONSIF */
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    background: #000;
    box-shadow: 0 8px 22px rgba(0,0,0,0.25);
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.caption {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(0,0,0,0.45);
    padding: 8px;
    font-size: 14px;
}

/* Tombol slide */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 8px 12px;
    background: rgba(0,0,0,0.4);
    color: white;
    font-size: 18px;
    cursor: pointer;
    border-radius: 6px;
    user-select: none;
}

.prev { left: 10px; }
.next { right: 10px; }

/* ================= FOOTER ================= */

.footer-section {
    background: #E5E5E5;
    color: #001947;
    padding: 12px;
    margin-top: auto;
}

.footer-icons {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 8px;
}

.footer-icons img {
    width: 28px;
    transition: 0.2s;
}

.footer-icons img:hover {
    transform: scale(1.15);
}

.footer-address {
    font-size: 14px;
}

/* ================= FLOATING WA ================= */

.floating-wa {
    position: fixed;
    bottom: 22px;
    right: 22px;
    width: 65px;
    z-index: 9999;
}

.floating-wa img {
    width: 100%;
}

/* ================= RESPONSIVE HP ================= */

@media (max-width: 768px) {

    .top-header {
        flex-direction: column;
        padding: 15px;
    }

    .logo-box {
        position: static;
        transform: none;
        margin-bottom: 10px;
        justify-content: center;
    }

    .logo-box img {
        max-height: 55px;
    }

    .title-box h1 {
        font-size: 24px;
    }

    .title-box h2 {
        font-size: 14px;
    }

    .menu-box {
        width: 90%;
        height: 160px;
        font-size: 17px;
    }

    .caption {
        font-size: 13px;
    }
}
/* =================================================
   PRIORITASKAN SLIDESHOW DI HP
================================================= */

@media (max-width: 768px) {

    /* Section menu dipersempit */
    .container {
        padding: 18px 10px;
        gap: 14px;
    }

    /* Menu jadi kecil & 2 kolom */
    .menu-box {
        width: 46%;          /* 2 kolom */
        height: 120px;       /* DIPERKECIL */
        font-size: 14px;
        border-radius: 14px;
    }

    .menu-box img {
        width: 36px;
        margin-bottom: 6px;
    }

    /* Judul menu diperkecil */
    h2 {
        font-size: 20px !important;
    }

    p {
        font-size: 14px;
    }

    /* Slideshow diperbesar & diprioritaskan */
    .slideshow-wrapper {
        margin-top: 10px;
        margin-bottom: 30px;
    }

    .slideshow-container {
        width: 96%;
        aspect-ratio: 16 / 9;
        border-radius: 14px;
    }

    .caption {
        font-size: 13px;
        padding: 6px;
    }
}

/* HP SANGAT KECIL (opsional tapi aman) */
@media (max-width: 480px) {
    .menu-box {
        width: 100%;    /* 1 kolom */
        height: 110px;
    }
}
