:root {
    --backgroundColor: #F9F6E9;
    --BackgroundColorTransparent :rgba(132, 86, 62,0.7);
    --contentColor : #84563E;
    --textColor : #F9F6E9;
}

body {
    font-family: 'Arial', sans-serif;

    background-color: var(--backgroundColor);
    margin: 0;
    text-align: center;
}

/* Header avec image et titre superposés */
#hero {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
    overflow: hidden;
}

#intro {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* L'image couvre tout l'écran */
    filter: grayscale(100%) brightness(50%) sepia(0.7);
    /* Assombri pour que le titre ressorte */
}

/* Style pour l'indicateur de scroll */
#scroll-indicator {
    position: absolute;
    bottom: 100px;
    /* Distance du bas de l'écran */
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    /* Au-dessus de l'image et du titre */
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    opacity: 0.8;
    /* Légèrement transparent par défaut */
}

/* Style des flèches (méthode <span>) */
#scroll-indicator span {
    display: block;
    width: 20px;
    height: 20px;
    border-bottom: 2px solid white;
    border-right: 2px solid white;
    transform: rotate(45deg);
    margin: 0px;
    /* Pour rapprocher les flèches */
    animation: scroll-arrows 2s infinite;
}

/* Animation de défilement des flèches */
#scroll-indicator span:nth-child(2) {
    animation-delay: -0.2s;
}

#scroll-indicator span:nth-child(3) {
    animation-delay: -0.4s;
}

@keyframes scroll-arrows {
    0% {
        opacity: 0;
        transform: rotate(45deg) translate(-20px, -20px);
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: rotate(45deg) translate(20px, 20px);
    }
}

h1 {
    position: relative;
    font-size: clamp(2rem, 8vw, 5rem);
    text-transform: uppercase;
    letter-spacing: 5px;
    z-index: 2;
    margin: 0;
    margin-top: -100px;
    color :var(--textColor);
}
p{
    color : var(--textColor);
}
h3{
    color : var(--textColor);
}
/* Contenu principal */
.content {
    position: relative;
    z-index: 10;
    margin-top: 100vh;
    /* On attend la fin de l'image pour afficher le texte */
    background-color: var(--backgroundColor);
    /* Fond solide pour cacher l'image en dessous */
    padding: 50px 0px;
}

.info {
    max-width: 800px;
    margin: 0 auto 50px;
    line-height: 1.8;
    font-size: 1.1rem;
    p {
        margin : 20px;
        color : var(--contentColor);
        text-align: justify;
        
    }
}
.logo{
    width: 200px;
    border-radius: 100px;
}

/* Compteur */
.countdown {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 100px;
    margin-top: 20px;
}

.time {
    background-color: var(--contentColor);
    color : var(--textColor);
    padding: 20px;
    border-radius: 6px;
    min-width: 100px;
}

.time span {
    display: block;
    font-size: 36px;
    font-weight: bold;
}

.time small {
    font-size: 12px;
    opacity: 0.7;
    text-transform: uppercase;
}

/* Footer */
footer {
    padding: 40px;
    background-color: var(--contentColor);
    font-size: 0.9rem;
}

button {
    font-size: 17px;
    padding: 1em 2.7em;
    font-weight: 500;
    background-color: var(--contentColor);
    color: var(--textColor);
    border: none;
    position: relative;
    overflow: hidden;
    border-radius: 0.6em;
    cursor: pointer;
    transition-duration: 0.4s;
}

button:hover {
    font-size: 17px;
    padding: 1em 2.7em;
    font-weight: 500;
    background-color: white;
    color: black;

}

.label {
    position: relative;
    top: -1px;
}

/* CSS Styling */
.calendar-btn-container {
  margin-top: 20px;
  display: flex;
  justify-content: center; /* Centers horizontally */
  align-items: center;     /* Centers vertically (if the container has height) */
  width: 100%;             /* Ensures it spans the full width */
}


.timeline-item{
    background-color: var(--contentColor);
    padding: 20px;
    margin : 0px;
}
.timeline-date{
    color: var(--textColor);
}
.flowerBorder{
    width: 100px;

}