html {
    scroll-padding-top: 80px; /* Adjust this based on the height of your header */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
}

/* Header Styles */
header {
    background-color: #333;
    color: #fff;
    padding: 15px 0;
    position: fixed; /* Change to fixed to keep it at the top */
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: transform 0.3s ease; /* Smooth transition for hiding */
}

header.hidden {
    transform: translateY(-100%); /* Move header out of view */
}


.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo img {
    height: 60px;
    width: auto;
}

.navbar ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.navbar a {
    position: relative;
    padding: 10px 20px;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    border-radius: 12px;
    background: none;
    cursor: pointer;
    overflow: hidden;
    transition: color 0.3s ease, font-weight 0.3s ease;
}

.navbar a:hover {
    font-weight: bold;
    color: #fff;
}

/* Footer Styles */
footer {
    background-color: #222;
    color: #ccc;
    padding: 40px 0;
}

.footer-container {
    display: flex;
    flex-direction: column; /* Stack footer items vertically on mobile */
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-about, .footer-links, .footer-contact {
    text-align: center;
    padding: 10px 0;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    background-color: #111;
    color: #888;
    font-size: 14px;
}

/* Main Image Gallery Styles */
.image-gallery {
    text-align: center;
    padding: 50px 20px;
}

.image-gallery h2 {
    font-size: 2em;
    margin-bottom: 20px;
    color: #333;
}

.gallery {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.service {
    position: relative;
    width: 100%;
    max-width: 300px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.service img {
    width: 100%;
    height: auto;
    display: block;
}

.service-info {
    position: absolute;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    width: 100%;
    padding: 10px;
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.service:hover {
    transform: scale(1.05);
}

.service:hover .service-info {
    transform: translateY(0);
}

/* About Us Section Styles */
.about-us {
    padding: 50px 20px;
    text-align: center;
    background-color: #f9f9f9;
}

.about-us h2 {
    font-size: 2em;
    margin-bottom: 30px;
    color: #333;
}

.team-container {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.team-member {
    width: 200px;
    text-align: center;
    transition: transform 0.3s;
}

.team-member:hover {
    transform: scale(1.05);
}

.team-member img {
    width: 100%;
    height: auto;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.team-member h3 {
    font-size: 1.2em;
    margin: 10px 0 5px;
    color: #333;
}

.team-member p {
    color: #777;
    font-size: 1em;
}

/* Homepage Section Styling */
.homepage {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 50px 20px;
    background-image: url('img/background.jpeg'); /* Add the path to your background image */
    background-size: cover;      /* Ensure the background covers the entire section */
    background-position: center; /* Center the background image */
    background-repeat: no-repeat;/* Prevent the image from repeating */
    color: #fff;                 /* Adjust text color for better readability */
}

.slogan {
    flex: 1;
    padding-right: 20px;
}

.slogan h1 {
    font-size: 2.5em;
    color: #ffffff;
    font-weight: bold;
    margin-bottom: 10px;
}

.slogan p {
    font-size: 1.2em;
    color: #ffffff;
}

/* Slider Styles */
.slider {
    flex: 1;
    position: relative;
    width: 100%;
    max-width: 1000px;
    height: 400px;
    margin-right: 50px;
    margin-top: 100px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(194, 32, 32, 0.1);
}

.slide {
    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;
}

/* Booking Section Styles */
.booking-section {
    padding: 40px;
    background-color: #f9f9f9; /* Light background for contrast */
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    margin: 20px auto; /* Center the section */
    max-width: 600px; /* Limit the width */
}

.booking-section h2 {
    text-align: center; /* Center the heading */
    color: #333; /* Dark text color */
    margin-bottom: 20px; /* Space below the heading */
}

.booking-form {
    display: flex; /* Use flexbox for layout */
    flex-direction: column; /* Stack items vertically */
}

.booking-form label {
    margin-bottom: 5px; /* Space below labels */
    font-weight: bold; /* Bold labels */
}

.booking-form input,
.booking-form select {
    padding: 10px; /* Padding inside inputs */
    margin-bottom: 15px; /* Space below inputs */
    border: 1px solid #ccc; /* Light border */
    border-radius: 4px; /* Rounded corners */
    font-size: 16px; /* Font size */
}

.booking-form input:focus,
.booking-form select:focus {
    border-color: #000000; /* Change border color on focus */
    outline: none; /* Remove default outline */
}

.booking-form button {
    padding: 10px; /* Padding inside button */
    background-color: #000000; /* Primary button color */
    color: white; /* Text color */
    border: none; /* Remove border */
    border-radius: 4px; /* Rounded corners */
    font-size: 16px; /* Font size */
    cursor: pointer; /* Pointer cursor on hover */
    transition: background-color 0.3s; /* Smooth transition */
}

.booking-form button:hover {
    background-color: #444; /* Darker shade on hover */
}

/* Responsive Styles */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .navbar ul {
        flex-direction: column;
        gap: 10px;
    }

    .homepage {
        flex-direction: column;
        align-items: center;
    }

    .slider {
        margin-top: 20px;
    }

    .team-container {
        flex-direction: column;
        align-items: center;
    }

    .team-member {
        margin-bottom: 20px;
    }

    .slogan h1 {
        font-size: 2em; /* Adjust heading size for mobile */
    }

    .slogan p {
        font-size: 1em; /* Adjust paragraph size for mobile */
    }

    .image-gallery h2 {
        font-size: 1.5em; /* Adjust heading size for mobile */
    }

    .service {
        max-width: 90%; /* Allow services to take more width on mobile */
    }

    .booking-section {
        padding: 20px; /* Reduce padding for mobile */
    }

    .booking-section h2 {
        font-size: 1.5em; /* Adjust heading size for mobile */
    }

    .booking-form input,
    .booking-form select {
        font-size: 14px; /* Adjust font size for inputs */
    }

    .booking-form button {
        font-size: 14px; /* Adjust button font size */
    }
}
