/* SECTION HERO */
.contact-hero {
  background: url('/img/contactpage.jpg') center/cover no-repeat;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  position: relative;
}

.contact-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

.contact-hero-content {
  position: relative;
  z-index: 1;
}

.contact-hero h1 {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.contact-hero p {
  font-size: 15px;
  color: #f0f0f0;
}

/* SECTION GLOBALE */
.contact-section {
  background: #faf8f5;
  padding: 100px 8%;
  display: flex;
  justify-content: center;
}

.contact-flex {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 60px;
  max-width: 1100px;
  width: 100%;
}

/* BLOC GAUCHE : PHOTO + TEXTE */
.contact-left {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.05);
  overflow: hidden;
  max-width: 420px;
  flex-shrink: 0;
}

.contact-left img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.contact-left-content {
  padding: 30px;
}

.contact-left-content h2 {
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #222;
  margin-bottom: 10px;
}

.contact-left-content h2::after {
  content: "";
  display: block;
  width: 40px;
  height: 1px;
  background: #c5a46d;
  margin: 10px 0 20px;
}

.contact-left-content p {
  font-size: 15px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 20px;
}

.contact-details p {
  font-size: 14px;
  color: #666;
  margin-bottom: 8px;
}

.contact-details a {
  color: #c5a46d;
  text-decoration: none;
}

/* FORMULAIRE */
.contact-form-container {
  flex: 1;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.05);
  padding: 50px 60px;
  border-top: 4px solid #c5a46d;
  min-width: 320px;
}

.contact-form-container h3 {
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #222;
  margin-bottom: 25px;
}

.contact-form .form-group {
  margin-bottom: 25px;
}

.contact-form label {
  display: block;
  font-size: 13px;
  color: #444;
  margin-bottom: 8px;
  font-family: 'Montserrat', sans-serif;
}

.contact-form input,
.contact-form textarea {
  width: 94%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  color: #333;
  background: #fafafa;
  transition: border-color 0.3s ease, background 0.3s ease;
  font-family: 'Montserrat', sans-serif;
  
}

.contact-form textarea {
  resize : vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #c5a46d;
  background: #fff;
  outline: none;
}

/* BOUTON */
.btn-submit,
.submit-btn {
  background: linear-gradient(135deg, #c5a46d, #b08f5a);
  color: #fff;
  border: none;
  padding: 14px 45px;
  border-radius: 4px;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(197,164,109,0.3);
  width: 100%;
}

.btn-submit:hover,
.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(197,164,109,0.4);
}

/* MESSAGE DE SUCCÈS */
.success-message {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #c8e6c9;
  padding: 12px 20px;
  border-radius: 6px;
  font-size: 14px;
  margin-bottom: 20px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.contact-alt {
  font-size: 14px;
  color: #666;
  margin-top: 10px;
  margin-bottom: 20px;
  line-height: 1.6;
}

.invalid-feedback {
  background-color: rgba(197, 164, 109, 0.15);
  color: #2c2c2c;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 0.95rem;
  margin-top: 6px;
  display: inline-block;
} 

.is-invalid {
  border: 1px solid #a47a35!important;
}

.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.popup-content {
  background-color: #fff;
  padding: 30px 40px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  animation: fadeIn 0.4s ease;
}

/* Texte */
.popup-content p {
  color: #2c2c2c;
  font-size: 1rem;
  margin-bottom: 20px;
}

/* Bouton */
#close-popup {
  background-color: #c5a46d;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
}

#close-popup:hover {
  background-color: #b68b40;
}


.instagram-feed-section {
  background-color: #f9f9f9;
  padding: 60px 0 40px;
  text-align: center;
  border-top: 1px solid rgba(197, 164, 109, 0.3);
}

.instagram-feed-section .title-h2 {
  color: #2c2c2c;
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 30px;
}

#instagram-widget-container {
  max-width: 1200px;
  margin: 0 auto 30px;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.lightwidget-widget {
  width: 100%;
  border: none;
  overflow: hidden;
}

.instagram-cta {
  display: inline-block;
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: 600;
  transition: background-color 0.3s ease;
  font-size: 12px
}

/* Animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}