/* 🔹 STYLES UNIQUEMENT POUR LA PAGE OFFRES */
.offres {
    background-color: #FFC300; 
    text-align: center;
    padding: 120px 5% 140px;
    margin-top: -90px; /* Compensate for the navbar padding */
}

.offres-container {
    display: flex;
    gap: 50px;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

/* 🔹 CORRECTION : ALIGNEMENT DU TEXTE DANS "NOS OFFRES" */
.offres-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.offres-header h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: #333;
}

.offres-header p {
    font-size: 1.3rem;
    color: #333;
    line-height: 1.5;
}

/* 🔹 STYLE DES CARTES OFFRES */
.offre {
    background: white;
    border: 3px solid black;
    padding: 50px 30px;
    border-radius: 15px;
    text-align: center;
    width: 320px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.offre:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.offre h2 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 25px;
    font-weight: bold;
}

.offre p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.offre .btn {
    padding: 12px 25px;
    background: #FFC300;
    color: black;
    text-decoration: none;
    border-radius: 10px;
    border: 2px solid black;
    font-weight: bold;
    transition: background 0.3s ease, transform 0.2s ease;
    display: inline-block;
}

.offre .btn:hover {
    background: black;
    color: #FFC300;
    transform: scale(1.05);
}

/* 🔹 ANIMATIONS */
.loading-bar {
    width: 100%;
    height: 10px;
    background: #ddd;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
    margin-top: 20px;
}

.loading-bar .bar {
    width: 0%;
    height: 100%;
    background: #FFC300;
    animation: progress-bar 7s infinite ease-in-out;
}

@keyframes progress-bar {
    0% { width: 0%; }
    50% { width: 100%; }
    100% { width: 0%; }
}

.emoji-wave {
    text-align: center;
    font-size: 28px;
    white-space: nowrap;
    overflow: hidden;
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.emoji-wave span {
    opacity: 0;
    animation: wave-animation 5s infinite ease-in-out;
    display: inline-block;
}

@keyframes wave-animation {
    0% { opacity: 0; transform: translateY(10px); }
    50% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(-10px); }
}

/* Responsive pour la section offres */
@media (max-width: 768px) {
    .offres {
        padding: 100px 5% 120px;
    }
    
    .offres-header h1 {
        font-size: 2.8rem;
    }
    
    .offres-header p {
        font-size: 1.1rem;
    }
    
    .offres-container {
        gap: 40px;
    }
    
    .offre {
        width: 100%;
        max-width: 400px;
    }
}

@media (max-width: 480px) {
    .offres {
        padding: 80px 5% 100px;
    }
    
    .offres-header h1 {
        font-size: 2.2rem;
    }
    
    .offres-header p {
        font-size: 1rem;
    }
    
    .offre {
        padding: 40px 20px;
    }
}