.spacer {
  height: 90px; /* Altezza sufficiente per mantenere il contenuto sotto la navbar */
}

.navbar {
  background-color: #33333371;
  color: white;
  padding: 20px 20px;
}


.navbar .favicon {
  position: absolute; /* Fissa la favicon rispetto alla navbar */ 
  display: flex;
  align-items: center;
}

.navbar .favicon-img {
  width: 40px; /* Dimensione della favicon */
  height: 40px;
  border-radius: 10%; /* Se vuoi rendere l'immagine rotonda */
  margin-bottom: 7px;
}


.navbar-nav {
      justify-content: center !important;     /* Centra orizzontalmente gli elementi */
      display: flex; /* Assicura che flexbox sia attivo */
      margin: 0 auto; /* Garantisce il centraggio nei layout con margini */
      width: 100%; /* Opzionale: garantisce che la navbar occupi tutta la larghezza */
      gap: 20px;
     
     
  }
  

/* Stile per la navbar */
.navbar-nav .nav-item .nav-link {
  color: white;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease, transform 0.3s ease;
}

/* Effetto al passaggio del cursore */
.navbar-nav .nav-item .nav-link:hover {
  color: #f0c040; /* Cambia colore */
  transform: scale(1.1); /* Leggero ingrandimento */
}

/* Aggiungi una linea decorativa animata sotto il link */
.navbar-nav .nav-item .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px; /* Distanza dalla scritta */
  width: 0;
  height: 2px;
  background-color: #f0c040;
  transition: width 0.3s ease;
}

/* Espandi la linea decorativa al passaggio del cursore */
.navbar-nav .nav-item .nav-link:hover::after {
  width: 100%;
}

@media (max-width: 768px) {
  .navbar .collapse {
    justify-content: start; /* Per allineare correttamente su dispositivi piccoli */
    color: #ffffff;
  
  }
}


.navbar-toggler{
  
padding: var(--bs-navbar-toggler-padding-y) var(--bs-navbar-toggler-padding-x);
font-size: var(--bs-navbar-toggler-font-size);
line-height: 1;
color: var(--bs-navbar-color);
background-color: transparent;
border: var(--bs-border-width) solid var(--bs-navbar-toggler-border-color);
border-radius: var(--bs-navbar-toggler-border-radius);
transition: var(--bs-navbar-toggler-transition);
margin-left: auto;
}

  
  /* Favicon */
  .favicon {
    position: absolute;
    left: 20px;
    bottom: 10px;
  }
  
  .favicon img {
    width: 45px;
    height: 45px;
    object-fit: cover;
    border-radius: 10px;
  }
  
  .container {
    max-width: 1200px;
    margin: 30px auto;
    padding: 30px;
    background: rgba(255, 255, 255, 0.63);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.664);
}

h2 {
    text-align: center;
    color: #333;
    margin-bottom: 30px;
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.contact-info {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: space-around;
    text-align: center;
    margin-bottom: 30px;
}

.contact-info div {
    flex: 1 1 300px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-info div:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.contact-info i {
    font-size: 2.5rem;
    color: #f5bc43;
    margin-bottom: 10px;
}



.map-container {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 12px;
}


.stellar-footer {
  background: linear-gradient(135deg, #ccccccab, #6e6e6eb6, #000000ab);
  color: #fff;
  position: relative;
  padding: 50px 20px;
  overflow: hidden;
}

.footer-content {
  display: flex;
  justify-content: center;
  gap: 30px;
  max-width: 1200px;
  margin: auto;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
  text-align: center; /* Aggiunto per centrare il contenuto */
}

.footer-section {
  flex: 1;
  min-width: 250px;
}

.footer-section h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: #f39c12;
  position: relative;
  text-transform: uppercase;
}

.footer-section h3::before {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 50px;
  height: 3px;
  background: #f39c12;
  animation: expandLine 1.5s ease-in-out infinite;
}

.footer-section p, .footer-section ul {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin: 5px 0;
}

.footer-section ul li a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: #f39c12;
}

/* Sezione Social Media */
.social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px; /* Regola dimensioni del contenitore */
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%; /* Cerchio attorno al logo */
  overflow: hidden; /* Nasconde le parti eccedenti */
  transition: transform 0.3s ease, background 0.3s ease;
  text-decoration: none;
}

.social-icons a:hover {
  transform: scale(1.2); /* Ingrandisce il pulsante al passaggio del mouse */
  background: rgba(255, 255, 255, 0.3);
}

/* Stile delle Immagini facebook */
.social-icons img {
  width: 50px; /* Adatta l'immagine al contenitore */
  height: 50px;
  object-fit: cover; /* Mantiene proporzioni corrette */
  transition: transform 0.3s ease;
}

/* instagram */
.social-icons-1 img {
  width: 50px; /* Adatta l'immagine al contenitore */
  height: 100px;
  object-fit: cover; /* Mantiene proporzioni corrette */
  transition: transform 0.3s ease;
}
.social-icons a:hover img {
  transform: scale(1.1); /* Leggero zoom del logo */
}

/* Footer Bottom */
.footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Particle Effects */
.footer-particles {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  background: url('../assets/images/sfondo.jpg') repeat; /* Substitute with a particle-like texture */
  opacity: 0.2;
  animation: moveParticles 30s linear infinite;
}

@keyframes moveParticles {
  from {
      transform: translate(0, 0);
  }
  to {
      transform: translate(-100px, -100px);
  }
}

/* Animazioni */
@keyframes expandLine {
  0%, 100% {
      width: 50px;
  }
  50% {
      width: 100px;
  }
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  .footer-content {
      flex-direction: column;
      text-align: center;
  }

  .footer-section {
      min-width: 100%;
  }

  .social-icons {
      justify-content: center;
  }
}

/*fine footer */


@media (max-width: 768px) {
    .layout {
        flex-direction: column;
    }

    .form-container, .map-container {
        flex: 1 1 100%;
    }
}


.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}




