/* Divisore distanziante */
.divider {
  width: 100%;
  height: 100px;
  background-color: #ffffff; /* Colore del divisore */
  border: none;
  display: block;
}


/* Navbar */
.navbar {
    background-color: #1b2846ce;
    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: #1385ff; /* 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: #1385ff;
    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: 50px;
      bottom: 10px;
    }
    
    .favicon img {
      width: 45px;
      height: 45px;
      object-fit: cover;
      border-radius: 10px;
    }


      /* Contenitore dei social media */
.social-icons1 {
    position: absolute;
    left: 95%;
    display: flex;
    align-items: center;
    gap: 15px;
  }
  
  /* Icone sociali */
  .social-icon1 {
    font-size: 20px;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  .social-icon1:hover {
    color: #007bff; /* Colore al passaggio del mouse */
  }

/* Social visibili solo su mobile all'interno del menu toggler */
@media (max-width: 768px) {
  .navbar-collapse {
    position: relative; /* Permette il posizionamento relativo */
  }

  .social-icons1 {
    display: flex;
    justify-content: center;
    gap: 15px;
    position: absolute; /* Posiziona le icone in basso */
    bottom: 20px; /* Distanza dal fondo del menu */
    left: 50%;
    transform: translateX(-50%);
  }

  /* Mostra i social solo quando il menu è aperto */
  .navbar-collapse.show .social-icons1 {
    display: flex;
  }

  /* Nasconde di default i social */
  .social-icons1 {
    display: none;
  }
}


 /* Sezione Intro */
#intro {
    background-image: url('aerre/assets/images/intro-background.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 80px 0;
  }
  #intro h1 {
    font-size: 3rem;
    font-weight: bold;
  }
  #intro p {
    font-size: 1.25rem;
  }
  
  



  /* Banner di sfondo */
#service-banner {
  position: relative;
  height: 400px;
  color: #fff;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  }
  
  #service-banner .overlay {
    position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 600px;
 background: url(aerre/assets/images/banner.png)  center center/cover;
  z-index: -1;
  filter: brightness(50%);
  }
  
 



  /* Box dei Servizi */
  .service-box {
    margin-bottom: 30px;
    
  }
  .service-card {
    width: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  .service-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
  }
  .service-card:hover .service-image {
    transform: scale(1.1);
  }
  .service-content {
    height: 200px;
    padding: 30px;
    text-align: center;
    background-color: white;
  }
  .service-icon {
    font-size: 2rem;
    color: #333;
    margin-bottom: 15px;
  }
  .service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
  }
  .service-card p {
    font-size: 1rem;
    color: #777;
    margin-bottom: 20px;
  }
  
  
/* Titolo nella pagina */
.page-title {
  text-align: center;
  font-size: 36px;
  color: #1e3a5f;
  margin: 0px 0;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
  animation: fadeInDown 0.7s ease-out;
}


/* Titolo della sezione */
.section-title {
  text-align: center;
  font-size: 24px;
  color: #fff;
  margin-bottom: 20px;
  animation: fadeIn 0.5s ease-out;
  font-weight: bold;
  text-transform: uppercase;
}


.subtitle {
  font-size: 1.2em;
  color: #666; /* Colore grigio chiaro per il sottotitolo */
  margin-top: 10px;
  text-align: center; /* Per centrare il testo */
}


.technical{
  font-family: 'Arial', sans-serif;
  background: #525252;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
}


.technical-section {
  width: 90%;
  max-width: 1200px;
  padding: 40px;
  background: rgba(255, 255, 255, 0.507);
  border-radius: 15px;
  box-shadow: 0 8px 16px rgba(255, 255, 255, 0.2);
  text-align: center;
  backdrop-filter: blur(10px);
}

.technical-section h2 {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #1e3a5f;
  text-transform: uppercase;
}

.technical-section p {
  color: #ffffff;
  font-size: 1.2em;
  margin-bottom: 20px;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.work-item {
  background: rgba(255, 255, 255, 0.2);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 9px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out, background 0.3s ease-in-out;
}

.work-item:hover {
  transform: scale(1.05);
  background: rgba(255, 255, 255, 0.3);
}

.work-item h3 {
  font-size: 1.6em;
  margin-bottom: 10px;
  color: #1e3a5f;;
}

.work-item ul {
  list-style: none;
  padding: 0;
  text-align: left;
}

.work-item ul li {
  font-size: 1.2em;
  padding: 8px 0;
  display: flex;
  align-items: center;
}

.work-item ul li::before {
  content: "✔";
  color: #00c21a;
  font-weight: bold;
  margin-right: 10px;
}








.scheda {
  font-family: Arial, sans-serif;
  background-color: #f4f4f4;
  margin: 0;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.scheda-tecnica {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  
  width: 100%;
  text-align: center;
}

.scheda-tecnica h2 {
  color: #1e3a5f;
  text-align: center;
  margin-bottom: 20px;
}

.scroll-container {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 15px;
  padding-bottom: 10px;
  white-space: nowrap;
}

.lavorazione {
  flex: 0 0 auto;
  width: 350px;
  background: #f9f9f9;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
  scroll-snap-align: start;
  text-align: center;
}

.lavorazione h3 {
  color: #007bff;
  margin-bottom: 10px;
}

.video-box {
  width: 100%;
  height: 200px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.video-box video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.video-box:hover video {
  transform: scale(1.05);
}



.scroll-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

.scroll-buttons button {
  padding: 10px;
  border: none;
  background: #007bff;
  color: white;
  cursor: pointer;
  border-radius: 5px;
  font-size: 16px;
}

.scroll-buttons button:hover {
  background: #0056b3;
}




  /* Footer Styling */
 footer {
  background: linear-gradient(135deg, #111, #333);
  color: #fff;
  padding: 60px 20px;
  font-family: 'Arial', sans-serif;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  transform: translateY(50px);
  opacity: 0;
  animation: fadeInUp 1s ease-in-out forwards;
}

.footer-section {
  flex: 1;
  padding: 0 30px;
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUpSection 1s ease-in-out forwards;
}

.footer-section:nth-child(1) {
  animation-delay: 0.2s;
}

.footer-section:nth-child(2) {
  animation-delay: 0.4s;
}

.footer-section:nth-child(3) {
  animation-delay: 0.6s;
}

.footer-section h3 {
  font-size: 1.6rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  transition: color 0.3s ease;
}

.footer-section h3::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: #008cff;
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.3s ease-in-out;
  z-index: 0;
}

.footer-section h3:hover::before {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.footer-section h3:hover {
  color: #008cff;
}

.footer-section p {
  font-size: 1.1rem;
  line-height: 1.7;
  opacity: 0.8;
}

.footer-section a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: #008cff;
}

.footer-social {
  text-align: center;
  margin-top: 30px;
}

 /* Footer Bottom */
 .footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}


.social-icons {
  display: flex;
  justify-content: flex-start;  /* Sposta le icone a sinistra */
  gap: 40px;
}

.social-icon {
  color: #f1f1f1;
  font-size: 2.5rem;
  transition: transform 0.3s ease, color 0.3s ease, font-size 0.3s ease;
  position: relative;
  z-index: 1;
}

.social-icon:hover {
  color: #00a6f3;
  transform: scale(1.5) rotate(360deg);
  font-size: 3rem;
}

.footer-nav {
  list-style: none;
  padding: 0;
}

.footer-nav li {
  margin-bottom: 10px;
}

.footer-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: #008cff;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-section {
    padding: 20px 0;
  }

  .social-icons {
    flex-direction: column;
  }
}

/* Animations */
@keyframes fadeInUp {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fadeInUpSection {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}