/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&family=Roboto:wght@400;700&family=Lora:wght@400;700&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: white;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
    /* Prevent horizontal scrolling */
    max-width: 100%;
    /* Ensure body doesn't exceed the viewport width */
}

/* Optional: Use this to center your content and set a fixed max width for the layout */
.container {
    width: 100%;
    max-width: 1200px;
    /* You can change this to any fixed size */
    margin: 0 auto;
    /* Centers content horizontally */
    padding: 0 20px;
    /* Optional padding */
}

header {
    background-color: #333;
    color: white;
    padding: 20px 0;
    text-align: center;
    font-family: 'Lora', serif;
    position: relative;
    letter-spacing: 1px;
    border-radius: 15px;
    /* Rounded corners for the header */
    overflow: hidden;
    /* Ensures content inside the header stays within rounded corners */
    margin-top: 30px;
    /* Push the header down from the top */
    margin-left: 20px;
    /* Add space on the left */
    margin-right: 20px;
    /* Add space on the right */
    width: calc(100% - 40px);
    /* Make header full width, considering the margins */
    box-sizing: border-box;
    /* Include padding in width calculation */
}

header nav a {
    color: white;
    margin: 0 15px;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 1.1em;
    letter-spacing: 1px;
    transition: color 0.3s;
}

header nav a:hover {
    color: #ff6347;
}

.hamburger {
    display: none;
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1001;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px;
    transition: 0.3s;
}

header img {
    height: 50px;
    position: absolute;
    left: 20px;
    top: 20px;
    border-radius: 10px;
    /* Add this line to make corners rounded */
}

.nav-logo {
    height: 50px;
    position: absolute;
    left: 20px;
    top: 10px;
}


.popup-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.popup-nav a {
    color: white;
    text-decoration: none;
    font-size: 2em;
    margin: 20px;
    text-transform: uppercase;
    font-weight: 600;
}

.popup-nav a:hover {
    color: #ff6347;
}

section {
    padding: 50px 20px;
    margin: 0 20px;
}

.home-content,
section {
    background-color: white;
    /* Set the background color for all sections to white */
}
.home-content {
    display: -webkit-flex; /* For Safari */
    display: flex;
}


/* Modify other sections accordingly */
#home,
#tours, #destinations
#discoverer,
#about,
#blog,
#contact {
    background-color: white;
    /* Ensure all sections have a white background */
}

section h3,
section h2,
section h1 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 2.5em;
    font-weight: 600;
    color: #333;
    font-family: 'Roboto', sans-serif;
    /* Use Roboto for section titles */
}




section p {
    text-align: center;
    text-wrap: balance;
    font-size: 1.2em;
    line-height: 1.8;
    color: #555;
    font-family: 'Roboto', sans-serif;
    max-width: 700px;
    margin: 0 auto;
}








.card-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.card {
    background-color: white;
    border-radius: 8px;
    width: 300px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s;
    font-family: 'Poppins', sans-serif;
}

.card:hover {
    transform: scale(1.05);
}

.card img {
    width: 100%; /* Ensures the image takes up the full width of its container */
    height: 180px; /* Fixed height for all images */
    object-fit: cover; /* Ensures the image covers the space without distortion */
    border-radius: 8px; /* Rounded corners for the image */
}


.card-link {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 20px;
    background-color: #333;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.card-link:hover {
    background-color: #ff6347;
}


footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 10px;
    position: relative;
    bottom: 0;
    width: 100%;
    font-family: 'Lora', serif;
}
.footer-links a {
    color: white;
}


/* Style for social media icons */
.social-media-icons {
    margin-top: 10px;
}

.social-media-icons a {
    color: white;
    margin: 0 15px;
    font-size: 1.5em;
    text-decoration: none;
    transition: color 0.3s;
}

.social-media-icons a:hover {
    color: #b94f3c;
}

.social-icon {
    margin: 0 10px;
    font-size: 2em;
}

/* Gallery Section */
.gallery-section {
    padding: 50px 20px;
    text-align: center;
}

.gallery-section h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
    font-weight: 600;
}

.gallery-section p {
    font-size: 1.2em;
    line-height: 1.6;
    color: #555;
    margin-bottom: 30px;
}

.gallery-container {
    display: -ms-grid;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    justify-items: center;
}

.gallery-item img {
    width: 100%; /* Ensure full width */
    height: 250px; /* Fixed height for all images */
    object-fit: cover; /* Ensures the image covers the area without distortion */
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

/* Additional image settings */
.gallery-item img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}


.tour-detail img {
    width: 100%;
    height: auto; /* For other image types */
}

section h1, section h2, section h3 {
    font-size: 2rem; /* Adjust based on screen size */
}


form input,
form textarea,
form button {
    font-family: 'Poppins', sans-serif;
    padding: 12px;
    width: 100%;
    border-radius: 5px;
    border: 1px solid #ddd;
    margin-bottom: 15px;
}

form input,
form textarea {
    font-size: 1em;
}

form button {
    background-color: #333;
    color: white;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

form button:hover {
    background-color: #ff6347;
}

.mapouter {
    position: relative;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 400px;
    margin: 0 auto;
}

.gmap_canvas {
    overflow: hidden;
    background: none !important;
    width: 600px;
    height: 400px;
}

.gmap_iframe {
    width: 600px !important;
    height: 400px !important;
}

/* Style the button */
#quote-btn {
    background-color: #333;
    color: white;
    font-weight: 600;
    padding: 12px 20px;
    font-size: 1.1em;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    position: fixed;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    z-index: 999;
}

#quote-btn:hover {
    background-color: #ff6347;
}

/* Style the popup */
.quote-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

/* Popup content */
.quote-popup-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 80%;
    max-width: 600px;
    text-align: center;
}

/* Close button */
.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 30px;
    color: #333;
    cursor: pointer;
}

/* Style form inputs */
.quote-popup form input,
.quote-popup form select,
.quote-popup form textarea,
.quote-popup form button {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid #ddd;
}

.quote-popup form button {
    background-color: #333;
    color: white;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

.quote-popup form button:hover {
    background-color: #ff6347;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 30px;
    color: #333;
    cursor: pointer;
}

#home {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    /* Ensures both columns have the same height */
    padding: 50px 20px;
}

.home-content {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    width: 100%;
}

.text-content {
    flex: 1;
    padding-right: 20px;
    max-width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Centers text vertically */
}

.text-content h2 {
    font-size: 2.5em;
    margin-bottom: 15px;
    line-height: 1.2;
    /* Adjust line height to fit content better */
}

.text-content p {
    font-size: 1.2em;
    line-height: 1.5;
    /* Adjust line height to ensure the text fits */
    color: #555;
    font-family: 'Roboto', sans-serif;
    flex-grow: 1;
    /* Allow the paragraph to grow and take available space */
    display: flex;
    align-items: center;
    /* Vertically center the paragraph */
}

.image-collage {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    max-width: 45%;
    /* Makes sure images don't take more than half */
}

.image-collage img {
    width: 48%;
    /* Keeps images in a grid-like format */
    border-radius: 8px;
    height: 150px;
    /* Adjust image size */
    object-fit: cover;
}

header {
    background-color: #333;
    /* Keep the existing color for the navigation bar */
    color: white;
    padding: 20px 0;
    text-align: center;
    font-family: 'Lora', serif;
    position: relative;
    letter-spacing: 1px;
}

header nav a {
    color: white;
    margin: 0 15px;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 1.1em;
    letter-spacing: 1px;
    transition: color 0.3s;
}

header nav a:hover {
    color: #ff6347;
}

.hamburger {
    display: none;
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1001;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px;
    transition: 0.3s;
}

header img {
    height: 50px;
    position: absolute;
    left: 20px;
    top: 20px;
    border-radius: 10px;
    /* Add this line to make corners rounded */
}


.popup-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.popup-nav a {
    color: white;
    text-decoration: none;
    font-size: 2em;
    margin: 20px;
    text-transform: uppercase;
    font-weight: 600;
}

.popup-nav a:hover {
    color: #ff6347;
}

header img {
    height: 50px;
    position: absolute;
    left: 20px;
    top: 20px;
    border-radius: 10px;
}

header nav {
    text-align: center;
}

header nav a {
    color: white;
    /* White text color for links */
    margin: 0 15px;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 1.1em;
}

header nav a:hover {
    color: #ff6347;
}

/* Tour detail page styling */
.tour-detail {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    /* Ensure both items stretch to equal height */
    padding: 50px;
    background-color: #ffffff;
    /* White background for the tour detail section */
    max-width: 1000px;
    /* Limit width */
    margin: 0 auto;
    /* Centers the content */
}

.tour-text {
    width: 60%;
    /* Adjust width of the text */
    font-size: 1.2em;
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* Make sure the paragraph takes up the full available height */
}

.tour-text p {
    margin-bottom: 20px;
}

.tour-detail img {
    width: 35%;
    /* Adjust the width of the image */
    border-radius: 8px;
    height: 100%;
    /* Set the image to take the full height */
    object-fit: cover;
    /* Ensures the image maintains aspect ratio and covers the area */
}
a {
    text-decoration: none; /* Removes underline from links */
}
/* Style the slideshow container */
/* Slideshow Container */
.slideshow-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: auto;
}

/* Hide all images by default */
.mySlides {
    display: none;
}

/* Fading transition effect */
.fade {
    animation-name: fade;
    animation-duration: 2s;
}

/* Text positioning */
.text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 24px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
    background-color: rgba(0, 0, 0, 0.5); /* Optional: Adds a semi-transparent background for readability */
    padding: 10px;
    border-radius: 8px; /* Optional: For rounded corners */
}

/* Slideshow Images */
.mySlides img {
    width: 500px; /* Fixed width for all images */
    height: 300px; /* Fixed height for all images */
    object-fit: cover; /* Ensures the image fills the space without distortion */
    border-radius: 8px; /* Rounded corners for the image */
    position: relative; /* Ensures text is positioned relative to the container */
    transition: transform 0.5s ease; /* Smooth zoom transition */
}
.mySlides img:hover {
    transform: scale(1.1); /* Zoom in the image slightly on hover */
}

.mapouter {
    position: relative;
    text-align: right;
    width: 100%;
    /* Make it 100% width to fit any screen */
    height: 400px;
}

.gmap_canvas {
    overflow: hidden;
    background: none !important;
    width: 100%;
    height: 100%;
}

.gmap_iframe {
    width: 100% !important;
    /* Use 100% width for responsiveness */
    height: 100% !important;
}

/* Fade animation */
@keyframes fade {
    0% { opacity: 0; }
    50% { opacity: 1; }
    100% { opacity: 0; }
}


/* Keyframes for fade effect */
@keyframes fade {
    from {
        opacity: 0.4;
    }
    to {
        opacity: 1;
    }
}

/* Media Queries for Mobile Responsiveness */
@media (max-width: 768px) {
    .image-collage img {
        width: 100%; /* Make images stack on smaller screens */
    }
    header nav {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .popup-nav {
        display: none;
        /* Set default display to none */
    }

    .tour-detail {
        flex-direction: column;
        text-align: center;
    }

    .tour-text {
        width: 100%;
        margin-bottom: 20px;
    }

    .tour-detail img {
        width: 80%;
        margin: 0 auto;
        height: auto;
        /* Let the image resize appropriately on small screens */
    }

    #home {
        flex-direction: row;
        /* Keeps the layout in a row on larger screens */
    }

    .hamburger {
        display: block;
    }

    .popup-nav {
        display: none;
        /* Set default display to none */
    }

    #quote-btn {
        left: 10px;
        /* Adjust for smaller screens */
    }

    .nav-logo {
        height: 30px;
        position: absolute;
        left: 20px;
        top: 5px;
    }

    #home {
        flex-direction: column;
        /* Stack the content vertically */
        align-items: center;
        /* Center align both sections */
        padding: 30px 10px;
    }

    .home-content {
        flex-direction: column;
        /* Stack text and images vertically */
        justify-content: flex-start;
        /* Align items to the start */
    }

    .text-content {
        max-width: 100%;
        /* Allow the text to take full width on small screens */
        padding-right: 0;
        /* Remove right padding */
        margin-bottom: 20px;
        /* Add space between text and images */
        text-align: center;
        /* Center text on small screens */
    }

    .image-collage {
        max-width: 100%;
        /* Allow images to take full width */
        justify-content: center;
        /* Center images on mobile */
    }

    .image-collage img {
        width: 48%;
        /* Keep the images at 48% width to keep the collage look */
        margin-bottom: 10px;
        /* Add space between images */
    }

    section h3,
    section h2,
    section h3,
    section h2,
    section h1 {
        text-align: left;
        /* Justifies the text */
        margin-bottom: 20px;
        font-size: 1.5em;
        font-weight: 600;
        color: #333;
        font-family: 'Roboto', sans-serif;
        /* Use Roboto for section titles */
    }
   
    /* section p {
        text-wrap: balance;
        font-size: 1.0em;
        line-height: 1.5;
        color: #555;
        font-family: 'Roboto', sans-serif;
        margin: 0 auto;
    } */
    section p {
        text-align: start;
        font-size: 1.0em;
        line-height: 1.5;
        color: #555;
        font-family: 'Roboto', sans-serif;
        max-width: 700px;
        margin: 0 auto;
    }
    
    .mapouter {
        height: 250px;
        /* Adjust map height for smaller screens */
    }

    .gmap_iframe {
        height: 250px !important;
        /* Make iframe smaller on mobile */
    }
}