﻿.lifeStyle-section {
    position: relative;
    background: var(--primary-bg);
    padding: 60px 85px;
    color: #ffffff;
    overflow: hidden; 
}

    .lifeStyle-section::before {
        content: ""; 
        position: absolute;
        bottom: 0;
        left: 0;
        height: 100px;
        width: 100%;
        z-index: 1;
    }


    .lifeStyle-section::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        height: 100px;
        width: 100%;
        background: linear-gradient( to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.4) 40%, rgba(0, 0, 0, 0.75) 70%, rgba(0, 0, 0, 1) 100% );
        z-index: 2;
    }

  
    .lifeStyle-section > * {
        position: relative;
        z-index: 3;
    }





/* Main content layout */

/* Left text block */
.text-block {
    max-width: 520px;
}

.lifeStyle-title {
    font-family: Arial, sans-serif;
    font-size: 1.6991rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.description {
    font-family: Arial, sans-serif;
    font-size: 1.25rem;
    line-height: 1.5;
}

/* Image */
.image-container {
    position: relative;
    width: 565px; /* image width */
    height: 375px; /* tallest element */
}

/* White border frame */
.image-frame {
    position: absolute;
    top: 0;
    right: -22pt;
    width: 445px;
    height: 375px;
    border: 1pt solid #ffffff;
    background: transparent;
    box-sizing: border-box;
}

/* Image on top */
.overlay-image {
    position: absolute;
    left: 0;
    top: 32px; /* vertical offset to match design */
    width: 565px;
    height: 310px;
    object-fit: cover;
    z-index: 2;
}


/* Bouton */
.read-more-btn {
    background: none;
    border: none;
    color: #ffffff;
    padding: 0;
}

/* Overlay flouté */
.popup-overlay {
    position: fixed;
    inset: 0;
    margin: 0 auto;
    width: 940px;
    background: rgba(255, 255, 255, 0.5); /* Semi-transparent for effect visibility */
    backdrop-filter: blur(30px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}
    .popup-overlay p {
        font-family: Arial, sans-serif;
        font-weight: 400;
        font-size: 24pt;
        color: #495057;
        max-height: calc(100vh - 120px);
        line-height: 2;
        position: relative;
        margin: 40px;
    }

/* Bouton close */
    .popup-overlay .close-btn {
        position: absolute;
        top: 15px;
        right: 20px;
        background: none;
        border: none;
        color: #495057;
        font-size: 32px;
        cursor: pointer;
    }

/* Mobile */
@media (max-width: 768px) {
    .popup-content {
        font-size: 18pt;
    }
}

