/* ==========================================
   1. VARIABLES & RESET
========================================== */
:root {
    --primary-blue: #0077b6;
    --dark-navy: #03045e;
    --accent-blue: #caf0f8;
    --white: #ffffff;
    --light-bg: #f8f9fa;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--light-bg);
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ==========================================
   2. NAVIGATION & HAMBURGER (The Fix)
========================================== */
nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    background: var(--white);
    position: sticky;
    top: 0;
    box-shadow: var(--shadow);
    z-index: 1000;
    height: 70px;
}

.logo {
    font-size: 1.1rem;
    font-weight: 700;
    padding: 0% 20% 0% 0%;
    color: var(--primary-blue);
    white-space: nowrap;
}

/* Desktop Links */
.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}
.nav-links i {
    display: none; 
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-navy);
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary-blue);
}

/* Hamburger Icon - Defined clearly so it's not invisible */
.menu-toggle {
    display: none; 
    flex-direction: column;
    justify-content: space-between;
    width: 40px;
    height: 24px;
    cursor: pointer;
    z-index: 1100;
}

.bar {
    display: block;
    width: 100%;
    height: 4px;
    background-color: var(--dark-navy); /* Dark blue bars */
    border-radius: 10px;
    transition: var(--transition);
}

#lang-toggle {
    background: #101330;
    color: white;
    border: none;
    padding: 6px 16px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    margin-left: 20px;
}

/* ==========================================
   3. MOBILE NAVIGATION (The Fix)
========================================== */
/* ==========================================
   MOBILE NAVIGATION FIX
========================================== */
@media (max-width: 992px) {
    /* 1. Show the hamburger icon */
    .menu-toggle {
        display: flex !important;
    }

    /* 2. Fix the sliding container */
   .nav-links {
        display: none; /* Hidden until toggled */
        flex-direction: column !important;
        
        /* 1. RESET THE DESKTOP CENTERING */
        position: fixed !important;
        left: 0 !important; /* Forces it to the left edge */
        transform: none !important; /* Removes the "center" shift */
        
        /* 2. ALIGNMENT */
        align-items: flex-start !important; /* Pulls items to the left */
        text-align: left !important;
        padding: 40px 0 40px 10% !important; /* 10% gap from the left edge */

        /* 3. DIMENSIONS */
        top: 70px;
        width: 100% !important;
        background-color: var(--white);
        z-index: 1000;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        display: flex !important;
    }

    .nav-links li {
        margin: 15px 0;
        width: 100%;
        display: block !important;
    }

    .nav-links a {
        font-size: 1.3rem;
        color: var(--dark-navy) !important;
        text-decoration: none;
        display: block; /* Makes the whole line clickable */
    }
}

/* ==========================================
   4. HERO SECTION
========================================== */
.hero {
    position: relative;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #000;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
}

.hero::after {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--white);
    padding: 0 5%;
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 4rem);
    margin-bottom: 0.5rem;
}

.hero-intro {
    font-size: 1.3rem;
    max-width: 800px;
    font-weight: 200;
    margin-bottom: 1rem;
    color: var(--light-bg);
}

.hero-description {
    max-width: 1800px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
    font-weight: 200;
}



/* ==========================================
   5. GRIDS & CARDS
========================================== */
.gallery-section { padding: 80px 5%; text-align: center; }
.alt-bg { background: #f0f4f8; }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.photo-card {
    position: relative;
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow);
}

.photo-card img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: 0.5s ease;
}

.photo-card::after {
    content: "";
    position: absolute;
    bottom: 0; left: 0;
    width: 100%; height: 60%;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
}

.card-title {
    position: absolute;
    bottom: 20px; left: 20px;
    color: white; font-weight: 600; z-index: 2;
}

/* ==========================================
   6. DESTINATION DETAILS
========================================== */
.destination-detail { padding: 80px 5%; }
.detail-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 50px;
}

.detail-container.reverse { flex-direction: row-reverse; }

.detail-text { flex: 1; text-align: left; }
.detail-text h2 { font-size: 2.5rem; color: var(--dark-navy); margin-bottom: 20px; }
.detail-text p { margin-bottom: 50px; font-size: 1.1rem; }

.detail-image { flex: 1; }
.detail-image img { width: 100%; border-radius: 20px; box-shadow: var(--shadow); }

/* ==========================================
   7. RESERVATION & LIGHTBOX
========================================== */
.reservation-section { padding: 80px 5%; background: var(--dark-navy); color: white; text-align: center; }
.form-container { max-width: 500px; margin: 0 auto; }
#booking-form { display: flex; flex-direction: column; gap: 15px; margin-top: 30px; }
#booking-form input, #booking-form textarea { padding: 12px; border-radius: 8px; border: none; width: 100%; }

.btn { 
    background: var(--primary-blue); color: white; border: none; 
    padding: 12px 30px; border-radius: 30px; font-weight: 600; 
    cursor: pointer; text-decoration: none; display: inline-block;
}

/* ==========================================
   ENHANCED FULL-SCREEN LIGHTBOX
========================================== */
.lightbox {
    display: none; /* Hidden until clicked */
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95); /* Deeper black for better photo contrast */
    z-index: 9999; /* Higher than the nav bar */
    justify-content: center;
    align-items: center;
    cursor: zoom-out; /* Indicates clicking closes it */
}

#lightbox-img {
    /* Increase these percentages to fill the screen */
    max-width: 95%; 
    max-height: 90vh; 
    
    width: auto;
    height: auto;
    object-fit: contain; /* Prevents cropping the drone shot */
    border-radius: 4px;
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
    
    /* Smooth fade-in when switching images */
    transition: opacity 0.3s ease;
}

/* Positioning the Close Button */
.close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    color: var(--white);
    font-size: 50px;
    font-weight: 200;
    cursor: pointer;
    z-index: 10001;
}

/* Arrow Buttons for Navigation */
.prev-btn, .next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    padding: 20px 15px;
    font-size: 30px;
    cursor: pointer;
    border-radius: 5px;
    transition: 0.3s;
}

.floating-whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
}
.prev-btn { left: 20px; }
.next-btn { right: 20px; }

.prev-btn:hover, .next-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Mobile Fix: Make arrows smaller so they don't cover the photo */
/* ==========================================
   IPHONE DESTINATION FIX
========================================== */
@media (max-width: 768px) {
    /* Forces the image and text to stack vertically */
    .detail-container, 
    .detail-container.reverse {
        flex-direction: column !important;
        text-align: center;
        gap: 30px;
        padding: 40px 0;
    }

    /* Makes sure the image and text take up full width */
    .detail-image, 
    .detail-text {
        width: 100%;
        flex: none;
    }
@media (max-width: 768px) {
    .nav-links i {
        display: inline-block; /* They appear only on phones/tablets */
        width: 35px;
        font-size: 1.2rem;
        color: var(--primary-blue);
        margin-right: 10px;
        text-align: center;
    }
    
    /* Optional: Make the text align perfectly with the icons */
    .nav-links a {
        display: flex;
        align-items: center;
        padding: 10px 0;
    }
}
    /* Puts the image on top even if the PC version is reversed */
    .detail-image {
        order: 1;
    }

    .detail-text {
        order: 2;
    }

    /* Adjusts font size so it doesn't look too big on small screens */
    .detail-text h2 {
        font-size: 2rem;
    }

    .detail-text p {
        margin-bottom: 30px;
        font-size: 1rem;
    }
}

/* ==========================================
   NEW INTRO SECTION STYLING
========================================== */
.intro-section {
    padding: 80px 10%;
    background-color: var(--white); /* Keeps it clean and readable */
    text-align: center;
}

.intro-container {
    max-width: 600px; /* Prevents the lines from being too long on PC */
    margin: 0 auto;
}

.intro-section .hero-description {
    font-size: 1.2rem;
    color: #444;
    line-height: 1,8;
    font-weight: 200;
}

/* iPhone Adjustment */
@media (max-width: 768px) {
    .intro-section {
        padding: 50px 7%; /* Tighter padding for mobile */
    }
    
    .intro-section .hero-description {
        font-size: 1.05rem; /* Slightly smaller font for mobile screens */
        text-align: left;   /* Left align on mobile for easier reading */
    }
}
/* ==========================================
   RESERVATION SECTION (2-COLUMN LAYOUT)
========================================== */
.reservation-section {
    padding: 80px 5%;
    background: #03045e; /* Your dark navy */
    color: white;
}

.reservation-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    gap: 50px;
    align-items: stretch; /* Makes both boxes the same height */
}

/* The White Box for Company Info */
.company-info-box {
    flex: 1;
    border: 0px solid white;
    padding: 40px;
    border-radius: 5px; /* Sharp edges like your image */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.company-info-box .logo {
    color: white;
    margin-bottom: 30px;
    font-size: 1.8rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-blue);
    width: 30px;
}

.info-item strong {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    text-align: left;
    opacity: 0.7;
}

/* The Form Side */
.form-wrapper {
    flex: 1;
    text-align: center;
}

.form-wrapper h3 {
    margin-bottom: 25px;
    font-size: 1.8rem;
}

#booking-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#booking-form input, 
#booking-form textarea {
    padding: 15px;
    border-radius: 8px;
    border: none;
    font-family: inherit;
}

/* iPhone Fix: Stack the info box on top of the form */
@media (max-width: 768px) {
    .reservation-container {
        flex-direction: column;
    }
    
    .company-info-box {
        padding: 30px 20px;
    }
}
