/* Add styling for the accommodation page here */

body {
    margin: 0;
}

.image-overlay {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    height: 50vh;
    overflow: hidden;
}

.overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 1;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    justify-content: center;
}

.option {
    text-align: center;
}

.option-icon {
    width: 128px;
    height: 128px;
    margin-bottom: 10px;
}

#accommodation-header {
    font-size: 40px;
    font-family: "Libre Franklin";
    margin-bottom: 10px;
    color: rgb(152, 134, 81);
}

#facilities-header{
    text-align:center;
    color:rgba(152, 134, 81, 0.849);
    font-size: 30px;
}

#accommodation-description {
    font-family: "Libre Franklin";
    font-size: large;
    line-height: 1.7;
    text-align: center;
    padding-bottom: 30px;
    padding-top: 20px;
}

.stay-options {
    color: rgb(152, 134, 81);
    text-align: center;
}

.options {
    text-align: center;
    line-height: 1.5;
    font-family: Arial, sans-serif;
}

footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 1rem 0;
}

#footer-text{
    font-size: 18px;
}

#facilities{
    padding:30px;
}

#lodge-pic {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.options-grid, .images-row, .row-1, .row-2 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.row-1{
    display: flex;
    align-self: center;
    justify-content: center;
    gap: calc(100% / 3 - 250px);
}

.row-2{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: calc(100% / 3 - 250px);
}

.images-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10%; /* Adds space between images */
}

img, .image-overlay {
    max-width: 100%;
    height: auto;
}

.display-img {
    height: 250px;
    width: auto;
    object-fit: cover;
    transition: transform 0.3s ease-in-out; /* Smooth transition for scaling */
}

.display-img:hover {
    transform: scale(1.05); /* Slightly enlarge images on hover */
}

@media (max-width: 768px) {
    .overlay-text {
        font-size: 16px; /* Smaller text on smaller devices */
    }

    .option-icon {
        width: 80px; /* Smaller icons on smaller devices */
        height: 80px;
    }

    .images-row, .row-1, .row-2 {
        flex-direction: column;
        gap: 20px;
    }

    #facilities-header, #accommodation-header {
        font-size: 24px;
    }

    .stay-options, #accommodation-description {
        font-size: 14px;
    }
    #footer-text{
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .nav-buttons {
        flex-direction: column;
        align-items: center;
    }

    .nav-button {
        display: block;
        width: 100%;
        text-align: center;
    }

    #footer-text{
        font-size: 12px;
    }
}
