/* ==========================================================================
   Ardian Karimunjawa FINAL STYLESHEET 
   Theme: Modern Luxury Adventure
   Author: Hadi Muhammad Riyanto
   ========================================================================== */

:root {
    --brand-blue: #0A4D68;
    --brand-gold: #c5a059;
    --brand-dark: #051a36;
    --brand-light: #f8f9fa;
    --brand-white: #ffffff;
}

/* ==========================================================================
   1. TYPOGRAPHY SETUP
   ========================================================================== */
body {
    font-family: 'Montserrat', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: var(--brand-white);
}

h1, h2, h3, .logo {
    font-family: 'Cinzel', serif;
    font-weight: 700;
}

.carousel-caption h1, .carousel-caption .hero-sub-title {
    font-size: 2.8rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 2px 4px 10px rgba(0,0,0,0.5);
    font-family: 'Cinzel', serif;
    font-weight: 700;
    color: var(--brand-white);
}

.carousel-caption h1 i {
    font-family: 'Playfair Display', serif;
    text-transform: capitalize;
    font-style: italic;
    letter-spacing: 1px;
    color: var(--brand-gold);
}

.pre-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    letter-spacing: 6px !important;
    color: var(--brand-gold);
    text-transform: uppercase;
    font-size: 0.85rem;
    margin-bottom: 10px;
    animation: letterSpaceSetup 2s ease;
}

/* ==========================================================================
   2. NAVIGATION BAR
   ========================================================================== */
.bg-brand-blue {
    background-color: var(--brand-blue) !important;
}

.navbar {
    border-bottom: 1px solid rgba(197, 160, 89, 0.2);
    transition: background-color 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
}

.logo {
    font-size: 26px;
    letter-spacing: 3px;
    color: var(--brand-white);
}

.logo span {
    color: var(--brand-gold);
}

.nav-link {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.9) !important;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--brand-gold) !important;
}

/* SINKRONISASI JAVASCRIPT SCROLL NAVBAR */
#mainNav.scrolled {
    background-color: var(--brand-blue) !important; 
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

/* ==========================================================================
   3. HERO FLASHY EFFECTS (FIXED TRANSITION & ACCURATE MOBILE VIEW)
   ========================================================================== */
.carousel-fade .carousel-item {
    transition-property: opacity;
    transition-duration: 1.2s;
}

.carousel-item {
    height: 70vh; 
    overflow: hidden;
    position: relative;
}

/* Solusi Efek Zoom: Menggunakan wrapper terpisah agar tidak mengganggu sistem translasi Bootstrap */
.hero-zoom-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 6s ease-in-out;
}

.carousel-item.active .hero-zoom-wrapper {
    transform: scale(1.08);
}

.video-hero {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover; 
    object-position: center center; 
    transform: translate(-50%, -50%);
    z-index: 1;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 26, 54, 0.4); 
    z-index: 2;
}

.carousel-item .carousel-caption {
    z-index: 3;
    bottom: 15% !important; 
    text-align: center;
}

.outline-text {
    color: transparent !important;
    -webkit-text-stroke: 1px var(--brand-gold);
    text-transform: uppercase;
    margin-top: -5px;
    font-size: 2.8rem;
    font-family: 'Cinzel', serif;
    font-weight: 700;
}

.carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin: 0 6px;
    background-color: var(--brand-gold) !important;
}

.reveal-text {
    animation: zoomInRevealSetup 1.5s cubic-bezier(0.19, 1, 0.22, 1);
}

/* ==========================================================================
   4. DESTINATION CARDS
   ========================================================================== */
.dest-card {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-radius: 20px;
    overflow: hidden;
    background: var(--brand-white);
}

.dest-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(10, 77, 104, 0.2) !important;
}

.dest-img {
    height: 280px;
    background-size: cover;
    background-position: center;
    position: relative;
    border-bottom: 3px solid var(--brand-gold);
}

.card-title-fix {
    color: var(--brand-blue);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

/* ==========================================================================
   5. CUSTOM BUTTONS
   ========================================================================== */
.btn-whatsapp {
    background-color: var(--brand-gold) !important;
    color: var(--brand-white) !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.3);
}

.btn-whatsapp:hover {
    background-color: #b38f4d !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(197, 160, 89, 0.5);
}

.btn-brand-gold {
    background-color: var(--brand-gold);
    color: var(--brand-white);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
}

.btn-brand-gold:hover {
    background-color: #b38f4d;
    color: var(--brand-white);
}

.btn-brand-blue {
    background-color: var(--brand-blue);
    color: var(--brand-white);
    font-weight: 600;
}

.btn-brand-blue:hover {
    background-color: #083c52;
    color: var(--brand-white);
}

/* ==========================================================================
   6. PROMO BANNER
   ========================================================================== */
.promo-banner-bootstrap {
    background-color: var(--brand-blue);
    border: 2px solid var(--brand-gold);
}

/* ==========================================================================
   7. UTILITIES & QUOTES
   ========================================================================== */
.text-brand-blue { color: var(--brand-blue) !important; }
.text-brand-gold { color: var(--brand-gold) !important; }

.italic-quote {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: var(--brand-gold);
    font-size: 1.5rem;
    border-left: 4px solid var(--brand-gold);
    padding-left: 20px;
    margin: 20px 0;
}

/* ==========================================================================
   8. FOOTER STYLES
   ========================================================================== */
footer {
    border-top: 4px solid var(--brand-gold);
    background-color: #082854 !important;
}

footer .logo {
    font-size: 32px;
    color: var(--brand-white) !important;
}

footer p {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.9rem;
}

footer a {
    color: rgba(255, 255, 255, 0.85) !important;
    text-decoration: none;
    transition: color 0.2s ease-in-out; 
}

footer a:hover {
    color: var(--brand-gold) !important;
}

/* ==========================================================================
   9. ANIMATION KEYFRAMES
   ========================================================================== */
@keyframes zoomInRevealSetup {
    0% { opacity: 0; transform: scale(0.9); filter: blur(4px); }
    100% { opacity: 1; transform: scale(1); filter: blur(0); }
}

@keyframes letterSpaceSetup {
    0% { letter-spacing: 12px; opacity: 0; }
    100% { letter-spacing: 6px; opacity: 1; }
}

/* ==========================================================================
   10. GLOBAL RESPONSIVE SETTINGS
   ========================================================================== */
@media (max-width: 768px) {
    .carousel-item {
        height: 60vh !important; /* Ditinggikan agar teks muat sempurna di layar HP */
    }
    
    .carousel-item .carousel-caption {
        bottom: 12% !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .carousel-caption h1, .carousel-caption .hero-sub-title {
        font-size: 1.8rem !important;
        letter-spacing: 1px !important;
    }
    
    .outline-text {
        font-size: 1.8rem !important;
        margin-top: 2px !important;
    }
    
    .pre-title {
        letter-spacing: 3px !important;
        font-size: 0.8rem !important;
    }
}