/* --- Extra styles for new Calva Lodge Features --- */

/* 25/75 Column Layout */
.two-column-row-25-75 {
    display: flex;
    flex-wrap: wrap; /* Allows columns to wrap on smaller screens */
    gap: 40px; /* Space between columns */
    align-items: center; /* Vertically center content in columns */
    background-color: var(--white); /* Ensure white background for the container */
    padding: 30px; /* Padding for the entire row section */
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

.col-25-text {
    flex-basis: calc(30% - 20px); /* 25% width minus half of the gap */
    max-width: calc(30% - 20px);
    padding: 20px;
}

.col-75-slider {
    flex-basis: calc(70% - 20px); /* 75% width minus half of the gap */
    max-width: calc(70% - 20px);
    padding: 0; /* No padding inside slider container */
    overflow: hidden; /* Important for image slider */
    border-radius: 8px; /* Match slider image radius */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); /* Subtle shadow for slider */

}

/* Section Title for smaller columns */
.section-title-small {
    font-size: 1.8em;
    color: var(--navy);
    margin-bottom: 20px;
    text-align: left; /* Align to left within the smaller column */
    position: relative;
    padding-bottom: 5px;
}

.section-title-small::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--olive-green);
}

.col-25-text p {
    font-size: 1em;
    line-height: 1.7;
    color: var(--slate-gray);
    margin-bottom: 0;
}

/* Image Slider specific styles for new rows */
.lodge-image-slider {
    position: relative;
    width: 800px; /* Fixed width */
    height: 600px; /* Fixed height */
    overflow: hidden;
    border-radius: 8px; /* Consistent border radius */
}

.lodge-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 2s ease-in-out; /* Fade transition */
}

.lodge-slide.active {
    opacity: 1;
}

/* For alternating column layout (2nd new row) */
.reverse-columns {
    flex-direction: row-reverse;
}

.content-section p{padding-bottom:1em !important;}

/* Responsive adjustments for new columns */
@media (max-width: 992px) {
    .two-column-row-25-75 {
        flex-direction: column; /* Stack columns on smaller screens */
        gap: 30px;
        padding: 25px; /* Slightly less padding */
    }

    .col-25-text,
    .col-75-slider {
        flex-basis: 100%;
        max-width: 100%;
        padding: 0; /* Reset padding for column containers */
		display:contents;
    }

    .col-25-text {
        padding: 0 15px; /* Add some horizontal padding for text */
    }

    .section-title-small {
        text-align: center; /* Center title when stacked */
        padding-bottom: 10px;
    }

    .section-title-small::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .lodge-image-slider {
        width: 100%; /* Make slider fluid within its column */
        height: 450px; /* Adjust height for smaller screens */
    }
}

@media (max-width: 768px) {
    .lodge-image-slider {
        height: 350px; /* Further adjust height for tablets */
    }
}

@media (max-width: 480px) {
    .lodge-image-slider {
        height: 250px; /* Even smaller height for mobile */
    }
    .col-25-text {
        padding: 0 10px;
    }
    .section-title-small {
        font-size: 1.6em;
    }
    .col-25-text p {
        font-size: 0.95em;
    }
}