/* --- STYLES GLOBAUX (Réutilisés) --- */

.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/concess_photo_3.png');
    background-size: cover;
    background-position: center;
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
}

.hero2 {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/concess_photo_5.png');
    background-size: cover;
    background-position: center;
    height: 200px;
}

.hero3 {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/concess_photo_6.png');
    background-size: cover;
    background-position: center;
    height: 200px;
}

.btn-red {
    text-decoration: none;
    background-color: #e74c3c;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.3s;
    width: 100%;
    /* Largeur pleine pour le formulaire */
    font-weight: bold;
}

.btn-red:hover {
    background-color: rgb(245, 58, 37);
    transform: scale(1.03);
}

/* --- SECTION CONTACT --- */

.contact-container {
    display: flex;
    justify-content: center;
    padding: 50px 20px;
    background-color: #f4f4f4;
}

.contact-card {
    background: white;
    border: 1px solid #000;
    border-bottom: 4px solid #000;
    /* Rappel du style de tes cartes auto */
    padding: 30px;
    width: 100%;
    max-width: 500px;
    position: relative;
    overflow: hidden;
}

.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.85rem;
    margin-bottom: 5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 10px;
    border: 1px solid #000;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: 2px solid #e74c3c;
    border-color: transparent;
}

.moreInfo {
    color: #e74c3c;
    transition: all 0.3s;
}

.moreInfo:hover {
    color: #ff8c80;
}

.grayoff {
    position: absolute; /* Sort du flux pour se superposer */
    top: 0;
    left: 0;
    width: 100%;        /* Prend toute la largeur de la card */
    height: 100%;       /* Prend toute la hauteur de la card */
    background-color: rgba(128, 128, 128, 0.5); /* Gris semi-transparent */
    z-index: 10;        /* S'assure qu'il passe au-dessus du contenu */
    pointer-events: none; /* Optionnel : permet de cliquer "à travers" sur le formulaire */
}

/* --- RESPONSIVE --- */

@media (max-width: 600px) {
    .hero {
        height: 300px;
    }

    .contact-container {
        padding: 20px 10px;
    }

    .contact-card {
        padding: 20px;
    }
}