/****************************
 * FOOTER – BASE
 ****************************/
footer {
  background-color: #111;
  color: #fff;
  padding: 40px 10px;
  font-size: 15px;
  flex-grow: 1;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 20px;
}

/* Titoli coerenti con lo screenshot */
.h3,
.h4 {
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: .02em;
  margin: 0 0 .75rem;
}

/****************************
 * COLONNE
 ****************************/
.footer-logo,
.footer-menu,
.footer-contacts,
.footer-social {
  flex: 1;
  min-width: 250px;
  margin-bottom: 20px;
}

/* Logo + intro */
/* prima avevi .footer-logo img { ... } -> non colpisce nulla */
img.footer-logo{
  max-width:150px;
  height:auto;
  display:block;
  margin-bottom:15px;
  background: transparent !important; /* nessuno sfondo */
}


/****************************
 * MENU
 ****************************/
.footer-menu {
  display: flex;                /* attiva il flex realmente */
  flex-direction: column;
  align-items: flex-start;
  padding-left: 100px;          /* come da tua bozza desktop */
}

#footerMenu {                   /* h3 “Menu” */
  margin: 10px 0;
  color: #fff;
  font-size: 20px;
  text-decoration: none;
  transition: color .3s;
  display: block;
}

/* Lista menu unica, senza duplicati */
.footer-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  color: #fff;
  text-align: left;
}

.footer-menu ul li { margin: 0; }

.footer-menu ul li a {
  display: block;
  padding: 12px 0;              /* area cliccabile ampia */
  min-height: 48px;             /* touch target */
  color: #fff;
  text-decoration: none;
  transition: color .3s;
  text-align: left;
  min-width: 48px;
}

.footer-menu a:hover { color: #d31919; }

/* Link policy (può essere singolo <a> o wrapper con .policy-links) */
.footer-menu1 { 
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-menu1 .policy-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-menu1 .policy-links a,
.footer-menu a.footer-menu1 {
  display: inline-block;
  white-space: nowrap;
  text-decoration: none;
  color: inherit;
  padding: 12px 0;
  min-height: 48px;
}

.footer-menu1 .policy-links a:hover { text-decoration: underline; }

/****************************
 * CONTATTI / INFO
 ****************************/
.footer-contacts h3,
.footer-contacts p { margin-bottom: 10px; }

.footer-contacts a {
  color: #00aaad;
  text-decoration: none;
  transition: color .3s;
}
.footer-contacts a:hover { color: #fff; }

.footer-address {               /* niente corsivo, come in screenshot */
  margin: 1rem 0;
  font-style: normal;
}
.footer-country { margin-top: 1rem; }

/****************************
 * SOCIAL
 ****************************/
.footer-social h3 { margin-top: 10px; }
.footer-social a {
  color: #fff;
  text-decoration: none;
  transition: color .3s;
  padding: 5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.footer-social a:hover { color: #fff; }

/* Colori brand delle icone Font Awesome */
.fa-facebook   { color: #fff; transition: color .3s ease-in-out; }
.fa-facebook:hover   { color: #1877F2; }
.fa-instagram  { color: #fff; transition: color .3s ease-in-out; }
.fa-instagram:hover  { color: #E4405F; }
.fa-youtube    { color: #fff; transition: color .3s ease-in-out; }
.fa-youtube:hover    { color: #FF0000; }
.fa-linkedin   { color: #fff; transition: color .3s ease-in-out; }
.fa-linkedin:hover   { color: #0077B5; }
.fa-whatsapp   { color: #fff; transition: color .3s ease-in-out; }
.fa-whatsapp:hover   { color: #25D366; }

/****************************
 * BOTTOM LINE
 ****************************/
.footer-bottom {
  text-align: center;
  font-size: 14px;
  padding: 5px;
  color: #888;
  width: 100%;
  position: relative;
  bottom: 0;
}

/****************************
 * SCROLL TO TOP BUTTON
 ****************************/
.scroll-top-btn {
  position: fixed;
  bottom: 80px;                 /* sopra l’icona WhatsApp */
  right: 20px;
  width: 50px;
  height: 50px;
  background-color: #ff0000;
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .3s ease-in-out, transform .3s ease-in-out, background-color .3s;
}
.scroll-top-btn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-top-btn:hover { background-color: #e4405f; }

/****************************
 * RESPONSIVE
 ****************************/
@media (max-width: 768px) {
  .footer-container { 
    flex-direction: column; 
    text-align: left;
  }

  .footer-logo { text-align: left; }

  .footer-menu {
    padding-left: 0;            /* elimina indent mobile */
  }

  .footer-social { justify-content: center; }

  .footer-bottom {
    font-size: 10px;
    padding: 2px 8px;
    height: 35px;
  }

  /* Touch target migliorati su mobile */
  .footer-menu ul li a {
    padding: 14px 0;
    min-height: 48px;
  }

  .scroll-top-btn {
    bottom: 80px;
    right: 15px;
    width: 45px;
    height: 45px;
    font-size: 20px;
  }
  .scroll-top-btn:hover { background-color: #ff0000; }
}

.footer-logo .footer-mark { 
  width: 150px; height: auto; display: block;
  opacity: 1 !important;
  filter: none !important;
  mix-blend-mode: normal !important;
}
/* Fallback se dovessi usare il logo scuro: lo “imbianca” */
.footer-logo .footer-mark.invert { filter: invert(1) brightness(100%); }
