/* Base styles */
body, h1, h2, #page-subheader, .activity-paragraph {
    font-family: Arial, Helvetica, sans-serif;
}

.center-align {
    text-align: center;
}

h2 {
    font-size: 25px;
}

.activity-paragraph {
    font-size: 17px;
}

hr {
    margin-top: 15px;
    margin-bottom: 20px;
    padding: 0.5px;
    width: 50%;
    background: black;
}

#header-and-subheader {
    width: 50%;
    margin: 0 auto;
    text-align: center;
}

#page-subheader {
    padding-bottom: 10px;
    font-size: 19px;
}

/* Image overlay styles */
.image-overlay, #lodge-pic {
    max-width: 100%;
    height: auto;
    position: relative;
    object-fit: cover;
    object-position: 50% 50%;
    overflow: hidden;
}

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

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

#accomadation-subheader {
    font-size: 30px;
}

/* Adventure activity styles */
.adventure-container {
    width: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.row {
    display: flex;
    justify-content: center;
    padding-bottom: 20px;
    background-color: rgb(250, 249, 245);
}

.activity {
    flex: 1;
    padding: 20px;
    margin: 20px 10px;
    background-color: rgb(152, 134, 81);
    text-align: center;
    border: 2px solid rgba(0, 0, 0, 0.1);
    width: calc(100% / 3 - 30px);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease-in-out, transform 0.3s ease-in-out;
    overflow: hidden;
}

.activity:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
}

.activity-image {
    width: 100%;
    height: 200px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    object-fit: cover;
    display: block;
}

.activity-title {
    font-family: 'Libre Franklin', sans-serif;
    font-size: 21px;
    color: #070707;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.activity-description {
    font-size: 18px;
    color: rgba(0, 0, 1, 0.741);
    max-height: 100px;
    overflow: hidden;
    position: relative;
    padding-bottom: 30px;
    transition: max-height 0.5s ease;
}

.activity-description::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30px;
}

.more-text {
    display: none;
}

.read-more-btn {
    background-color: #dfe6e9;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-button:hover, .read-more-btn:hover {
    background-color: #f4f4f2;
    transition: background-color 0.3s ease;
}

/* Responsive styles */
@media (max-width: 768px) {
    .activity {
        flex-basis: 100%;
        margin: 10px 0;
    }

    .overlay-text, .activity-title {
        font-size: smaller;
    }

    .adventure-image {
        height: 300px;
    }

    .adventure-info {
        padding: 15px;
        max-width: 70%;
        font-size: 0.9em;
    }

    .adventure-info h2 {
        font-size: 1.5em;
    }
}

@media (max-width: 480px) {
    #nav-buttons {
        flex-direction: column;
    }

    .nav-button {
        padding: 10px;
    }

    .image-overlay {
        height: 30vh;
    }

    .row {
        flex-direction: column;
    }

    .adventure-image {
        height: 200px;
    }

    .adventure-info {
        max-width: 90%;
    }

    .adventure-info h2 {
        font-size: 1.2em;
    }

    .adventure-info p {
        font-size: 0.8em;
    }
}
