@import url('style.css'); /* eredita stili generali della home */

/* ===== CONTACT HERO ===== */
.contact-hero {
  background: linear-gradient(135deg, #004aad, #002855);
  height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.contact-hero-text {
  text-align: center;
  color: white;
}

.contact-hero-text h2 {
  font-size: 2.8rem;
  margin-bottom: 10px;
}

.contact-hero-text p {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* ===== CONTACT CONTENT: DUE COLONNE ===== */
.contact-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 1100px;
  margin: 50px auto;
  gap: 40px;
}

/* COLONNA MAPPA */
.contact-map {
  flex: 1 1 500px;
  height: 350px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
  border: 2px solid #004aad;
}

/* COLONNA BOX CONTATTI: VERTICALI */
.contact-boxes {
  flex: 1 1 400px;
  display: flex;
  flex-direction: column; /* box uno sotto l’altro */
  gap: 20px;
  justify-content: flex-start;
}

/* BOX EMAIL E TELEFONO – STILE QUADRATO MODERNO */
.contact-box {
  width: 100%;
  height: 180px;
  background: linear-gradient(135deg, #004aad, #002855);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 20px;
  box-shadow: 0 12px 25px rgba(0,0,0,0.25);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
}

.contact-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 35px rgba(0,0,0,0.35);
}

.contact-box h3 {
  margin: 0 0 10px 0;
  font-size: 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.contact-box p {
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
  word-break: break-word;
}

/* ICONA EMAIL PERSONALIZZATA */
.contact-icon {
  width: 40px;
  height: 40px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .contact-content {
    flex-direction: column;
    gap: 25px;
  }

  .contact-map {
    height: 300px;
  }

  .contact-boxes {
    gap: 20px;
  }

  .contact-box {
    width: 100%;
    height: 150px;
  }

  .contact-hero-text h2 {
    font-size: 2rem;
  }

  .contact-hero-text p {
    font-size: 1rem;
  }
}
