/* -------------------------------------------
   1. GLOBAL RESET & VARIABLES
------------------------------------------- */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', sans-serif; }
html { scroll-behavior: smooth; }

:root {
    --primary-color: #0077b6; /* Ocean Blue */
    --secondary-color: #023e8a; /* Dark Blue */
    --accent-color: #ffb703; /* Golden Yellow */
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light: #f8f9fa;
    --section-padding: 5rem 10%;
}

body { background-color: var(--bg-light); color: var(--text-dark); }
img { max-width: 100%; display: block; }

/* -------------------------------------------
   2. REUSABLE COMPONENTS
------------------------------------------- */
.btn-primary, .btn-hero {
    background: var(--accent-color);
    color: var(--secondary-color);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(255, 183, 3, 0.4);
    cursor: pointer;
}
.btn-primary:hover, .btn-hero:hover { 
    transform: translateY(-3px); 
    box-shadow: 0 6px 20px rgba(255, 183, 3, 0.6); 
    background: #ffc107;
}

.section-title { text-align: center; margin-bottom: 3rem; }
.section-title h2 { font-size: 2.5rem; color: var(--secondary-color); margin-bottom: 1rem; }

/* UPDATED: Increased max-width to keep paragraph on one line */
.section-title p { color: #666; max-width: 1000px; margin: 0 auto; }

/* -------------------------------------------
   3. NAVBAR
------------------------------------------- */
.navbar {
    display: flex; justify-content: space-between; align-items: center;
    padding: 1rem 5%; position: absolute; width: 100%; z-index: 100;
    background: linear-gradient(to bottom, rgba(0,0,0,0.9), transparent);
}

/* LOGO STYLE */
.logo { 
    display: flex; align-items: center; gap: 10px;
    font-size: 1.8rem; font-weight: 700; color: var(--text-light); 
}
.logo-icon {
    height: 50px; 
    width: 50px; 
    object-fit: contain;
    background: rgba(255,255,255,0.9);
    border-radius: 50%; 
    padding: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.highlight { color: var(--accent-color); }

.nav-links { list-style: none; display: flex; gap: 2rem; align-items: center; }
.nav-links a { text-decoration: none; color: var(--text-light); font-weight: 500; transition: 0.3s; }
.nav-links a:hover { color: var(--accent-color); }

.btn-nav {
    background: var(--accent-color); color: var(--secondary-color) !important;
    padding: 0.6rem 1.5rem; border-radius: 50px; font-weight: 600;
}

.menu-toggle { display: none; flex-direction: column; cursor: pointer; }
.menu-toggle .bar { width: 25px; height: 3px; background-color: #fff; margin: 3px 0; transition: 0.4s; }

/* -------------------------------------------
   4. HERO SECTION (WITH LOCAL VIDEO)
------------------------------------------- */
.hero {
    height: 100vh; width: 100%; position: relative;
    display: flex; align-items: center; justify-content: center;
    text-align: center; overflow: hidden;
}

.hero-video {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover; z-index: -2;
}

.hero .overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.4); z-index: -1;
}
.hero-content { position: relative; z-index: 2; color: var(--text-light); max-width: 800px; padding: 0 1rem; }
.hero h1 { font-size: 3.5rem; line-height: 1.2; margin-bottom: 1rem; }
.hero p { font-size: 1.1rem; opacity: 0.9; }

.hero-buttons { margin-top: 2.5rem; } 

/* -------------------------------------------
   5. ABOUT US / SERVICES SECTION 
------------------------------------------- */
.about-section { padding: var(--section-padding); background: #fff; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: 0.3s;
    border: 1px solid #eee;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    border-color: var(--primary-color);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    background: var(--secondary-color);
    width: 70px; height: 70px;
    line-height: 70px;
    border-radius: 50%;
    margin-left: auto; margin-right: auto;
}

.service-card h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.service-card p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.7;
    text-align: center;
}

/* -------------------------------------------
   6. PACKAGES SECTION
------------------------------------------- */
.packages-section { padding: var(--section-padding); background: var(--bg-light); }
.package-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem; padding-top: 1rem;
}
.tour-card {
    background: #fff; border-radius: 16px; overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05); display: flex; flex-direction: column;
}
.tour-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.card-image { height: 220px; position: relative; overflow: hidden; }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.tour-card:hover .card-image img { transform: scale(1.05); }

.tag-badge {
    position: absolute; top: 15px; right: 15px;
    background: var(--accent-color); color: var(--secondary-color);
    padding: 0.4rem 1rem; border-radius: 50px; font-size: 0.8rem;
    font-weight: 700; text-transform: uppercase; box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.card-content { padding: 1.5rem; display: flex; flex-direction: column; flex-grow: 1; }
.card-meta {
    display: flex; justify-content: space-between; font-size: 0.85rem; color: #777;
    margin-bottom: 1rem; font-weight: 500;
}
.card-meta i { color: var(--primary-color); margin-right: 5px; }
.tour-card h3 { font-size: 1.4rem; margin-bottom: 0.8rem; color: var(--secondary-color); }
.tour-card p { font-size: 0.95rem; color: #555; margin-bottom: 1rem; line-height: 1.7; text-align: left; }

.btn-outline {
    margin-top: auto; text-align: center; border: 2px solid var(--primary-color);
    color: var(--primary-color); padding: 0.8rem; border-radius: 8px;
    text-decoration: none; font-weight: 600; transition: 0.3s; background: transparent; cursor: pointer;
}
.btn-outline:hover { background: var(--primary-color); color: #fff; }

/* -------------------------------------------
   CUSTOM TOUR BANNER
------------------------------------------- */
.custom-tour-banner {
    margin-top: 4rem; background: linear-gradient(135deg, var(--secondary-color), #001f3f);
    border-radius: 20px; padding: 3rem 2rem; text-align: center; color: #fff;
    position: relative; overflow: hidden; box-shadow: 0 15px 40px rgba(0, 40, 85, 0.2);
}
.custom-tour-banner::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 20px 20px; opacity: 0.3;
}
.banner-content { position: relative; z-index: 2; max-width: 700px; margin: 0 auto; }
.custom-tour-banner h3 { font-size: 2rem; margin-bottom: 1rem; font-weight: 700; }
.custom-tour-banner p { font-size: 1.1rem; margin-bottom: 2rem; opacity: 0.9; color: #e0e0e0; }

.btn-banner {
    background: var(--accent-color); color: var(--secondary-color);
    padding: 1rem 2.5rem; border-radius: 50px; font-weight: 700;
    text-decoration: none; font-size: 1.1rem; transition: all 0.3s ease;
    display: inline-block; box-shadow: 0 4px 15px rgba(255, 183, 3, 0.4);
}
.btn-banner:hover {
    transform: translateY(-3px) scale(1.05);
    background: #ffc107; box-shadow: 0 6px 20px rgba(255, 183, 3, 0.6);
}

/* -------------------------------------------
   7. CONTACT SECTION 
------------------------------------------- */
.contact-section { padding: var(--section-padding); background: var(--secondary-color); color: #fff; }
.contact-wrapper { display: flex; gap: 4rem; flex-wrap: wrap; }
.contact-info { flex: 1; min-width: 300px; }
.contact-info h2 { font-size: 2.5rem; margin-bottom: 1rem; }
.contact-info p { margin-bottom: 2rem; opacity: 0.8; }

.info-item { 
    margin-bottom: 1.2rem; 
    font-size: 1.1rem; 
    display: flex; 
    align-items: flex-start; 
    gap: 5px; 
}
.info-item strong {
    min-width: 95px; 
    display: inline-block;
    white-space: nowrap;
}
.info-item span {
    line-height: 1.6;
}

.contact-form {
    flex: 1; background: #fff; padding: 2.5rem; border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2); min-width: 300px;
}
.contact-form h3 { color: var(--secondary-color); margin-bottom: 1.5rem; }
.contact-form input, .contact-form textarea {
    width: 100%; padding: 1rem; margin-bottom: 1rem; border: 1px solid #ddd;
    border-radius: 8px; background: #f9f9f9;
}
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--primary-color); background: #fff; }
.btn-submit {
    width: 100%; background: var(--primary-color); color: #fff; border: none;
    padding: 1rem; border-radius: 8px; font-weight: 700; cursor: pointer; transition: 0.3s;
}
.btn-submit:hover { background: var(--accent-color); color: var(--secondary-color); }

/* -------------------------------------------
   8. FOOTER & SOCIAL ICONS
------------------------------------------- */
footer { text-align: center; padding: 2rem 5%; background: #002855; color: rgba(255,255,255,0.6); }
.footer-content { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
.social-links { display: flex; gap: 1.5rem; }
.social-links a { color: #fff; font-size: 1.5rem; transition: all 0.3s ease; }
.social-links a:hover { color: var(--accent-color); transform: translateY(-5px); }

.whatsapp-float {
    position: fixed; width: 60px; height: 60px; bottom: 25px; right: 25px;
    background-color: #25d366; color: #FFF; border-radius: 50px;
    text-align: center; font-size: 30px; box-shadow: 2px 2px 3px #999;
    z-index: 1000; display: flex; align-items: center; justify-content: center;
    text-decoration: none; transition: all 0.3s ease;
}
.whatsapp-float:hover { background-color: #20ba5a; transform: scale(1.1); }

/* -------------------------------------------
   9. ZIG-ZAG MODAL STYLES
------------------------------------------- */
.modal {
    display: none; /* Flex via JS */
    align-items: center; justify-content: center;
    position: fixed; z-index: 2000; left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.8); backdrop-filter: blur(5px);
}

.modal-content-wide {
    background-color: #fff;
    width: 90%; max-width: 900px;
    height: 90vh; /* Fixed height to allow scrolling inside */
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
    position: relative;
    display: flex; flex-direction: column;
    animation: zoomIn 0.3s ease;
    overflow: hidden;
}
@keyframes zoomIn { from { transform: scale(0.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* Header */
.modal-header-simple {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #eee;
    display: flex; justify-content: space-between; align-items: center;
    background: #fff; z-index: 10;
}
.modal-header-simple h2 {
    font-family: 'Playfair Display', serif; /* Classy Serif Font */
    font-size: 2rem; color: var(--secondary-color); margin: 0;
}
.modal-header-simple p { color: #888; font-size: 0.9rem; margin-top: 0.2rem; }

.close-modal {
    font-size: 2rem; cursor: pointer; color: #555; transition: 0.3s;
}
.close-modal:hover { color: #000; }

/* Body Scroll Area */
.modal-body-scroll {
    flex: 1; overflow-y: auto; padding: 3rem 2rem;
    background-color: #fcfcfc;
}

/* --- THE ZIG-ZAG LAYOUT --- */
.itinerary-item {
    display: flex; align-items: center;
    gap: 40px; margin-bottom: 50px;
}

/* Even items (Day 2, 4, etc.) reversed: Text Left, Image Right */
.itinerary-item:nth-child(even) {
    flex-direction: row-reverse;
}

/* Image Box */
.itinerary-img {
    flex: 1;
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.itinerary-img img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.5s ease;
}
.itinerary-img:hover img { transform: scale(1.05); }

/* Text Box */
.itinerary-text {
    flex: 1;
}
.day-label {
    font-size: 0.85rem; font-weight: 700; letter-spacing: 2px;
    text-transform: uppercase; color: #999; display: block; margin-bottom: 0.5rem;
}
.itinerary-text h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem; color: var(--text-dark); margin-bottom: 1rem;
}
.itinerary-text p {
    font-size: 1rem; color: #666; line-height: 1.8;
    text-align: left;
}

/* Footer */
.modal-footer-wide {
    padding: 1.5rem; text-align: center; border-top: 1px solid #eee;
    background: #fff;
}

/* -------------------------------------------
   10. MOBILE RESPONSIVENESS (FULLY UPDATED)
------------------------------------------- */
@media (max-width: 768px) {
    /* General Spacing Reductions for small screens */
    :root {
        --section-padding: 3rem 5%;
    }

    /* Navbar & Logo Adjustments */
    .logo { font-size: 1.5rem; }
    .logo-icon { height: 40px; width: 40px; }
    .menu-toggle { display: flex; }
    
    /* Mobile Menu Dropdown */
    .nav-links {
        display: none; width: 100%; position: absolute; top: 100%; left: 0;
        background-color: rgba(2, 62, 138, 0.98); flex-direction: column;
        text-align: center; padding: 1.5rem 0;
        box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    }
    .nav-links li { margin: 1rem 0; }
    .nav-links.active { display: flex; }

    /* Hero Text Adjustments */
    .hero h1 { font-size: 2.2rem; }
    .hero p { font-size: 1rem; }
    .hero-buttons { margin-top: 1.5rem; }
    
    /* Section Layouts - Force Single Column */
    .about-container, .contact-wrapper { gap: 2rem; flex-direction: column; }
    .services-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .package-grid { grid-template-columns: 1fr; gap: 2rem; }

    /* Section Titles */
    .section-title h2 { font-size: 2rem; }
    .custom-tour-banner h3 { font-size: 1.5rem; }

    /* Contact Details Fix */
    .contact-info h2 { font-size: 2rem; }
    .contact-form { padding: 1.5rem; }

    /* Zig Zag Modal Mobile Reset */
    .modal-header-simple { padding: 1rem 1.5rem; }
    .modal-header-simple h2 { font-size: 1.6rem; }
    .modal-body-scroll { padding: 1.5rem 1rem; }
    
    /* Stop Zig-Zagging on mobile - stack them properly */
    .itinerary-item, .itinerary-item:nth-child(even) {
        flex-direction: column; 
        gap: 15px; 
        margin-bottom: 35px;
    }
    .itinerary-img { width: 100%; height: 220px; }
    .itinerary-text { text-align: left; } /* Left align is much easier to read on phones */
    .itinerary-text h3 { font-size: 1.8rem; }
    
    /* Make Modal take full screen width on mobile */
    .modal-content-wide { width: 100%; height: 100%; border-radius: 0; }
    .modal-footer-wide { padding: 1rem; }
}