/* =============================
   Trip Sicily – Footer (righe footer SOLO qui)
   ============================= */

/* Variabili SOLO per footer */
.site-footer{
  --ftr-stripe-h: 4px;
  --ftr-stripe: linear-gradient(90deg,
    var(--agrumi,#fbbf24),
    var(--lava,#ef4444),
    var(--buganvillea,#a855f7),
    var(--ulivo,#16a34a),
    var(--agrumi,#fbbf24));
}

/* Footer base */
.site-footer{
  position: relative;
  width: 100%;
  background: var(--footer-bg, #0b1220);
  color: var(--footer-text, #e5eefc);
  padding: 40px 20px 20px;
  margin: 0;
  /* se non vuoi il sottilissimo divisore sopra il footer, togli la riga sotto */
  /* box-shadow: 0 -1px 0 rgba(0,0,0,.04); */
  overflow: visible;
  border: none;
}

/* Righe decorative footer */
.site-footer::before,
.site-footer::after{
  content:"";
  position:absolute;
  left:0; right:0;
  height: var(--ftr-stripe-h);
  background: var(--ftr-stripe);
  background-size: 200% 100%;
  animation: ftr-stripe-move 12s linear infinite;
  pointer-events:none;
}
.site-footer::before{ top: calc(-1 * var(--ftr-stripe-h)); } /* sopra il footer */
.site-footer::after{  bottom: 0; }                          /* sotto il footer */

@keyframes ftr-stripe-move { to { background-position:200% 0; } }

/* Grid interno */
.site-footer .footer-inner{
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 24px;
}
@media (min-width: 700px){
  .site-footer .footer-inner{
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }
}

/* Titoli */
.site-footer h4{
  color: var(--agrumi, #fbbf24);
  margin: 0 0 12px;
  font-size: 1rem;
  font-weight: 600;
}

/* Link */
.site-footer a{
  color: var(--footer-link, #dbeafe);
  text-decoration: none;
  display: block;
  margin: 4px 0;
  transition: color .25s;
}
.site-footer a:hover,
.site-footer a:focus-visible{ color: var(--footer-link-hover, #ffffff); }
.site-footer a:focus-visible{
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

/* Social */
.site-footer .social{ display:flex; gap:12px; margin-top:8px; }
.site-footer .social a{
  font-size: 1.4rem;
  color: var(--footer-link, #dbeafe);
  transition: transform .25s, color .25s;
}
.site-footer .social a:hover,
.site-footer .social a:focus-visible{
  transform: scale(1.2);
  color: var(--footer-link-hover, #ffffff);
}

/* Bottom note */
.site-footer .bottom{
  text-align: center;
  margin-top: 24px;
  font-size: .9rem;
  color: var(--muted, #94a3b8);
}
.site-footer .bottom span#year{ color: var(--footer-text, #e5eefc); }

/* Brand */
.site-footer .footer-brand .logo{
  display:inline-flex; align-items:center; gap:10px; margin-bottom:10px;
  text-decoration:none;
}
.site-footer .footer-brand .logo img{ height:96px; width:auto; display:block; }
@media (max-width:700px){ .site-footer .footer-brand .logo img{ height:50px; } }
