/* Booking Page Styles */
body {
    background-color: #f8f8f8;
    color: #1a1a1a;
    font-family: 'Poppins', sans-serif;
    padding-top: 100px;
    line-height: 1.6;
    font-weight: 400;
    font-size: 16px;
}

.booking-page-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}

.booking-form-card {
    background: white;
    padding: 3rem 2.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: none;
    position: relative;
    overflow: hidden;
}

.booking-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #1a1a1a;
}

.booking-form-card h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2.5rem;
    color: #1a1a1a;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.6rem;
    font-weight: 600;
    color: #1a1a1a;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border-radius: 0;
    border: 2px solid #e0e0e0;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #f8f8f8;
    font-family: 'Poppins', sans-serif;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1a1a1a;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.btn-submit {
    display: block;
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 0;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #1a1a1a;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid #1a1a1a;
    margin-top: 1.5rem;
}

.btn-submit:hover {
    background: white;
    color: #1a1a1a;
    transform: translateY(-2px);
}

.form-message {
    padding: 15px;
    margin-bottom: 25px;
    border-radius: 0;
    text-align: center;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 2px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 2px solid #f5c6cb;
}

/* Animations pour le formulaire */
.booking-form-card {
    animation: slideInUp 0.8s ease forwards;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-group {
    animation: fadeIn 0.6s ease forwards;
    opacity: 0;
}

.form-group:nth-child(1) { animation-delay: 0.2s; }
.form-group:nth-child(2) { animation-delay: 0.3s; }
.form-group:nth-child(3) { animation-delay: 0.4s; }
.form-group:nth-child(4) { animation-delay: 0.5s; }
.form-group:nth-child(5) { animation-delay: 0.6s; }
.form-group:nth-child(6) { animation-delay: 0.7s; }
.form-group:nth-child(7) { animation-delay: 0.8s; }
.form-group:nth-child(8) { animation-delay: 0.9s; }

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Responsive Design pour la réservation */
@media (max-width: 768px) {
    .booking-page-container {
        margin: 30px auto;
    }
    
    .booking-form-card {
        padding: 2.5rem 2rem;
    }
    
    .booking-form-card h2 {
        font-size: 2rem;
    }
    
    body {
        padding-top: 120px;
    }
    
    .form-group {
        margin-bottom: 1.2rem;
    }
    
    .form-group label {
        font-size: 0.85rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 0.95rem;
    }
    
    .btn-submit {
        padding: 12px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .booking-form-card {
        padding: 2rem 1.5rem;
    }
    
    .booking-form-card h2 {
        font-size: 1.8rem;
    }
    
    .booking-page-container {
        margin: 20px auto;
        padding: 0 15px;
    }
}

/* Styles pour les champs requis */
.form-group input:required,
.form-group select:required {
    border-left: 3px solid #1a1a1a;
}

.form-group input:invalid:not(:placeholder-shown),
.form-group select:invalid:not(:placeholder-shown) {
    border-color: #e74c3c;
}

/* Effet de focus amélioré */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Loading state pour le bouton */
.btn-submit.loading {
    position: relative;
    color: transparent;
}

.btn-submit.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 18px;
    height: 18px;
    border: 2px solid transparent;
    border-top: 2px solid #000000;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
} 