/* RESET */
body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
}
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

/* =========================
   MOBILE FIX: ANTI TUMPANG TINDIH
   DESKTOP AMAN
========================= */
@media (max-width: 768px) {

    .navbar {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }

    .nav-links {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    .nav-links li {
        width: 100%;
    }

    /* PENTING: beri jarak ke section setelah navbar */
    .hero,
    .page-header,
    .why-us,
    .gallery-page,
    .services-section,
    .about-wrapper,
    .contact-page {
        margin-top: 20px;
    }

    /* Hero jangan fixed height di mobile */
    .hero {
        height: auto;
        padding: 40px 16px;
    }

    .hero-content h2 {
        font-size: 24px;
        line-height: 1.3;
    }

    .hero-content p {
        font-size: 14px;
        line-height: 1.5;
    }
    
}

/* =========================
   NAVBAR
========================= */
.navbar {
    background: #000;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 40px;
}

.logo img {
    height: 55px;
}

/* MENU DESKTOP */
.nav-links {
    list-style: none;
    display: flex;
    gap: 24px;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
}

.nav-links a:hover {
    color: #FFD700;
}

/* =========================
   NAVBAR FINAL (NO HAMBURGER)
========================= */

.navbar {
    background: #000;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 40px;
}

/* LOGO */
.logo img {
    height: 55px;
}

/* MENU DESKTOP */
.nav-links {
    list-style: none;
    display: flex;
    gap: 24px;
    margin: 0;
    padding: 0;
}

.nav-links li a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
}

.nav-links li a:hover {
    color: #FFD700;
}

/* ============================
   WHY US SECTION
============================ */
.why-us {
    padding: 80px 40px;
    background: #f8f8f8;
    text-align: center;
}

.why-us h2 {
    font-size: 32px;
    margin-bottom: 40px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    justify-items: center;
}

.why-box {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
}

.why-box:hover {
    transform: translateY(-5px);
}

.why-box img {
    width: 70px;
    margin-bottom: 15px;
}

.why-box h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.why-box p {
    font-size: 16px;
    line-height: 1.6;
}

/* Format 3 atas, 2 bawah */
.why-box:nth-child(4) {
    grid-column: 2;
}
.why-box:nth-child(5) {
    grid-column: 3;
}
/* =====================
   FIX WHY US MOBILE
   WAJIB ADA
===================== */
.why-box:nth-child(4),
.why-box:nth-child(5) {
    grid-column: auto !important;
}

/* ============================
   HERO SECTION
============================ */
.hero {
    height: 350px;
    background: #bdb3b3;   /* Ubah warna sesuai keinginan */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}


.hero-content h2 {
    font-size: 42px;
    color: #000;
}

.hero-content p {
    font-size: 28px;
    color: #000;
    margin-bottom: 20px;
}

.btn-wa {
    background: #25D366;
    padding: 22px 30px;
    color: black;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
}

.btn-wa:hover {
    background: #1ebe5d;
}
/* ================================
   BANNER PAGE (1425 x 325)
=================================*/

.page-header {
    position: relative;
    width: 100%;
    height: 830px;          /* tinggi standar desktop */
    min-height: 830px;      /* memastikan banner tidak mengecil */
    overflow: hidden;
    background: #000;
}

/* Gambar banner */
.page-banner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;      /* gambar memenuhi banner */
    object-position: center;
    z-index: 1;
}

/* Overlay gelap */
.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.32);
    z-index: 2;
}
/* =========================
   GALERI
========================= */
.gallery-page {
    padding: 60px 40px;
}

.gallery-page h2 {
    font-size: 28px;
    margin-bottom: 25px;
}

.gallery-grid-full {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.gallery-grid-full img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 14px;
    cursor: pointer;
    transition: 0.3s;
}

.gallery-grid-full img:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

/* =========================
   LIGHTBOX
========================= */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(5px);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 10px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 36px;
    color: white;
    cursor: pointer;
}

.lb-prev,
.lb-next {
    position: absolute;
    top: 50%;
    font-size: 40px;
    color: white;
    cursor: pointer;
    padding: 20px;
    transform: translateY(-50%);
}

.lb-prev { left: 20px; }
.lb-next { right: 20px; }
/* HOVER */
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}


.video-item {
    position: relative;
    width: 100%;
    height: 220px;
    cursor: pointer;
}

.video-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 14px;
}

/* PLAY ICON TEPAT DI TENGAH */
.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    background: rgba(0,0,0,0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #fff;
    pointer-events: none;
}

.video-item:hover img {
    filter: brightness(0.7);
}

.video-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-wrapper {
    width: 90%;
    max-width: 900px;
    aspect-ratio: 16 / 9;
    background: #000;
}

.video-wrapper iframe {
    width: 100%;
    height: 100%;
}

.video-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 42px;
    color: white;
    cursor: pointer;
}
/* =========================
   ABOUT SECTION
========================= */
.about-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    padding: 80px 40px;
    max-width: 1200px;
    margin: auto;
    background: #fff;
}

/* TEKS KIRI */
.about-left h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #111;
}

.about-left h3 {
    font-size: 22px;
    margin-top: 30px;
    margin-bottom: 10px;
    color: #000;
}

.about-left p {
    font-size: 16px;
    line-height: 1.7;
    color: #444;
    margin-bottom: 15px;
}

.about-left ul {
    padding-left: 18px;
}

.about-left ul li {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 8px;
    color: #444;
}

/* LIST KEUNGGULAN */
.highlight-list li {
    position: relative;
    padding-left: 20px;
}

.highlight-list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #25D366;
    font-weight: bold;
}

/* GAMBAR KANAN */
.about-right img {
    width: 100%;
    border-radius: 14px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}


/* =========================
   SERVICES SECTION
========================= */
.services-section {
    padding: 80px 40px;
    background: #fff;
}

.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 50px;
    color: #111;
}

/* GRID */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: auto;
}

/* CARD */
.service-card {
    background: #f9f9f9;
    padding: 30px 25px;
    border-radius: 14px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: 0.3s ease;
    text-align: center;
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #000;
}

.service-card p {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
}

/* HOVER */
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

/* ===========================
   CONTACT PAGE
=========================== */
.contact-page {
    padding: 80px 40px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: auto;
}

.contact-form h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

.contact-form p {
    margin-bottom: 20px;
    color: #555;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
}

.contact-form button {
    background: #000;
    color: #fff;
    padding: 14px;
    border: none;
    width: 100%;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
}

.contact-form button:hover {
    background: #222;
}

.contact-info iframe {
    width: 100%;
    height: 260px;
    border-radius: 12px;
    margin-bottom: 20px;
    border: none;
}

.info-box h3 {
    margin-bottom: 15px;
}

.info-box p {
    margin-bottom: 12px;
    line-height: 1.6;
}

/* ============================
   FOOTER
============================ */
.footer-new {
    background: #000;
    color: #fff;
    padding: 50px 20px 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: auto;
}

.footer-logo {
    width: 130px;
}

.social-icons img {
    width: 145px;
    margin-right: 10px;
    cursor: pointer;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    text-align: center;
    padding-top: 15px;
    opacity: 0.8;
}
/* =====================================
   MOBILE CLEAN RESET
   DESKTOP TIDAK TERPENGARUH
===================================== */
@media (max-width: 768px) {

    /* =====================
       GLOBAL
    ===================== */
    body {
        overflow-x: hidden;
    }

    section {
        position: relative;
    }

    /* =====================
       NAVBAR (VERTIKAL RAPI)
    ===================== */
    .navbar {
        flex-direction: column;
        align-items: center;
        padding: 14px 16px;
    }

    .logo {
        margin-bottom: 10px;
    }

    .logo img {
        height: 44px;
    }

    .nav-links {
        width: 100%;
        display: flex;
        flex-direction: column;
        margin: 0;
        padding: 0;
        border-top: 1px solid rgba(255,255,255,0.2);
    }

    .nav-links li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255,255,255,0.15);
    }

    .nav-links li a {
        display: block;
        padding: 12px 0;
        font-size: 15px;
    }

    /* =====================
       HERO (ANTI TUMPANG)
    ===================== */
    .hero {
        height: auto;
        padding: 40px 16px;
        margin: 0;
    }

    .hero-content h2 {
        font-size: 22px;
        line-height: 1.3;
        margin-bottom: 10px;
    }

    .hero-content p {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 10px;
    }

    .btn-wa {
        display: inline-block;
        font-size: 14px;
        padding: 12px 18px;
        margin-top: 8px;
    }

    /* =====================
       WHY US
    ===================== */
    .why-us {
        padding: 40px 16px;
    }

    .why-us h2 {
        font-size: 22px;
        margin-bottom: 24px;
    }

    .why-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    /* =====================
       GALLERY
    ===================== */
    .gallery-page {
        padding: 40px 16px;
    }

    .gallery-page h2 {
        font-size: 22px;
        margin-bottom: 20px;
    }

    .gallery-grid-full {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .gallery-grid-full img,
    .video-item {
        height: 150px;
    }

    /* =====================
       ABOUT
    ===================== */
    .about-wrapper {
        grid-template-columns: 1fr;
        padding: 40px 16px;
        gap: 24px;
    }

    .about-left h2 {
        font-size: 22px;
    }

    .about-left h3 {
        font-size: 18px;
    }

    .about-left p,
    .about-left ul li {
        font-size: 14px;
        line-height: 1.6;
    }

    /* =====================
       SERVICES
    ===================== */
    .services-section {
        padding: 40px 16px;
    }

    .section-title {
        font-size: 22px;
        margin-bottom: 28px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    /* =====================
       CONTACT
    ===================== */
    .contact-page {
        padding: 40px 16px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    /* =====================
       FOOTER
    ===================== */
    .footer-container {
        text-align: center;
        gap: 24px;
    }

    .footer-logo {
        width: 90px;
        margin: auto;
    }

    .social-icons {
        justify-content: center;
    }

    .social-icons img {
        width: 36px;
    }

    .footer-bottom {
        font-size: 13px;
    }
}
