@font-face {
  font-family: 'HelveticaCustom';
  src: url('/fonts/Helvetica.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}


*{
    margin: 0;
}

body {
    background-color: #fff;
    color: #111;
    font-family: 'HelveticaCustom', 'Didot', 'Georgia', serif;
    overflow-x: hidden; /* Empêche le scroll horizontal */
}

.nav-liens {
  list-style: none;
  display: flex;
  justify-content: center;   /* Centre horizontalement les éléments */
  align-items: center;
  margin: 32px 0 40px 0;
  padding: auto;
  height: 56px;
}

.nav-liens li {
  margin-left: 20px;
  position: relative;
  padding: 0 16px; 
}

.nav-liens a {
  text-decoration: none;
  color: #111;
  font-weight: bold;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: border-bottom 0.3s, color 0.3s;
  font-size: 1.15rem;
  letter-spacing: 0.5px;
}

.nav-liens a:hover {
  border-bottom: 2px solid #d4af37; /* or Chanel gold */
  color: #d4af37;
}

.container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 40px auto;
  width: 100%;
  box-sizing: border-box; 
  background: #fff;
  border: 1px solid #eee;
  border-radius: 0;
}

.img-card {
  display: block;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  border-radius: 0;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
  border: 1px solid #e5e5e5;
  background: #fff;
  cursor: pointer;
  transition: transform 0.2s;
}

.img-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  transition: filter 0.3s;
  max-width: 100%; /* Empêche le débordement horizontal */
  border-radius: 0;
}

.img-card .img-text {
  position: absolute;
  left: 0; right: 0; bottom: 0; top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111;
  font-family: 'Didot', 'Georgia', serif;
  font-size: 1.3rem;
  font-weight: 600;
  opacity: 0;
  background: rgba(255,255,255,0.7);
  text-shadow: none;
  transition: opacity 0.3s;
  pointer-events: none;
}

.img-card:hover img {
  filter: grayscale(0%) brightness(0.95) contrast(1.1);
}

.img-card:hover .img-text {
  opacity: 1;
  color: #d4af37;
}

#contact {
  justify-content: center;
  align-items: center;
  color: #111;
}

#contact .contact-link {
  text-decoration: none;
  color: #d4af37;
  font-weight: 500;
  cursor: pointer;
}

#contact .contact-link img {
  filter: grayscale(100%) brightness(1.2);
  opacity: 0.85;
}

.footer{
  background-color: #fff;
  color: #111;
  border-top: 1px solid #e5e5e5;
  text-align: center;
  padding: 20px;
  position: relative;
  bottom: 0;
  width: 100%;
}

.footer .social-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 24px;
}

.nav-liens .dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border-radius: 0;
  border: 1px solid #e5e5e5;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  z-index: 10;
  padding: 8px 0;
  list-style: none; /* Enlève les points */
}

.nav-liens > li:hover > .dropdown {
  display: block;
}

.nav-liens .dropdown li {
  margin: 10px 0;
  padding: 0 16px; /* Ajoute du padding horizontal aux sous-liens */
  color: #111;
}

h1 {
  font-size: 2.7rem;
  font-weight: 900;
  color: #111;
  letter-spacing: 2px;
  text-shadow: none;
  font-family: 'Didot', 'Georgia', serif;
  border-bottom: 2px solid #d4af37;
  display: inline-block;
  padding-bottom: 8px;
  background: transparent;
}

html {
  box-sizing: border-box;
  overflow-x: hidden;
  background: #fff;
}

*, *::before, *::after {
  box-sizing: inherit;
}

/* Media Queries pour la responsivité */
@media (max-width: 700px) {
  .nav-liens {
    flex-direction: column;
    align-items: center;     
    height: auto;
    padding: 12px 10px;
    margin: 12px;
    position: relative;
  }

  .nav-liens li {
    position: relative;
    margin-left: 20px;
  }
}

@media (max-width: 900px) {
  .container {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .container {
    grid-template-columns: 1fr;
  }
  .img-card img {
    height: 180px;
  }
}