:root {
    --teal: #0a7c6e;
    --teal-light: #0fb5a0;
    --gold: #c9a96e;
    --gold-light: #e8c98a;
    --dark: #0d1f1c;
    --cream: #f7f3ee;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--cream);
    color: var(--dark);
    overflow-x: hidden;
}

h1,
h2,
h3 {
    font-family: 'Cormorant Garamond', serif;
}

/* ── NAVBAR ── */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.2rem 2rem;
    transition: all 0.4s ease;
}
nav.scrolled {
    background: rgba(13, 31, 28, 0.92);
    backdrop-filter: blur(12px);
    padding: 0.9rem 2rem;
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.3);
}
.nav-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* Jarak minimum antar-grup (logo | menu | aksi) agar tidak menempel */
    gap: 2.5rem;
}
.nav-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
}
.nav-logo span {
    color: var(--gold);
}
.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}
.nav-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.875rem;
    letter-spacing: 0.06em;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
    cursor: pointer;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transition: transform 0.3s;
}
.nav-links a:hover {
    color: var(--gold-light);
}
.nav-links a:hover::after {
    transform: scaleX(1);
}
.nav-cta {
    display: inline-block;
    text-decoration: none;
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 0.45rem 1.05rem;
    border-radius: 4px;
    font-size: 0.72rem;
    letter-spacing: 0.05em;
    font-weight: 600;
    cursor: pointer;
    /* Selalu satu baris & tidak ikut menyusut */
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.3s;
}
.nav-cta:hover {
    background: var(--gold);
    color: var(--dark);
}

/* weather widget */
.weather-nav {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 500;
    font-family: 'DM Sans', sans-serif;
    /* Tampil sebagai chip rapi dan tidak menyusut */
    padding: 0.4rem 0.85rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    white-space: nowrap;
    flex-shrink: 0;
}
.weather-icon {
    font-size: 1.1rem;
    display: inline-block;
    animation: weatherPulse 2s ease-in-out infinite;
}
@keyframes weatherPulse {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
}
/* Layar laptop sempit: sembunyikan cuaca & perkecil jarak agar navbar lega & rapi */
@media (max-width: 1200px) {
    .weather-nav {
        display: none;
    }
    .nav-links {
        gap: 1.2rem;
    }
    .nav-container {
        gap: 1.2rem;
    }
}

/* hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    transition: all 0.3s;
}

/* ── HERO ── */
#home {
    position: relative;
    height: 100vh;
    min-height: 640px;
    display: flex;
    align-items: flex-start;
    overflow: hidden;
}
.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(4, 31, 26, 0.55) 0%,
        rgba(4, 31, 26, 0.75) 50%,
        rgba(4, 31, 26, 0.9) 100%
    );
    z-index: 1;
}

/* Audio Toggle Button */
.audio-toggle-btn {
    position: absolute;
    bottom: 2rem;
    right: 4rem;
    z-index: 10;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(8px);
}
.audio-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}
.audio-toggle-btn.active {
    background: var(--gold);
    color: var(--dark);
    border-color: var(--gold);
}

@media (max-width: 768px) {
    .audio-toggle-btn {
        right: 1.5rem;
        bottom: 5rem;
        width: 42px;
        height: 42px;
    }
}

.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: radial-gradient(
        circle,
        rgba(201, 169, 110, 0.15) 1px,
        transparent 1px
    );
    background-size: 48px 48px;
    animation: drift 20s linear infinite;
}
@keyframes drift {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 48px 48px;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    padding: 7.5rem 4rem 2rem;
    animation: heroIn 0.9s ease both;
}
@keyframes heroIn {
    from {
        opacity: 0;
        transform: translateY(36px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(201, 169, 110, 0.12);
    border: 1px solid rgba(201, 169, 110, 0.35);
    padding: 0.35rem 1rem;
    border-radius: 2px;
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    color: var(--gold-light);
    margin-bottom: 1.5rem;
}
.hero-badge::before {
    content: '✦';
    font-size: 0.6rem;
}

.hero-title {
    font-size: clamp(2.8rem, 6vw, 4.8rem);
    line-height: 1.05;
    font-weight: 300;
    color: #fff;
    margin-bottom: 1.2rem;
}
.hero-title em {
    color: var(--gold);
    font-style: italic;
}

.hero-desc {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    max-width: 600px;
    margin-bottom: 2.5rem;
    font-weight: 300;
    text-align: justify;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}
.btn-primary {
    background: var(--gold);
    color: var(--dark);
    padding: 0.85rem 2.2rem;
    border: none;
    border-radius: 2px;
    font-size: 0.875rem;
    letter-spacing: 0.08em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}
.btn-primary:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(201, 169, 110, 0.35);
}
.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    padding: 0.85rem 2.2rem;
    border-radius: 2px;
    font-size: 0.875rem;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}
.btn-outline:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.hero-bottom-row {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-top: 1rem;
    flex-wrap: nowrap;
}

.hero-stats {
    position: relative;
    display: flex;
    gap: 3.5rem;
    z-index: 2;
}
.hero-stat {
    border-left: 1px solid rgba(201, 169, 110, 0.4);
    padding-left: 1.2rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.8rem;
}
.hero-stat-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--gold-light);
    line-height: 1;
}
.hero-stat-label {
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.45);
    white-space: nowrap;
}

/* floating cards */
.hero-cards {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    display: flex;
    gap: 1rem;
    align-items: center;
}
.hero-card {
    width: 200px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: floatCard 6s ease-in-out infinite;
}
.hero-card:nth-child(2) {
    width: 160px;
    animation-delay: -2s;
    margin-top: -40px;
}
.hero-card:nth-child(3) {
    width: 140px;
    animation-delay: -4s;
    margin-top: 30px;
}
.hero-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}
@keyframes floatCard {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}

/* ── KEUNGGULAN UTAMA (USP) MARQUEE ── */
.usp-section {
    background: var(--cream);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 2rem 0;
    overflow: hidden;
    position: relative;
    transition:
        background-color 0.3s,
        border-color 0.3s;
}

/* Gradient fade effects on the sides */
.usp-section::before,
.usp-section::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 150px;
    z-index: 2;
    pointer-events: none;
    transition: background 0.3s;
}
.usp-section::before {
    left: 0;
    background: linear-gradient(to right, var(--cream), transparent);
}
.usp-section::after {
    right: 0;
    background: linear-gradient(to left, var(--cream), transparent);
}

.usp-marquee-wrapper {
    display: flex;
    overflow: hidden;
    width: 100%;
}

.usp-track {
    display: flex;
    width: max-content;
    animation: uspScroll 25s linear infinite;
    flex-shrink: 0;
}

/* Pause scroll animation on hover */
.usp-marquee-wrapper:hover .usp-track {
    animation-play-state: paused;
}

.usp-group {
    display: flex;
    gap: 4rem;
    padding-right: 4rem;
    flex-shrink: 0;
}

.usp-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 0.5rem 1rem;
    flex-shrink: 0;
    min-width: 280px;
}
.usp-icon {
    width: 2.2rem;
    height: 2.2rem;
    color: var(--teal);
    flex-shrink: 0;
    transition:
        transform 0.3s,
        color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.usp-icon svg {
    width: 100%;
    height: 100%;
    stroke-width: 1.8px;
}
.usp-item:hover .usp-icon {
    transform: scale(1.2) rotate(5deg);
    color: var(--gold);
}
.usp-text {
    display: flex;
    flex-direction: column;
}
.usp-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark);
    line-height: 1.2;
}
.usp-desc {
    font-size: 0.8rem;
    color: #777;
    margin-top: 0.2rem;
    line-height: 1.3;
}

/* Dark Mode Overrides for USP and features */
[data-theme='dark'] .usp-section {
    background: var(--cream);
    border-color: rgba(255, 255, 255, 0.05);
}
[data-theme='dark'] .usp-title {
    color: #fff;
}
[data-theme='dark'] .usp-desc {
    color: rgba(255, 255, 255, 0.6);
}
[data-theme='dark'] .usp-icon {
    color: var(--teal-light);
}
[data-theme='dark'] .feature-card {
    background: #112622;
    border-color: rgba(255, 255, 255, 0.05);
}
[data-theme='dark'] .feature-title {
    color: #fff;
}
[data-theme='dark'] .feature-desc {
    color: rgba(255, 255, 255, 0.6);
}

@keyframes uspScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .usp-section {
        padding: 1.5rem 0;
    }
    .usp-track {
        animation-duration: 20s;
    }
    .usp-group {
        gap: 2rem;
        padding-right: 2rem;
    }
    .usp-item {
        min-width: 240px;
        gap: 0.8rem;
    }
    .usp-icon {
        font-size: 1.6rem;
    }
    .usp-title {
        font-size: 1.05rem;
    }
}

/* ── FEATURES ── */
.features {
    padding: 5rem 4rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}
.feature-card {
    padding: 2.5rem 2rem;
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 4px;
    transition:
        transform 0.6s cubic-bezier(0.25, 1, 0.5, 1),
        box-shadow 0.6s cubic-bezier(0.25, 1, 0.5, 1),
        border-color 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    background: #fff;
    position: relative;
    overflow: hidden;
    will-change: transform;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform-style: preserve-3d;
}
.feature-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--teal), var(--gold));
    transform: scaleX(0);
    transition: transform 0.5s ease;
}
.feature-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(10, 124, 110, 0.15);
}
.feature-card:hover::before {
    transform: scaleX(1);
}
.feature-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--teal), var(--teal-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    color: #fff;
}
.feature-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
    color: var(--dark);
}
.feature-desc {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.75;
    font-weight: 400;
    text-align: justify;
}

/* ── SECTION HEADER ── */
.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}
.section-tag {
    display: inline-block;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    font-weight: 600;
    color: var(--teal);
    background: rgba(10, 124, 110, 0.08);
    padding: 0.35rem 1rem;
    border-radius: 2px;
    margin-bottom: 1rem;
}
.section-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 300;
    color: var(--dark);
    line-height: 1.1;
}
.section-title em {
    color: var(--teal);
    font-style: italic;
}
.section-sub {
    color: #888;
    font-size: 0.95rem;
    margin-top: 0.8rem;
    font-weight: 300;
}

/* ── DESTINATIONS ── */
#destinasi {
    padding: 5rem 4rem;
    background: #fff;
}
.dest-tabs {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}
.dest-tab {
    padding: 0.5rem 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: transparent;
    border-radius: 2px;
    cursor: pointer;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    font-weight: 500;
    transition: all 0.3s;
}
.dest-tab.active,
.dest-tab:hover {
    background: var(--teal);
    color: #fff;
    border-color: var(--teal);
}

.dest-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    grid-template-rows: 280px 240px;
    gap: 1.2rem;
    max-width: 1200px;
    margin: 0 auto;
}
.dest-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition:
        transform 0.6s cubic-bezier(0.25, 1, 0.5, 1),
        box-shadow 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform-style: preserve-3d;
}
.dest-card:nth-child(1) {
    grid-row: 1 / 3;
}
.dest-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}
.dest-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    display: block;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}
.dest-card:hover img {
    transform: scale(1.06);
}
.dest-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.75) 0%,
        transparent 55%
    );
    transition: background 0.6s ease;
}
.dest-card:hover .dest-overlay {
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.85) 0%,
        rgba(0, 0, 0, 0.15) 100%
    );
}
.dest-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.2rem;
}
.dest-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.1;
}
.dest-card:nth-child(1) .dest-name {
    font-size: 1.5rem;
}
.dest-meta {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0;
    letter-spacing: 0.06em;
}
.dest-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gold);
    color: var(--dark);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 0.25rem 0.7rem;
    border-radius: 2px;
}

/* ── PROCESS ── */
#tentang {
    padding: 5rem 4rem;
    background: var(--cream);
}
.process-wrap {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    position: relative;
}
.process-line {
    position: absolute;
    top: 2rem;
    left: 16%;
    right: 16%;
    height: 1px;
    background: linear-gradient(90deg, var(--teal), var(--gold));
    z-index: 0;
}
.process-step {
    text-align: center;
    position: relative;
    z-index: 1;
}
.process-num {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0 auto 1.5rem;
    transition: transform 0.3s;
    background: var(--teal);
    color: #fff;
}
.process-step:hover .process-num {
    transform: scale(1.15);
}
.process-name {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.process-desc {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.75;
    font-weight: 400;
    text-align: justify;
}

/* ── GALLERY ── */
#galeri {
    padding: 5rem 4rem;
    background: var(--dark);
}
#galeri .section-title {
    color: #fff;
}
#galeri .section-sub {
    color: rgba(255, 255, 255, 0.5);
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 220px);
    gap: 0.8rem;
    max-width: 1200px;
    margin: 0 auto;
}
.gallery-item {
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    will-change: transform;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform-style: preserve-3d;
}
.gallery-item:nth-child(1) {
    grid-column: span 2;
}
.gallery-item:nth-child(5) {
    grid-column: span 2;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition:
        transform 0.6s ease,
        filter 0.6s ease;
    display: block;
}
.gallery-item:hover img {
    transform: scale(1.05);
    filter: brightness(1.08);
}
.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 124, 110, 0);
    transition: background 0.6s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}
.gallery-item:hover .gallery-item-overlay {
    background: rgba(10, 124, 110, 0.3);
}
.gallery-zoom {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    z-index: 2;
}
.gallery-item:hover .gallery-zoom {
    opacity: 1;
    transform: scale(1);
}
.gallery-zoom svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}
.gallery-zoom:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--dark);
}
.gallery-zoom:hover svg {
    transform: scale(1.1);
}

/* ── LIGHTBOX ── */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(13, 31, 28, 0.9);
    backdrop-filter: blur(15px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    padding: 2rem;
}
.lightbox.open {
    opacity: 1;
    visibility: visible;
}
.lightbox-content {
    max-width: 90%;
    max-height: 85vh;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.lightbox.open .lightbox-content {
    transform: scale(1);
}
.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    display: block;
    border-radius: 8px;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    color: #fff;
    font-size: 3rem;
    cursor: pointer;
    line-height: 1;
    transition: 0.3s;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}
.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--gold);
    transform: rotate(90deg);
}

@media (max-width: 768px) {
    .lightbox-close {
        top: 1rem;
        right: 1rem;
        font-size: 2.5rem;
        width: 48px;
        height: 48px;
    }
    .lightbox-content {
        max-width: 95%;
    }
}

/* ── DESTINASI DETAIL MODAL ── */
.dest-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 1.5rem;
}
.dest-modal.open {
    opacity: 1;
    visibility: visible;
}
.dest-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(13, 31, 28, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.dest-modal-content-wrap {
    position: relative;
    z-index: 1001;
    width: 100%;
    max-width: 850px;
    /* Beri batas tinggi agar card tidak melebihi layar (sisakan ruang napas
       atas-bawah dari padding .dest-modal sebesar 1.5rem x 2 = 3rem) */
    max-height: calc(100vh - 3rem);
    max-height: calc(100dvh - 3rem);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.dest-modal.open .dest-modal-content-wrap {
    transform: scale(1) translateY(0);
}
.dest-modal-close {
    position: absolute;
    /* Pindah ke DALAM pojok card agar selalu terlihat, tidak ke-crop layar */
    top: 1rem;
    right: 1rem;
    z-index: 1002;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.55);
    border-radius: 50%;
    color: #fff;
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
    transition:
        background 0.3s,
        color 0.3s,
        transform 0.3s;
}
.dest-modal-close:hover {
    background: rgba(0, 0, 0, 0.75);
    color: var(--gold);
    transform: rotate(90deg);
}
.dest-modal-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    border: 1px solid rgba(255, 255, 255, 0.1);
    /* Ikut batas tinggi wrapper; konten panjang ditangani scroll di .dest-modal-body */
    max-height: calc(100vh - 3rem);
    max-height: calc(100dvh - 3rem);
}

[data-theme='dark'] .dest-modal-card {
    background: #0d1514;
    border-color: rgba(255, 255, 255, 0.05);
}

.dest-modal-img-wrap {
    position: relative;
    height: 100%;
    min-height: 380px;
}
.dest-modal-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.dest-modal-badge {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    background: var(--gold);
    color: var(--dark);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 0.35rem 0.8rem;
    border-radius: 2px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.dest-modal-body {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    /* Scrollbar hanya muncul di area teks ini bila konten panjang,
       tanpa menggeser seluruh layar. min-height:0 wajib agar bisa
       menyusut & scroll di dalam grid/flex. */
    overflow-y: auto;
    min-height: 0;
}
.dest-modal-category {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    color: var(--teal);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}
[data-theme='dark'] .dest-modal-category {
    color: var(--teal-light);
}
.dest-modal-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 1.25rem;
}
[data-theme='dark'] .dest-modal-title {
    color: #fff;
}
.dest-modal-desc {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 2rem;
    text-align: justify;
}
[data-theme='dark'] .dest-modal-desc {
    color: rgba(255, 255, 255, 0.7);
}
.dest-modal-btn {
    background: linear-gradient(135deg, var(--teal), var(--teal-light));
    color: #fff;
    border: none;
    padding: 0.85rem 1.8rem;
    border-radius: 4px;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
}
.dest-modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(10, 124, 110, 0.3);
}

@media (max-width: 768px) {
    .dest-modal-card {
        grid-template-columns: 1fr;
    }
    .dest-modal-img-wrap {
        height: 240px;
        min-height: auto;
    }
    .dest-modal-body {
        padding: 1.8rem;
    }
    .dest-modal-title {
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }
    .dest-modal-close {
        top: 1rem;
        right: 1.5rem;
        font-size: 2.2rem;
        background: rgba(0, 0, 0, 0.5);
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 1002;
    }
}

/* ── PACKAGES ── */
.packages {
    padding: 5rem 4rem;
    background: #fff;
}
.pkg-tabs {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    background: #f0ede8;
    padding: 0.35rem;
    border-radius: 4px;
    width: fit-content;
    margin: 0 auto 3rem;
}
.pkg-tab {
    padding: 0.55rem 1.8rem;
    border: none;
    background: transparent;
    border-radius: 3px;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}
.pkg-tab.active {
    background: var(--dark);
    color: #fff;
}
.pkg-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}
.pkg-card {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    overflow: hidden;
    transition:
        transform 0.6s cubic-bezier(0.25, 1, 0.5, 1),
        box-shadow 0.6s cubic-bezier(0.25, 1, 0.5, 1),
        border-color 0.6s cubic-bezier(0.25, 1, 0.5, 1),
        opacity 0.4s ease;
    will-change: transform;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform-style: preserve-3d;
}
.pkg-card.popular {
    border-color: var(--teal);
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(10, 124, 110, 0.12);
}
.pkg-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(10, 124, 110, 0.25);
}
.pkg-card.popular:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 24px 45px rgba(10, 124, 110, 0.22);
}
.pkg-card.is-hidden {
    opacity: 0 !important;
    transform: scale(0.95) !important;
    pointer-events: none;
}
.pkg-img {
    height: 200px;
    position: relative;
    overflow: hidden;
}
.pkg-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}
.pkg-card:hover .pkg-img img {
    transform: scale(1.06);
}
.pkg-popular-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--teal);
    color: #fff;
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    font-weight: 700;
    padding: 0.3rem 0.8rem;
    border-radius: 2px;
}
.pkg-body {
    padding: 1.8rem;
}
.pkg-dest {
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    color: var(--teal);
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.pkg-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}
.pkg-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1.5rem;
}
.pkg-features li {
    font-size: 0.82rem;
    color: #777;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.pkg-features li::before {
    content: '✓';
    color: var(--teal);
    font-weight: 700;
    font-size: 0.75rem;
}
.pkg-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.pkg-price {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--dark);
}
.pkg-price span {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.8rem;
    color: #999;
    font-weight: 300;
}
.pkg-btn {
    background: var(--dark);
    color: #fff;
    border: none;
    padding: 0.6rem 1.4rem;
    border-radius: 2px;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}
.pkg-card.popular .pkg-btn {
    background: var(--teal);
}
.pkg-btn:hover {
    opacity: 0.85;
    transform: translateY(-1px);
}

/* ── TESTIMONIALS ── */
.testimonials {
    padding: 5rem 4rem;
    background: linear-gradient(135deg, var(--dark), #0a3d35);
    position: relative;
    overflow: hidden;
}
.testimonials::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1539367628448-4bc5c9d171c8?w=1200&q=60')
        center/cover;
    opacity: 0.07;
}
.testimonials .section-title {
    color: #fff;
    position: relative;
}
.testimonials .section-sub {
    color: rgba(255, 255, 255, 0.5);
    position: relative;
}
.testi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    padding-bottom: 2rem;
}
.testi-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 6px;
    backdrop-filter: blur(10px);
    transition:
        transform 0.6s cubic-bezier(0.25, 1, 0.5, 1),
        box-shadow 0.6s cubic-bezier(0.25, 1, 0.5, 1),
        background 0.6s ease,
        border-color 0.6s ease;
    will-change: transform;
    width: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform-style: preserve-3d;
}
.testi-card:hover {
    transform: translateY(-5px) scale(1.01);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.18);
    border-color: rgba(201, 169, 110, 0.2);
}
.testi-stars {
    color: var(--gold);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}
.testi-text {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.75;
    font-weight: 300;
    font-style: italic;
    margin-bottom: 1.5rem;
    text-align: justify;
}
.testi-author {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}
.testi-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gold);
}
.testi-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
}
.testi-loc {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.45);
    margin-top: 0.15rem;
}

/* ── CONTACT ── */
#kontak {
    padding: 5rem 4rem;
    background: var(--cream);
}
.contact-wrap {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: start;
}
.contact-info h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark);
}
.contact-info p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.8;
    font-weight: 400;
    margin-bottom: 2rem;
    text-align: justify;
}
.contact-items {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}
.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.contact-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--teal), var(--teal-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #fff;
    flex-shrink: 0;
}
.contact-item-text .label {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    color: #aaa;
    font-weight: 600;
}
.contact-item-text .val {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--dark);
    margin-top: 0.1rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.form-group label {
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    font-weight: 600;
    color: #666;
}
.form-group input,
.form-group textarea,
.form-group select {
    padding: 0.85rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    font-size: 0.875rem;
    font-family: 'DM Sans', sans-serif;
    background: #fff;
    transition:
        border-color 0.3s,
        box-shadow 0.3s;
    outline: none;
    color: var(--dark);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(10, 124, 110, 0.12);
}
/* Input error state */
.form-group input.is-error,
.form-group textarea.is-error,
.form-group select.is-error {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
    animation: shake 0.35s ease;
}
/* Input valid state */
.form-group input.is-valid,
.form-group textarea.is-valid,
.form-group select.is-valid {
    border-color: #2ecc71;
    box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.1);
}
@keyframes shake {
    0%,
    100% {
        transform: translateX(0);
    }
    20% {
        transform: translateX(-5px);
    }
    40% {
        transform: translateX(5px);
    }
    60% {
        transform: translateX(-4px);
    }
    80% {
        transform: translateX(4px);
    }
}
/* Per-field error message */
.field-error {
    display: block;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    font-size: 0.78rem;
    color: #e74c3c;
    font-weight: 500;
    margin-top: 0;
    padding-left: 2px;
    transition:
        max-height 0.35s ease,
        opacity 0.3s ease,
        margin-top 0.3s ease;
}
.field-error.show {
    max-height: 40px;
    opacity: 1;
    margin-top: 0.35rem;
}
[data-theme='dark'] .field-error {
    color: #ff6b6b;
}
.form-group textarea {
    resize: vertical;
    min-height: 120px;
}
/* Global form alert banner */
.form-alert {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0;
    margin-bottom: 0;
    transition:
        max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.5s ease,
        padding 0.35s ease,
        margin-bottom 0.35s ease;
}
.form-alert.visible {
    max-height: 90px;
    opacity: 1;
    padding: 0.9rem 1.1rem;
    margin-bottom: 0.75rem;
}
/* Fade-out before collapse */
.form-alert.fading {
    opacity: 0;
}
/* Progress bar countdown */
.form-alert.visible::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 100%;
    background: currentColor;
    opacity: 0.35;
    border-radius: 0 0 8px 8px;
    transform-origin: left center;
    animation: alertProgress var(--alert-dur, 5s) linear forwards;
}
@keyframes alertProgress {
    from {
        transform: scaleX(1);
    }
    to {
        transform: scaleX(0);
    }
}
/* Alert message text stretches */
.form-alert .alert-msg {
    flex: 1;
}
/* Close button inside alert */
.form-alert .alert-close {
    background: none;
    border: none;
    cursor: pointer;
    color: inherit;
    font-size: 1.1rem;
    opacity: 0.55;
    padding: 0 0.1rem;
    line-height: 1;
    transition: opacity 0.2s;
    flex-shrink: 0;
}
.form-alert .alert-close:hover {
    opacity: 1;
}
.form-alert.error {
    background: linear-gradient(
        135deg,
        rgba(231, 76, 60, 0.1),
        rgba(231, 76, 60, 0.06)
    );
    color: #c0392b;
    border: 1px solid rgba(231, 76, 60, 0.25);
}
.form-alert.success {
    background: linear-gradient(
        135deg,
        rgba(46, 204, 113, 0.1),
        rgba(46, 204, 113, 0.06)
    );
    color: #27ae60;
    border: 1px solid rgba(46, 204, 113, 0.25);
}
[data-theme='dark'] .form-alert.error {
    background: linear-gradient(
        135deg,
        rgba(231, 76, 60, 0.18),
        rgba(231, 76, 60, 0.08)
    );
    color: #ff7675;
    border-color: rgba(231, 76, 60, 0.35);
}
[data-theme='dark'] .form-alert.success {
    background: linear-gradient(
        135deg,
        rgba(46, 204, 113, 0.18),
        rgba(46, 204, 113, 0.08)
    );
    color: #55efc4;
    border-color: rgba(46, 204, 113, 0.35);
}

.form-submit {
    background: linear-gradient(135deg, var(--teal), var(--teal-light));
    color: #fff;
    border: none;
    padding: 1rem;
    border-radius: 4px;
    font-size: 0.875rem;
    letter-spacing: 0.08em;
    font-weight: 600;
    cursor: pointer;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        opacity 0.3s ease;
    margin-top: 0.5rem;
    width: 100%;
}
.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(10, 124, 110, 0.35);
}
.form-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* ── FOOTER ── */
footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.6);
    padding: 4rem 4rem 2rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto 3rem;
}
.footer-brand .nav-logo {
    display: block;
    margin-bottom: 1rem;
}
.footer-brand p {
    font-size: 0.85rem;
    line-height: 1.8;
    font-weight: 300;
    max-width: 260px;
}
.footer-socials {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}
.footer-social {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: all 0.3s;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
}
.footer-social:hover {
    background: var(--teal);
    color: #fff;
}
.footer-col h4 {
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.2rem;
}
.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}
.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s;
    font-weight: 300;
    cursor: pointer;
}
.footer-col ul li a:hover {
    color: var(--gold);
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding-top: 1.8rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    font-size: 0.78rem;
    flex-wrap: wrap;
    gap: 1rem;
}

/* ── MOBILE MENU ── */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: var(--dark);
    z-index: 200;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s;
}
.mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}
.mobile-menu a {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
    cursor: pointer;
}
.mobile-menu a:hover {
    color: var(--gold);
}
.mobile-cta {
    font-family: 'DM Sans', sans-serif !important;
    font-size: 1rem !important;
    background: var(--gold);
    color: var(--dark) !important;
    padding: 0.8rem 2.2rem;
    border-radius: 4px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    margin-top: 1rem;
    box-shadow: 0 4px 15px rgba(201, 169, 110, 0.2);
}
.mobile-cta:hover {
    background: var(--gold-light) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 169, 110, 0.35);
}
.mobile-close {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-size: 1.5rem;
    color: #fff;
    cursor: pointer;
    background: none;
    border: none;
}

/* ── SCROLL TO TOP ── */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 50;
    width: 50px;
    height: 50px;
    background: rgba(10, 124, 110, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.1rem;
    line-height: 1;
    box-shadow:
        0 4px 24px rgba(10, 124, 110, 0.35),
        0 1px 6px rgba(0, 0, 0, 0.15);
    /* Smooth masuk/keluar */
    transition:
        opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
        background 0.3s ease,
        box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(12px) scale(0.88);
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}
.scroll-top.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}
.scroll-top:hover {
    background: var(--gold);
    border-color: rgba(201, 169, 110, 0.4);
    box-shadow:
        0 8px 32px rgba(201, 169, 110, 0.35),
        0 2px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px) scale(1.05);
}
.scroll-top:active {
    transform: translateY(-1px) scale(0.97);
    transition-duration: 0.1s;
}

/* ── REVEAL ANIMATION ── */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition:
        opacity 1.2s cubic-bezier(0.2, 1, 0.3, 1),
        transform 1.2s cubic-bezier(0.2, 1, 0.3, 1);
    will-change: opacity, transform;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .hero-cards {
        display: none;
    }
    .features {
        grid-template-columns: 1fr 1fr;
        padding: 4rem 2rem;
    }
    .dest-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }
    .dest-card {
        aspect-ratio: 16 / 10;
    }
    .dest-card:nth-child(1) {
        grid-row: auto;
    }
    .pkg-grid,
    .testi-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .contact-wrap {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
        gap: 1rem;
    }
    .gallery-item {
        aspect-ratio: 4 / 3;
    }
    .gallery-item:nth-child(1),
    .gallery-item:nth-child(5) {
        grid-column: auto;
    }
    .pkg-card:nth-child(3),
    .testi-card:nth-child(3) {
        grid-column: span 2;
    }
}
@media (max-width: 768px) {
    nav {
        padding: 1rem 1.5rem;
    }
    nav.scrolled {
        padding: 0.8rem 1.5rem;
    }
    .nav-logo {
        font-size: 1.45rem;
    }
    .nav-links,
    .nav-cta,
    .weather-nav {
        display: none !important;
    }
    .hamburger {
        display: flex;
    }
    section[id] {
        scroll-margin-top: 65px;
    }
    .hero-content {
        padding: 11rem 1.5rem 4rem;
        text-align: left;
    }
    .hero-badge {
        margin-bottom: 2rem;
        transform: scale(0.9);
        transform-origin: left;
    }
    .hero-bottom-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 3rem;
        margin-top: 2.5rem;
    }
    .hero-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    .hero-stat-num {
        font-size: 1.4rem;
    }
    .hero-stat {
        padding-left: 1rem;
        gap: 0.6rem;
    }
    .hero-title {
        font-size: 2.8rem;
        line-height: 1.1;
        margin-bottom: 1.25rem;
    }
    .hero-desc {
        font-size: 1rem;
        color: rgba(255, 255, 255, 0.7);
        margin-bottom: 2.5rem;
        max-width: 100%;
    }
    .features {
        padding: 3rem 1.5rem;
        grid-template-columns: 1fr;
    }
    #destinasi,
    #tentang,
    #galeri,
    .packages,
    .testimonials,
    #kontak {
        padding: 3.5rem 1.5rem;
    }
    .dest-grid {
        grid-template-columns: 1fr;
    }
    .process-wrap {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .process-line {
        display: none;
    }
    .gallery-grid {
        /* Satu kolom, tersusun rapi ke bawah */
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 1rem;
    }
    /* Semua foto ukuran seragam & pas lebar HP (rasio landscape 4:3) */
    .gallery-item {
        aspect-ratio: 4 / 3;
    }
    /* Reset item yang tadinya melebar 2 kolom agar tidak berantakan */
    .gallery-item:nth-child(1),
    .gallery-item:nth-child(5) {
        grid-column: auto;
    }
    .pkg-grid,
    .testi-grid {
        grid-template-columns: 1fr;
    }
    .pkg-card:nth-child(3),
    .testi-card:nth-child(3) {
        grid-column: auto;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .brands {
        padding: 1.5rem;
        gap: 1.5rem;
    }
}

/* ── VIDEO DOKUMENTASI ── */
.video-section {
    padding: 6rem 4rem;
    background: #fdfbf8;
    text-align: center;
}
.video-wrapper {
    max-width: 450px;
    margin: 3rem auto 0;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(10, 124, 110, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}
@media (max-width: 768px) {
    .video-section {
        padding: 4rem 1.5rem;
    }
    .video-wrapper {
        max-width: 100%;
    }
}

/* ── FAQ ── */
.faq {
    padding: 5rem 4rem;
    background: #fdfbf8;
}
.faq-wrap {
    max-width: 800px;
    margin: 3.5rem auto 0;
}
.faq-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.faq-q {
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    color: var(--dark);
    font-size: 1.1rem;
    transition: color 0.3s;
}
.faq-q:hover {
    color: var(--teal);
}
.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: #777;
    font-size: 0.95rem;
    line-height: 1.7;
    font-weight: 300;
}
.faq-item.active .faq-a {
    max-height: 200px;
    padding-bottom: 1.5rem;
}
.faq-icon {
    font-size: 1.2rem;
    transition: transform 0.4s;
    color: var(--gold);
}
.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

/* ── MAP ── */
#map {
    padding: 5rem 4rem;
    background: #fff;
}
.map-container {
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

/* ── PRELOADER ── */
.preloader {
    position: fixed;
    inset: 0;
    background: var(--dark);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition:
        opacity 0.6s,
        visibility 0.6s;
}
.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}
.loader-content {
    text-align: center;
}
.loader-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.2em;
    margin-bottom: 1.5rem;
}
.loader-logo span {
    color: var(--gold);
}
.loader-bar {
    width: 200px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}
.loader-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: var(--gold);
    animation: loadBar 2s ease-in-out infinite;
}
@keyframes loadBar {
    0% {
        width: 0;
        left: 0;
    }
    50% {
        width: 100%;
        left: 0;
    }
    100% {
        width: 0;
        left: 100%;
    }
}

@media (max-width: 768px) {
    .faq,
    #map {
        padding: 4rem 1.5rem;
    }
}

/* ── WEATHER WIDGET ── */
.weather-widget {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    color: #fff;
    margin-bottom: 1.5rem;
    animation: fadeIn 1s ease-in-out;
}
.weather-icon {
    font-size: 1.2rem;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── FLOATING WHATSAPP ── */
.fab-whatsapp-container {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}
.fab-whatsapp {
    width: 55px;
    height: 55px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    border: none;
    cursor: pointer;
    outline: none;
    transition: all 0.3s;
}
.fab-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}
.fab-whatsapp-tooltip {
    background: #ffffff;
    color: #0d1f1c;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}
.fab-whatsapp-tooltip::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -5px;
    transform: translateY(-50%) rotate(45deg);
    width: 10px;
    height: 10px;
    background: #ffffff;
}
.fab-whatsapp-container:hover .fab-whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}
@media (max-width: 768px) {
    .fab-whatsapp-container {
        bottom: 1.5rem;
        left: 1.5rem;
    }
    .fab-whatsapp {
        width: 48px;
        height: 48px;
    }
}

/* ── DARK MODE: transisi warna lambat & mulus ── */
html,
body,
section,
nav,
footer,
.feature-card,
.dest-card .dest-overlay,
.dest-info,
.pkg-card .pkg-body,
.testi-card,
.faq,
.faq-item,
.faq-q,
.faq-a,
.contact-info,
.contact-form,
.form-group input,
.form-group textarea,
.form-group select,
.section-title,
.section-sub,
.process-desc,
.usp-section,
.usp-title,
.usp-desc,
.dark-mode-btn {
    transition:
        background-color 0.55s ease,
        color 0.45s ease,
        border-color 0.45s ease !important;
}

/* Elemen tanpa transisi warna */
.hero-video,
img,
video,
.loader-progress,
.usp-track,
.hero-particles {
    transition: none !important;
}

/* ── KLIK: feedback "ditekan" agar card terasa responsif & enak ── */
.dest-card:active,
.gallery-item:active,
.pkg-card:active,
.pkg-card.popular:active,
.testi-card:active {
    transform: translateY(-2px) scale(0.985);
    /* transisi cepat saat ditekan; saat dilepas kembali ke hover yang halus */
    transition: transform 0.12s ease !important;
}
/* ── DARK MODE TOGGLE BUTTON STYLE ── */
.dark-mode-btn {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--gold);
    padding: 0;
    position: relative;
    overflow: hidden;
}
.dark-mode-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0);
    border-radius: inherit;
    transition: background 0.25s ease;
}
.dark-mode-btn:hover::after {
    background: rgba(255, 255, 255, 0.1);
}
.dark-mode-btn:hover {
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.07);
    transform: translateY(-2px);
}
.dark-mode-btn svg {
    /* Ikon rotate saat ganti tema */
    transition:
        transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1),
        opacity 0.3s ease !important;
}
.dark-mode-btn:active {
    transform: scale(0.92);
}

/* ── LANGUAGE SWITCHER (globe + dropdown) ── */
.lang-switch {
    position: relative;
}
.lang-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--gold);
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.4rem 0.2rem;
    transition: color 0.25s ease;
}
.lang-trigger:hover {
    color: var(--gold-light);
}
.lang-globe {
    flex-shrink: 0;
}
.lang-caret {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}
.lang-switch.open .lang-caret {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 0.75rem);
    right: 0;
    min-width: 190px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.22);
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.98);
    transform-origin: top right;
    transition:
        opacity 0.25s ease,
        transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
        visibility 0.25s;
    z-index: 300;
}
.lang-switch.open .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}
.lang-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.7rem 0.85rem;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 500;
    color: #1a2b28;
    transition:
        background 0.2s ease,
        color 0.2s ease;
}
.lang-option:hover {
    background: rgba(10, 124, 110, 0.08);
}
.lang-option.active {
    background: rgba(10, 124, 110, 0.12);
    font-weight: 600;
}
.lang-option .flag {
    flex-shrink: 0;
    border-radius: 3px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12);
    display: block;
}

/* Dark mode */
[data-theme='dark'] .lang-dropdown {
    background: #0d1514;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
}
[data-theme='dark'] .lang-option {
    color: rgba(255, 255, 255, 0.85);
}
[data-theme='dark'] .lang-option:hover {
    background: rgba(255, 255, 255, 0.08);
}
[data-theme='dark'] .lang-option.active {
    background: rgba(201, 169, 110, 0.16);
}

/* Mobile: cukup ikon globe + panah agar hemat ruang di bilah atas */
@media (max-width: 768px) {
    .lang-trigger span {
        display: none;
    }
    .lang-trigger {
        gap: 0.3rem;
    }
}

[data-theme='dark'] .dark-mode-btn {
    background: rgba(15, 181, 160, 0.12);
    border-color: rgba(15, 181, 160, 0.3);
    color: var(--gold);
    box-shadow: 0 0 12px rgba(15, 181, 160, 0.15);
}

[data-theme='dark'] {
    --cream: #0d1714;
    --dark: #111a18;
    --teal: #1abc9c;
    --teal-light: #48c9b0;
    --gold: #e8c96e;
    --gold-light: #f0d88a;
    color-scheme: dark;
}
[data-theme='dark'] body {
    color: #eee;
}
[data-theme='dark'] .section-title {
    color: #eee;
}
[data-theme='dark'] .feature-card,
[data-theme='dark'] .dest-card {
    background: #111;
    border-color: #222;
}
[data-theme='dark'] #destinasi,
[data-theme='dark'] .packages,
[data-theme='dark'] .brands,
[data-theme='dark'] #map,
[data-theme='dark'] .faq {
    background: #0d1514;
}
[data-theme='dark'] .contact-info h3,
[data-theme='dark'] .pkg-price,
[data-theme='dark'] .pkg-name,
[data-theme='dark'] .faq-q {
    color: #eee;
}
[data-theme='dark'] .contact-item-text .val,
[data-theme='dark'] .faq-a {
    color: #ccc;
}
[data-theme='dark'] .faq-item {
    border-color: rgba(255, 255, 255, 0.1);
}
[data-theme='dark'] .form-group input,
[data-theme='dark'] .form-group textarea,
[data-theme='dark'] .form-group select {
    background: #1a1a1a;
    border-color: #333;
    color: #eee;
}
[data-theme='dark'] .pkg-tabs {
    background: rgba(255, 255, 255, 0.05);
}
[data-theme='dark'] .pkg-tab {
    color: rgba(255, 255, 255, 0.6);
}
[data-theme='dark'] .pkg-tab.active {
    background: var(--teal);
    color: #fff;
}

[data-theme='dark'] .process-desc {
    color: rgba(255, 255, 255, 0.7);
}

/* ── HIGHLIGHT PULSE FOR FOOTER NAV ── */
@keyframes cardPulse {
    0%, 100% {
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        border-color: rgba(10, 124, 110, 0.25);
    }
    50% {
        box-shadow: 0 0 25px var(--teal);
        border-color: var(--teal);
        transform: scale(1.03);
    }
}
.highlight-pulse {
    animation: cardPulse 1.8s ease-in-out 2;
}

/* ── DARK MODE WHATSAPP TOOLTIP ── */
[data-theme='dark'] .fab-whatsapp-tooltip {
    background: #0d1514;
    color: #eee;
    border: 1px solid rgba(255, 255, 255, 0.08);
}
[data-theme='dark'] .fab-whatsapp-tooltip::before {
    background: #0d1514;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
