/* ==========================================================================
   Feature boxes (About / Activities / Amenities)
   ========================================================================== */

.boxes-section {
    padding: 60px 0;
}

.boxes-container {
    width: 90%;
    max-width: var(--wrap);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.info-box {
    flex: 1 1 300px;
    position: relative;
    aspect-ratio: 1 / 1;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    transition: transform 0.35s ease;
}

.info-box > a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.box-activities {
    background-image: url('../../assets/images/glen/forest-path.jpg');
}

.box-about {
    background-image: url('../../assets/images/house/kitchen.jpg');
}

.box-amenities {
    width: 90%;
    max-width: var(--wrap);
    margin: 0 auto 20px auto;
    aspect-ratio: 2 / 1;
    background-image: url('../../assets/images/house/artwork-wall.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.box-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(28, 26, 22, 0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    padding: 20px;
    transition: background-color 0.4s ease;
}

.info-box:hover .box-overlay {
    background-color: rgba(28, 26, 22, 0.62);
}

.box-title {
    font-family: var(--body);
    font-size: clamp(1.05rem, 2.5vw, 1.5rem);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 5px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

@media (max-width: 700px) {
    .box-amenities {
        aspect-ratio: 3 / 2;
    }

    .info-box {
        aspect-ratio: 3 / 2;
    }

    .boxes-section {
        padding: 40px 0;
    }
}
