/*
  style_lld.css
  Styles pour la page Location Longue Durée (LLD)
  Palette:
    --primary: #0a111e (bleu nuit)
    --secondary: #FFD700 (doré)
    --light: #FFFFFF
    --gray: #cdd6df
  Police recommandée: "Montserrat", sans-serif (à inclure via Google Fonts si nécessaire)
*/

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

/* Global */
body {
  font-family: var(--font-family);
  color: var(--primary);
  background-color: #fff;
}

/* Contact Section Styles */
.contact-section {
  /* padding-top: 120px; */
  padding-bottom: 80px;
}

.contact-form-box,
.contact-info-box {
  height: 100%;
  min-height: 600px;
  position: relative;
  background-color: #fff;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.contact-info-box {
  background-size: cover !important;
  background-position: center !important;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.contact-info-box .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(26, 46, 79, 0.85);
  z-index: 1;
}

.contact-info-box .info-content {
  position: relative;
  z-index: 2;
  padding: 40px;
}

/* ======================================================
   Hero Section
   ====================================================== */
.lld-hero {
  position: relative;
  background-size: cover !important;
  background-position: center !important;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 0;
}

/* overlay sombre transparent */
.lld-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 17, 30, 0.55);
  /* semi-opaque dark overlay */
  z-index: 0;
}

.lld-hero .boxcar-container {
  position: relative;
  z-index: 2;
  /* above overlay */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 15px;
}

.lld-hero h1 {
  color: var(--light);
  font-size: 2.4rem;
  line-height: 1.1;
  margin-bottom: 12px;
  font-weight: 700;
}

.lld-hero p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 900px;
  margin: 0 auto 18px auto;
  font-size: 1rem;
}

.lld-hero .theme-btn {
  background: #1A2E4F;
  color: #FFFFFF;
  border: none;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  transition: background .18s ease, transform .15s ease;
}

.lld-hero .theme-btn:hover {
  background: #0a111e;
  /* slightly darker gold */
  transform: translateY(-3px);
  color: var(--light);
}

/* ======================================================
   Presentation Section
   ====================================================== */
.section-padding {
  padding: 80px 0;
}

.section-padding h2 {
  color: #1A2E4F;
  font-size: 1.8rem;
  margin-bottom: 18px;
  font-weight: 700;
}

.section-padding p {
  color: var(--primary);
  line-height: 1.6;
}

.section-padding .col-lg-6 img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(10, 17, 30, 0.08);
}

/* Ensure generous spacing for presentation text */
.section-padding .col-lg-6 {
  padding: 12px 20px;
}

/* ======================================================
   Avantages Section (cards)
   ====================================================== */
.bg-light {
  background-color: #f8fafb;
  /* léger fond clair */
}

.bg-light .card {
  border: 1px solid rgba(12, 18, 30, 0.06);
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(10, 17, 30, 0.06);
  transition: transform .18s ease, box-shadow .18s ease;
  height: 100%;
}

.bg-light .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(10, 17, 30, 0.10);
}

.bg-light .card .card-body i {
  color: var(--primary);
  background: rgba(10, 17, 30, 0.03);
  width: 72px;
  height: 72px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 28px;
  margin-bottom: 12px;
}

.bg-light .card .card-title {
  color: var(--secondary);
  font-weight: 700;
  margin-bottom: 8px;
}

.bg-light .card .card-text {
  color: var(--gray);
}

/* grid spacing for advantages */
.bg-light .row {
  gap: 20px;
}

/* ======================================================
   Formulaire Section
   ====================================================== */
#contact {
  padding: 70px 0 110px 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 .theme-btn {
  background: #1A2E4F;
  color: #FFFFFF;
  padding: 12px 28px;
  border-radius: 8px;
  border: 0;
  font-weight: 700;
  transition: background .15s ease, transform .12s ease;
}

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

/* small helper to center the form card visually */
#contact .col-lg-8 {
  background: transparent;
}

/* ======================================================
   Responsive
   ====================================================== */
@media (max-width: 991px) {
  .lld-hero h1 {
    font-size: 2rem;
  }

  .section-padding {
    padding: 60px 0;
  }

  .lld-hero .boxcar-container {
    padding: 60px 15px;
  }
}

@media (max-width: 767px) {
  .lld-hero {
    min-height: 60vh;
  }

  .lld-hero h1 {
    font-size: 1.6rem;
  }

  .section-padding {
    padding: 40px 0;
  }

  .section-padding .col-lg-6 {
    padding: 6px 8px;
  }

  .bg-light .row {
    gap: 14px;
  }
}

@media (max-width: 576px) {
  .lld-hero h1 {
    font-size: 1.4rem;
  }

  .lld-hero p {
    font-size: .95rem;
  }

  .lld-hero .theme-btn {
    padding: 10px 18px;
  }

  /* columns to stack */
  .row {
    display: block;
  }

  .col-lg-6,
  .col-md-6 {
    width: 100% !important;
  }
}

/* Utility tweaks specific to LLD page */
.muted {
  color: rgba(10, 17, 30, 0.6);
}

/* ======================================================
   Fix: align banner search button placement
   Some theme CSS moves the .form-submit with margin-left:auto or right offsets
   — we override here to ensure the button stays inside its form and is vertically aligned.
   This is a minimal, specific override to avoid changing global layout.
   ====================================================== */
.boxcar-banner-section-v1 .banner-content .form-submit {
  margin-left: 0 !important;
  display: inline-block !important;
  vertical-align: middle !important;
  position: static !important;
  width: auto !important;
  align-self: center !important;
}

@media (max-width: 991px) {
  .boxcar-banner-section-v1 .banner-content .form-submit {
    width: auto !important;
    right: 0 !important;
    position: static !important;
  }
}

@media (max-width: 767px) {
  .boxcar-banner-section-v1 .banner-content .form-submit {
    width: 100% !important;
    display: block !important;
  }
}


.contact-section {
  padding: 0px 20px;
  background-color: white;
}

.contact-form-box {
  background: #fff;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.contact-form-box .form-control {
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: 0.3s;
}

.contact-form-box .form-control:focus {
  border-color: #FFD700;
  box-shadow: 0 0 8px rgba(255, 215, 0, 0.3);
}

/* ===== Boîte image + texte ===== */
.contact-info-box {
  position: relative;
  background-size: cover;
  background-position: center;
  border-radius: 15px;
  overflow: hidden;
  height: 100%;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-info-box .overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 17, 30, 0.7);
}

.contact-info-box .info-content {
  position: relative;
  color: #fff;
  text-align: center;
  padding: 30px;
  max-width: 400px;
}

.contact-info-box h3 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 15px;
}

.contact-info-box p {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 25px;
  color: #f1f1f1;
}

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

.contact-list li {
  margin-bottom: 10px;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
}

.contact-list i {
  color: #FFD700;
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .contact-info-box {
    margin-top: 40px;
    min-height: 400px;
  }
}


/* ===== FAQ SECTION ===== */
.faq-section {
  padding: 80px 20px;
  background-color: #fff;
  text-align: center;
}

.faq-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 50px;
  color: #0a111e;
}

/* ===== FAQ ITEMS ===== */
.faq-item {
  max-width: 800px;
  margin: 0 auto 20px auto;
  text-align: left;
  border-bottom: 1px solid #eee;
}

/* Question button */
.faq-question {
  width: 100%;
  background: none;
  border: none;
  outline: none;
  font-size: 1.1rem;
  font-weight: 600;
  color: #0a111e;
  padding: 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: #FFD700;
}

.icon {
  font-size: 1.4rem;
  font-weight: bold;
}

/* Réponse cachée */
.faq-answer {
  display: none;
  background-color: #f7f9fb;
  padding: 20px 30px;
  border-radius: 10px;
  color: #333;
  animation: fadeIn 0.3s ease-in-out;
}

.faq-answer.active {
  display: block;
}

/* Animation douce */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .faq-question {
    font-size: 1rem;
    padding: 15px;
  }
}