/* Styles pour le carousel et le compte à rebours */
.carousel {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    margin: 0;
    padding: 0;
    margin-top: -90px; /* Compenser le padding-top du body */
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.carousel-item.active {
    opacity: 1;
    z-index: 2;
}

.carousel-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 10px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.carousel-dot.active {
    background-color: #ffffff;
}

/* Styles pour le compte à rebours */
.countdown-container {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    height: 100%;
    background-color: #FFC300; /* Fond jaune/doré */
    color: #000000;
    position: relative;
    padding-top: 0; /* Suppression du padding en haut */
}

.countdown-title {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 2rem;
    text-align: center;
    padding: 0 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.countdown-content {
    display: flex;
    width: 100%;
    height: calc(100% - 120px);
}

.countdown-building {
    width: 50%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding-left: 0px;
}

.countdown-building img {
    max-width: 100%;
    max-height: 90%;
    object-fit: contain;
    display: block;
    margin: 0;
    margin-top: 160px;
    margin-left: -40px;
}

.countdown-info {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-right: 50px;
    padding-left: 0; /* Assurer qu'il n'y a pas de padding à gauche */
    margin-left: -40px; /* Ajouter une marge négative pour décaler vers la gauche */
}

.countdown-opening {
    font-size: 2.6rem;
    margin-bottom: 3rem;
    font-weight: bold;
}

.countdown-blocks {
    display: flex;
    gap: 30px;
    margin-bottom: 3rem;
}

.countdown-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 140px;
}

.countdown-value {
    font-size: 5.5rem;
    font-weight: bold;
    background-color: white;
    padding: 25px;
    border-radius: 8px;
    min-width: 120px;
    text-align: center;
}

.countdown-label {
    font-size: 1.5rem;
    margin-top: 15px;
    text-transform: uppercase;
    font-weight: bold;
}

.countdown-message {
    font-size: 2.2rem;
    margin-top: 2rem;
    font-weight: bold;
    text-align: left;
}

@media (max-width: 1024px) {
    .countdown-content {
        flex-direction: column;
        align-items: center;
    }
    
    .countdown-building, .countdown-info {
        width: 100%;
        padding: 20px;
    }
    
    .countdown-building {
        height: 40%;
    }
    
    .countdown-info {
        height: 60%;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .countdown-title {
        font-size: 2.5rem;
    }
    
    .countdown-blocks {
        gap: 10px;
    }
    
    .countdown-block {
        min-width: 70px;
    }
    
    .countdown-value {
        font-size: 2rem;
        min-width: 60px;
        padding: 10px;
    }
    
    .countdown-label {
        font-size: 0.8rem;
    }
    
    .countdown-message {
        font-size: 1.2rem;
    }
    
    .countdown-opening {
        font-size: 1.4rem;
        text-align: center;
    }
}

/* Styles pour le contenu vidéo */
.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

#background-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* Overlay semi-transparent */
    z-index: 2;
}

.video-content {
    position: relative;
    top: 120px;
    left: 5%;
    z-index: 3;
    color: white;
    text-align: left;
    padding: 20px;
    max-width: 90%;
}

.video-content h1 {
    font-size: 6rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    word-wrap: break-word;
}

@media (max-width: 768px) {
    .video-content h1 {
        font-size: 4.4rem;
    }
}

@media (max-width: 480px) {
    .video-content h1 {
        font-size: 3.6rem;
    }
}

/* Flèche de défilement */
.scroll-arrow {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    cursor: pointer;
    animation: bounce 2s infinite;
    color: white;
    background-color: rgba(0, 0, 0, 0.3);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.scroll-arrow:hover {
    background-color: rgba(255, 195, 0, 0.8);
    color: #222;
    transform: translateX(-50%) translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.scroll-arrow svg {
    width: 40px;
    height: 40px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Styles pour les boutons du compte à rebours */
.countdown-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

/* S'assurer que les boutons dans le compte à rebours s'affichent correctement sur le fond jaune */
.countdown-buttons .btn {
    font-size: 1.2rem;
    padding: 15px 25px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
    background-color: #333;
    color: white;
    border: none;
}

.countdown-buttons .btn-extranet {
    background-color: white;
    color: #333;
    border: 2px solid #333;
}

.countdown-buttons .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.countdown-buttons .btn-extranet:hover {
    background-color: #f8f8f8;
}

/* Style spécifique pour la flèche sous le compte à rebours */
.countdown-arrow {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 0;
    margin-bottom: 0;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.countdown-arrow:hover {
    background-color: rgba(0, 0, 0, 0.4);
    transform: translateX(-50%) translateY(-5px);
}

/* Style spécifique pour la flèche sur la vidéo */
.video-arrow {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    z-index: 10;
}

.video-arrow:hover {
    background-color: rgba(255, 195, 0, 0.8);
    color: #222;
    transform: translateX(-50%) translateY(-5px);
} 