﻿/* Colors based on image */
:root {
    --brick-red: #B05634;
    --natural-green: #6C8F48;
    --wood-brown: #8D6346;
    --earthy-beige: #D8C8B1;
    --sky-blue: #A9D3E4;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    background: url('background.jpg') center/cover no-repeat;
    color: var(--wood-brown);
}

header {
    background: var(--earthy-beige);
    color: var(--brick-red);
    padding: 10px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 10;
}

    header .title {
        font-size: 24px;
        font-weight: bold;
    }

    header nav a {
        margin: 0 15px;
        color: var(--natural-green);
        text-decoration: none;
        font-weight: bold;
    }

        header nav a:hover {
            color: var(--brick-red);
            text-shadow: 0 0 5px var(--brick-red);
        }

/* Slideshow */
.slideshow-container {
    position: relative;
    max-width: 100vw;
    height: 60vh;
    overflow: hidden;
    margin-top: 10px;
    display: flex;
    justify-content: center; /* Centers images horizontally */
    align-items: center; /* Centers images vertically */
}

.slide img {
    width: 100%; /* Set a fixed width */
    height: 100%; /* Set a fixed height */
    object-fit: contain; /* Ensures the entire image is displayed without cropping */
    object-position: center; /* Centers the image within the container */
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0; /* Initially hidden */
    transition: opacity 1s ease-in-out; /* Fading effect */
}

    .slide.active {
        opacity: 1; /* Show the active slide */
        z-index: 1;
    }


.caption {
    color: var(--earthy-beige);
    background-color: rgba(0, 0, 0, 0.6);
    padding: 10px;
    position: absolute;
    bottom: 10px;
    left: 20px;
    font-size: 18px;
}

.content {
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.7);
    margin: 20px;
    border-radius: 8px;
    backdrop-filter: blur(8px);
}

section {
    margin-bottom: 40px;
}

h2 {
    color: var(--brick-red);
    margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: flex-start;
    }

    .slideshow-container {
        height: 40vh;
    }
}
/* Header for Sleeps Information */
.sleeps-header {
    font-size: 2rem; /* Adjust font size as needed */
    text-align: Left;
    margin: -55px -10px; /* Space around the header */
    color: #333; /* Adjust color as needed to match site theme */
    font-weight: bold;
}
#about {
    max-width: 800px; /* Limits the width of the text */
    margin: 0 auto; /* Centers the section */
    line-height: 1.6; /* Increases line spacing for readability */
    padding: 20px;
}

    #about p {
        margin-bottom: 20px; /* Adds space between paragraphs */
        text-align: justify; /* Optionally aligns text for a clean look */
    }

/* About and Amenities Sections */
section#about, section#amenities {
    max-width: 800px; /* Keeps text within a readable width */
    margin: 0 auto; /* Centers the section */
    line-height: 1.6; /* Increases readability */
    padding: 20px;
}

    section#about p, section#amenities p {
        margin-bottom: 20px;
        text-align: justify;
    }

    section#amenities ul {
        list-style-type: none; /* Removes bullet points for a cleaner look */
        padding: 0;
    }

    section#amenities li {
        margin-bottom: 15px;
        font-size: 1.1em;
    }

        section#amenities li strong {
            color: var(--brick-red); /* Highlights important terms */
            font-weight: bold;
        }


#gallery {
    max-width: 75%;
    margin: 0 auto;
    padding: 20px;
}

/* Flexbox Masonry Layout */
.gallery-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px; /* Smaller gap between images */
    justify-content: center;
}

/* Gallery Item */
.gallery-item {
    flex: 1 1 150px; /* Each item takes up at least 150px, adjusts to fit screen */
    max-width: 200px; /* Smaller maximum width */
    margin-bottom: 8px;
    border-radius: 6px; /* Smaller border radius for a compact look */
    transition: transform 0.3s, box-shadow 0.3s;
    object-fit: cover;
}

    .gallery-item:hover {
        transform: scale(1.05);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    }