/* Updated styles for a more elegant and less flashy look */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    font-family: 'Georgia', serif;
    font-size: 18px;
    line-height: 1.8;
    background-color: #FAF9F6; /* Soft beige background */
    color: #333333; /* Dark gray text color for better readability */
}

main {
    flex: 1;
}

/* Sticky header styles */
.sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #EAE7DC; /* Subtle beige */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 10px 20px;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-content h1 {
    margin: 0;
    font-size: 1.8em;
    color: #4A4A4A; /* Neutral dark gray */
}

.quick-book-button {
    background-color: #B8A89E; /* Muted taupe */
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.quick-book-button:hover {
    background-color: #9C8C7A; /* Slightly darker taupe */
}

/* Banner improvements */
.banner {
    width: 100%;
    height: 500px;
    margin-top: 60px;
    background-image: url('../media/lj-banner.jpg');
    background-size: cover;
    background-position: 45% 55%;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.banner-content {
    text-align: center;
    color: #FFFFFF; /* White text */
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
}

.banner-content h1 {
    font-size: 3em;
    margin: 0;
    margin-bottom: 10px;
    font-weight: bold;
}

.banner-content p {
    font-size: 1.4em;
    margin: 0;
}

body.scrolled .banner {
    transform: scale(0.95);
}

.description, .location, .contact-us {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    text-align: center;
    line-height: 1.6;
    background-color: #FFFFFF; /* White background */
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.image-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.image-box {
    position: relative;
    width: 300px;
    height: 400px;
    background-color: #FFFFFF;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.image-box:hover img {
    transform: scale(1.03);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-box:hover .image-overlay {
    opacity: 1;
}

.image-overlay span {
    color: white;
    font-size: 1.2em;
    padding: 8px 16px;
    border: 2px solid white;
    border-radius: 4px;
}

.booking-button {
    display: block;
    width: 220px;
    margin: 40px auto;
    padding: 15px 30px;
    background-color: #B8A89E; /* Muted taupe */
    color: white;
    text-decoration: none;
    text-align: center;
    border-radius: 5px;
    font-size: 1.2em;
    transition: background-color 0.3s;
}

.booking-button:hover {
    background-color: #9C8C7A; /* Slightly darker taupe */
}

.booking-frame-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.booking-frame {
    border: none;
    border-radius: 8px;
    width: 100%;
    min-height: 600px;
}

.map-container {
    margin: 40px auto;
    text-align: center;
}

/* Style for the language switcher */
.language-switcher {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 10px;
}

.language-switcher .flag img {
    width: 30px;
    height: 20px;
    cursor: pointer;
}

/* Ensure the footer is always visible at the bottom */
.sticky-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #EAE7DC; /* Subtle beige */
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
    padding: 10px 20px;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#calendar-container {
    max-width: 600px;
    margin: 0 auto;
}

/* Responsive improvements */
@media (max-width: 768px) {
    .image-container {
        flex-direction: column;
        align-items: center;
    }
    
    .banner {
        height: 400px;
        margin-top: 50px;
    }

    .banner-content h1 {
        font-size: 2em;
    }

    .banner-content p {
        font-size: 1.2em;
    }

    .sticky-header {
        padding: 5px 10px;
    }

    .header-content h1 {
        font-size: 1.2em;
    }

    .quick-book-button {
        padding: 6px 12px;
        font-size: 0.9em;
    }

    .booking-frame-container {
        padding: 0 10px;
    }
    
    .booking-frame {
        min-height: 500px;
    }
}