/* Reset base */
* { margin:0; padding:0; box-sizing:border-box; }
body {
  font-family: "Archivo", sans-serif;
  line-height: 1.6;
  color: #333;
  background: #fff;
}

/* Header */
#header {
  position: fixed;
  top: 0;
  width: 100%;
  background: #0077b6;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.nav-social nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.nav-social nav a {
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  transition: color 0.3s;
}
.nav-social nav a:hover { color: #90e0ef; }
.nav-social .menu i { font-size: 1.2rem; color: #fff; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  position: absolute;
  right: 20px;
  top: 20px;
}
.hamburger span {
  width: 25px;
  height: 3px;
  margin: 4px 0;
  background: #fff;
  transition: 0.3s;
}
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-social {
    position: absolute;
    top: 70px; left: 0;
    width: 100%;
    background: #0077b6;
    padding: 1rem 0;
    display: none;
    flex-direction: column;
    align-items: center;
  }
  .nav-social.active { display: flex; }
  .nav-social nav ul {
    flex-direction: column;
    gap: 1rem;
  }
}

/* Hero Section */
.hero-video {
  position: relative;
  height: 70vh;
  overflow: hidden;
}
.hero-video video {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.video-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  z-index: 2;
}

/* Contenuto Hero */
.hero-content {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  max-width: 900px;
  width: 90%;
  z-index: 3;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem; /* spazio fra logo e testo */
}

/* Logo grande */
.hero-logo img {
  max-width: 600px;
  width: 60%;
  height: auto;
  opacity: 0.95;
}

/* Testo Hero */
.hero-text h1 { font-size: 3rem; margin-bottom: 1rem; }
.hero-text h3 { font-size: 1.5rem; margin-bottom: 1.5rem; }
.hero-text p  { font-size: 1.1rem; margin-bottom: 2rem; }

/* CTA */
.hero-cta {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

/* Buttons */
.btn-primary, .btn-secondary {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}
.btn-primary { background: #0077b6; color: #fff; }
.btn-primary:hover { background: #005f8a; }
.btn-secondary { background: #fff; border: 2px solid #0077b6; color: #0077b6; }
.btn-secondary:hover { background: #0077b6; color: #fff; }

/* Sections */
section { padding: 4rem 1rem; }
.container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.container.reverse { flex-direction: row-reverse; }
.spotlight .content { flex: 1 1 500px; }
.spotlight .image { flex: 1 1 400px; }
.spotlight .image img { width: 100%; border-radius: 12px; }

/* Social Section */
#social-section { text-align: center; background: #f8f9fa; }
#social-section h2 { margin-bottom: 1rem; }
#social-section .icons a {
  margin: 0 0.5rem;
  font-size: 1.5rem;
  color: #0077b6;
  transition: color 0.3s;
}
#social-section .icons a:hover { color: #005f8a; }

/* Footer */
.site-footer { background: #222; color: #ddd; padding: 2rem; }
.footer-box { display: flex; justify-content: space-between; flex-wrap: wrap; }
.company-data, .footer-social { flex: 1 1 300px; margin: 1rem 0; }
.footer-social .icons li { display: inline-block; margin-right: 0.5rem; }
.footer-social .icons a { color: #ddd; font-size: 1.2rem; transition: color 0.3s; }
.footer-social .icons a:hover { color: #0077b6; }

.site-footer {
  position: relative;
  z-index: 5;
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease forwards;
}
.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  animation: slideInLeft 1s ease forwards;
}
.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  animation: slideInRight 1s ease forwards;
}
@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }
@keyframes slideInLeft { to { opacity: 1; transform: translateX(0); } }
@keyframes slideInRight { to { opacity: 1; transform: translateX(0); } }

/* Sezione due colonne */
.two-columns {
  display: flex;
  justify-content: center;
  align-items: stretch;
  width: 100%;
  padding: 4rem 2rem;
  gap: 2rem;
  background: #f8f9fa;
  flex-wrap: wrap; /* mobile responsive */
}

.two-columns .card {
  flex: 1 1 45%;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.two-columns .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.two-columns .card i {
  font-size: 3rem;
  color: #0077b6;
  margin-bottom: 1rem;
}

.two-columns .card h2 {
  margin-bottom: 1rem;
  font-size: 1.8rem;
  color: #0077b6;
}

.two-columns .card p {
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
}

/* Mobile: stack colonne */
@media (max-width: 768px) {
  .two-columns {
    flex-direction: column;
  }
  .two-columns .card {
    flex: 1 1 100%;
  }
}

/* Social Hero */
.hero-social {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 1.5rem;
  z-index: 4;
}

.hero-social a {
  color: #fff;
  font-size: 1.5rem;
  transition: color 0.3s, transform 0.3s;
}

.hero-social a:hover {
  color: #90e0ef;
  transform: scale(1.2);
}

/* Social Hero */
.hero-social {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 2rem;
  z-index: 4;
}

.hero-social a {
  color: #fff;
  font-size: 3rem; /* il doppio di prima */
  transition: color 0.3s, transform 0.3s;
}

.hero-social a:hover {
  color: #90e0ef;
  transform: scale(1.2);
}

/* --- Mobile Fix --- */
@media (max-width: 768px) {
  .hero-video {
    height: 90vh;
  }

  .hero-content {
    gap: 1rem;
    padding: 0 1rem;
  }

  .hero-logo img {
    max-width: 250px;
    width: 70%;
  }

  .hero-text h1 {
    font-size: 2rem;
  }
  .hero-text h3 {
    font-size: 1.1rem;
  }
  .hero-text p {
    font-size: 0.95rem;
    margin-bottom: 1rem;
  }

  .hero-cta {
    flex-direction: column;
    gap: 0.5rem;
  }
  .hero-cta a {
    width: 100%;
    text-align: center;
  }

  .hero-social {
    bottom: 10px;
    gap: 1.2rem;
  }
  .hero-social a {
    font-size: 2rem;
  }
}

/* === STILI PAGINA SOSTIENICI === */

/* Sezione introduttiva */
.intro-section {
  text-align: center;
  padding: 6rem 2rem 3rem;
  background: #f9f9f9;
}

.intro-section h1 {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: #222;
}

.intro-section p {
  font-family: 'Quicksand', sans-serif;
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
  color: #444;
  line-height: 1.6;
}

/* Blocco immagine */
.image-block {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 3rem 1rem;
  background-color: #fff;
}

.image-block .image-container {
  max-width: 900px;
  width: 100%;
}

.image-block img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  object-fit: cover;
}

/* Sezione donazione */
.donation-section {
  display: flex;
  justify-content: center;
  padding: 4rem 2rem 6rem;
  background-color: #f4f4f4;
}

.donation-card {
  background: #fff;
  border-radius: 20px;
  padding: 3rem 2rem;
  max-width: 700px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.donation-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.donation-card i {
  font-size: 3rem;
  color: #e74c3c;
  margin-bottom: 1rem;
}

.donation-card h2 {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #222;
}

.donation-card p {
  font-family: 'Quicksand', sans-serif;
  color: #444;
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* Box IBAN */
.iban-box {
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 1.5rem;
  margin: 2rem 0;
  text-align: left;
  font-family: 'Quicksand', sans-serif;
  color: #333;
}

.iban-box p {
  margin: 0.5rem 0;
}

.iban-box strong {
  color: #000;
}

/* Responsività */
@media (max-width: 768px) {
  .intro-section {
    padding: 4rem 1.5rem 2rem;
  }

  .donation-card {
    padding: 2rem 1.5rem;
  }

  .iban-box {
    font-size: 0.95rem;
  }
}

/* === Hero Logo Section === */
.hero-logo-section {
  text-align: center;
  padding: 5rem 2rem 3rem;
  background-color: #ffffff;
}

.hero-logo-section .hero-logo img {
  width: 180px;
  height: auto;
  margin-bottom: 1.5rem;
}

.hero-logo-section h1 {
  font-family: 'Archivo', sans-serif;
  font-size: 2.2rem;
  color: #222;
  margin-bottom: 1rem;
}

.hero-logo-section p {
  font-family: 'Quicksand', sans-serif;
  font-size: 1.1rem;
  color: #444;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* === Gallery Section === */
.gallery-section {
  background: #fff;
  padding: 4rem 2rem 5rem;
  text-align: center;
}

.gallery-section h2 {
  font-family: 'Archivo', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 2.5rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  justify-items: center;
}

.gallery-item {
  max-width: 400px;
}

.gallery-item img {
  width: 400px;
  height: 400px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.gallery-item img:hover {
  transform: scale(1.03);
}

.gallery-item p {
  font-family: 'Quicksand', sans-serif;
  color: #333;
  font-size: 1rem;
  margin-top: 0.8rem;
}

/* Icona blu */
.donation-card i {
  font-size: 3rem;
  color: #0066cc; /* blu MAV */
  margin-bottom: 1rem;
}

/* Mobile */
@media (max-width: 768px) {
  .hero-logo-section {
    padding: 3rem 1rem 2rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-item img {
    width: 100%;
    height: auto;
  }
}

