/* General styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
}

header {
    background-color: #4CAF50;
    padding: 10px 0;
    text-align: center;
}


/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    position: relative;
    background: #45a049 ;
}

.navbar .logo{
    font-weight: bold;
    color: #fff;
    font-size: x-large;
}
/* Logo */
.navbar .logo img {
    height: 50px; /* Adjust height of logo */
    width: auto; /* Maintain aspect ratio */
}
.nav-links {
    list-style-type: none;
    display: flex;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
}

/* Collapsible Menu - Mobile View */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
}

/* Default Nav Links - Mobile Hidden */
.nav-links {
    transition: all 0.3s ease-in-out;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;  /* Show the hamburger menu on small screens */
    }

    .nav-links {
        display: none;
        flex-direction: column;
        background-color: #45a049;
        position: absolute;
        top: 60px;
        right: 0;
        width: 100%;
        text-align: left;
        padding: 15px;
        z-index:10;
    }

    .nav-links.active {
        display: flex; /* Show the menu when the 'active' class is added */
    }

    .nav-links li {
        margin: 10px 0;
    }
}



/* Home Section */
#home {
    text-align: center;
    padding: 40px;
    background-color: #81C784;
    color: white;
}

#home h1 {
    font-size: 36px;
}

/* Services Section */
#services {
    padding: 50px;
    text-align: center;
    background-color: #fff;
}

#services h2 {
    font-size: 30px;
}

.service {
    display: inline-block;
    width: 220px;
    margin: 20px;
    text-align: center;
}

.service i {
    font-size: 48px;
    color: #4CAF50;
}

.service h3 {
    font-size: 20px;
    margin-top: 10px;
}

.service p {
    font-size: 16px;
    color: #666;
}

/* About Section */
#about {
    padding: 50px;
    background-color: #f0f0f0;
    text-align: center;
}

#about h2 {
    font-size: 30px;
}

/* Contact Section */
#contact {
    padding: 50px;
    text-align: center;
    background-color: #ffffff;
}

#contact form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

#contact input, #contact textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ddd;
}

#contact button {
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
}

footer {
    background-color: #4CAF50;
    color: white;
    text-align: center;
    padding: 10px 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .service {
        width: 100%;
        margin: 10px 0;
    }

    nav ul {
        text-align: center;
    }

    nav ul li {
        display: block;
        margin: 10px 0;
    }
}


/* Service Category Styling */
.service-category {
    cursor: pointer;
    padding: 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    text-align: left;
    width: 48%;  /* Adjust width to fit two categories side by side */
    font-size: 18px;
    margin-bottom: 20px;
    border-radius: 5px;
}

.service-list {
    display: none;
    margin-left: 20px;
}

.service-list i {
    margin-right: 10px;
}

.service-category:focus, .service-category:hover {
    background-color: #45a049;
}

/* Booking Form Styling */
.cta-btn {
    display: inline-block;
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 10px;
    cursor: pointer;
}

.cta-btn:hover {
    background-color: #45a049;
}

.form-container {
    margin-top: 20px;
}

.form-container input, .form-container textarea, .form-container select {
    width: 100%;
    padding: 10px;
    margin: 5px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.form-container button {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

.form-container button:hover {
    background-color: #45a049;
}


/* Center the Booking Form */
#Book {
    padding: 50px;
    text-align: center;
    background-color: #ffffff;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

#Book form {
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#Book label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

#Book input, #Book select, #Book textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
}

#Book button {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

#Book button:hover {
    background-color: #45a049;
}


/* Ensure input fields like phone are responsive */
input[type="tel"], input[type="email"], input[type="text"], input[type="date"], textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ddd;
}



/* Style for the image slider */
.slider {
    position: relative;
    width: 100%;        /* Full width of its container */
    height: 30vh;      /* Full height of the viewport */
    overflow: hidden;   /* Hide any overflow */
}

/* Ensure the images cover the entire container without being cut off */
.slider img {
    position: absolute;  /* Ensure the images stack on top of each other */
    top: 50%;            /* Center the image vertically */
    left: 50%;           /* Center the image horizontally */
    width: auto;         /* Ensure the image spans the full width */
    height: auto;        /* Ensure the image spans the full height */
    object-fit: contain;   /* Ensure the image covers the container area without distortion */
    object-position: center;  /* Center the image in the container */
    opacity: 0;          /* Initially hide the images */
    transition: opacity 1s ease-in-out; /* Smooth transition for fade effect */
    transform: translate(-50%, -50%) scale(0.75); /* Center the image and scale to 25% */


}

/* Display the active image */
.slider img.active {
    opacity: 1;
}

/* Navigation buttons */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 20px;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}


/* Style for the Scroll to Top button */
#scrollToTopBtn {
    position: fixed;
    bottom: 20px; /* Adjust position */
    right: 20px; /* Adjust position */
    background-color: green; /* Green color */
    color: white;
    border: none;
    padding: 15px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    opacity: 0.7;
    display: none; /* Hidden by default */
    transition: opacity 0.3s ease;
}

#scrollToTopBtn:hover {
    opacity: 1;
}