
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: normal;
}
html {
    scroll-behavior: smooth;
    overflow-x: hidden; /* Mencegah scroll samping */
}
body{
    font-family:'Poppins', sans-serif;
    color:#222;
    background:#F6EFEA;
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; }
ul { list-style: none; }
img, video { max-width: 100%; height: auto; }
.container{
    max-width:1200px;
    margin:auto;
    padding:0 20px;
    
}
.section{
    padding:100px 0;
    text-align:center;
    position: relative;
}
.bg-light{
    background:#F6EFEA;
}
h2 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    letter-spacing: 1px;
    text-align: center;
    display: block;
}
h1 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    letter-spacing: 1px;
    text-align: center;
    display: block;
}
html {
    scroll-behavior: smooth;
    overflow-x: hidden; /* Mencegah scroll samping */
}
.text-center { text-align: center; }
/* NAVBAR */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    z-index: 1000;
}
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 8%;
}

#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 0;
    backdrop-filter: blur(12px);
    background: rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: all 0.4s ease;
    z-index: 1000;
}

#navbar.scrolled {
    background: rgba(30,20,15,0.85);
    backdrop-filter: blur(16px);
}


/* Link navbar */
.nav-link {
    margin-left: 20px;
    padding: 8px 16px;
    text-decoration: none;
    color: #222222;
    font-weight: 500;
    border-radius: 30px;
    transition: all 0.3s ease;
}

/* Hover effect */
.nav-link:hover {
    background: #ff5722;
    color: #fff;
}

/* Warna saat navbar transparan */
#navbar:not(.scrolled) .nav-link {
    color:rgb(0, 0, 0);
}

#navbar:not(.scrolled) .nav-link:hover {
    background: white;
    color: #ff5722;
}
/* Warna saat navbar sudah putih */
#navbar.scrolled .nav-link {
    color:#ffffff;
}

/* Highlight menu aktif (tanpa underline) */
.nav-link.active {
    background: #ff5722;
    color: #fff;
}


.nav-wrapper{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 0;
}

.logo{
    font-size:18px;
    font-weight:700;
    color:#ff5722;
}

.logo span{
    color:#ff5722;
}

nav a{
    margin-left:30px;
    text-decoration:none;
    color:#222;
    font-weight:500;
}

/* HERO */
.hero {
    margin-top: 0px; /* Sesuaikan dengan tinggi navbar */
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    /* Gunakan Transform untuk memusatkan secara absolut */
    transform: translate(-50%, -50%);
    
    text-align: center;
    color: white;
    z-index: 10;
    
    /* Lebar fleksibel agar teks tidak terpotong di layar kecil */
    width: 100%;
    max-width: 90%;
    padding: 0 15px;
}
.hero-text h1 {
    font-family: 'Playfair Display', serif;
    /* Ganti clamp() dengan ukuran pasti */
    font-size: 64px; 
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    text-shadow: 0 4px 15px rgba(0,0,0,0.6);
    
    /* Izinkan teks turun baris agar tidak terpotong */
    white-space: normal;
}

.hero-text p {
    font-family: 'Poppins', sans-serif;
    /* Ganti clamp() dengan ukuran pasti */
    font-size: 18px; 
    font-weight: 300;
    letter-spacing: 1px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.6);
    
    /* Izinkan teks turun baris agar tidak terpotong */
    white-space: normal;
}

.hero-slide{
    position:relative;
}

.hero-slide img{
    width:100%;
    height:100vh;
    object-fit:cover;
}

.hero-content{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    color:#fff;
    font-size:40px;
    font-weight:700;
    text-shadow:0 5px 20px rgba(0,0,0,0.4);
}

/* Pastikan Hero memiliki tinggi penuh */
.hero, .heroSwiper, .heroSwiper .swiper-slide {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

/* Pastikan video mengisi layar & overlay bekerja */
.video-slide {
    position: relative;
    width: 100%;
    height: 100vh;
    background: #000; /* Background hitam pencegah layar putih */
}

.video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3); /* Gelap 30% */
    z-index: 1;
}

/* Layer 3 (Paling Atas): Teks */
.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 10;
    
    /* PENTING: Agar teks tidak melebar keluar layar */
    width: 100%; 
    max-width: 90%; /* Beri jarak aman kiri-kanan */
    padding: 0 15px; /* Padding tambahan */
}

/* CARD */
.card{
    background:#fff;
    border-radius:10px;
    overflow:hidden;
    box-shadow:0 5px 20px rgba(0,0,0,0.05);
}

.card img{
    height:250px;
    object-fit:cover;
}

.card h3{
    padding:20px;
}


/* FOOTER */
footer{
    background:#3E2723;
    color:#fff;
    padding:40px 0;
    text-align:center;
}

.social-icons {
    margin: 20px 0;
}

.social-icons a {
    color: white;
    font-size: 24px;
    margin: 0 15px;
    transition: 0.3s;
}

.social-icons a:hover {
    color: #ff5722;
    transform: scale(1.2);
}

.package-grid {
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:30px;
}

.package-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: all 0.5s ease;
}

.package-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}


.package-card img {
    height:200px;
    object-fit:cover;
    border-radius:10px;
}

/* Reveal Scroll Effect */
.reveal {
    opacity:0;
    transform:translateY(50px);
    transition:all 0.8s ease;
}

.reveal.active {
    opacity:1;
    transform:translateY(0);
}

@keyframes fadeIn {
    from {opacity:0; transform:scale(0.9);}
    to {opacity:1; transform:scale(1);}
}

.heroSwiper {
    width: 100%;
    height: 100vh;
}

.heroSwiper .swiper-slide {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.destSwiper .swiper-slide {
    display: flex;
}

.swiper-slide img,
.swiper-slide video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}


@keyframes heroFade {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(-50%);
    }
}
.heroSwiper .swiper-slide::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 1;
}

/* DESTINASI */
.destSwiper {
    padding: 40px ;
}

.destination-card {
    position: relative;
    border-radius: 30px; /* Lebih bulat agar mewah */
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.1);
    overflow: hidden;
    height: 420px;
    cursor: pointer;
}

.destination-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

/* Overlay gradient elegan */
.destination-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 60%);
    display: flex;
    align-items: flex-end;
    padding: 30px;
    z-index: 10;
}

.destination-overlay h3 {
    color: white;
    font-size: 26px;
    font-weight: 600;
    letter-spacing: 1px;
    margin: 0;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s ease;
}

/* Hover effect premium */
.destination-card:hover img {
    transform: scale(1.1);
}

.destination-card:hover .destination-overlay h3 {
    transform: translateY(-10px);
    opacity: 1;
}


.section {
    padding: 140px 0;
}

/* Update di tess/css/style.css */

/* Paksa slide yang aktif agar tidak transparan */
.heroSwiper .swiper-slide-active {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Pastikan slide punya background hitam agar tidak putih saat transisi */
.heroSwiper .swiper-slide {
    background-color: black;
}


/* Pastikan section setelahnya (Packages) ada di bawah About */
#packages {
    position: relative;
    z-index: 1; 
}

/* --- MOBILE RESPONSIVE & ELEGANCE FIX --- */

/* 1. Hamburger Menu Button (Garis Tiga) */
.menu-toggle {
    display: none; /* Sembunyi di desktop */
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1001; /* Di atas navbar */
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: #3E2723;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Warna garis saat navbar discroll/gelap */
#navbar.scrolled .menu-toggle .bar {
    background-color: #fff;
}

/* 1. GLOBAL SAFETY (Mencegah web goyang/bentrok pixel) */
html, body {
    width: 100%;
    overflow-x: hidden !important; /* Kunci mati scroll samping */
    position: relative;
}

img, video {
    max-width: 100%; /* Agar gambar tidak pernah melebihi lebar layar */
    height: auto;
}

/* --- DESAIN PAKET WISATA MODERN (GRID SYSTEM) --- */

.package-grid {
    display: grid;
    /* Grid otomatis: Minimal lebar 300px, kalau muat dia bikin kolom baru */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 30px; /* Jarak antar kartu */
    padding: 10px;
}

.package-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden; /* Agar gambar tidak keluar dari radius */
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column; /* Susunan vertikal */
    height: 100%; /* Agar tinggi semua kartu sama */
}

.package-card:hover {
    transform: translateY(-10px); /* Efek naik saat hover */
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* Bagian Gambar */
.pkg-img-box {
    position: relative;
    width: 100%;
    height: 220px; /* Tinggi gambar dikunci agar seragam */
    overflow: hidden;
}

.pkg-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Gambar dipotong rapi memenuhi kotak */
    transition: transform 0.5s ease;
}

.package-card:hover .pkg-img-box img {
    transform: scale(1.1); /* Zoom halus gambar */
}

/* Badge (Pita Kecil di Gambar) */
.pkg-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ff5722;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(255, 87, 34, 0.4);
}

/* Bagian Konten Teks */
.pkg-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Mengisi sisa ruang agar tombol terdorong ke bawah */
    text-align: left;
}

.pkg-content h3 {
    font-size: 22px;
    margin-bottom: 5px;
    color: #3E2723;
}

.pkg-content .price {
    font-size: 16px;
    color: #ff5722;
    font-weight: 700;
    margin-bottom: 15px;
}

/* Update di tess/css/style.css */

.pkg-content .desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
    
    /* PENAMBAHAN UTAMA: Justify */
    text-align: justify;
    text-justify: inter-word; 
    
    /* Opsional: Agar kata panjang tidak merusak layout saat layar sempit */
    hyphens: auto; 
}

/* Tombol Paket */
.btn-pkg {
    display: block;
    width: 100%;
    padding: 12px 0;
    text-align: center;
    background: #3E2723;
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: 0.3s;
    border: none;
    cursor: pointer;
}

.btn-pkg:hover {
    background: #ff5722;
    color: white;
}

/* Navigasi Warna Oranye Mewah */
.swiper-button-next, 
.swiper-button-prev {
    z-index: 999 !important;
    background: rgba(255, 255, 255, 0.3);
    width: 50px !important;
    height: 50px !important;
    border-radius: 50%;
    backdrop-filter: blur(5px);
    transition: 0.3s;
}
.swiper-button-next:after, 
.swiper-button-prev:after {
    font-size: 20px !important;
    font-weight: bold;
}
.swiper-button-next:hover, 
.swiper-button-prev:hover {
    background: #ff5722;
    color: white !important;
}

/* Pagination styling */
.swiper-pagination-bullet {
    background: #ff5722 !important;
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: #ff5722 !important;
}

/* 3. PERBAIKAN SWIPER UMUM */
.swiper {
    margin-left: auto;
    margin-right: auto;
    position: relative;
    overflow: hidden;
    list-style: none;
    padding: 0;
    z-index: 1;
}

.swiper-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    transition-property: transform;
    box-sizing: content-box;
}
/* 5. PERBAIKAN UNTUK ANDROID/IOS */
video, img {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* --- ABOUT VIDEO & GRID INTERACTIVE --- */
.video-item {
    position: relative;
    background: #000;
}

.bg-video-hover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0; /* Sembunyi saat tidak di-hover */
    transition: opacity 0.5s ease;
}

.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.bg-item:hover .bg-video-hover {
    opacity: 1;
}

.bg-item:hover .video-placeholder {
    opacity: 0;
}
/* --- PERBAIKAN TOTAL GALLERY --- */
#gallery {
    padding: 80px 0;
    background: #F6EFEA;
    overflow: hidden;
}

.gallerySwiper {
    width: 100%;
    padding: 50px 0 80px 0 !important; /* Beri ruang untuk pagination */
}

.gallerySwiper, .destSwiper {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.gallerySwiper .swiper-slide {
    width: 350px !important; /* Tentukan lebar pasti */
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.5s ease;
}

/* Slide yang sedang aktif di tengah */
.gallerySwiper .swiper-slide-active {
    filter: brightness(1) blur(0);
    transform: scale(1.1);
    z-index: 10;
}

.gallerySwiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

/* ===== GLOBAL PARAGRAPH FIX ===== */

p {
    line-height: 1.7;
    margin-bottom: 16px;
    text-align: justify;
    text-justify: inter-word;
    word-break: normal;
    overflow-wrap: break-word;
}

/* Khusus section yang memang harus center */
.hero-text p,
.section > .container > p,
.gallery-social-cta p {
    text-align: center;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none; /* Mencegah drag gambar tak sengaja */
}
#contact h2 {
    text-align: center; /* Pastikan baris ini ada untuk menengahkan judul Contact */
    margin-bottom: 20px;
    color: var(--primary-color);
}
.footer-col h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: center; /* TAMBAHKAN BARIS INI untuk menengahkan judul Footer */
}
/* Opsional: Jika ingin deskripsi di bawah judul footer juga di tengah */
.footer-top .footer-col:first-child p {
     text-align: center;
}
/* =========================================
   TAMBAHAN CSS BARU
========================================= */

/* --- 1. Gaya untuk Ikon Sosmed di Gallery --- */
.gallery-social-cta {
    text-align: center;
    margin: 20px 0 40px 0; /* Jarak atas bawah */
}

.gallery-social-cta p {
    margin-bottom: 15px;
    font-weight: 600;
    color: var(--dark-color);
    text-align: center;
}

.social-icons-container {
    display: flex;
    justify-content: center;
    gap: 20px; /* Jarak antar tombol */
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    border-radius: 50px; /* Membuat bentuk kapsul */
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.social-btn i {
    font-size: 1.5rem;
}

/* Warna Menarik untuk TikTok (Gradient) */
.tiktok-btn {
    background: #000000; /* Fallback */
    background: linear-gradient(45deg, #000000, #25F4EE, #FE2C55);
    background-size: 200% auto;
}

/* Warna Menarik untuk Instagram (Gradient) */
.ig-btn {
    background: #d6249f; /* Fallback */
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%);
    background-size: 200% auto;
}

/* Efek Hover agar interaktif */
.social-btn:hover {
    transform: translateY(-5px); /* Naik sedikit saat di-hover */
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    background-position: right center; /* Efek gerak pada gradient */
}


/* --- 2. Gaya untuk Tombol WhatsApp Melayang (Floating) --- */
.floating-wa {
    position: fixed; /* Kunci posisi agar tetap saat discroll */
    bottom: 30px;    /* Jarak dari bawah */
    right: 30px;     /* Jarak dari kanan */
    width: 65px;     /* Lebar lingkaran */
    height: 65px;    /* Tinggi lingkaran */
    background-color: #25d366; /* Warna hijau resmi WhatsApp */
    color: white;
    border-radius: 50%; /* Membuat jadi bulat sempurna */
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    z-index: 9999; /* Pastikan selalu di lapisan paling atas */
    transition: all 0.3s ease;
}

.floating-wa i {
    font-size: 38px; /* Ukuran ikon WA */
}

/* Efek hover dan animasi denyut pada tombol WA */
.floating-wa:hover {
    transform: scale(1.1); /* Membesar sedikit saat di-hover */
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.5); /* Bayangan hijau */
}

/* (Opsional) Animasi berdenyut halus agar menarik perhatian */
@keyframes pulse-wa {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
.floating-wa {
    animation: pulse-wa 2s infinite;
}

/* Penyesuaian untuk layar HP kecil */
@media (max-width: 480px) {
    .gallery-social-cta .social-btn span {
        display: none; /* Sembunyikan teks TikTok/Instagram di HP kecil, hanya ikon */
    }
    .gallery-social-cta .social-btn {
        padding: 12px; /* Sesuaikan padding */
        border-radius: 50%; /* Ubah jadi bulat di HP kecil */
    }
    .floating-wa {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }
    .floating-wa i {
        font-size: 30px;
    }
}
/* =========================================
   UPDATE BESAR: HISTORY, KATALOG, GALLERY
========================================= */

/* --- 1. HISTORY SECTION (VIDEO BG) --- */
.history-section {
    position: relative;
    height: 80vh; /* Tinggi section */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: white;
}

.video-bg-wrap {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0;
}

.history-video {
    width: 100%; height: 100%; object-fit: cover;
}

.history-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Gelapkan video agar teks terbaca */
}

.history-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    text-wrap: balance;
}

.history-text-box {
    border-left: 5px solid #ff5722;
    padding-left: 30px;
    text-align: justify; /* Text Rapi */
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
    padding: 30px;
    border-radius: 0 20px 20px 0;
    text-wrap: balance;
}

.history-text-box p {
    margin-bottom: 16px;
    font-size: 18px;
    line-height: 1.7;
    text-align: justify;
    text-justify: inter-word;
    hyphens: none;
    word-break: normal;
    overflow-wrap: break-word;
}

/* --- 2. KATALOG WISATA (PENGGANTI PACKAGES) --- */
/* --- 2. KATALOG WISATA (DESKTOP 2x2) --- */
.catalog-grid {
    display: grid;
    /* UBAH DISINI: Gunakan repeat(2, 1fr) agar terkunci 2 kolom */
    grid-template-columns: repeat(2, 1fr); 
    gap: 30px; /* Jarak antar kartu diperlebar sedikit agar lebih rapi */
    padding: 0 20px;
    margin: 10px auto; /* Auto agar posisi grid di tengah */
    max-width: 1000px; /* Opsi: Batasi lebar total agar kartu tidak terlalu 'gepeng' */
}

.catalog-card {
    height: 350px;
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: transform 0.4s ease;
}

.catalog-card:hover {
    transform: translateY(-10px);
}

.catalog-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    color: white;
    opacity: 0.9;
    transition: 0.3s;
    z-index: 2;
}



.catalog-overlay h3 {
    font-size: 1.8rem;
    margin-bottom: 5px;
    font-family: 'Playfair Display', serif;
}

.catalog-overlay p {
    font-size: 14px;
    margin-bottom: 1px;
    opacity: 0.8;
}

.catalog-btn {
    align-self: center;
    padding: 10px 25px;
    background: #ff5722;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: 0.3s;

}

.catalog-btn:hover {
    background: white;
    color: #ff5722;
}


/* --- 3. GALLERY MARQUEE (REVISI FINAL) --- */
#gallery.bg-dark {
    background: #1a1a1a;
    padding: 80px 0;
}

.marqueeSwiper {
    width: 100%;
    margin-bottom: 30px;
}

/* CONTAINER ITEM */
.gallery-item {
    /* Lebar otomatis, tapi punya tinggi tetap */
    width: auto !important; 
    height: 300px !important; 
    
    /* Agar slider tidak gepeng saat loading */
    min-width: 200px !important; 
    
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease;
    flex-shrink: 0 !important;
    display: block !important;
}

/* GAMBAR & VIDEO */
.gallery-item img, 
.gallery-item video {
    /* PENTING: Mematikan max-width 100% bawaan */
    max-width: none !important; 
    
    /* Ukuran mengikuti container */
    height: 100% !important; 
    width: auto !important;     
    
    /* Jaga-jaga agar gambar muncul */
    min-width: 100% !important; 
    
    object-fit: cover !important;
    filter: brightness(0.8);
    transition: 0.3s;
    display: block !important;
}

/* Hover Zoom Effect */
.gallery-item:hover {
    transform: scale(1.05);
    z-index: 10;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.gallery-item:hover img, 
.gallery-item:hover video {
    filter: brightness(1.1);
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
    .gallery-item {
        height: 200px !important; /* Tinggi di HP */
        min-width: 120px !important;
    }
    
    .gallerySwiper {
        padding: 10px 0 40px 0 !important;
    }
}
/* Ikon Play Video */
.video-icon {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-size: 30px;
    color: white;
    pointer-events: none;
    opacity: 0.8;
}

/* --- 4. TESTIMONIALS (FLOATING) --- */
.testi-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 50px;
}

.testi-card {
    width: 300px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    background: white;
}

.testi-card img {
    width: 100%;
    display: block;
}

/* Animasi Melayang */
@keyframes floatUp {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.float-slow { animation: floatUp 4s ease-in-out infinite; }
.float-medium { animation: floatUp 5s ease-in-out infinite; animation-delay: 1s; }
.float-fast { animation: floatUp 4.5s ease-in-out infinite; animation-delay: 0.5s; }

/* ========================= */
/* ABOUT US ULTRA PREMIUM 2026 */
/* ========================= */

#about {

    position: relative;
    overflow: hidden;
    

    background:
    linear-gradient(to bottom,
    #0a0a0a,
    #111,
    #0a0a0a);

}


/* GRID BACKGROUND */

.about-bg-grid {

    position: absolute;
    inset: 0;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    grid-template-rows: repeat(2, 300px);

    gap: 20px;

    opacity: 0.55;

    transform: scale(1.);
    padding: 20px 20px 20px 20px;
}


/* ITEM */

.bg-item {

    position: relative;

    overflow: hidden;

    border-radius: 24px;

}


/* GAMBAR VIDEO */

.bg-item img,
.bg-item video {

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 1.2s ease;

}


/* ZOOM CINEMATIC */

.bg-item:hover img,
.bg-item:hover video {

    transform: scale(1.55);

}



/* BLUR EDGE CINEMATIC */

.bg-item::after {

    content: "";

    position: absolute;

    inset: 0;

    backdrop-filter: blur(25px);

    mask-image:

    radial-gradient(
    circle,
    transparent 50%,
    black 100%
    );

}



/* FLOAT ANIMATION */

.bg-item {

    animation: floating 12s ease-in-out infinite;

}

.bg-item:nth-child(2){

    animation-delay: 2s;

}

.bg-item:nth-child(3){

    animation-delay: 4s;

}

.bg-item:nth-child(4){

    animation-delay: 6s;

}

.bg-item:nth-child(5){

    animation-delay: 8s;

}

.bg-item:nth-child(6){

    animation-delay: 10s;

}



@keyframes floating {

0%,100%{

transform: translateY(0px);

}

50%{

transform: translateY(-20px);

}

}



/* ================= */
/* ABOUT CARD */
/* ================= */


.about-container-wrapper{

    position: relative;
    padding: 20px;
    z-index: 5;

}



.about-card{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 50px;
    border-radius: 30px;
    /* GLASS MORPHISM */
    background:
    rgba(255,255,255,0.08);
    backdrop-filter: blur(30px);
    border:
    1px solid rgba(255,255,255,0.15);
    /* SHADOW */
    box-shadow:0 40px 80px rgba(0,0,0,0.6);
    transition: 0.5s;
    flex-wrap: wrap;
    width: 100%;
    max-width: 1100px;
    margin: auto;
}
.about-card:hover{
    transform: translateY(-10px) scale(1.02);
    box-shadow:0 60px 120px rgba(0,0,0,0.8);
}
.about-text { flex: 1; }
.about-text h2 { color: white; text-align: left; margin-bottom: 20px; }
.about-text p {
    color: #ddd;
    text-align: justify;
    text-justify: inter-word;
    line-height: 1.7;
}




/* IMAGE */

.about-main-img{

width: 300px;

border-radius: 20px;

transition: 1s;

}


.about-main-img:hover{

transform: scale(1.1);

}


/* default */
.about-card{

    transform: translateY(0);

    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);

}

.about-bg-grid:has(.bg-item:nth-child(-n+3):hover)
~ .container .about-card{

    transform: translateY(200px);
    opacity: 0.5;
}

.about-bg-grid:has(.bg-item:nth-child(n+4):hover)
~ .container .about-card{

    transform: translateY(-250px);
    opacity: 0.5;

}

/* --- STYLE PETA INTERAKTIF (GOOGLE MAPS STYLE) --- */
.map-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: visible; /* PENTING: Ubah ke visible agar popup di pinggir tidak terpotong */
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    background: #f0f0f0;
    margin-bottom: 50px; /* Jarak aman ke bawah */
}

.interactive-map {
    width: 100%;
    height: 650px; /* DIPERBESAR: Agar lebih leluasa menaruh banyak pin */
    background-size: cover;
    background-position: center;
    position: relative;
    border-radius: 20px; /* Radius dipindah ke sini */
    overflow: hidden; /* Gambar peta tetap di dalam radius */
}

/* Titik Pin */
.map-pin {
    position: absolute;
    cursor: pointer;
    z-index: 10;
    transform: translate(-50%, -50%);
    transition: z-index 0s; /* Z-index instan */
}
.map-pin:hover {
    z-index: 100 !important;
}
/* Ikon Pin */
.pin-icon {
    width: 40px;
    height: 40px;
    background: #ff5722;
    color: white;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(255, 87, 34, 0.5);
    transition: all 0.3s ease;
}

.pin-icon i {
    transform: rotate(45deg); /* Putar balik ikon agar tegak */
    font-size: 18px;
}

/* Efek Denyut (Pulse) */
.pin-pulse {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 40px; height: 40px;
    background: rgba(255, 87, 34, 0.5);
    border-radius: 50%;
    z-index: -1;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
    100% { transform: translate(-50%, -50%) scale(2.5); opacity: 0; }
}

/* Kartu Detail (Popup seperti Google Maps) */
.pin-card {
    position: absolute;
    bottom: 55px;
    left: 50%;
    transform: translateX(-50%) scale(0.8);
    width: 220px;
    background: white;
    border-radius: 12px;
    
    /* PERBAIKAN 1: Hapus padding agar gambar full ke pinggir */
    padding: 0; 
    
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
    z-index: 20;
    
    /* Tambahan: Pastikan gambar tidak keluar dari radius */
    overflow: hidden; 
}

/* Segitiga kecil di bawah kartu */
.pin-card::after {
    content: '';
    position: absolute;
    bottom: -8px; /* Default */
    left: 50%;
    transform: translateX(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid white; /* Segitiga menghadap bawah */
}

.pin-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    
    /* PERBAIKAN 2: Hapus radius dan margin karena container sudah punya radius */
    border-radius: 12px 12px 0 0; /* Melengkung di atas saja */
    margin-bottom: 0;
    display: block; /* Menghilangkan celah putih di bawah gambar */
}

.pin-info {
    padding: 12px;
    text-align: center; /* Opsional: agar teks rapi */
}

.pin-info h4 {
    font-size: 16px;
    margin: 0;
    color: #333;
    font-family: 'Poppins', sans-serif;
}

.pin-info span {
    font-size: 12px;
    color: #888;
}

/* --- LOGIKA POSISI BARU --- */

/* 1. Jika Pin terlalu di ATAS -> Kartu muncul di BAWAH */
.map-pin .card-bottom {
    bottom: auto; 
    top: 55px; 
}

/* PERBAIKAN 3: Logika Panah Card Bottom */
.map-pin .card-bottom::after {
    bottom: auto; 
    
    /* UBAH DARI -8px JADI -16px */
    /* Alasannya: Agar segitiga putih naik sepenuhnya keluar dari gambar */
    top: -16px; 
    
    border-bottom: 8px solid white; /* Segitiga menghadap atas */
    border-top: none;
}

/* 2. Jika Pin terlalu di KANAN -> Geser kartu ke KIRI */
.map-pin .card-left {
    left: auto; right: -20px;
    transform: translateX(0) scale(0.8);
}
.map-pin:hover .card-left {
    transform: translateX(0) scale(1);
}
.map-pin .card-left::after {
    left: auto; right: 20px; /* Geser segitiganya */
    transform: none;
}

/* 3. Jika Pin terlalu di KIRI -> Geser kartu ke KANAN */
.map-pin .card-right {
    left: -20px; right: auto;
    transform: translateX(0) scale(0.8);
}
.map-pin:hover .card-right {
    transform: translateX(0) scale(1);
}
.map-pin .card-right::after {
    left: 20px; /* Geser segitiganya */
    transform: none;
}

/* --- END LOGIKA POSISI --- */

/* EFEK HOVER: Tampilkan Kartu */
.map-pin:hover .pin-card {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) scale(1);
}

.map-pin:hover .pin-icon {
    transform: rotate(-45deg) scale(1.2);
    background: #3E2723;
}

/* Hint Text */
.map-hint {
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 10px;
    text-align: center;
    font-size: 14px;
}

.gallery-social-cta {
    margin-bottom: 40px; /* Beri jarak dengan foto */
}


/* ========================================================== */
/* MASTER MOBILE FIX - MAUZAK TRAVEL (Ganti semua kode HP)    */
/* Tempel ini di PALING BAWAH style.css                       */
/* ========================================================== */

@media (max-width: 768px) {

    .history-section {
        height: auto !important;
        padding: 80px 0 !important;
    }

    .history-content {
        padding: 0 20px !important;
    }

    .history-text-box {
        text-align: left !important;
    }

    .history-text-box p {
        font-size: 16px !important;
    }


    /* --- 1. NAVIGASI & MENU (PENTING) --- */
    /* Munculkan tombol hamburger di HP */
    .menu-toggle {
        display: flex !important;
        z-index: 1001;
    }

    /* Style Menu Mobile (Model Dropdown / Tidak Full Screen) */
    .nav-menu {
        position: fixed;
        /* GANTI TOP: Turunkan agar muncul di BAWAH navbar, bukan dari paling atas */
        top: 80px; 
        right: -100%;
        width: 100%;
        
        /* GANTI HEIGHT: Ubah dari 100vh ke auto agar tingginya menyesuaikan isi menu saja */
        height: auto !important; 
        
        background: rgba(20, 10, 5, 0.98) !important;
        backdrop-filter: blur(15px);
        
        display: flex;
        flex-direction: column;
        
        /* GANTI JUSTIFY: Agar menu mulai dari atas, bukan di tengah layar */
        justify-content: flex-start; 
        align-items: center;
        
        /* Tambahkan padding agar menu tidak terlalu mepet */
        padding: 40px 0 50px 0; 
        gap: 25px;
        
        transition: right 0.4s ease;
        z-index: 1000;
        
        /* Tambahkan radius di bawah agar terlihat seperti kartu gantung yang rapi */
        border-radius: 0 0 30px 30px; 
        box-shadow: 0 10px 30px rgba(0,0,0,0.5); /* Bayangan agar terpisah dari konten bawah */
    }

    .nav-menu.active {
        right: 0; /* Munculkan menu */
    }

    .nav-link {
        font-size: 24px !important;
        color: #ffffff !important;
        opacity: 1 !important;
        transform: none !important;
        margin: 0 !important;
    }

    /* --- 2. GLOBAL TEXT & LAYOUT FIX --- */
    /* Paksa semua teks rata kiri agar tidak bolong-bolong (sungai) */
    .hero-text p, 
    .pkg-content .desc,
    .section p {
        text-align: center !important;
        text-justify: auto !important;
        font-size: 15px !important;
        line-height: 1.6 !important;
        hyphens: none !important;
        padding: 0 !important;
        word-spacing: normal !important;
        text-wrap: balance;
        
    }

    .section {
        padding: 60px 0 !important; /* Jarak antar section diperkecil */
    }

    .container {
        padding: 0 20px !important;
    }

    /* --- 3. HERO SECTION (BANNER UTAMA) --- */
    .hero-text {
        width: 90% !important; /* Kembalikan ke persen agar muat di layar HP */
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
    }

    .hero-text h1 {
        font-size: 24px ; /* Kecilkan font */
        text-align: center !important;
        text-wrap: nowrap !important;
    }

    .hero-text p {
        font-size: 14px !important;
        white-space: normal !important; /* Izinkan teks turun baris */
    }

    /* --- 4. ABOUT US (REDESAIN LEMBAR RAPI) --- */
/* --- 4. ABOUT US (FULL BACKGROUND MODE) --- */
    /* --- 4. ABOUT US (FIX TERTUTUP & TRANSPARAN) --- */
    /* --- 4. ABOUT US (FIX ZOOM ON TOUCH) --- */
    #about {
        position: relative !important;
        /* Padding atas 120px (biar gak ketutup navbar), Bawah 60px */
        padding: 120px 20px 60px 20px !important; 
        background: #111 !important;
        
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important; 
        align-items: center !important;
        
        overflow: hidden !important;
        
        /* PERBAIKAN UTAMA: Ubah jadi auto agar tinggi mengikuti konten */
        height: auto !important; 
        min-height: auto !important;
    }
    
    /* BACKGROUND GRID */
    .about-bg-grid {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important; /* Mengikuti tinggi #about yang baru */
        
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important; 
        /* Baris otomatis mengisi ruang yang ada */
        grid-template-rows: repeat(auto-fill, minmax(150px, 1fr)) !important; 
        
        gap: 2px !important; /* Gap diperkecil biar rapat */
        opacity: 0.8 !important; 
        z-index: 0 !important;
    }

    /* ITEM GRID (Wadah) */
    .bg-item {
        position: relative !important;
        overflow: hidden !important; /* Agar zoom tidak keluar kotak */
        border-radius: 0 !important;
    }
    
    /* GAMBAR & VIDEO (Isi) */
    .bg-item img, 
    .bg-item video {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        
        /* AKTIFKAN TRANSISI HALUS */
        transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
        transform-origin: center center !important;
    }

    /* EFEK SAAT DITEKAN (TOUCH/ACTIVE) */
    .bg-item:active img,
    .bg-item:active video {
        transform: scale(1.4) !important; /* Zoom In Besar */
        filter: brightness(1.2); /* Sedikit lebih terang saat ditekan */
    }

    /* KONTEN TEKS (GLASSMORPHISM) */
    .about-container-wrapper {
        position: relative !important;
        z-index: 10 !important;
        margin-top: 20px !important; /* Jarak sedikit dari atas */
        width: 100% !important;
        
        background: rgba(0, 0, 0, 0.5) !important; 
        backdrop-filter: blur(15px) !important;
        -webkit-backdrop-filter: blur(15px) !important;
        
        border-radius: 30px !important;
        padding: 30px 20px !important;
        
        box-shadow: 0 15px 40px rgba(0,0,0,0.6) !important;
        border: 1px solid rgba(255,255,255,0.15) !important;

        /* KUNCI RAHASIA: Agar sentuhan tembus ke gambar di belakang */
        pointer-events: none !important; 
    }

    .about-card {
        background: transparent !important;
        box-shadow: none !important;
        border: none !important;
        padding: 0 !important;
        flex-direction: column !important;
        transform: none !important;
    }

    .about-text h2 {
        color: #ffffff !important; 
        font-size: 32px !important;
        margin-bottom: 20px !important;
        text-align: center !important;
        text-shadow: 0 2px 10px rgba(0,0,0,0.5) !important;
    }
    
    .about-text p {
        color: #e0e0e0 !important;
        text-align: center !important;
        font-weight: 400 !important;
        text-wrap: balance;
        font-size: 15px !important;
        line-height: 1.7 !important;
        text-align: center;
        text-wrap: balance;
    }

    .about-main-img {
        display: none !important; 
    }
    /* --- 5. KATALOG & GALLERY --- */
    .package-grid, .catalog-grid {
        grid-template-columns: 1fr !important; /* 1 Kartu ke bawah */
        gap: 30px !important;
    }

    .catalog-card {
        height: 280px !important;
    }

    .gallerySwiper {
        padding: 20px 0 60px 0 !important;
    }

    .gallerySwiper .swiper-slide {
        width: 260px !important;
        height: 350px !important;
    }
    
    .destSwiper .swiper-slide {
        width: 85% !important;
    }

    /* --- 6. PETA & LAINNYA --- */
    /* --- 6. PETA & LAINNYA (MOBILE FIX) --- */
    .interactive-map {
        height: 400px !important;
    }
    
    .map-pin {
        transform: translate(-50%, -50%) scale(0.7) !important;
    }
    
    /* Perbaikan Kartu Peta Mobile */
    .pin-card {
        width: 180px !important; /* Ukuran pas untuk HP */
        bottom: 45px !important;
        
        /* Hapus padding agar gambar full */
        padding: 0 !important;
        border-radius: 12px !important;
        overflow: hidden !important;
    }

    /* Gambar Mobile Full */
    .pin-card img {
        width: 100% !important;
        height: 100px !important; /* Tinggi gambar disesuaikan */
        object-fit: cover !important;
        border-radius: 12px 12px 0 0 !important;
        margin: 0 !important;
        display: block !important;
    }

    /* Info Teks Mobile */
    .pin-info {
        padding: 10px !important;
        text-align: center !important;
    }

    .pin-info h4 {
        font-size: 14px !important;
        margin-bottom: 2px !important;
    }

    .pin-info span {
        font-size: 11px !important;
    }
    
    /* Logika Panah Mobile (Penting!) */
    .map-pin .card-bottom {
        bottom: auto !important;
        top: 45px !important; /* Muncul di bawah pin */
    }

    /* Perbaikan Segitiga Panah Mobile (Agar tidak nutup gambar) */
    .map-pin .card-bottom::after {
        top: -14px !important; /* Naikkan segitiga ke luar gambar */
        border-bottom: 7px solid white !important; /* Ukuran segitiga sedikit lebih kecil di HP */
        border-top: none !important;
    }
    
    /* Tombol WA Floating Mobile */
    .floating-wa {
        width: 50px !important;
        height: 50px !important;
        bottom: 20px !important;
        right: 20px !important;
    }
    
    .floating-wa i {
        font-size: 28px !important;
    }
}
/* Warna Menarik untuk Facebook (Gradient Biru) */
.fb-btn {
    background: #1877F2; /* Fallback (Biru Facebook) */
    background: linear-gradient(45deg, #005cbf, #1877F2, #42b72a); 
    background-size: 200% auto;
}

/* Efek Hover (sudah otomatis ikut class .social-btn, 
   tapi pastikan transisi background berjalan mulus) */
.fb-btn:hover {
    background-position: right center;
    box-shadow: 0 8px 20px rgba(24, 119, 242, 0.4); /* Bayangan biru */
}
/* --- LUXURY TESTIMONIALS (Pinterest Style Premium) --- */

/* Definisi Warna Emas Mewah (Bisa disesuaikan) */
:root {
    --gold-accent: #C5A572; /* Warna emas matte yang elegan */
    --gold-dark: #8F7245;
}

.luxury-testimonials {
    padding: 80px 0;
    background: #fafafa; /* Latar belakang sedikit off-white agar lebih premium */
}

/* Header Section yang Elegan */
.luxury-title {
    font-family: 'Playfair Display', serif; /* Gunakan font Serif jika ada, atau font bawaan yang elegan */
    font-size: 2.5rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 10px;
}

.luxury-subtitle {
    /* 1. KUNCI UTAMA: Membuat panjang baris seimbang (estetik untuk judul/subtitle) */
    text-wrap: balance;  
    
    /* 2. Mencegah kata terpotong di tengah huruf */
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: keep-all; /* Memaksa browser jangan memenggal kata (hyphenation) */
    
    /* 3. Memberi jarak kiri-kanan agar tidak mepet layar HP */
    padding: 0 20px; 
    
    /* 4. Pengaturan standar lainnya */
    font-size: 1.1rem;
    color: #666;
    letter-spacing: 0.5px; /* Sedikit dirapatkan jika terlalu lebar */
    margin-bottom: 5px;
    line-height: 1.6; /* Jarak antar baris jika turun ke bawah */
    display: block;
    width: 100%;
}

/* Garis pemisah emas kecil */
.gold-divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, var(--gold-accent), var(--gold-dark));
    margin: 0 auto 50px;
    border-radius: 2px;
}


/* --- GRID SYSTEM --- */
.masonry-grid {
    column-count: 3;
    column-gap: 30px; /* Jarak antar kolom lebih lega */
    padding: 20px;
}

/* Kartu Testimoni (The Pin) */
.masonry-item {
    position: relative;
    border-radius: 16px; /* Sudut sedikit lebih tajam agar terlihat modern */
    overflow: hidden;
    margin-bottom: 30px;
    break-inside: avoid;
    cursor: pointer;
    background: #fff;
    /* Border tipis transparan di awal */
    border: 1px solid rgba(0,0,0,0.05); 
    /* Shadow awal yang lembut */
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    /* Transisi yang SANGAT HALUS (kunci kemewahan) */
    transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}


/* Wrapper Gambar & Efek Kilau */
.img-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

.masonry-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1); /* Zoom lebih lambat */
}

/* Efek Kilau (Shine) - Garis cahaya yang lewat saat hover */
.shine-effect {
    position: absolute;
    top: 0;
    left: -100%; /* Mulai dari luar kiri */
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.4) 50%, /* Cahaya putih lembut */
        rgba(255,255,255,0) 100%
    );
    transform: skewX(-25deg); /* Miringkan cahaya */
    z-index: 2;
    transition: none; /* Reset transisi saat tidak hover */
}


/* --- VARIATION SIZES (Tetap sama) --- */
/* Hapus jika gambar asli ukurannya sudah beda-beda */
.masonry-item.tall img { height: 450px; object-fit: cover; }
.masonry-item.medium img { height: 320px; object-fit: cover; }
.masonry-item.short img { height: 220px; object-fit: cover; }


/* --- EFEK HOVER MEWAH --- */

/* 1. Card Terangkat & Border Emas */
.masonry-item:hover {
    transform: translateY(-12px);
    /* Border emas muncul halus */
    border-color: var(--gold-accent);
    /* Shadow lebih dalam dengan sedikit tint warna emas */
    box-shadow: 0 25px 60px rgba(197, 165, 114, 0.25);
    z-index: 5;
}

/* 2. Gambar Zoom Lambat */
.masonry-item:hover img {
    transform: scale(1.08); /* Zoom sedikit saja agar elegan */
}

/* 3. Jalankan Efek Kilau */
.masonry-item:hover .shine-effect {
    left: 150%; /* Bergerak ke kanan luar */
    transition: left 1s ease-in-out; /* Durasi kilau lewat */
}

/* 4. Overlay & Konten */
.pin-overlay {
    position: absolute;
    inset: 0;
    /* Gradient overlay yang lebih kaya, bukan hitam polos */
    background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0.1));
    display: flex;
    align-items: flex-end; /* Konten di bawah */
    justify-content: center;
    padding-bottom: 30px;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 3;
}

.overlay-content {
    text-align: center;
    color: #fff;
    transform: translateY(20px); /* Mulai sedikit dari bawah */
    transition: transform 0.5s ease;
}

.overlay-content i {
    font-size: 1.8rem;
    color: var(--gold-accent); /* Ikon warna emas */
    margin-bottom: 10px;
    display: block;
}

.overlay-content span {
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 600;
}

.masonry-item:hover .pin-overlay {
    opacity: 1;
}

.masonry-item:hover .overlay-content {
    transform: translateY(0); /* Naik ke posisi semula */
}


/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .masonry-grid { column-count: 2; column-gap: 20px; }
    .luxury-title { font-size: 1.5rem; }

}

@media (max-width: 600px) {
    .masonry-grid { column-count: 1; }
    /* Reset tinggi paksa di HP */
    .masonry-item.tall img,
    .masonry-item.medium img,
    .masonry-item.short img { height: auto !important; }
    .luxury-testimonials { padding: 50px 0; }
}
/* Pastikan link pembungkus gambar mengisi penuh wrapper */
.masonry-item a.glightbox {
    display: block;
    width: 100%;
    height: 100%;
}
/* --- FINAL TYPOGRAPHY CLEANUP --- */
p {
    margin: 0 0 1rem;
    line-height: 1.75;
    -webkit-hyphens: none;
    -moz-hyphens: none;
    hyphens: none;
    word-break: normal;
    overflow-wrap: break-word;
}

h1, h2, h3, h4, h5, h6 {
    text-wrap: balance;
}

.hero-text p,
.gallery-social-cta p,
.map-hint,
footer p {
    text-align: center;
}

@media (max-width: 768px){

    p,
    .about-text p,
    .history-text-box p,
    .catalog-overlay p {
        text-align: center !important;
        font-size: 15px;
        line-height: 1.6;
    }

}

