
.site-footer {
  background-color: #222;
  color: #f1f1f1;
  padding: 40px 20px 20px;
  position: relative;   /* <--- era fixed, ora normale */
  bottom: auto;         /* reset */
  left: 0;
  width: 100%;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.4);
  font-size: 14px;
}


/* Container a colonne */
.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: auto;
}

/* Colonne */
.footer-column {
  flex: 1;
  min-width: 250px;
  margin: 0 20px;
}

.footer-column h3 {
  color: #fff;
  margin-bottom: 10px;
  font-size: 16px;
}

.footer-column p, 
.footer-column a {
  color: #ccc;
  text-decoration: none;
}

.footer-column a:hover {
  color: #fff;
}

/* Lista link */
.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 8px;
}

/* Parte inferiore */
.footer-bottom {
  text-align: center;
  margin-top: 20px;
  border-top: 1px solid #444;
  padding-top: 10px;
  font-size: 12px;
  color: #aaa;
}


.footer-content {
  position: relative;
  text-align: center;
}

/* Icone ingranaggi */
.cog {
  position: absolute;
  color: rgba(255,255,255,0.08); /* trasparenza leggera */
  z-index: 0;
}

/* Primo ingranaggio */
.cog1 {
  font-size: 120px;
  top: 10px;
  left: 20%;
  animation: spin 40s linear infinite;
}

/* Secondo ingranaggio */
.cog2 {
  font-size: 90px;
  top: -5px;
  left: 50%;
  
}

/* Terzo ingranaggio */
.cog3 {
  font-size: 70px;
  top: 20px;
  right: 15%;
  
}

/* Testo sopra le icone */
.footer-content p {
  position: relative;
  z-index: 1;
}

/* Animazioni */
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes spin-reverse {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

.footer-logo {
  max-width: 210px;   /* dimensione massima, regolabile */
  height: auto;
  margin-bottom: 10px;
  display: block;
}