/* ===========================
   1. VARIABLES & FONTS
   =========================== */
:root {
    /* --- USER DEFINED PALETTE --- */
    --primary-deep-blue: #12103d;
    --accent-gold: #d19457;
    --white: #ffffff;
    --black: #000000;

    --secondary-1: #230c33; /* Dark Purple */
    --secondary-2: #43124a;
    --secondary-3: #8550a2; /* Bright Purple */
    --secondary-4: #44618b; /* Muted Blue */
    --secondary-5: #c77e36; /* Darker Gold */

    /* Premium Glass Effect */
    --glass-bg: rgba(15, 15, 25, 0.85); /* 85% opacity for clarity */
    --glass-border: 1px solid rgba(255, 255, 255, 0.12);
    
    --bg-page: #050414; /* Deepest Black/Blue */
    --text-main: #f5f5f8;
    --text-muted: #a1a4bc;
    --border-subtle: rgba(255, 255, 255, 0.06);
    --blur-strong: 24px;

    /* Fonts */
    --font-heading: 'Belleza', serif;
    --font-body: 'B612', sans-serif;
    --font-script: 'Great Vibes', cursive;
}

/* Base Reset */
*, *::before, *::after { box-sizing: border-box; }

body {
    margin: 0;
    padding-top: 76px; /* Navbar height */
    background-color: var(--bg-page);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 16px; 
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Typography Overrides */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--white);
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

a { text-decoration: none; transition: 0.3s; }

/* ===========================
   2. LUXURY NAVBAR
   =========================== */
.navbar {
    /* Using primary deep blue with slight transparency */
    background: rgba(18, 16, 61, 0.95); 
    border-bottom: 1px solid var(--border-subtle);
    backdrop-filter: blur(10px);
    padding: 15px 0;
}

.navbar-brand {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 1.4rem;
    color: var(--white) !important;
}

.trip-nav {
    display: flex;
    gap: 15px;
    overflow-x: auto;
}

/* ===========================
   3. HERO SECTION
   =========================== */
.hero {
    position: relative;
    height: 90vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: brightness(0.6);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    /* Gradient using the new palette */
    background: linear-gradient(to bottom, rgba(5, 4, 20, 0.3) 0%, var(--bg-page) 100%);
    z-index: 0;
}

.hero-content {
    z-index: 2;
    text-align: center;
    max-width: 850px;
    padding: 0 20px;
}

.hero h1 {
    font-size: clamp(3.5rem, 6vw, 5.5rem);
    line-height: 1.1;
    text-shadow: 0 5px 15px rgba(0,0,0,0.8);
    margin-bottom: 20px;
}

.accent-script {
    font-family: var(--font-script);
    color: var(--accent-gold);
    font-weight: 400;
    font-size: 1.3em;
    text-shadow: 0 2px 10px rgba(0,0,0,1);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-main);
    text-shadow: 0 2px 5px rgba(0,0,0,0.9);
    margin-bottom: 40px;
    font-weight: 400;
}

/* CTA Button */
.cta-button {
    /* Gradient from Gold to Secondary-5 (Dark Gold) */
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--secondary-5) 100%);
    border: none;
    padding: 16px 45px;
    border-radius: 50px;
    color: var(--black);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 0 25px rgba(209, 148, 87, 0.4);
    transition: transform 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 40px rgba(209, 148, 87, 0.6);
    color: var(--black);
}

/* ===========================
   4. GLASSMORPHISM CARDS
   =========================== */
.glass-card, .destination-card-container, .modal-content, .package-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--blur-strong));
    -webkit-backdrop-filter: blur(var(--blur-strong));
    border: var(--glass-border);
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s;
}

/* ===========================
   5. BUBBLES & SECTIONS
   =========================== */
.section-title {
    font-size: 2.5rem;
    color: var(--accent-gold);
    text-align: center;
    margin-bottom: 3rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

/* Story Bubble Styling */
#country-bubbles-container {
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 15px;
}
#country-bubbles-container::-webkit-scrollbar { height: 4px; }
#country-bubbles-container::-webkit-scrollbar-thumb { 
    background: var(--accent-gold); 
    border-radius: 4px; 
}

.story-bubble img {
    transition: transform 0.3s;
    filter: brightness(0.9);
    border-color: var(--secondary-3) !important; /* Using Purple for the ring base */
}
.story-bubble:hover img {
    transform: scale(1.1);
    filter: brightness(1.1);
    border-color: var(--accent-gold) !important;
}

/* ===========================
   6. DESTINATION CARDS
   =========================== */
.destination-card-container:hover {
    transform: translateY(-8px);
    border-color: var(--accent-gold);
}

.destination-locale {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.destination-header {
    background: linear-gradient(to top, var(--primary-deep-blue) 10%, transparent);
    position: absolute;
    bottom: 0; left: 0; width: 100%;
    padding: 20px;
}

.destination-header h3 { margin: 0; font-size: 1.8rem; }

.destination-content { padding: 25px; }
.destination-content p { color: var(--text-muted); font-size: 0.95rem; }

/* Itinerary List Styles */
.itinerary-item {
    background: rgba(255,255,255,0.03);
    border-left: 3px solid var(--accent-gold);
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 0 8px 8px 0;
}

.time-badge {
    background: var(--accent-gold);
    color: var(--black);
    font-weight: bold;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    margin-right: 10px;
}

/* ===========================
   7. PREMIUM FOOTER
   =========================== */
.premium-footer {
    background: var(--black);
    border-top: 1px solid var(--border-subtle);
    padding: 80px 0 30px;
    margin-top: 100px;
    font-size: 0.95rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-logo h3 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.brand-desc {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 25px;
    max-width: 300px;
}

.award-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Link Columns */
.footer-col h5 {
    color: var(--accent-gold);
    font-size: 1.1rem;
    letter-spacing: 1.5px;
    margin-bottom: 30px;
}

.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 15px; }

.footer-col a {
    color: var(--text-muted);
    font-weight: 400;
    transition: 0.3s;
}

.footer-col a:hover {
    color: var(--white);
    padding-left: 5px;
    text-shadow: 0 0 10px rgba(255,255,255,0.3);
}

/* Newsletter */
.newsletter-form .input-group {
    background: var(--border-subtle);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 5px;
    padding: 5px;
}

.newsletter-form input {
    background: transparent;
    border: none;
    color: var(--white);
    padding: 10px;
}
.newsletter-form input:focus {
    background: transparent;
    color: var(--white);
    box-shadow: none;
}

.newsletter-form button {
    background: var(--accent-gold);
    color: var(--black);
    font-weight: bold;
    border: none;
    border-radius: 4px;
    padding: 0 20px;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid var(--border-subtle);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p { color: var(--text-muted); margin: 0; font-size: 0.85rem; }

.social-links { display: flex; gap: 20px; }
.social-icon {
    color: var(--text-muted);
    font-size: 1.2rem;
    transition: 0.3s;
}
.social-icon:hover {
    color: var(--accent-gold);
    transform: translateY(-3px);
}

/* ===========================
   8. MOBILE RESPONSIVENESS
   =========================== */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .hero h1 { font-size: 3rem; }
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .brand-desc { margin: 0 auto 25px; }
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
    }
    .social-links { justify-content: center; }
    
    .glass-card, .destination-card-container {
        border-radius: 12px;
    }
}

/* ===========================
   9. MODAL & SCROLLBARS
   =========================== */
/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-page); }
::-webkit-scrollbar-thumb { 
    background: var(--secondary-4); 
    border-radius: 4px; 
}
::-webkit-scrollbar-thumb:hover { background: var(--accent-gold); }

/* Modal overrides */
.modal-title { font-size: 1.5rem; letter-spacing: 1px; }