/* Animation de chargement */
.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #2A3945;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.loader-container.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.loader-title {
    color: #F9B233;
    font-size: 3rem;
    margin-bottom: 2rem;
    font-weight: bold;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease forwards 0.5s;
    width: 100%;
    max-width: 500px;
    height: auto;
}

.loader-title img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.loader-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    width: 100%;
}

.loader-icon {
    font-size: 2.5rem;
    color: #F9B233;
    opacity: 0;
    transform: scale(0.5);
    animation: popIn 0.5s ease forwards;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-icon:nth-child(1) { animation-delay: 0.8s; }
.loader-icon:nth-child(2) { animation-delay: 1s; }
.loader-icon:nth-child(3) { animation-delay: 1.2s; }
.loader-icon:nth-child(4) { animation-delay: 1.4s; }

.loader-progress {
    width: 200px;
    height: 4px;
    background-color: rgba(249, 178, 51, 0.2);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto;
}

.loader-progress-bar {
    width: 0%;
    height: 100%;
    background-color: #F9B233;
    animation: progress 2s ease-in-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes popIn {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes progress {
    from {
        width: 0%;
    }
    to {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .loader-title {
        max-width: 400px;
    }
}

@media (max-width: 480px) {
    .loader-title {
        max-width: 300px;
    }
} 