html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #fffdfc;
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
}

.input-field {
  border-bottom: 1px solid #9ca3af; /* gray-400 */
  padding: 0.5rem 0;
  outline: none;
  transition: border-color 0.3s ease;
}

.input-field:focus {
  border-color: #d97706; /* amber-600 */
}

.btn-primary {
  background-color: #d97706;
  color: white;
  padding: 0.75rem 1rem;
  border-radius: 9999px;
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background-color: #b45309;
}

/* Styles communs aux champs */
.input-field {
  border-bottom: 1px solid #9ca3af; /* gray-400 */
  padding: 0.5rem 0;
  outline: none;
  background-color: transparent;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  appearance: none; /* supprime le style natif (utile pour select) */
}

/* Focus */
.input-field:focus {
  border-color: #d97706; /* amber-600 */
}

/* Ajustement pour <select> */
select.input-field {
  padding-right: 1.5rem; /* espace pour la flèche */
  cursor: pointer;
}

/* Petite flèche stylée en pseudo-élément */
select.input-field {
  background-image: linear-gradient(45deg, transparent 50%, #9ca3af 50%), 
                    linear-gradient(135deg, #9ca3af 50%, transparent 50%);
  background-position: right 0.5rem top 50%, right 0.8rem top 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.gallery-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.6s ease;
  filter: brightness(0.9) contrast(1.05) saturate(1.1);
}

.group:hover .gallery-img {
  transform: scale(1.08);
  filter: brightness(0.7) contrast(1.1);
}

/* Effet overlay doré au survol */
.group::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top right, rgba(255, 183, 77, 0.2), rgba(0, 0, 0, 0.3));
  opacity: 0;
  transition: opacity 0.5s ease;
}

.group:hover::after {
  opacity: 1;
}
