/* Basic reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-weight: bold;
    background-color: #fff;
}

/* Header styles */
header {
    background: rgba(58, 58, 58, 0.7); 
    color: #1b1818;
    -webkit-text-stroke-color: #000;
    padding: 5px 20px; /* Increase padding for better visibility */
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 30px;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 50px; /* Add curved edges */
}

.header-left {
    display: flex;
    align-items: center;
    flex-grow: 1;
}

.logo {
    height: 100px; /* Increase the logo size */
    margin-right: 10px;
}

header h1 {
    font-size: 3rem; /* Adjust font size for better visibility */
}

nav {
    display: flex;
    align-items: center;
    margin-left: auto;
    transition: max-height 0.5s ease-in-out, visibility 0.5s ease-in-out;
    max-height: none; /* Unrestricted height for large screens */
    visibility: visible;
}

.nav-container {
    display: flex;
}

nav a {
    color: #eeebeb;
    text-shadow: #000;
    padding: 10px 12px;
    text-decoration: none;
    text-transform: uppercase;
    font-size: large;
    transition: color 0.3s, transform 0.3s;
}

nav a:hover {
    color: #aa7d01;
    transform: translateY(-5px);
}

nav a.active {
    font-weight: bold;
    color: #aa7d01;
    border-bottom: 2px solid #aa7d01;
}

/* Hide the hamburger button on large screens */
.show-menu-btn {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
}

/* Mobile view: Combine header and navigation into one rectangle */
@media (max-width: 768px) {
    header {
        border-radius: 0; /* Remove rounded edges for mobile */
        padding: 10px 0; /* Adjust padding */
    }

    .show-menu-btn {
        display: block; /* Show the hamburger menu button */
    }
    
    nav {
        flex-direction: column;
        max-height: 0; /* Initially hide */
        visibility: hidden; /* Initially hidden */
        overflow: hidden; /* Ensure no overflow */
        position: absolute;
        top: 120px; /* Adjust position */
        left: 0;
        width: 100%;
        background: rgba(58, 58, 58, 0.7); /* Same background as header */
        border-radius: 0; /* Remove rounded edges */
        padding: 10px 0; /* Adjust padding */
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    nav.active {
        max-height: 500px; /* Allow it to expand */
        visibility: visible;
        transition: max-height 0.5s ease-in-out, visibility 0.5s ease-in-out;
    }

    nav a {
        text-align: center;
        color: #eeebeb;
        text-transform: uppercase;
        font-size: 12px; /* Adjust font size for mobile */
        padding: 10px; /* Add padding for links */
    }
    
    nav a:hover {
        color: #aa7d01;
        transform: translateY(-5px);
    }
}

/* Reset body margins and padding */
body, html {
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

/* Slideshow */
.slideshow {
    position: relative;
    width: 100vw;
    height: 100vh;
    
}

.slides {
    display: flex;
    width: 100%;
    height: 100%;
    transition: opacity 1s ease-in-out;
}

.slide {
    flex: 1 0 100%;
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide.active {
    opacity: 1;
}

/* Slideshow Text Styling for Larger Screens */
.slide-text {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translate(-50%, -20%); /* This shifts the text up */
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    padding: 20px;
    padding-bottom: 30px; /* Adjust this padding to move text up */
    text-align: center;
    max-width: 80%;
    font-size: 3rem;
    z-index: 10;
}



/* Adjustments for Tablets */
@media (max-width: 1024px) {
    .slide-text {
        
        font-size: 2.5rem; /* Slightly smaller font size for tablets */
    }
}

/* Adjustments for Mobile Devices */
@media (max-width: 768px) {
    .slide-text {
        bottom: 50px; /* Adjust this for mobile */
        font-size: 1.9rem; /* Smaller font size for mobile phones */
    }
}

/* Further Adjustments for Very Small Mobile Devices */
@media (max-width: 480px) {
    .slide-text {
        font-size: 1.3rem; /* Even smaller font size for very small screens */
    }
}


.next-section-btn {
    position: absolute; /* Keep the button relative to the container */
    bottom: 20px; /* Maintain distance from the bottom */
    left: 50%; /* Horizontally center it in the parent container */
    transform: translateX(-50%); /* Ensure exact centering */
    padding: 10px 20px;
    background-color: #b67401;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.2rem;
    transition: background-color 0.3s;
    z-index: 1000; /* Ensures button stays above other content */
    white-space: nowrap; /* Prevents text from wrapping to a new line */
}

.next-section-btn:hover {
    background-color: #555;
}


/* Navigation dots */
.dot-container {
    text-align: center;
    padding: 10px 0;
}

.dot {
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active-dot {
    background-color: #717171;
}
/* About Section */
.about {
    position: relative;
    margin: 0;
    overflow: hidden;
}

.about-content {
    margin: 20px;
}

.about-title {
    font-size: 1.2rem;
    font-family: 'Courier New', Courier, monospace;
    margin: 20px;
    color: #00913c;
}

.about-content p {
    font-size: 1.2rem;
    color: #1a1a1a;
}

.about-image {
    position: relative;
    width: 100%;
    height: 500px;
}

.about-image img {
    width: 100%;
    height: 70%;
    object-fit: cover;
}

.opening-hours {
    position: absolute;
    top: 80px;
    right: 40px;
    background: #e9e8e8;
    border-top: 8px solid #b60101;
    border-radius: 10px;
    padding: 20px;
    max-width: 300px;
    z-index: 50;
}

.shape {
    background: #e9e8e8;
    border-radius: 10px;
    padding: 10px;
}

.shape h3 {
    margin-top: 0;
    color: #b60101;
}

.shape p {
    margin: 0;
}

/* Services Section */
.services-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between; /* More consistent spacing */
    width: 100%;
    margin: 20px 0;
    padding: 20px 20px; /* Adds space to the left and right of the services */
}

.service {
    position: relative;
    width: 48%; /* Ensures two items per row with consistent width */
    margin-bottom: 20px; /* Adds space between rows */
    display: flex; /* Use flexbox to center the content */
    justify-content: center; /* Centers child elements horizontally */
    align-items: center; /* Centers child elements vertically */
}

.service img {
    width: 100%; /* Set consistent width */
    height: 300px; /* Set a fixed height for all images */
    object-fit: cover; /* Ensures the images fill the space without distortion */
    border-radius: 10px;
}



.service-text {
    position: absolute; /* Position relative to .service */
    bottom: 10px; /* Position near the bottom of the image */
    left: 10px; /* Align text to the left */
    color: #fff;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background for text */
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 1.2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    z-index: 2; /* Ensure the text is above the image */
}

/* Responsive layout: show only one image per row on smaller screens */
@media (max-width: 768px) {
    .service {
        width: 100%; /* On smaller screens, take up full width, showing one image per row */
    }

    .service img {
        height: 250px; /* Adjust image height for smaller screens */
    }
}

/* Download Section */
.download-section {
    text-align: center;
    padding: 20px;
}

.download-section h1 {
    margin-bottom: 20px;
}

.app-links {
    display: flex;
    justify-content: center;
    gap: 20px; /* Adjust spacing between icons */
}

.app-links a {
    display: block; /* Ensure the link is block-level for better control */
}

.app-links img {
    height: 75px; /* Set icon size */
    border-radius: 8px;
    border: 1px solid #ddd;
}

/* Style for navigation dots */
.dot {
    height: 15px;
    width: 15px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    margin: 0 5px;
    cursor: pointer;
}

.dot.active {
    background-color: #717171;
}
/* SVG Preview Section */
.svg-preview {
    display: flex;
    justify-content: center;
    gap: 20px; /* Space between the SVG images */
    padding-top: 20px;
}

.svg-image {
    width: 300px; /* Adjust size as needed */
    height: auto; /* Maintain aspect ratio */
}

.svg-image.active {
    border-color: #000; /* Highlight active image (optional) */
}

/* Positioning and styling for the icon buttons */
.svg-buttons {
    display: flex;
    justify-content: space-between;
    width: 100px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    right: 0;
    margin: auto;
}

.svg-buttons button {
    background-color: transparent;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

.svg-buttons button i {
    color: #000;
}

/* Styling for the navigation dots */
.svg-dots {
    text-align: center;
    margin-top: 20px;
}

.dot {
    height: 12px;
    width: 12px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    margin: 0 5px;
    cursor: pointer;
}

.dot.active {
    background-color: #000; /* Active dot color */
}

/* Ensure this only applies to mobile screens */
@media (max-width: 768px) {
    .svg-preview {
        display: flex;
        flex-direction: column;
        align-items: center;
        position: relative; /* Ensure the container is positioned relative */
    }

    .svg-preview .svg-image.active {
        display: block; /* Only display the active SVG */
    }

    .svg-buttons {
        display: flex;
        justify-content: space-between;
        position: relative;
        top: -50px; /* Adjust this to position the buttons vertically */
        width: 100%;
        align-items: center;
    }
    
    .svg-buttons button {
        background: none;
        border: none;
        font-size: 24px; /* Size of the chevron */
        cursor: pointer;
        color: #000; /* Set color for the chevron */
        padding: 0 20px;
    }
    
    .svg-buttons button i {
        font-size: 32px; /* Set the size of the Font Awesome chevrons */
    }
    
    .svg-buttons button:hover {
        color: #f39c12; /* Change color when hovering */
    }
    
    .svg-preview {
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .svg-image {
        display: none;
    }
    
    .svg-image.active {
        display: block;
    }
    
    .svg-dots {
        text-align: center;
        margin-top: 20px;
    }
    
    .svg-dots .dot {
        height: 15px;
        width: 15px;
        margin: 0 5px;
        background-color: #bbb;
        border-radius: 50%;
        display: inline-block;
    }
    
    .svg-dots .dot.active {
        background-color: #f39c12;
    }
}    
    
/* Contact Us Section (now Location Section) */
.contact-us {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 40px 0;
    background-color: #c0c0c0; /* Light gray background */
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    position: relative; /* Ensure this is positioned correctly */
    z-index: 1; /* Bring it above other content */
}

.contact-form, .contact-details {
    flex: 1;
    min-width: 300px;
    padding: 20px;
    max-width: 48%; /* Adjust to make the map and details fit */
}

.contact-form h2, .contact-details h2 {
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: #333;
}

/* Resize the map to fit better */
.contact-form iframe {
    width: 100%;
    height: 400px;
    border-radius: 10px;
}

/* Adjust layout for mobile phones */
@media (max-width: 768px) {
    .contact-us {
        flex-direction: column; /* Stack elements vertically */
    }

    .contact-form, .contact-details {
        max-width: 100%; /* Full width on mobile */
        padding: 10px;
    }

    .contact-form iframe {
        height: 400px; /* Increase height for mobile */
    }
}
/* Location Section */
.contact-us {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 40px 0;
    background-color: #c0c0c0; /* Light gray background */
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.contact-form, .contact-details {
    flex: 1;
    min-width: 300px;
    padding: 20px;
    max-width: 48%; /* Adjust to make the map and details fit */
}

.contact-form h2, .contact-details h2 {
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: #333;
}

/* Resize the map to fit better */
.contact-form iframe {
    width: 100%;
    height: 400px;
    border-radius: 10px;
}

/* Adjust layout for mobile phones */
@media (max-width: 768px) {
    .contact-us {
        flex-direction: column; /* Stack elements vertically */
    }

    .contact-form, .contact-details {
        max-width: 100%; /* Full width on mobile */
        padding: 10px;
    }

    .contact-form iframe {
        height: 400px; /* Increase height for mobile */
    }
}

/* Contact details section styling */
.contact-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; /* Center align the details and social media */
}

.contact-details p {
    margin-bottom: 10px;
    font-size: 1.2rem;
    color: #333;
}

.social-media {
    display: flex;
    justify-content: center; /* Center the icons horizontally */
    gap: 20px; /* Space between icons */
    margin-top: 20px;
}

.social-media a {
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-media img {
    width: 60px; /* Keep Instagram and Snapchat icons the same size */
    filter: grayscale(100%);
    transition: filter 0.3s;
}

.social-media .whatsapp img {
    width: 180px; /* Keep the WhatsApp logo size */
    filter: none; /* Maintain original color */
}

.social-media a:hover img {
    filter: grayscale(0%); /* Change to color on hover */
}

html {
    scroll-behavior: smooth;
}

footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    width: 100%;
    bottom: 0;
}
