/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Georgia', serif;
}

/* Hero con sola immagine */
.contatti-hero {
  height: 50vh;
  background: url("../../assets/img/contattaci.jpg") no-repeat center center/cover;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Oscuramento leggero per contrasto 
.contatti-hero::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.25);  leggero filtro per dare profondità 
}*/

/* Sezione principale */
.contatti-main {
  padding: 60px 20px;
  background: #fff;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
}

.contact-info {
  flex: 1;
  min-width: 250px;
}

.contact-info h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.contact-info p {
  font-size: 1rem;
  margin-bottom: 10px;
  color: #444;
}

.contact-form {
  flex: 1;
  min-width: 300px;
}

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

.contact-form label {
  margin-top: 15px;
  margin-bottom: 5px;
  font-weight: 500;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  resize: vertical;
}

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

.contact-form .btn {
  margin-top: 20px;
  padding: 12px 24px;
  background: #b8860b;
  color: #fff;
  text-decoration: none;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

.contact-form .btn:hover {
  background: #8b6508;
}

/* Messaggio conferma */
.form-status {
  margin-top: 15px;
  font-weight: bold;
}

/* Footer */
footer {
  background: #333;
  color: #fff;
  padding: 40px 20px;
  text-align: center;
}

.footer-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-section h3 {
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.footer-section p {
  margin: 8px 0;
}

.footer-section a {
  color: #ddd;
  text-decoration: none;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: #fff;
}

.footer-section img.icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
    align-items: center;
  }

  .contact-info {
    text-align: center;
  }

  .contatti-hero {
    height: 40vh;
  }
}
