body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fff7e6; /* Light cream background for a sweet theme */
    color: #333;
    line-height: 1.6;
}

header {
    position: relative; /* Allows positioning of the overlay */
    background-image: url('../images/header.jpg'); /* Replace with the path to your image */
    background-size: cover; /* Ensures the image covers the entire header */
    background-position: center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents the image from repeating */
    padding: 60px 20px; /* Adjust padding for better spacing */
    text-align: center;
    color: #fff; /* Makes text white for better contrast */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Black overlay with 70% opacity */
    z-index: 1; /* Ensures the overlay is above the background image */
}

.header-content {
    position: relative; /* Ensures the content is above the overlay */
    z-index: 2; /* Places the content above the overlay */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 15px;
}

.header-logo {
    width: 80px;
    height: auto;
    border-radius: 50%; /* Optional: Makes the logo circular */
}

h1 {
    font-size: 3em;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 5px #ffcc00, 0 0 10px #ffcc00, 0 0 20px #ffcc00, 0 0 30px #ff9900, 0 0 40px #ff9900, 0 0 50px #ff6600;
    color: #ffcc00; /* Bright yellow for a more presentable look */
    animation: glow 1s infinite alternate;
}

@keyframes glow {
    0% {
        text-shadow: 0 0 5px #ffcc00, 0 0 10px #ffcc00, 0 0 20px #ffcc00, 0 0 30px #ff9900, 0 0 40px #ff9900, 0 0 50px #ff6600;
    }
    100% {
        text-shadow: 0 0 10px #ffcc00, 0 0 20px #ffcc00, 0 0 30px #ffcc00, 0 0 40px #ff9900, 0 0 50px #ff9900, 0 0 60px #ff6600;
    }
}

nav {
    position: relative; /* Ensures the navigation is above the overlay */
    z-index: 3; /* Higher z-index than the ::before pseudo-element */
    margin-top: 20px;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

nav a {
    text-decoration: none;
    color: #fff; /* White text for contrast */
    font-weight: bold;
    font-size: 1.1em;
    transition: color 0.3s ease, background-color 0.3s ease;
    padding: 10px 15px;
    border-radius: 5px;
}

nav a:hover {
    color: #333;
    background-color: #ffcc00; /* Yellow hover effect for links */
}

section {
    padding: 40px 20px;
    margin: 20px auto;
    background-color: #fff; /* White background for sections */
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 1200px;
}

section h2 {
    font-size: 2em;
    color: #ff6600; /* Orange for section headings */
    margin-bottom: 20px;
    text-align: center;
    text-transform: uppercase;
}

section p {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 20px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.gallery img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

form label {
    font-weight: bold;
    margin-bottom: 5px;
}

form input, form textarea, form button {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
}

form button {
    background-color: #ff6600;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

form button:hover {
    background-color: #cc5200;
}

footer {
    text-align: center;
    padding: 20px;
    background-color: #ffcc00;
    color: #333;
    font-size: 0.9em;
    margin-top: 40px;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
}

.carousel {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 800px; /* Adjust the max width of the carousel */
    margin: 20px auto;
    border-radius: 10px; /* Rounded corners for the carousel */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Add a shadow for a polished look */
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel img {
    width: 100%;
    max-width: 800px; /* Ensure all images are the same width */
    height: 400px; /* Set a fixed height for landscape orientation */
    object-fit: cover; /* Ensures the image fills the area without distortion */
    flex-shrink: 0;
    border-radius: 10px; /* Match the carousel's rounded corners */
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    z-index: 2;
    font-size: 1.5em;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.carousel-button.prev {
    left: 10px;
}

.carousel-button.next {
    right: 10px;
}

.carousel-button:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

@media (max-width: 768px) {
    h1 {
        font-size: 2em;
    }

    nav ul {
        flex-direction: column;
        gap: 10px;
    }

    nav a {
        font-size: 1em;
    }

    section {
        padding: 20px;
    }

    .gallery {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}