/* --- GLOBAL RESET --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
}

/* --- HERO SECTION WITH BACKGROUND --- */
.hero-header {
    position: relative;
    background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.2)), url('DESTINATION.jpg') no-repeat center center/cover;
    height: 100vh; /* Full screen height */
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* --- CENTERED NAVIGATION BAR (DESKTOP) --- */
.navbar {
    position: absolute;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: center; 
    align-items: center;
    padding: 20px 0;         
    z-index: 100;
    height: 100px;
}

/* --- UPDATED LOGO & NAV STYLES --- */
.logo-container {
    position: absolute;
    top: 0;
    left: 30px; 
    z-index: 101;
}

.logo {
    height: 180px; 
    width: auto;
    display: block;
    transition: height 0.3s ease; 
    filter: drop-shadow(0 5px 10px rgba(0,0,0,0.3));
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 35px; 
    transition: gap 0.3s ease;
}

/* --- NAVIGATION LINKS --- */
.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 600; 
    font-size: 1.1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    white-space: nowrap;
    padding: 10px 25px;       
    border-radius: 50px;      
    transition: all 0.3s ease;
}

/* --- HOVER EFFECT: WHITE BOX --- */
.nav-links a:hover {
    background-color: white;  
    color: #128C9F;           
    box-shadow: 0 10px 20px rgba(0,0,0,0.3); 
    text-shadow: none;        
    transform: translateY(-3px); 
}

/* OPTIONAL: The "Active" link (current page) stays white */
.nav-links a.active {
    background-color: rgba(255, 255, 255, 0.2); 
    border: 1px solid white;
}

/* --- DESKTOP RULE (Hides button on laptop) --- */
.hamburger {
    display: none;
}

/* --- THE SAFETY RULE (Laptop < 1200px) --- */
@media screen and (max-width: 1200px) {
    .logo { height: 140px; }
    .nav-links { gap: 20px; margin-left: 100px; }
    .nav-links a { font-size: 0.95rem; }
}

/* --- HERO CONTENT (Text & Buttons) --- */
.hero-content {
    text-align: center;
    color: white;
    /* Removed large bottom margin since search box is gone */
    margin-bottom: 0; 
    z-index: 10;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    font-weight: 400;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

/* BUTTONS */
.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 30px;
}

.btn-teal {
    background: linear-gradient(to right, #128C9F, #0E6B7A);
    color: white;
    padding: 15px 40px;
    border-radius: 5px;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-gold {
    background: linear-gradient(to right, #D4AF37, #C5A028); 
    color: white; 
    padding: 15px 40px;
    border-radius: 5px;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* TRUST ICONS */
.trust-signals {
    display: flex;
    gap: 30px;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.trust-signals i {
    margin-right: 8px;
}

/* --- SEARCH WIDGET (Desktop Only Styles) --- */
/* Kept in case you add it back later, but hidden if HTML is gone */
.search-widget-container {
    position: absolute;
    bottom: 150px; 
    width: 80%;
    max-width: 1100px;
    z-index: 10;
}
.search-widget {
    background: white;
    padding: 20px 30px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    position: relative;
    z-index: 20;
}
.search-field {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 0 15px;
    border-right: 1px solid #eee;
}
.search-field:last-of-type { border-right: none; }
.search-field label {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 5px;
    font-weight: 600;
}
.search-field select, .search-field input {
    border: none;
    font-size: 1rem;
    color: #333;
    font-family: inherit;
    outline: none;
    background: transparent;
    cursor: pointer;
}
.btn-search {
    background-color: #128C9F;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    font-size: 1rem;
    margin-left: 10px;
}
.wave-decoration {
    height: 20px;
    width: 95%;
    background: rgba(255, 255, 255, 0.4);
    margin: -10px auto 0;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

/* ========================================= */
/* DESTINATIONS / TOURS / HOTELS STYLES      */
/* ========================================= */

.destinations-hero {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('https://images.unsplash.com/photo-1573843981267-be1999ff37cd?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    height: 60vh; 
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    width: 100%;
}

.destinations-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px;
}

.dest-row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 120px;
}

.dest-row.reverse {
    flex-direction: row-reverse;
}

.dest-image {
    flex: 1;
    height: 450px;
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    position: relative; /* Needed for badges */
}

.dest-content {
    flex: 1;
}

.dest-content h2 {
    font-size: 2.8rem;
    color: #0E6B7A; 
    margin-bottom: 10px;
    font-weight: 700;
}

.subtitle {
    font-size: 1.2rem;
    color: #C5A028; 
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.dest-content p {
    font-size: 1.05rem;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.8;
}

.highlights {
    list-style: none;
    margin-bottom: 30px;
}

.highlights li {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: #444;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dest-content .btn-teal {
    display: inline-block;
    border: none;
    cursor: pointer;
}

/* ========================================= */
/* MOBILE VIEW STYLES (Phones < 768px)       */
/* ========================================= */

.brand-name {
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    margin-left: 10px;
    display: none; /* Hidden on laptop */
    font-family: 'Poppins', sans-serif;
}

@media screen and (max-width: 768px) {

    /* 1. HEADER: Fixed Bar */
    .navbar {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 70px;
        background-color: #00434dfa; /* Your Teal Color */
        display: block; 
        z-index: 3000;
        box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    }

    /* 2. REMOVE IMAGE LOGO */
    .logo { display: none !important; }

    /* 3. BRAND NAME: Pinned Left */
    .brand-name {
        display: block;
        font-size: 1.3rem; 
        position: absolute;
        left: 20px;        
        top: 50%;          
        transform: translateY(-50%);
        width: auto;
    }

    .logo-container { position: static; }

    /* 4. HAMBURGER: Pinned Right */
    .hamburger {
        display: flex !important;
        flex-direction: column;
        gap: 6px;
        position: absolute;
        right: 20px;       
        top: 50%;          
        transform: translateY(-50%);
        background: transparent;
        padding: 0;
        margin: 0;
        z-index: 3001;
    }

    .hamburger span {
        width: 30px;
        height: 3px;
        background-color: white;
        border-radius: 2px;
    }

    /* 5. MENU OVERLAY */
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: #00434dfa; /* Your Teal Color */
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 2900;
        margin: 0;
        padding: 0;
    }
    
    .nav-links.active { transform: translateX(0); }
    .nav-links li { list-style: none; width: 100%; text-align: center; }
    .nav-links a { font-size: 1.5rem; color: white; display: block; padding: 10px; }

    /* 6. CONTENT FIXES */
    .hero-header {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 100px;
        height: auto;
        min-height: 100vh;
        background-position: center;
    }

    .hero-content {
        margin-top: 20px;
        margin-bottom: 40px;
        padding: 0 20px;
        width: 100%;
    }

    .hero-content h1 {
        font-size: 2.2rem;
        line-height: 1.2;
    }

    /* 7. DESTINATIONS / TOURS / HOTELS MOBILE LAYOUT */
    /* This forces the cards to stack on mobile */
    .destinations-hero {
        height: 40vh;
        padding-top: 80px;
    }
    .destinations-hero h1 { font-size: 2.2rem; padding: 0 10px; }

    .destinations-container { padding: 30px 15px; }

    .dest-row {
        flex-direction: column; /* Stack image on top, text below */
        gap: 0;
        margin-bottom: 50px;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        border-radius: 15px;
        overflow: hidden;
    }

    .dest-row.reverse { flex-direction: column; }

    .dest-image {
        width: 100%;
        height: 250px;
        border-radius: 0;
        box-shadow: none;
    }

    .dest-content {
        width: 100%;
        padding: 25px 20px;
        text-align: center;
    }
    
    .dest-content h2 { font-size: 1.8rem; }
    .highlights li { justify-content: center; }
    
    .dest-content .btn-teal {
        width: 100%;
        display: block;
        padding: 15px;
        margin-top: 15px;
    }
}