/* General Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Poppins', sans-serif;
    background: #f5f6f7;
    color: #222;
}


.info-card {
    background: #fff;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.info-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
}

.info-card h3 {
    margin-top: 15px;
    font-size: 22px;
    font-weight: bold;
}

.info-card p {
    font-size: 14px;
    color: #555;
}

.info-card .btn {
    display: inline-block;
    background: #0d4c92;
    padding: 10px 20px;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    margin-top: 15px;
}

.info-card:hover {
    transform: translateY(-5px);
}



/* HEADER */
.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 40px;
    background: #0a3d62;
    color: white;
    position: sticky;
    top: 0;
    z-index: 100;
}

.topbar .logo {
    font-size: 24px;
    font-weight: 800;
}

.menu a {
    margin-left: 25px;
    text-decoration: none;
    color: #fff;
    font-weight: 400;
}

.admin-btn {
    background: #f1c40f;
    padding: 6px 12px;
    border-radius: 5px;
    color: #000;
}

/* HERO SLIDER */
.hero img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
}

.slider {
    position: relative;
    display: none;
}

.overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.45);
}

.caption {
    position: absolute;
    bottom: 50px; left: 50px;
    font-size: 36px;
    font-weight: 700;
    color: white;
    width: 60%;
}

/* BREAKING NEWS */
.breaking-news {
    padding: 10px;
    background: #d63031;
    color: white;
    display: flex;
    align-items: center;
}

.breaking-news .label {
    background: #b71c1c;
    padding: 5px 10px;
    margin-right: 10px;
    font-weight: bold;
}

/* CONTENT LAYOUT */
.content {
    width: 90%;
    max-width: 1200px;
    margin: 40px auto;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.info-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: .3s;
}

.info-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.info-card h3 {
    padding: 15px;
    font-size: 20px;
    font-weight: 700;
}

.info-card p {
    padding: 0 15px 20px;
    color: #555;
}

.info-card:hover {
    transform: translateY(-6px);
}

.btn {
    display: inline-block;
    margin: 15px;
    background: #0a3d62;
    color: #fff;
    padding: 8px 14px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
}

/* FOOTER */
.footer {
    padding: 25px;
    text-align: center;
    background: #0a3d62;
    color: white;
    margin-top: 50px;
}


/* =========================================
   PREMIUM PROFESSIONAL GALLERY
========================================= */
.gallery-section {
    padding: 70px 0;
    background: #eef3f8;
    position: relative;
}

.gallery-title {
    text-align: center;
    font-size: 34px;
    font-weight: 800;
    letter-spacing: .5px;
    color: #0b5d82;
    margin-bottom: 40px;
}

/* Container utama */
.gallery-slider {
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    position: relative;
}

/* Track slider */
.gallery-track {
    display: flex;
    gap: 22px;
    animation: slideGallery 28s linear infinite;
}

/* Style gambar */
.gallery-img {
    width: 260px;
    height: 170px;
    object-fit: cover;
    border-radius: 18px;
    cursor: pointer;
    transition: .35s ease;
    box-shadow: 0 12px 30px rgba(0,0,0,0.18);
    border: 4px solid rgba(255,255,255,0.7);
    background: #fff;
}

.gallery-img:hover {
    transform: scale(1.10) rotate(1deg);
    box-shadow: 0 15px 35px rgba(0,0,0,0.25);
}

/* Animasi berjalan */
@keyframes slideGallery {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* =============================
   LIGHTBOX / POPUP ZOOM
============================= */
.lightbox-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.85);
    justify-content: center;
    align-items: center;
    z-index: 999999;
}

.lightbox-overlay img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 20px;
    box-shadow: 0 0 30px rgba(255,255,255,0.4);
    animation: zoomIn .35s ease;
}

@keyframes zoomIn {
    from { transform: scale(.7); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}



/* ==================== RESPONSIVE DESIGN ==================== */

/* --- Mobile < 768px --- */
@media (max-width: 768px) {

    /* HEADER */
    header.topbar {
        flex-direction: column;
        text-align: center;
        padding: 10px;
    }

    header .menu {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-top: 8px;
    }

    header .menu a {
        padding: 8px 12px;
        background: #0b5d82;
        color: white !important;
        border-radius: 6px;
        font-size: 14px;
    }

    /* HERO SLIDER */
    .hero .slider img {
        height: 230px !important;
        object-fit: cover;
    }

    .hero .caption {
        font-size: 18px !important;
        bottom: 25px !important;
    }

    /* CONTENT CARDS */
    .info-grid {
        grid-template-columns: 1fr !important;
        padding: 10px;
        gap: 20px;
    }

    .info-card img {
        height: 180px !important;
    }

    /* TABLE RESPONSIVE */
    .booking-list-section table {
        font-size: 13px;
    }

    .booking-list-section {
        padding: 20px;
    }

    .booking-list-section table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    /* GALLERY RESPONSIVE */
    .gallery-track {
        display: flex;
        gap: 10px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
    }

    .gallery-img {
        width: 300px;
        flex-shrink: 0;
        scroll-snap-align: center;
    }

    /* LIGHTBOX */
    .lightbox img {
        width: 90%;
    }

    /* TESTIMONI 1 KOLOM */
    .testimoni-section div[style*='grid-template-columns'] {
        grid-template-columns: 1fr !important;
    }

    /* FLOATING BUTTON */
    a[href*="wa.me"] div {
        width: 80px !important;
        height: 80px !important;
    }

    a[href*="wa.me"] > div:last-child {
        transform: scale(0.9);
        right: 90px !important;
    }

    /* FOOTER */
    .footer {
        text-align: center;
        font-size: 13px;
        padding: 20px;
    }
}

/* --- Extra Small Mobile < 480px --- */
@media (max-width: 480px) {
    .hero .slider img {
        height: 180px !important;
    }

    .info-card h3 {
        font-size: 18px;
    }

    .info-card p {
        font-size: 13px;
    }

    .gallery-img {
        width: 260px;
    }

    a[href*="wa.me"] div {
        width: 70px !important;
        height: 70px !important;
    }
}





/* Section khusus video */
.video-section {
    padding: 60px 20px;
    background: #f5f9ff;
    text-align: center;
}

/* Judul */
.gallery-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
    color: #004f6e;
}

/* Container video */
.video-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;

    flex-wrap: wrap; /* Responsif */
    max-width: 1200px;
    margin: auto;
}

/* Box video */
.video-box {
    background: #fff;
    padding: 12px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    width: 340px;
}

.video-box video {
    width: 100%;
    border-radius: 10px;
    height: 200px;
    object-fit: cover;
}

/* Responsif HP */
@media (max-width: 480px) {
    .video-box {
        width: 100%;
        max-width: 340px;
    }
    .video-box video {
        height: 180px;
    }
}





