/* General Styling */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

nav {
    background-color: #333;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
}

.hero {
    background-image: url('images/hero-bg.jpg'); /* Replace with your hero image */
    height: 100vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
}

.hero .cta {
    margin-top: 20px;
    background-color: #f8b400;
    padding: 10px 20px;
    color: black;
    text-decoration: none;
}

.container {
    width: 80%;
    margin: 0 auto;
    padding: 40px 0;
}

h2 {
    text-align: center;
    margin-bottom: 20px;
    text-decoration: underline;
    text-decoration-color: #f8b400;
    text-underline-offset: 4px;
}



.key-feature {
    list-style-type: none; /* Removes default bullets */
    padding: 0;
    margin: 20px 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.key-feature li {
    position: relative;
    padding: 10px 20px;
    padding-left: 25px;
    margin-bottom: 10px;
    background-color: #f8f8f8;
    border-radius: 8px;
    font-size: 1.1em;
    color: #333;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.key-feature li::before {
    content: "•"; /* Custom icon */
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2em;
    color: #f8b400;
    margin-right: 5px;
}

.key-feature li:hover {
    transform: translateY(-3px); /* Hover effect */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    background-color: #fffbe0;
}

.key-feature li:last-child {
    margin-bottom: 0; /* Removes bottom margin for the last item */
}



#map iframe {
    width: 100%;
    height: 450px;
}

.gallery-container {
    position: relative; /* Position relative to contain absolute elements */
    max-width: 800px; /* Adjust max width as needed */
    margin: 0 auto; /* Center align */
}

.gallery-slider {
    display: flex;
    overflow: hidden;
    width: 100%;
    position: relative;
}

.slide {
    min-width: 100%; /* Ensure each slide takes up the full width */
    transition: transform 0.5s ease-in-out;
    /* Add these properties for centering */
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white; /* Optional: Set background color for better visibility */
}

img {
    width: 100%; /* Make images responsive */
    height: auto; /* Maintain aspect ratio */
    display: block; /* Ensure no extra space below the image */
}


#prev-slide {
    position: absolute; /* Positioning to overlay on the slider */
    left: 10px;
    top: 50%;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
}

#next-slide {
    position: absolute; /* Positioning to overlay on the slider */
    right: 10px;
    top: 50%;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
}


form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 50%;
    margin: 0 auto;
}

form input, form textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

form button {
    padding: 10px 20px; /* Button padding */
    background-color: #f8b400;
    border: none;
    color: white;
    cursor: pointer;
    align-self: center; /* Center button horizontally */
    width: 150px; /* Set button width */
}

footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 10px 0;
}

footer p {
    margin: 0;
}

/* Media Query for Mobile and Tablet */
@media (max-width: 768px) {
    nav {
        flex-direction: column; /* Stack navigation items vertically */
        align-items: flex-start; /* Align items to the start */
    }

    nav ul {
        flex-direction: column; /* Stack the list items vertically */
        gap: 10px; /* Reduce the gap between items */
    }

    .hero h1 {
        font-size: 2rem; /* Smaller font size for the hero heading */
    }

    .container {
        width: 90%; /* Make the container a bit wider */
        padding: 20px 0; /* Reduce vertical padding */
    }

    h2 {
        font-size: 1.5rem; /* Smaller font size for headings */
    }

    .key-feature li {
        font-size: 1em; /* Adjust font size for key features */
        padding: 10px; /* Reduce padding */
    }

    #map iframe {
        height: 300px; /* Reduce map height on smaller screens */
    }

    form {
        width: 100%; /* Full width for the form on mobile */
    }

    form input, form textarea {
        width: 100%; /* Make inputs full width */
    }

    form button {
        width: 100%; /* Make button full width */
    }

    .gallery-slider {
        flex-direction: column; /* Stack slides vertically */
    }

    .slide {
        min-width: 100%; /* Each slide should still take full width */
    }

    footer {
        font-size: 0.9rem; /* Slightly smaller footer text */
    }
}


/* Media Query for Mobile and Tablet */
@media (max-width: 768px) {
    /* Existing styles for other sections */

    .gallery-slider {
        flex-direction: column; /* Stack slides vertically */
        align-items: center; /* Center align the slides */
    }

    .slide {
        min-width: 100%; /* Each slide should still take full width */
        /* Adjust padding or margins for better spacing */
        padding: 10px; /* Optional: add padding around slides */
    }

    .slide img {
        width: 90%; /* Slightly smaller width for images */
        height: auto; /* Maintain aspect ratio */
        max-height: 300px; /* Limit the maximum height for better fit */
    }

    #prev-slide,
    #next-slide {
        padding: 5px; /* Reduce button padding */
        font-size: 0.8rem; /* Smaller button text */
    }
}
