/* Styles généraux */
body { 
    font-family: 'Poppins', sans-serif; 
    background: #f9f9f9; 
    margin: 0; 
}

/* Splash screen */
#splash-screen { 
    position: fixed; 
    inset: 0; 
    background: #000; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    z-index: 99999; 
}
#splash-screen h1 { 
    font-size: 2.5rem; 
    font-weight: 700; 
    color: #ff6b6b; 
    display: flex; 
    gap: 0.2em; 
    flex-wrap: wrap; 
    text-align: center; 
}
#splash-screen h1 span { 
    opacity: 0; 
    transform: translateX(-20px); 
    display: inline-block; 
    animation: fadeInLetter 0.4s forwards; 
}
#splash-screen h1 span:nth-child(n) { 
    animation-delay: calc(0.2s * var(--i)); 
}
@keyframes fadeInLetter { 
    to { 
        opacity: 1; 
        transform: translateX(0); 
    } 
}

/* Header */
header { 
    background: white; 
    padding: 15px 20px; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    flex-wrap: wrap; 
    box-shadow: 0 2px 10px rgba(0,0,0,0.05); 
    position: sticky; 
    top: 0; 
    z-index: 1000; 
}
header .logo { 
    font-weight: 700; 
    font-size: 1.4rem; 
    color: #ff6b6b; 
    text-decoration: none; 
}
header nav { 
    display: flex; 
    gap: 20px; 
}
header nav a { 
    color: #333; 
    font-weight: 500; 
    text-decoration: none; 
}
header nav a:hover { 
    color: #ff6b6b; 
}
.btn-login { 
    background: #ff6b6b; 
    color: white!important; 
    padding: 8px 18px; 
    border-radius: 25px; 
    font-weight: 600; 
}
.btn-login:hover { 
    background: #333; 
}
.menu-toggle { 
    display: none; 
    font-size: 1.8rem; 
    cursor: pointer; 
    color: #333; 
}

/* Hero */
.hero { 
    background: linear-gradient(135deg,#ff6b6b,#ff9f43); 
    color: white; 
    padding: 100px 20px; 
    text-align: center; 
}
.hero h1 { 
    font-size: 2rem; 
    margin-bottom: 20px; 
    font-weight: 700; 
}
.hero p { 
    font-size: 1rem; 
    margin-bottom: 30px; 
}
.hero .btn { 
    padding: 12px 30px; 
    border-radius: 30px; 
    background: white; 
    color: #ff6b6b; 
    font-weight: 600; 
    text-decoration: none; 
    transition: 0.3s; 
}
.hero .btn:hover { 
    background: #333; 
    color: white; 
}

/* Services */
.services { 
    padding: 60px 20px; 
    text-align: center; 
}
.service-box { 
    background: white; 
    border-radius: 15px; 
    box-shadow: 0 4px 20px rgba(0,0,0,0.05); 
    overflow: hidden; 
    position: relative; 
    transition: transform 0.3s; 
    height: 100%; 
    display: block; 
    color: inherit; 
    text-decoration: none; 
}
.service-box:hover { 
    transform: translateY(-10px); 
}
.service-box img { 
    width: 100%; 
    height: 400px; 
    object-fit: cover; 
}
.service-box-content { 
    padding: 20px; 
}
.service-box i { 
    font-size: 2rem; 
    color: #ff6b6b; 
    margin-bottom: 10px; 
}
.service-box h5 { 
    margin: 10px 0; 
}
.service-box p { 
    font-size: 0.9rem; 
}

/* Footer */
footer { 
    background: #1a1a1a; 
    color: white; 
    padding: 20px; 
    text-align: center; 
    margin-top: 40px; 
}

/* Formulaire de réservation - AMÉLIORATION CENTRAGE */
.container-form { 
    max-width: 900px; 
    margin: 60px auto; 
    background: white; 
    border-radius: 20px; 
    box-shadow: 0 8px 30px rgba(0,0,0,0.1); 
    padding: 40px; 
    display: flex;
    flex-direction: column;
    align-items: center;
}
h2 { 
    text-align: center; 
    color: #ff6b6b; 
    font-weight: 700; 
    margin-bottom: 30px; 
    width: 100%;
}

/* Progress bar - AMÉLIORATION CENTRAGE */
.progress-container { 
    display: flex; 
    justify-content: space-between; 
    margin-bottom: 30px; 
    width: 100%;
    max-width: 600px;
}
.progress-step { 
    width: 25%; 
    text-align: center; 
    font-weight: 600; 
    color: #999; 
    position: relative; 
}
.progress-step.active { 
    color: #ff6b6b; 
}
.progress-step::before { 
    content: ""; 
    position: absolute; 
    top: 20px; 
    left: 50%; 
    transform: translateX(-50%); 
    width: 20px; 
    height: 20px; 
    border-radius: 50%; 
    background: #ddd; 
}
.progress-step.active::before { 
    background: #ff6b6b; 
}

/* Cards choix - AMÉLIORATION CENTRAGE */
.card-choice { 
    border: 2px solid transparent; 
    border-radius: 15px; 
    padding: 20px; 
    text-align: center; 
    cursor: pointer; 
    transition: 0.3s; 
    height: 100%; 
}
.card-choice:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 6px 20px rgba(0,0,0,0.1); 
}
.card-choice.active { 
    border: 2px solid #ff6b6b; 
}
.card-choice i { 
    font-size: 2rem; 
    color: #ff6b6b; 
    margin-bottom: 10px; 
}
.card-choice h6 { 
    font-weight: 600; 
}

/* Formulaire - AMÉLIORATION CENTRAGE */
.form-box { 
    max-width: 500px; 
    margin: auto; 
}
.form-control { 
    border-radius: 12px; 
    padding: 12px; 
    margin-bottom: 15px; 
}
.form-control:focus { 
    border-color: #ff6b6b; 
    box-shadow: 0 0 0 0.2rem rgba(255,107,107,0.25); 
}

/* Résumé */
.card-summary { 
    border-radius: 15px; 
    padding: 25px; 
    box-shadow: 0 4px 20px rgba(0,0,0,0.1); 
    background: #fff; 
    text-align: center; 
}
.card-summary h5 { 
    color: #ff6b6b; 
    font-weight: 700; 
    margin-bottom: 15px; 
}

/* Contacts */
.card-contact { 
    border-radius: 15px; 
    padding: 20px; 
    text-align: center; 
    box-shadow: 0 4px 20px rgba(0,0,0,0.1); 
    background: #fff; 
    height: 100%; 
}
.card-contact i { 
    margin-bottom: 10px; 
}
.btn-step { 
    background: #ff6b6b; 
    color: white; 
    padding: 10px 20px; 
    border-radius: 25px; 
    border: none; 
}
.btn-step:hover { 
    background: #333; 
}

/* Steps - AMÉLIORATION CENTRAGE */
.step { 
    display: none; 
    width: 100%;
    max-width: 600px;
}
.step.active { 
    display: block; 
}

/* Navigation - AMÉLIORATION CENTRAGE */
.d-flex.justify-content-between {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

#floatNext { 
    position: fixed; 
    bottom: 20px; 
    left: 20px; 
    display: none; 
    z-index: 999; 
}

#popup { 
    display: none; 
    position: fixed; 
    inset: 0; 
    background: rgba(0,0,0,0.6); 
    justify-content: center; 
    align-items: center; 
    z-index: 9999; 
}
#popup .box { 
    background: white; 
    padding: 30px; 
    border-radius: 15px; 
    text-align: center; 
    max-width: 400px; 
}

/* Dashboard Cards */
.dashboard-card {
    background: white;
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    color: inherit;
    text-decoration: none;
    display: block;
    height: 100%;
}

.dashboard-card:hover {
    transform: translateY(-10px);
    text-decoration: none;
    color: inherit;
}

.import-card {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
}

.guests-card {
    background: linear-gradient(135deg, #007bff, #17a2b8);
    color: white;
}

.view-card {
    background: linear-gradient(135deg, #ff6b6b, #ff9f43);
    color: white;
}

.edit-card {
    background: linear-gradient(135deg, #ffc107, #fd7e14);
    color: white;
}

.validate-card {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
}

.gestion-card {
    background: linear-gradient(135deg, #ffc107, #fd7e14);
    color: white;
}

.events-card {
    background: linear-gradient(135deg, #007bff, #17a2b8);
    color: white;
}

.export-card {
    background: linear-gradient(135deg, #ff6b6b, #ff9f43);
    color: white;
}

/* Animation de bienvenue */
.welcome-text {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ff6b6b, #ff9f43);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.welcome-animation-full {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.welcome-text-animated {
    font-size: 4rem;
    font-weight: 700;
    color: #ff6b6b;
    display: flex;
    gap: 0.2em;
    flex-wrap: wrap;
    text-align: center;
}

.welcome-text-animated span {
    opacity: 0;
    transform: translateY(-30px);
    display: inline-block;
    animation: welcomeLetter 0.5s forwards;
}

.welcome-text-animated span:nth-child(n) {
    animation-delay: calc(0.1s * var(--i));
}

@keyframes welcomeLetter {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Login Container */
.login-container { 
    width: 100%; 
    max-width: 400px; 
    background: white; 
    padding: 40px; 
    border-radius: 20px; 
    box-shadow: 0 8px 30px rgba(0,0,0,0.2); 
    margin: 20px auto;
}
.login-container h2 { 
    text-align: center; 
    margin-bottom: 30px; 
    color: #ff6b6b; 
    font-weight: 700; 
}
.form-label { 
    font-weight: 500; 
}
.btn-login { 
    width: 100%; 
    background: #ff6b6b; 
    color: white; 
    font-weight: 600; 
    border-radius: 30px; 
    padding: 12px; 
    margin-top: 15px; 
    border: none;
}
.btn-login:hover { 
    background: #333; 
}
.text-small { 
    text-align: center; 
    margin-top: 15px; 
    font-size: 0.9rem; 
}
.text-small a { 
    color: #ff6b6b; 
    text-decoration: none; 
}
.text-small a:hover { 
    text-decoration: underline; 
}

/* Responsive */
@media (max-width: 768px) {
    .menu-toggle { display: block; }
    header nav { display: none; flex-direction: column; width: 100%; margin-top: 10px; }
    header nav.active { display: flex; background: #fff; padding: 10px; box-shadow: 0 4px 15px rgba(0,0,0,0.1); }
    
    .container-form {
        margin: 20px;
        padding: 30px 20px;
    }
    
    .progress-container {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .progress-step {
        width: 45%;
    }
    
    .welcome-text {
        font-size: 2rem;
    }
}