/* SIMPLE LIST STYLING */
.simple-spec-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    padding-top: 20px;
}

.simple-spec-list li {
    font-size: 1rem;
    color: #555;
    margin-bottom: 12px;
    position: relative;
    padding-left: 20px;
}

.simple-spec-list li::before {
    content: "—"; /* Subtle architectural dash */
    position: absolute;
    left: 0;
    color: var(--logo-green);
}

/* THE LAYOUT ENGINE */
.split-logic {
    display: flex;
    flex-direction: column; /* Stacked for mobile */
    gap: 40px;
    width: 100%;
}

@media (min-width: 1024px) {
    .split-logic {
        flex-direction: row; /* Force side-by-side on desktop */
        justify-content: space-between;
        align-items: flex-start;
        gap: 60px;
    }

    .text-column {
        flex: 0 0 400px; /* Fixed width for text to ensure whitespace */
        min-width: 0;
    }

    .visual-column {
        flex: 1; /* Takes up all remaining space */
        min-width: 0; /* Prevents the carousel from breaking the row */
        max-width: calc(100% - 460px); /* Ensures it doesn't push the text out */
    }
}

/* THE CAROUSEL SNEAK PEEK */
.visual-column {
    overflow: hidden; /* Clips the peek to the edge of the section */
}

.carousel-container {
    width: 100%;
    overflow: visible; /* Allows the 'peek' to exist */
}

.carousel-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.carousel-track::-webkit-scrollbar { display: none; }

.carousel-slide {
    flex: 0 0 85%; /* 85% width creates the 15% sneak peek */
    height: 450px;
    scroll-snap-align: start;
    flex-shrink: 0;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}



/* zoom feature on carousel */

/* The background layer */
.modal-overlay {
    display: none; /* JS will change this to 'flex' */
    position: fixed;
    z-index: 99999; /* Higher than everything else */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.92);
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
    transition: opacity 0.3s ease;
}

/* The actual image */
#modalImg {
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    border: 2px solid rgba(255,255,255,0.1);
    box-shadow: 0 0 50px rgba(0,0,0,0.8);
}

/* The close 'X' */
.modal-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: white;
    font-size: 40px;
    font-weight: 300;
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 40px;
    padding: 30px;
    cursor: pointer;
    user-select: none;
    opacity: 0.3;
    transition: opacity 0.3s;
    z-index: 100001;
}

.modal-nav:hover { opacity: 1; }
.prev { left: 10px; }
.next { right: 10px; }

@media (max-width: 768px) {
    .modal-nav { display: none; } /* Hide arrows on mobile to focus on swiping */
}
