@import url('https://fonts.googleapis.com/css2?family=League+Spartan:wght@600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Sean+Slab:wght@400;800&display=swap');

@font-face {
  font-family: 'Sean Slab Narrow';
  src: url('../fonts/seanslab-normalblack-regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}
body {
    font-family: 'Sean Slab', serif;
    font-size: 16px;
    font-weight: 400;
}

h1 {
    font-family: 'League Spartan', sans-serif;
    font-weight: 600;
    font-size: 32pt;
}

.contact-info h2 {
    font-family: 'Sean Slab', sans-serif;
    font-size: 18pt;
    font-weight: 800;
}

.contact-container {
    margin-top: 30px;
}

.contact-blocks {
    display: flex;
    flex-wrap: wrap; /* Allows wrapping on smaller screens */
}

.contact-info,
.contact-form {
    padding: 20px;
    text-align: left; /* Align text to the left */
}   


.contact-details-block {
    background-color: #EEEEEE; /* Add background to the new block */
    padding: 20px; /* Add padding to the new block */
}

.info-block {
    margin-bottom: 20px;
}

.info-block i {
    /* Hide the icon */
    display: none;
}

.info-block .info-content {
    /* Ensure content inside info-block stacks if needed */
    display: block;
}

/* Style for info blocks with icons */
.info-block:has(i) {
    display: flex;
    align-items: center;
    /* Remove the icon */
}

.info-content h2 {
    margin-bottom: 5px;
}

.info-content p {
    margin-bottom: 5px;
    font-family: 'Sean Slab Narrow', sans-serif;
    font-size: 16px;
    font-weight: 400;
}



.map-container {
    margin-top: 20px;
}

.contact-map {
    border: 0;
    width: 100%;
    height: 300px;
}

.contact-form {
    display: flex;
    flex-direction: column;
}

.contact-form .form-group {
    margin-bottom: 20px;
    position: relative; /* Needed for label positioning */
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 15px 10px;
    border: none; /* Remove border */
    border-radius: 0px;
    font-size: 16px;
    font-family: 'Sean Slab Narrow', sans-serif;
    background-color: #EEEEEE; /* Set a slightly darker, minimal grey background */
    letter-spacing: 0.5px;
    line-height: 1.5;
}

.contact-form label {
    position: absolute;
    top: 18px;
    left: 10px;
    color: #999;
    transition: all 0.2s ease-in-out;
    pointer-events: none; /* Allow clicking on the input through the label */
    font-size: 16px;
    font-family: 'Sean Slab Narrow', sans-serif;
}

.contact-form input[type="text"]:focus + label,
.contact-form input[type="email"]:focus + label,
.contact-form textarea:focus + label,
.contact-form input[type="text"]:not(:placeholder-shown) + label,
.contact-form input[type="email"]:not(:placeholder-shown) + label,
.contact-form textarea:not(:placeholder-shown) + label {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out;
}

.contact-form textarea {
    min-height: 150px; /* Adjust as needed */
    resize: vertical; /* Allow vertical resizing */
}

.contact-form .submit-btn,
.contact-form .submit-btn:focus,
.contact-form .submit-btn:hover {
    width: auto;
    min-width: 180px;
    padding: 10px 24px;
    background-color: #000 !important;
    color: #fff !important;
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
    align-self: flex-end;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .contact-blocks {
        flex-direction: column;
    }

    .contact-info,
    .contact-form {
        width: 100%;
        padding: 10px;
    }

    .contact-form label {
        top: 20px; /* Adjust for smaller screens */
    }
}

/* Styles pour le header de contact */
.contact-header {
    width: 100%;
    background-color: white;
    padding: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.contact-nav {
    width: 100%;
    background-color: #1c1c1c;
    padding: 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px 0 10px;
    height: 60px;
}

.logo {
    height: 120px;
    display: flex;
    align-items: center;
}

.logo img {
    height: 100%;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 20px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    padding: 0 15px;
    transition: all 0.3s ease;
    font-family: 'Sean Slab Narrow', sans-serif;
}

.nav-links a:hover {
    color: #ccc;
}

.nav-links a.active {
    color: #ccc;
}

/* Specific overrides for navbar on contact.php */
.navbar > .container-fluid > .container {
    justify-content: space-between !important;
    gap: 0 !important;
}

.navbar .logo-wrapper {
    margin-right: auto !important;
}

.navbar .social-icons-wrapper {
    margin-left: auto !important;
}

/* Responsive adjustments for logo on contact page */
@media (max-width: 992px) {
    .logo {
        height: 100px;
    }
}

@media (max-width: 768px) {
    .logo {
        height: 80px;
    }
}

@media (max-width: 576px) {
    .logo, .logo img {
        display: block !important;
        margin: 0 auto !important; /* centre le logo */
        height: 60px !important;
        max-height: 60px !important;
        width: auto !important;
    }
    /* Décale tout le contenu sauf le header/nav */
    .contact-container,
    .contact-page > *:not(.contact-header):not(.contact-nav):not(header):not(.navbar) {
        padding-left: 20px;
        padding-right: 10px; /* optionnel, pour équilibrer */
    }
}

.contact-page .logo, .contact-page .logo img {
    height: 120px !important;
    max-height: 120px !important;
    width: auto;
}

.contact-page .logo {
    margin-left: 0px;
    /* Ajuste la valeur pour rapprocher le logo du bord gauche */
}

.navbar a, .navbar a:visited {
    color: rgba(var(--bs-dark-rgb),var(--bs-text-opacity)) !important;
    font-family: 'Sean Slab', serif !important;
    font-size: 16px !important;
}

.fw-bold {
    font-weight: bold !important;
}

.nav-icon img {
    height: 28px;
    vertical-align: middle;
  }

  .nav-icon.contact-icon img {
    height: 26px;
  }
  
  .navbar-nav.desktop-nav {
    gap: 2.5rem;
  }

  .nav-icon img {
    height: 28px;
    vertical-align: middle;
  }
  
  .nav-icon.contact-icon img {
    height: 26px;
  }
  

  
.contact-page .navbar .social-icons-wrapper a {
    text-decoration: none !important;
}
  
.contact-page .navbar .social-icons-wrapper a .fa-instagram,
.contact-page .navbar .social-icons-wrapper a .fa-linkedin-in {
    font-size: 1.5rem !important;
    /* Taille ajustée pour correspondre à ~23-24px */
}
  
.contact-page .navbar .social-icons-wrapper {
    justify-content: flex-start !important;
    margin-left: 40px;
    /* Ajuste la valeur pour aligner avec le logo */
}
  
@media (max-width: 992px) {
  .contact-page .logo {
    margin-left: 0;
    margin-right: 0;
    display: flex;
    justify-content: flex-start;
  }
}
  
@media (max-width: 768px) {
  .contact-page .logo, .contact-page .logo img {
    height: 80px !important;
    max-height: 80px !important;
  }
}
@media (max-width: 576px) {
  .contact-page .logo, .contact-page .logo img {
    height: 60px !important;
    max-height: 60px !important;
  }
}
  


/* Pour les très petits écrans */
@media (max-width: 480px) {
  .contact-container {
    padding: 0 2vw !important;
  }
  h1 {
    font-size: 18pt !important;
  }
  .contact-info h2 {
    font-size: 13pt !important;
  }
  .logo, .logo img {
    height: 40px !important;
    max-height: 40px !important;
  }
}
  
/* Empêcher le décalage du logo */
@media (max-width: 576px) {
    .navbar > .container-fluid > .container {
      justify-content: flex-start !important;
      gap: 10px !important;
    }
    
    .mobile-logo {
      flex: 0 0 auto !important;
      width: auto !important;
      margin-right: 10px !important;
    }
    
    .navbar-toggler {
      margin-left: auto !important;
    }
  }
  /* Nouveau conteneur pour le header mobile */
.mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  /* Empêcher le logo de disparaître */
  @media (max-width: 576px) {
    .logo-wrapper {
      flex: 0 0 auto !important;
      width: auto !important;
      margin-right: 10px !important;
    }
    
    .logo, .logo img {
      height: 50px !important;
      max-height: 50px !important;
      width: auto !important;
      max-width: 150px !important;
      display: block !important;
      margin: 0 !important;
    }
    
    .navbar-toggler {
      margin-left: auto !important;
      margin-right: 0 !important;
    }
    
    .mobile-header {
      padding: 0 10px;
    }
  }
  
  /* Garantir que le logo reste visible */
  .logo-wrapper {
    z-index: 1000;
    position: relative;
  }

  @media (max-width: 768px) {
    .logo-wrapper {
      position: relative;
    }
  
    .logo {
      position: absolute;
      top: 10px; /* Ajuste la valeur ici pour descendre */
      left: 0;
      right: 0;
      margin: 0 auto;
      max-height: 60px;
    }
  }
  @media (max-width: 768px) {
    .logo {
      position: absolute;
      top: 10px;
      left: 0;
      right: 0;
      margin: 0 auto;
      max-height: 60px;
    }
  
    .logo-wrapper {
      position: relative;
      height: 80px; /* Réserve un peu d'espace */
    }
  
    .navbar-toggler {
      margin-top: 70px; /* Décale le bouton hamburger vers le bas */
    }
  }

  @media (max-width: 992px) and (min-width: 769px) {
    .logo-wrapper {
      justify-content: flex-start !important;
      align-items: center !important;
      display: flex !important;
      height: 70px !important;
    }
    .logo {
      height: 60px !important;
      max-height: 60px !important;
      margin-left: 0 !important;
      margin-right: 0 !important;
      display: flex !important;
      align-items: center !important;
      justify-content: flex-start !important;
    }
    .logo img {
      height: 60px !important;
      max-height: 60px !important;
      width: auto !important;
    }
  }


  @media (max-width: 991px){
    .navbar a, .navbar a:visited {
  margin-bottom: 40px !important;
  }
}


 @media (max-width: 1199px) and (min-width: 1024px) {
.navbar a, .navbar a:visited {
  margin-right: 13px;
 }
}


@media (max-width: 991px) and (min-width: 769px) {
  .logo-wrapper .logo {
    margin-left: -248px !important;
  }
}


@media (max-width: 576px) and (min-width: 481px) {
  .logo-wrapper .logo {
    margin-left: 19px !important;
  }
}

@media (max-width: 991px) {
.fab{
    font-size : 18.5pt
  }
}