/* ########################### */
/* ####  L'ESSENCE SLIDESHOW #### */

.lessence-slideshow {
    position: absolute;  /* Changed from fixed - now inside #fixed-world */
    top: 0;  /* Start below viewport */
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.lessence-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.lessence-slide.active {
    opacity: 1;
    visibility: visible;
}

.lessence-container {
    max-width: 1024px;
    margin-top: 17vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: clamp(10px, 2vh, 30px);
    /* background-color: rgb(5, 249, 78); */
}

/* Slide 2 - centered title/subtitle, absolute positioned photo */
.lessence-slide[data-slide="2"] .lessence-header {
    text-align: center;
}

.lessence-slide[data-slide="2"] .lessence-content-wrapper {
    position: relative;
}

.lessence-slide[data-slide="2"] .lessence-text-column {
    width: 100%;
    max-width: 100%;
}

.lessence-slide[data-slide="2"] .lessence-photo-column {
    position: absolute;
    right: -5vw;
    top: 0;
    pointer-events: none;
}

/* Slide 3 - center-aligned paragraphs */
.lessence-slide[data-slide="3"] .lessence-container {
    align-items: center;
    max-width: clamp(600px, 70vw, 900px);
    margin-left: auto;
    margin-right: auto;
}

.lessence-slide[data-slide="3"] .lessence-text {
    text-align: center;
}

.lessence-header {
    width: 100%;
}

.lessence-title {
    font-family: 'DancingScript-Bold', cursive;
    font-size: clamp(40px, 8vh, 85px);
    font-weight: 700;
    color: #1f2f4a;
    line-height: 100%;
    visibility: hidden;
}

.lessence-subtitle {
    font-family: 'DancingScript-Regular', cursive;
    font-weight: 500;
    font-size: clamp(24px, 4.5vh, 50px);
    color: #1f2f4a;
    margin: 0;
    visibility: hidden;
}

.lessence-text {
    font-family: 'PatrickHand-Regular', cursive;
    font-size: clamp(18px, 3vh, 32px);
    color: #1f2f4a;
    margin-top: 3vh;
    line-height: 1.5;
    visibility: hidden;
    text-align: left;
}

/* Two-column layout for slide 1 */
.lessence-content-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: clamp(30px, 5vw, 80px);
    width: 100%;
    max-width: clamp(800px, 80vw, 1200px);
    margin-top: 4vh;
}

.lessence-text-column {
    flex: 1;
    min-width: 550px; /* Ensure enough width to prevent word wrapping */
    display: flex;
    flex-direction: column;
    gap: 2vh;
    text-align: left;
}

.lessence-photo-column {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.lessence-photo {
    max-width: 416px;
    /* width: clamp(250px, 35vh, 416px); */
    height: auto;
    visibility: hidden;
}

.lessence-associations {
    margin-top: -2vh;
    margin-left: 2vw;
    width: 100%;
}

.lessence-associations-logo {
    width: 100%;
    max-width: 500px;
    height: auto;
    visibility: hidden;
}

.lessence-green-text {
    color: #31875a;
}

.lessence-heart-line-decoration {
    display: flex;
    width: 199px;
    height: 28px;
    margin-left: 11vw;
    margin-top: -3vh;
    visibility: hidden;
}

.lessence-creation {
    font-family: 'DancingScript-Bold', cursive;
    font-weight: 700;
    color: #1f2f4a;
    font-size: clamp(20px, 3.5vh, 45px);
    margin: clamp(10px, 2vh, 20px) 0 0 0;
    visibility: hidden;
}

.lessence-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 2vh;
}

.lessence-logo-image {
    visibility: hidden;
    margin-top: -5vh;
    max-width: 22vh;
    height: auto;
    mix-blend-mode: multiply;
}

/* Slide-specific customizations */
.lessence-slide-2-title {
    /* Custom styling for slide 2 if needed */
}

.lessence-slide-3-title {
    /* Custom styling for slide 3 if needed */
}

/* ########################### */
/* #### LESSENCE NAVIGATION DOTS #### */

.lessence-slide-navigation {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.lessence-slide-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(31, 47, 74, 0.3);
    border: 2px solid rgba(31, 47, 74, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.lessence-slide-dot:hover {
    background-color: rgba(31, 47, 74, 0.6);
    transform: scale(1.2);
}

.lessence-slide-dot.active {
    background-color: #1f2f4a;
    border-color: #1f2f4a;
    transform: scale(1.3);
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .lessence-container {
        gap: 15px;
    }

    .lessence-title {
        margin-bottom: 15px;
    }

    .lessence-subtitle {
        margin-bottom: 25px;
    }
}
