/*
  style_contact.css
  Styles spécifiques pour le formulaire de la page Contact
  Reprend le style du formulaire LLD (palette et interactions)
*/

:root{
  --primary: #0a111e;
  --secondary: #FFD700;
  --light: #ffffff;
  --gray: #cdd6df;
  --font-family: 'Montserrat', sans-serif;
}

body{ font-family: var(--font-family); }

/* ==========================
   Contact Form Styles
   ========================== */
#contact{
  padding: 60px 0 80px 0;
}

#contact .boxcar-title h2{
  color: var(--primary);
}

#contact .form-control{
  border: 1px solid var(--gray);
  border-radius: 10px;
  padding: 12px 14px;
  box-shadow: none;
  transition: border-color .12s ease, box-shadow .12s ease;
}

#contact .form-control:focus{
  border-color: var(--secondary);
  box-shadow: 0 0 0 6px rgba(255,215,0,0.08);
  outline: none;
}

#contact label{ display:block; margin-bottom:6px; color:var(--primary); font-weight:600; }

#contact .theme-btn{
  background: var(--secondary);
  color: var(--primary);
  padding: 12px 28px;
  border-radius: 8px;
  border: 0;
  font-weight: 700;
  transition: background .15s ease, transform .12s ease;
}

#contact .theme-btn:hover{
  background: #e0ad00;
  color: var(--light);
  transform: translateY(-2px);
}

/* Spacing helpers */
#contact .mb-3{ margin-bottom: 1rem !important; }

/* Responsive tweaks */
@media (max-width: 767px){
  #contact{ padding: 40px 0; }
  #contact .theme-btn{ width: 100%; }
}
/* ===== Conteneur principal ===== */

.contact-column {
    padding: 30px;
    background-color: #f9f9f9; /* Couleur légère de fond */
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* ===== Inner Column ===== */
.contact-column .inner-column {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* ===== Titre principal ===== */
.contact-column .boxcar-title {
    text-align: center;
}

.contact-column .boxcar-title .title {
    font-size: 22px;
    font-weight: 700;
    color: #0a111e; /* Couleur sombre pour le titre */
    margin-bottom: 10px;
}

.contact-column .boxcar-title .text {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
}

/* ===== Les boxes (Adresse, Email, Phone) ===== */
.contact-column .content-box {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-column .content-box .icon {
    flex-shrink: 0;
}

.contact-column .content-box h6.title {
    font-size: 16px;
    font-weight: 600;
    color: #0a111e;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 5px;
}

.contact-column .content-box .text {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
}

/* ===== Icônes ===== */
.contact-column .content-box .icon svg {
    width: 26px;
    height: 26px;
}

/* ===== Réseaux sociaux ===== */
.contact-column .social-icons .title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #0a111e;
    text-align: left;
}

.contact-column .social-links {
    display: flex;
    gap: 15px;
    padding-left: 0;
    list-style: none;
}

.contact-column .social-links li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: #0a111e;
    color: #fff;
    border-radius: 50%;
    transition: all 0.3s ease;
    font-size: 14px;
}

.contact-column .social-links li a:hover {
    background-color: #FFD700; /* Couleur de survol */
    color: #0a111e;
}



.google-iframe iframe {
    width: 100%;
    height: 500px; /* ou 100% si tu veux qu’elle prenne toute la hauteur de la colonne */
}

/* ===== Conteneur Map ===== */
.map-sec {
    width: 100%;
    height: 500px;
    background-color: #f9f9f9; /* Couleur légère de fond */
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
}

/* ===== Iframe Google Maps ===== */
.map-sec .google-iframe iframe {
    width: 100%;
    height: 500px;
    border: 0;
    border-radius: 12px; /* Même coins arrondis que la carte contact */
}


/* ===== Contact Section Responsive ===== */
.contact-section .container {
    max-width: 1200px; /* pour ne pas trop étirer */
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 50px;
}

/* Assurer que map et contact prennent toujours 100% sur mobile */
.contact-section .col-lg-6,
.contact-section .col-md-12,
.contact-section .col-sm-12 {
    /* padding-left: 10px; */
    padding-right: 10px;
    box-sizing: border-box;
}

/* Responsive < 992px */
@media (max-width: 992px) {
    .contact-section .row {
        display: flex;
        flex-direction: column;
        gap: 30px; /* espace vertical réduit */
        align-items: center;
    }

    .contact-section .col-lg-6 {
        width: 100%;
        max-width: 100%;
    }

    .contact-column {
        padding: 20px;
        width: 100%;
    }

    .map-sec iframe {
        height: 400px; /* réduire hauteur map pour mobile */
    }
}

/* Responsive < 576px (téléphone) */
@media (max-width: 576px) {
    .google-iframe .inner-column {
        gap: 0px;
    }

    .contact-column .content-box {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-column .content-box h6.title {
        font-size: 14px;
    }

    .contact-column .content-box .text {
        font-size: 13px;
    }

    .map-sec iframe {
        height: 300px;
    }
}



/* ===== Responsive ===== */

/* ===== Section principale ===== */
.calculater-sec {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0px 20px;
  background-color: #f9f9f9;
  
}

/* ===== Conteneur droit ===== */
.calculater-sec .right-box {
  width: 100%;
  max-width: 1100px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  padding: 50px 40px;
  
}

/* ===== Colonne contenu ===== */
.calculater-sec .content-column {
  display: flex;
  justify-content: center;
  width: 100%;
}

/* .calculater-sec .inner-column {
  width: 300%;
  
} */

/* ===== Titre ===== */
.calculater-sec .boxcar-title {
  text-align: center;
  margin-bottom: 40px;
}

.calculater-sec .boxcar-title h2 {
  font-size: 26px;
  color: #0a111e;
  font-weight: 700;
  margin-bottom: 10px;
}

.calculater-sec .boxcar-title p {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

/* ===== Formulaire ===== */
.calculater-sec form {
  display: flex;
  display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));

  flex-wrap: wrap;
  gap: 20px 25px;
  justify-content: center;
}

/* ===== Chaque champ ===== */
.form_boxes {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form_boxes label {
  font-size: 14px;
  font-weight: 600;
  color: #0a111e;
}

.form_boxes input,
.form_boxes textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 15px;
  color: #333;
  background-color: #fff;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.form_boxes input:focus,
.form_boxes textarea:focus {
  border-color: #FFD700;
  box-shadow: 0 0 8px rgba(255, 215, 0, 0.3);
  outline: none;
}

/* ===== Zone de texte ===== */
.form_boxes.v2 textarea {
  resize: none;
  height: 130px;
}

/* ===== Bouton ===== */
.form-submit {
  width: 100%;
  display: flex;
  justify-content: center;
  /* margin-top: 15px; */
}

.theme-btn {
  background-color: #0a111e;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  padding: 12px 35px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.theme-btn:hover {
  background-color: #FFD700;
  color: #0a111e;
}

.theme-btn img {
  width: 18px;
  height: auto;
}

/* ===== Formulaire responsive mobile ===== */
@media (max-width: 768px) {
  .calculater-sec form {
    display: grid;
    grid-template-columns: 1fr; /* une seule colonne */
    gap: 15px; /* espace entre les champs */
  }

  .form_boxes input,
  .form_boxes textarea {
    width: 100%; /* champs prennent toute la largeur du container */
  }

  .form_boxes.v2 textarea {
    height: 120px; /* réduire un peu la hauteur sur mobile */
  }

  .theme-btn {
    width: 100%; /* bouton prend toute la largeur */
    justify-content: center;
  }
}
/* ===== Fin Section principale ===== */



@media(max-width: 480px){
        .footer-container {
            grid-template-columns: 1fr;
            gap: 20px;
            padding-top: 40px;
           
        }
        .footer-contact{
        margin-top: 30px;
        display: grid;
        justify-content: center;
        text-align: start !important;
    }
  }