/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 32px 30px;
    backdrop-filter: blur(12px);
    background: rgba(0, 0, 0, 0.3);
    z-index: 1000;
    height: 80px; /* Ensures enough space */
    z-index: 1000;
}

/* Logo Centering */
.logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.logo img {
    height: 50px; /* Adjust size as needed */
    width: auto;
    display: block;
}


/* Sign Up Button (Right Side) */
.signup {
    margin-left: auto; /* Pushes to the right */
}

.signup-btn {
    background-color: #000000;
    color: rgb(255, 255, 255);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s;
}

.signup-btn:hover {
    background-color: #e6c200;
    color: #000;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .menu ul {
        gap: 10px;
    }

    .logo img {
        height: 40px; /* Smaller logo for mobile */
    }

    .signup-btn {
        padding: 8px 15px; /* Adjust for smaller screens */
        font-size: 14px;
    }
}



/* 🔹 Burger Menu (Mobile-Friendly) */
.burger {
    position: absolute;
    top: 21px; 
    left: 15px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1200; /* Ensures it's always above other elements */
    padding: 10px; /* Increases tap area for mobile */
}

/* 🔹 Burger Lines */
.burger div {
    width: 30px;
    height: 3px;
    background: #ffffff; /* Use white (#fff) if on a dark background */
    border-radius: 3px;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    transform-origin: center;
}

/* 🔹 Burger "X" Effect */
.burger.active div:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.burger.active div:nth-child(2) {
    opacity: 0;
}
.burger.active div:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}


/* Sidebar Menu */
.sidebar {
    position: fixed;
    top: 72px;
    left: -250px;
    width: 250px;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(15px);
    transition: 0.4s ease-in-out;
    z-index: 999;
}

/* Sidebar Open Animation */
.sidebar.open {
    left: 0;
}

/* Sidebar Links */
.sidebar a {
    display: block;
    padding: 18px;
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    font-weight: 500;
    transition: 0.3s;
}

.sidebar a:hover {
    background: rgba(255, 217, 0, 0.3);
    padding-left: 25px;
}

/* Section Styling */
section {
    width: 100%;
    min-height: 100vh; /* Each section fits full screen */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 80px 10%;
    text-align: center;
    position: relative;
}



/* ============================= */
/*        HOME SECTION           */
/* ============================= */

/* Home Section */
.home {
    position: relative;
    width: 100%;
    height: 100vh; /* Full screen */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

/* Background Images */
.background-container {
    position: absolute;
    width: 100%;
    height: 100%;
}

.background-container img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    transition: opacity 1s ease-in-out;
}

/* Semi-Transparent Black Overlay */
.home::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Black overlay with 50% transparency */
    z-index: 1; /* Ensures it sits above the images */
}

/* Home Content (Ensuring it's above the overlay) */
.home-content {
    position: relative;
    z-index: 2;
}


/* ============================= */
/*     BACKGROUND SLIDESHOW      */
/* ============================= */

/* Background Slideshow Container */
.background-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden; /* Prevents any overflow issues */
    z-index: -1;
}

/* Ensure Images Cover the Entire Screen and Stay Centered */
.background-container img {
    position: absolute;
    top: 0;
    left: 50%;  /* Move the image to the center */
    transform: translateX(-50%); /* Shift back by 50% to perfectly center */
    width: 100vw;
    height: 100vh;
    object-fit: cover;  /* Ensures full coverage */
    object-position: center; /* Keeps the image centered */
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}


.background-container img.active {
    opacity: 1;
}

/* ============================= */
/*         TEXT TRANSITION       */
/* ============================= */

/* Home Content */
.home-content {
    position: relative;
    max-width: 800px;
    padding: 20px;
    text-align: center;
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
}

/* Text Fade In & Out */
.text-transition {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
}

.text-transition.active {
    opacity: 1;
    transform: translateY(0);
}



/* ============================= */
/*       DARK OVERLAY EFFECT     */
/* ============================= */

.home::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
}

/* ============================= */
/*       TEXT STYLES             */
/* ============================= */

#home-title {
    font-size: 60px;
    font-weight: 700;
    margin-bottom: 10px;
}

#home-desc {
    font-size: 22px;
    font-weight: 300;
}

/* ============================= */
/*         BUTTON STYLES         */
/* ============================= */

.btn {
    display: inline-block;
    margin-top: 20px;
    padding: 15px 30px;
    font-size: 20px;
    font-weight: 600;
    color: #000;
    background: #FFD700;
    text-decoration: none;
    border-radius: 10px;
    transition: 0.3s;
}

.btn:hover {
    background: #e6c200;
    transform: scale(1.05);
}




/* Planner Section */
#planner {
    width: 100%;
    min-height: 60vh; /* Adjusted height for better spacing */
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px); /* Frosted glass effect */
    padding: 50px 20px;
}

/* Outer Container */
.planner-container {
    width: 90%;
    max-width: 600px;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(15px);
    padding: 30px;
    border-radius: 30px; /* Increased border radius */
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.2);
}

/* Planner Form */
.planner-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Input Fields */
.planner-form input {
    width: 100%;
    padding: 15px 45px; /* Space for icons */
    font-size: 18px;
    border: none;
    border-radius: 25px; /* More rounded corners */
    outline: none;
    background: rgba(255, 255, 255, 0.6);
    color: #000;
    font-weight: 500;
    position: relative;
}

/* Input Container for Icons */
.input-container {
    position: relative;
    width: 100%;
}

/* Icons for Inputs */
.input-container i {
    position: absolute;
    top: 50%;
    left: 15px; /* Adjust icon position */
    transform: translateY(-50%);
    font-size: 20px;
    color: #555;
}

/* Search Button */
.search-btn {
    width: 100%;
    max-width: 250px;
    padding: 15px;
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    background: #FFD700;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px; /* Space between text and icon */
    margin: 20px auto;
    text-align: center;
}

/* Search Button Icon */
.search-btn i {
    font-size: 22px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .planner-container {
        width: 100%;
        padding: 20px;
    }

    .planner-form input {
        font-size: 16px;
        padding: 12px 40px;
    }

    .search-btn {
        font-size: 18px;
        padding: 12px;
    }
}


/* Destinations Section */
.destinations-section {
    text-align: center;
    padding: 50px 5%;
    background-color: #f5f5f5;
}

/* Section Title */
.destinations-section h2 {
    font-size: 40px;
    font-weight: 700;
    color: #222;
    margin-bottom: 30px;
}

/* Grid Layout for Destinations */
.destinations-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 Cards per row */
    gap: 20px;
}

/* Destination Cards */
.destination-card {
    position: relative;
    width: 100%;
    height: 250px;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    transition: transform 0.3s ease-in-out;
    overflow: hidden;
}





/* Dark Overlay for Better Readability */
.destination-card::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 12px;
}

/* Destination Info */
.destination-info {
    position: relative;
    color: white;
    text-align: center;
    padding: 15px;
    width: 100%;
    backdrop-filter: blur(4px);
    background: rgba(0, 0, 0, 0.3);
    border-radius: 0 0 12px 12px;
}

.destination-info h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 5px;
}

.destination-info p {
    font-size: 14px;
}

/* Hover Effect */
.destination-card:hover {
    transform: scale(1.05);
}

/* Responsive Design: Adjust for Smaller Screens */
@media (max-width: 1024px) {
    .destinations-container {
        grid-template-columns: repeat(3, 1fr); /* 3 Cards per row */
    }
}

@media (max-width: 768px) {
    .destinations-container {
        grid-template-columns: repeat(2, 1fr); /* 2 Cards per row */
    }
}

@media (max-width: 480px) {
    .destinations-container {
        grid-template-columns: repeat(1, 1fr); /* 1 Card per row */
    }
}





/* Packages Section */
#packages {
    width: 100%;
    padding: 80px 5%;
    text-align: center;
    background-color: #fff;
}

/* Packages Container */
.packages-container {
    display: flex;
    flex-direction: column;
    gap: 60px;
    max-width: 1200px;
    margin: auto;
}

/* Package Card */
.package-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 20px;
    transition: transform 0.3s ease-in-out, opacity 1s ease-in-out;
    opacity: 0; /* Initially hidden */
    transform: translateX(100px);
}

/* Alternating Layout */
.package-card:nth-child(odd) {
    flex-direction: row; /* Image Left, Text Right */
    transform: translateX(-100px);
}

/* Package Fade-In Effect */
.package-card.show {
    opacity: 1;
    transform: translateX(0);
}

/* Package Image */
.package-image {
    width: 50%;
    max-width: 500px; /* Prevents images from being too large */
    height: auto;
}

.package-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

/* Package Info */
.package-info {
    width: 50%;
    text-align: left;
}

#packages h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 40px;
    margin-top: -20px;
    color: #222;
}

.package-info h3 {
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 10px;
}

.package-info p {
    font-size: 18px;
    color: #444;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Package Button */
.package-btn {
    display: inline-block;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 600;
    color: white;
    background: #FFD700;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: 0.3s ease-in-out;
}

.package-btn:hover {
    background: #e6c200;
    transform: scale(1.05);
}

/* 🔹 Responsive Design - Mobile View */
@media (max-width: 768px) {
    .package-card {
        flex-direction: column;
        text-align: center;
        gap: 20px; /* Reduce spacing for better alignment */
        transform: translateX(0);
    }

    .package-image {
        width: 100%;
        max-width: 90%; /* Ensure consistency */
        height: auto;
    }

    .package-image img {
        width: 100%;
        height: 250px; /* Set a fixed height for consistency */
        object-fit: cover; /* Prevents distortion */
    }

    .package-info {
        width: 100%;
        text-align: center;
        padding: 0 10px; /* Ensures text isn't too wide */
    }

    .package-info h3 {
        font-size: 22px;
    }

    .package-info p {
        font-size: 16px;
    }

    .package-btn {
        padding: 10px 16px;
        font-size: 14px;
    }
}






/* Contact Section */
#contact {
    background-color: #111;
    color: #fff;
    padding: 80px 5%;
    text-align: center;
}

/* Contact Container */
.contact-container {
    max-width: 1200px;
    margin: 85px;
}

/* Contact Info */
.contact-info {
    text-align: center;
    margin-bottom: 30px;
}

.contact-info p {
    font-size: 20px;
    margin: 25px 0;
}

/* Social Media Icons */
.social-icons {
    margin-top: 10px;
}

.social-icons a {
    font-size: 22px;
    color: #fff;
    margin: 0 12px;
    transition: color 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.social-icons a:hover {
    color: #FFD700;
    transform: scale(1.1);
}

/* Footer Links - Proper Alignment & Spacing */
.footer-links {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    text-align: left;
    margin-top: 50px;
    gap: 80px; /* Space between different sections */
    align-items: flex-start; /* Ensures proper vertical alignment */
}

/* Individual Footer Sections */
.footer-links div {
    flex: 1;
    min-width: 240px;
    margin-bottom: 30px;
    padding: 0; /* Remove extra padding */
}

/* Footer Headings - Left Aligned */
.footer-links h3 {
    font-size: 22px;
    margin-bottom: 10px; /* Less space under headings */
    color: #fff;
    text-align: left;
    padding-left: 10px; /* Ensures alignment with list items */
}

/* Footer Lists */
.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Footer List Items */
.footer-links li {
    margin: 6px 0; /* Reduced spacing for a compact look */
    padding-left: 10px; /* Aligns with heading */
}

/* Footer Links */
.footer-links a {
    text-decoration: none;
    color: #bbb;
    font-size: 16px;
    line-height: 1.4;
    transition: color 0.3s ease-in-out;
    display: block;
    text-align: left; /* Ensures text stays left-aligned */
    padding: 2px 0;
}

.footer-links a:hover {
    color: #FFD700;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-links {
        flex-direction: column;
        align-items: center;
    }

    .footer-links div {
        width: 100%;
        max-width: 320px;
        text-align: left;
        padding: 0;
    }

    .footer-links h3 {
        text-align: left;
        padding-left: 0; /* Ensures proper alignment on small screens */
    }
}





/* Ensure Contact Section Fills the Space */
#contact {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    min-height: 100vh; /* Makes sure the section covers full height */
    padding-bottom: 30px; /* Ensures 30px spacing from the bottom */
    position: relative;
}

/* Copyright - Fixed at Bottom */
.copyright {
    width: 100%;
    text-align: center;
    font-size: 14px;
    color: #777;
    position: absolute;
    bottom: 30px; /* Keeps it 30px above the bottom of the page */
    left: 0;
    padding: 10px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2); /* Subtle separator */
}



/* Floating Call Button - Default (Circle) */
.call-button {
    position: fixed;
    right: 20px;
    bottom: 50px;
    background-color: #13bb00;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: width 0.3s ease-in-out, border-radius 0.3s ease-in-out, background-color 0.3s ease-in-out;
    cursor: pointer;
    overflow: hidden;
}

/* Phone Icon */
.call-button .icon-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    transition: left 0.3s ease-in-out;
}

/* Phone Icon SVG */
.call-button svg {
    width: 28px;
    height: 28px;
    stroke: white;
}

/* Hidden Text (Initially) */
.call-button .call-text {
    color: white;
    font-size: 18px;
    font-weight: bold;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    margin-left: 40px;
}

/* Expand on Hover */
.call-button:hover {
    width: 180px;
    border-radius: 30px;
    background-color: #00ac1a;
    justify-content: flex-start;
    padding-left: 20px;
}

/* Move Icon to Left on Expand */
.call-button:hover .icon-container {
    left: 20px;
    transform: translateX(0);
}

/* Show text when expanded */
.call-button:hover .call-text {
    opacity: 1;
}



/* Responsive Design */
@media (max-width: 768px) {
    .footer-links {
        flex-direction: column;
        text-align: center;
    }

    .footer-links div {
        margin-bottom: 25px;
    }

    .call-button {
        right: 10px;
        bottom: 30px;
        padding: 12px 20px;
    }
}



