@font-face {
  font-family: 'DancingScript-Bold';
  src: url('https://histoireenmains.com/wp-content/themes/hello-child/homepage/fonts/DancingScript-Bold.ttf') format('truetype');
}

@font-face {
  font-family: 'PatrickHand-Regular';
  src: url('https://histoireenmains.com/wp-content/themes/hello-child/homepage/fonts/PatrickHand-Regular.ttf') format('truetype');
}

/* Z-index layering */
/* #cloud-section {
    z-index: 1;
} */

/* #text-support-section {
    z-index: 2;
} */

/* Content sections - above background */
.page-section {
    z-index: 15;
    position: relative;
}

.nav-container {
    z-index: 20;
}


/* ########################### */
/* ######   BIRDS VIDEO  ###### */

.birds-001-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    pointer-events: none;
    z-index: 3;
    /* display: block; */
    transform: scale(1);
}


/* ########################### */
/* ####  BIENVENUE SLIDESHOW #### */

#text-support-section {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-image: url('https://histoireenmains.com/wp-content/themes/hello-child/homepage/images/text_support.png');
    background-size: auto 100%;
    background-repeat: no-repeat;
    background-position: center top;
    mix-blend-mode: lighten;
}

.bienvenue-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.bienvenue-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;
}

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

.bienvenue-container {
    /* max-width: clamp(800px, 80vw, 1024px); */
    max-width: 1024px;
    margin-top: 22vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: clamp(10px, 2vh, 30px);

    /* position: relative; */
    /* background-color: rgb(5, 249, 78); */
}

.bienvenue-header{
    width: 100%;
    /* background-color: chocolate; */
}

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

    /* background-color: chocolate; */
    /* font-weight: bold; */
}

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

.bienvenue-text {
    font-family: 'PatrickHand-Regular', cursive;
    font-size: clamp(18px, 3vh, 32px);
    color: #1f2f4a;
    margin-top: 3vh;
    line-height: 1.5;
    visibility: hidden;
    /* max-width: 800px; */
}

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

.heart-line-decoration {
    display: flex;
    width: 199px;
    height: 28px;
    margin-left: 11vw;
    margin-top: -3vh;
    /* width: clamp(120px, 20vh, 199px); */
    /* height: auto; */
/*     margin-top: clamp(10px, 2vh, 20px);
    margin-left: auto;
    margin-right: clamp(20px, 5vw, 60px); */
    visibility: hidden;
}

.bienvenue-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;
}

.LAQM-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 2vh;
    /* gap: 10px; */
}

.LAQM-logo-image {
    /* margin-top: clamp(-60px, -6vh, -80px); */
    /* max-width: clamp(150px, 20vh, 223px); */
    visibility: hidden;
    margin-top: -5vh;
    max-width: 22vh;
    height: auto;
    mix-blend-mode: multiply;
}

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

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

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

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

.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;
}

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

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

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .page-section {
        padding: 100px 15px 40px;
    }
    
    .bienvenue-container {
        gap: 15px;
    }
    
    .bienvenue-title {
        margin-bottom: 15px;
    }
    
    .bienvenue-subtitle {
        margin-bottom: 25px;
    }
}

@media (max-width: 480px) {
    .page-section {
        padding: 80px 10px 30px;
    }
}
