/* PALETTE COLOR: 
    - Navy Dark: #0B1B32
    - Accent Gold: #C5A059
    - Text Gray: #555
*/

:root {
    --c1: #0B1B32;    /* Navy Dark */
    --c2: #161E2B;
    --c3: #30363D;
    --c4: #C5A059;    /* Accent Gold */
    --c0: rgba(11, 27, 50, 0.711); /* Header Overlay */
    --f1: 'Poppins', system-ui, sans-serif;
    --accent: #C5A059;
    --dark-blue: #0B1B32;
    /* TAMBAHAN: Warna background dasar biru transparan */
    --bg-blue-soft: rgba(11, 27, 50, 0.03);
}

* {
    margin: 0; padding: 0;
    box-sizing: border-box;
    font-family: var(--f1);
    outline: none; border: none;
    text-decoration: none;
    transition: .2s linear;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
    scroll-padding-top: 6rem;
    overflow-x: hidden;
    background: linear-gradient(
        180deg,
        rgba(11, 27, 50, 0.05) 0%,
        rgba(197, 160, 89, 0.05) 100%
    );
}

section {
    padding: 6rem 7%;
}

.product-container-wrapper {
    width: 100%;
    padding: 0;   /* HILANGKAN padding */
    background: transparent;
}

/* Judul Section Minimalis */
.sub-heading-left {
    display: block;
    text-align: left;
    font-size: 1.4rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: .3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.heading-villa-title {
    text-align: left;
    font-size: 3.5rem;
    color: var(--c1);
    font-weight: 700;
    border-bottom: 1px solid var(--accent);
    padding-bottom: 2rem;
    margin-bottom: 4rem;
    width: 100%;
}

.heading-villa-title span {
    color: var(--accent);
}

/* HEADER */
header {
    position: fixed;
    top: 0; left: 0; right: 0;
    background: var(--c0);
    backdrop-filter: blur(5px);
    padding: 2rem 9%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.1);
}

header .logo { font-size: 3rem; color: #fff; font-weight: bolder; }
header .logo span { color: var(--accent); }
header .navbar a { font-size: 2rem; padding: 0 1.5rem; color: #fff; }
header .navbar a:hover { color: var(--accent); }

/* MENU ACTIVE */
header .navbar a.active {
    color: var(--accent);
    position: relative;
}

header .navbar a.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    background: var(--accent);
}
header .icons a { font-size: 2.5rem; color: #fff; margin-left: 1.5rem; }

/* HOME */
.home {
    display: flex;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(to right, 
                rgba(11, 27, 50, 0.9) 0%, 
                rgba(11, 27, 50, 0.6) 35%, 
                rgba(0, 0, 0, 0.2) 100%), 
                url('../pic/ARI08225.jpg') no-repeat;
    background-size: cover;
    background-position: center;
}

.home .content h3 {
    font-size: 6rem;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.home .content span {
    font-size: 3.5rem;
    color: var(--accent);
    padding: 1rem 0;
    line-height: 1.5;
}

.home .content p {
    font-size: 1.6rem;
    color: #eee;
    padding: 1rem 0;
    line-height: 1.5;
    max-width: 50rem;
}

/* MINI BANNER */
.mini-banner {
    background: var(--c1); 
    color: #ffffff;
    padding: 3rem 9%; 
    text-align: center;
    font-size: 1.6rem;
    border-bottom: 4px solid var(--accent);
}

/* ABOUT */
.about .row {
    display: flex;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.about {
    margin-top: 6rem;
}

.about .row .video-container { flex: 1 1 45rem; }
.about .row .video-container video {
    width: 100%;
    border-radius: 1rem;
    object-fit: cover;
}

.about .row .content { flex: 1 1 45rem; }
.about .row .content h3 { font-size: 3rem; color: var(--c1); }
.about .row .content p { font-size: 1.5rem; color: #444; padding-top: 1rem; line-height: 2.2rem; text-align: justify; }


/* PRODUCTS / VILLA SLIDER */
.slider-outer-container {
    display: flex;
    align-items: center;
    gap: 2rem;
    width: 100%;
}

.villa-slider { 
    flex: 1; 
    overflow: hidden; 
    padding: 2rem 1rem 2rem 1rem;
}

/* Kotak Alas (Card) */
.products .box {
    background: #fff;
    border-radius: 0.3rem;
    overflow: hidden;
    box-shadow: 0 1rem 3rem rgba(0,0,0,0.08);
    border: 1px solid #eee;
    transition: transform 0.3s ease;
}

.products .box:hover {
    transform: translateY(-5px);
}

/* Area Gambar - KEMBALI KE UKURAN ASLI */
.products .image { 
    width: 100%; 
    height: 40rem; 
    overflow: hidden; 
}

.villa-img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
}

/* Area Teks di dalam Box */
.products .content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2.5rem;
}

.text-side h3 { font-size: 2.3rem; color: var(--c1); margin-bottom: 0.5rem; }
.text-side .price { font-size: 1.6rem; color: var(--accent); font-weight: 600; }

.view-btn {
    font-size: 1.5rem;
    color: var(--c1);
    font-weight: 600;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 3px;
}

/* NAVIGASI LINGKARAN */
.custom-nav-btn {
    width: 5.5rem; height: 5.5rem;
    border: 1px solid var(--c1); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: .3s;
    color: var(--c1);
}

.custom-nav-btn:hover { background: var(--c1); color: var(--accent); }

/* GALLERY */
.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 2.5rem;
}

.gallery {
    margin-top: 3rem;
    background: linear-gradient(
        to bottom,
        rgba(11, 27, 50, 0.06),
        rgba(197, 160, 89, 0.12)
    );
    position: relative;
    overflow: hidden;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 2.5rem;
    width: 100%;
}

.gallery-item {
    position: relative;
    height: 35rem; /* KEMBALI KE UKURAN ASLI */
    overflow: hidden;
    border-radius: 1rem;
    background: #f0f0f0;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Overlay Biru Elegant */
.gallery-item .overlay {
    position: absolute;
    top: 0; left: 0;
    height: 100%; width: 100%;
    background: rgba(11, 27, 50, 0.8); 
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.gallery-item:hover .overlay {
    opacity: 1;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item .overlay h3 {
    color: var(--accent);
    font-size: 2.2rem;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    padding: 1rem 2rem;
    border: 1px solid var(--accent);
    text-align: center;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.gallery-item:hover .overlay h3 {
    transform: translateY(0);
}

/* PRE-FOOTER */
.pre-footer {
    display: flex;
    justify-content: space-between;
    padding: 4rem 9%;
    gap: 3rem;
    background: #f3efe8;
}

.pre-footer .item {
    flex: 1;
    padding-left: 2rem;
    border-left: 3px solid var(--accent);
}

.pre-footer .item h4 { font-size: 1.8rem; color: var(--c1); margin-bottom: 1rem; }
.pre-footer .item p { font-size: 1.4rem; color: #666; line-height: 1.6; }

/* FOOTER */
.footer { 
    padding: 6rem 9%; 
    background: linear-gradient(
        180deg,
        #0B1B32 0%,
        #16263f 100%
    );
    border-top: 4px solid var(--accent); 
}

.footer .box-container { 
    display: flex; 
    justify-content: space-between; 
    flex-wrap: wrap; 
    gap: 3rem; 
}

/* TEXT FIX */
.footer .box h3 { 
    font-size: 2.5rem; 
    color: #ffffff; 
    padding-bottom: 2rem; 
}

.footer .box a { 
    display: block; 
    font-size: 1.7rem; 
    color: #e0e0e0; 
    padding: 1rem 0; 
}

.footer .box a:hover { 
    color: var(--accent); 
    padding-left: 1rem; 
}

.footer .map-container { 
    border-radius: 1rem; 
    overflow: hidden; 
    margin-top: 1rem; 
    border: 1px solid rgba(255,255,255,0.2); 
}

.footer .credit { 
    text-align: center; 
    padding: 2.5rem; 
    margin-top: 2rem; 
    border-top: 1px solid rgba(255,255,255,0.2); 
    font-size: 1.6rem; 
    color: #ffffff; 
}

.footer .credit span { 
    color: var(--accent); 
}

/* Styling sederhana untuk tanda pemisah di footer */
.footer-divider {
    font-size: 1.7rem;
    color: #e0e0e0;
    padding: 1rem 0;
    font-family: var(--f1);
}

/* ===== LUXURY TROPICAL BACKGROUND ===== */

.about {
    background: #ffffff;
}

.products {
    background: linear-gradient(
        to bottom,
        rgba(11, 27, 50, 0.06),
        rgba(197, 160, 89, 0.08)
    );
}

/* ===== FACILITIES CLEAN LUXURY ===== */

/* Judul Section Minimalis - Tetap di Kiri */
.sub-heading-left {
    display: block;
    text-align: left; /* Memastikan teks di kiri */
    font-size: 1.4rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: .3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.heading-villa-title {
    text-align: left; /* Memastikan teks di kiri */
    font-size: 3.5rem;
    color: var(--c1);
    font-weight: 700;
    border-bottom: 1px solid var(--accent);
    padding-bottom: 2rem;
    margin-bottom: 4rem;
    width: 100%;
}

/* FASILITAS SECTION - Penataan Grid */
.facility .box-container {
    display: grid;
    /* Menggunakan auto-fill agar kotak mulai dari kiri jika jumlahnya sedikit */
    grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr)); 
    gap: 2.5rem;
    margin-top: 2rem;
}

.facility .box {
    background: #ffffff;
    padding: 3.5rem 2rem;
    border-radius: 1.2rem;
    text-align: center; /* Teks di dalam kotak tetap di tengah agar ikon & nama fasilitas simetris */
    box-shadow: 0 0.5rem 1.5rem rgba(0,0,0,0.05);
    border: 1px solid #ffffff;
    transition: .3s;
}

.facility .box img {
    width: 65px; 
    height: 65px;
    object-fit: contain;
    margin-bottom: 2rem;
    transition: .3s;
}

.facility .box h3 {
    font-size: 1.6rem;
    color: var(--c1);
    font-weight: 600;
}

.facility .box:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
}

.facility {
    background: linear-gradient(
        to bottom,
        rgba(11, 27, 50, 0.05),
        rgba(197, 160, 89, 0.10)
    );
    position: relative;
}

/* RESPONSIVE */
@media (max-width: 991px) {
    section, header, .mini-banner, .pre-footer, .footer { padding: 4rem 5%; }
}

@media (max-width: 768px) {
    .custom-nav-btn { display: none; }
    .pre-footer, .footer .box-container { flex-direction: column; }
    .products .content { flex-direction: column; align-items: flex-start; gap: 2rem; }
    .home .content h3 { font-size: 4rem; }
}

/* --- 1. SETTING DESKTOP (LAPTOP) --- */

/* Sembunyikan garis tiga di laptop */
.menu-toggle {
    display: none !important;
}

/* Sembunyikan tulisan WA internal di navbar laptop */
.mobile-only-wa {
    display: none;
}

/* --- 2. SETTING MOBILE (HP) --- */

@media (max-width: 768px) {
    
    /* Munculkan garis tiga HANYA di HP */
    .menu-toggle {
        display: block !important;
        font-size: 2.8rem;
        color: #fff;
        cursor: pointer;
    }

    /* Sembunyikan ikon WA yang di luar header (HP) */
    header .icons .fa-whatsapp {
        display: none !important;
    }

    /* Styling Menu Dropdown HP */
    header .navbar {
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: #0B1B32; 
        flex-direction: column;
        display: none; 
        padding: 2rem 0;
        border-top: 1px solid rgba(255,255,255,0.1);
    }

    /* Tampilkan menu saat diklik */
    header .navbar.active {
        display: flex;
    }

    /* Jarak antar menu di HP */
    header .navbar a {
        display: block;
        margin: 1.5rem 2.5rem;
        padding: 1rem 0;
        font-size: 2rem;
        color: #fff;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }

    /* Tampilkan WhatsApp di dalam daftar menu HP */
    .mobile-only-wa {
        display: block !important;
        font-weight: bold;
        color: #25D366 !important; 
    }
}