* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
}

/* Header with background image and overlay */
header {
    background-image: url('lakefront-background.jpg'); /* Replace with your image URL */
    background-size: cover;
    background-position: center;
    position: relative;
    color: white;
    text-align: center;
    padding: 60px 20px;
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

header .overlay {
    background-color: rgba(0, 0, 0, 0.5); /* Dark overlay to improve readability */
    padding: 20px;
    border-radius: 10px;
    display: inline-block;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

/* Highlighted navigation bar */
nav {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 5px;
    background-color: transparent;
    transition: background-color 0.3s ease, color 0.3s ease;
}

nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.3); /* Hover effect */
    color: #fff;
}

nav ul li a.active {
    background-color: #1e90ff; /* Active section highlight */
    color: white;
}

header h1 {
    font-size: 48px;
    margin-bottom: 10px;
}

header p {
    font-size: 18px;
}

section {
    padding: 40px 20px;
    max-width: 1200px;
    margin: auto;
}

.rooms, .amenities, .gallery, .contact {
    margin-bottom: 40px;
}

.rooms h2, .amenities h2, .gallery h2, .contact h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 36px;
    color: #1e90ff;
}

.rooms .room {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
    text-align: center;
}

.rooms .room h3 {
    font-size: 24px;
    color: #1e90ff;
}

.rooms .room p {
    margin: 20px 0;
}

.rooms .room button {
    background-color: #1e90ff;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
}

.rooms .room button:hover {
    background-color: #00509e;
}

.amenities ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.amenities ul li {
    background-color: white;
    padding: 10px 20px;
    margin: 10px;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    width: 30%;
    text-align: center;
}

.gallery-images {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.gallery-images img {
    border-radius: 10px;
    width: 45%;
    height: auto;
}

.contact form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 600px;
    margin: auto;
}

.contact form input, .contact form textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    width: 100%;
}

.contact form button {
    background-color: #1e90ff;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px;
}

.contact form button:hover {
    background-color: #00509e;
}

footer {
    text-align: center;
    background-color: #1e90ff;
    color: white;
    padding: 20px;
}

footer p {
    margin-bottom: 10px;
}

/* Responsive Styling */
@media (max-width: 768px) {
    .rooms, .amenities ul li, .gallery-images img {
        width: 100%;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        margin: 10px 0;
    }

    .amenities ul {
        flex-direction: column;
    }
}