/* Styles pour la page d'affiliation Kasaba'Book */

.affiliation-hero {
    background: linear-gradient(135deg, #efc75e, #fff, #efc75e);
    color: #1a1a1a;
    padding: 80px 20px;
    text-align: center;
    margin-bottom: 50px;
}

.affiliation-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: bold;
}

.affiliation-hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 30px;
}

/* Statistiques */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 50px 0;
    padding: 0 20px;
}

.stat-card {
    background: #1a1a1a;
    border: 2px solid #efc75e;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 3rem;
    color: #efc75e;
    font-weight: bold;
    margin-bottom: 10px;
}

.stat-label {
    color: #cccccc;
    font-size: 1.1rem;
}

/* Section Avantages */
.benefits-section {
    background: #0a0a0a;
    padding: 60px 20px;
    margin: 50px 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.benefit-card {
    background: #1a1a1a;
    border-radius: 15px;
    padding: 30px;
    border-left: 4px solid #efc75e;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(239, 199, 94, 0.2);
}

.benefit-icon {
    font-size: 3rem;
    color: #efc75e;
    margin-bottom: 20px;
}

.benefit-card h3 {
    color: #ffffff;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.benefit-card p {
    color: #cccccc;
    line-height: 1.6;
}

/* Call to Action */
.cta-section {
    background: linear-gradient(135deg, #1a1a1a, #0a0a0a);
    padding: 80px 20px;
    text-align: center;
    margin: 50px 0;
}

.cta-section h2 {
    color: #efc75e;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-section p {
    color: #cccccc;
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(to right, #efc75e, #fff, #efc75e);
    color: #1a1a1a;
    padding: 20px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    margin: 20px 10px;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(239, 199, 94, 0.4);
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid #efc75e;
    color: #efc75e;
}

.cta-button.secondary:hover {
    background: #efc75e;
    color: #1a1a1a;
}



/* Modal d'inscription */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: #1a1a1a;
    margin: 2% auto;
    padding: 0;
    border: 2px solid #efc75e;
    border-radius: 15px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    background: linear-gradient(135deg, #efc75e, #fff, #efc75e);
    color: #1a1a1a;
    padding: 20px 30px;
    border-radius: 13px 13px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.close {
    color: #1a1a1a;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.close:hover {
    transform: scale(1.2);
}

/* Onglets */
.tabs {
    display: flex;
    background: #0a0a0a;
    border-bottom: 2px solid #efc75e;
}

.tab-button {
    flex: 1;
    background: transparent;
    border: none;
    color: #cccccc;
    padding: 20px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.tab-button:hover {
    background: #2a2a2a;
    color: #efc75e;
}

.tab-button.active {
    background: #efc75e;
    color: #1a1a1a;
}

/* Contenu des onglets */
.tab-content {
    display: none;
    padding: 30px;
}

.tab-content.active {
    display: block;
}

/* Sections du formulaire */
.form-section {
    margin-bottom: 30px;
    padding: 20px;
    background: #0a0a0a;
    border-radius: 10px;
    border-left: 4px solid #efc75e;
}

.form-section h3 {
    color: #efc75e;
    margin-bottom: 20px;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Lignes du formulaire */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

/* Groupes de champs */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: #ffffff;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #2a2a2a;
    border-radius: 8px;
    background: #1a1a1a;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #efc75e;
    box-shadow: 0 0 10px rgba(239, 199, 94, 0.3);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #666666;
}

/* Champs réseaux sociaux */
.social-fields {
    margin-top: 20px;
}

.social-field {
    background: #2a2a2a;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    border: 1px solid #3a3a3a;
}

.social-field-row {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 15px;
    align-items: end;
}

.social-field select {
    background: #1a1a1a;
    color: #ffffff;
    border: 2px solid #3a3a3a;
}

.social-field input {
    background: #1a1a1a;
    color: #ffffff;
    border: 2px solid #3a3a3a;
}

/* Actions du formulaire */
.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #2a2a2a;
}

.btn {
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(to right, #efc75e, #fff, #efc75e);
    color: #1a1a1a;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(239, 199, 94, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #cccccc;
    border: 2px solid #666666;
}

.btn-secondary:hover {
    background: #666666;
    color: #ffffff;
}

/* Responsive */
@media (max-width: 768px) {
    .affiliation-hero h1 {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-section h2 {
        font-size: 2rem;
    }
    
    /* Modal responsive */
    .modal-content {
        width: 95%;
        margin: 5% auto;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .social-field-row {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .tabs {
        flex-direction: column;
    }
    
    .tab-button {
        padding: 15px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.benefit-card, .stat-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Effets de survol supplémentaires */
.stat-card:hover .stat-number {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.benefit-card:hover .benefit-icon {
    transform: rotate(5deg);
    transition: transform 0.3s ease;
}


