/* ======================================================================
   PAGE CONTACT
====================================================================== */

body {
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), 
            url('../images/fond-restaurant.jpg');
    margin: 0;
}

.contact-section {
    max-width: 1600px;
    margin: 150px auto 75px auto; 
    padding: 0 40px;
    min-height: 70vh;
    align-content: center;
}

/* Grille principale */
.contact-dual-layout {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    gap: 50px; 
    align-items: stretch; 
}

/* --- COLONNE GAUCHE : NOS HORAIRES & INFORMATIONS --- */
.contact-info-frame {
    flex: 1; 
    display: flex;
    flex-direction: column;
    gap: 50px;
    justify-content: center;
}

.information-card {
    background-color: rgb(217, 217, 217);
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    box-sizing: border-box;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: transform 0.4s ease;
}

.information-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.6); 
    border-color: rgba(255, 255, 255, 0.8);
}

.information-card h2 {
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 15px;
    margin-top: 0;
}

.hours-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hours-list li {
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    color: #333;
}

.hours-list li span {
    font-weight: 600;
    color: #555;
}

.info-hours, .info-text {
    line-height: 1.6;
    color: #555;
    font-size: 0.95rem;
}

/* --- COLONNE DROITE : FORMULAIRE CONTACT --- */
.contact-form-frame {
    flex: 1.5; 
}

.contact-title {
    font-size: 2.2rem;
    margin-top: 0;
    margin-bottom: 10px;
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.contact-subtitle {
    color: #f1f1f1;
    margin-bottom: 30px;
    font-size: 1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.form-row-triple {
    display: flex;
    gap: 15px;
}

.form-row-triple .form-group {
    flex: 1; 
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #f1f1f1;
    font-size: 0.9rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
    background-color: rgb(217, 217, 217);
}

.form-control:focus {
    border-color: #ff0000;
    box-shadow: 0 0 0 3px rgba(255, 4, 4, 0.25);
    outline: none;
    background-color: #ffffff;
}

/* Style du bouton rouge de la section héro */
.btn-submit {
    display: inline-block;
    background-color: rgba(255, 4, 4, 0.55);
    color: #ffffff;
    text-decoration: none;
    padding: 20px 20px;
    font-weight: 700;
    border-radius: 15px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 4, 4, 0.4);
    backdrop-filter: blur(4px);
    border: none;
    cursor: pointer;
}

/* Style du bouton rouge de la section héro au survol */
.btn-submit:hover {
    background-color: rgba(255, 4, 4, 0.8);
}

.no-contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
}

.no-contact-text {
    font-size: 1.2rem;
    color: #fff;
    font-style: italic;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

/* Animation pour l'effet d'apparition */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease-out forwards;
}

.notification-container {
    width: 100%;
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Style de la bulle de notification intégré */
.toast-notification {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.3s ease-in-out;
}

/* Vert pour le succès */
.toast-success {
    background-color: #9de0a1;
    color: #25741d;
}

/* Rouge pour l'erreur */
.toast-error {
    background-color: #e09d9d;
    color: #741d1d;
}

/* Bouton fermer */
.toast-close {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.3rem;
    cursor: pointer;
    opacity: 0.8;
    padding-left: 10px;
    line-height: 1;
}

.toast-close:hover {
    opacity: 1;
}

/* ======================================================================
   AJUSTEMENTS RESPONSIVE (Mobiles et tablettes)
====================================================================== */

@media screen and (max-width: 768px) {
    .contact-dual-layout {
        flex-direction: column;
        gap: 40px;
        align-items: stretch;
    }
    
    .contact-form-frame, .contact-info-frame {
        flex: none;
        width: 100%;
    }

    .form-row-triple {
        flex-direction: column;
        gap: 0; 
    }
}

/* ======================================================================
   ANIMATIONS
====================================================================== */

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

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