/* =============================================
   STYLE_POLICIES.CSS 
   Per privacy_policy.html e cookie_policy.html
   ============================================= */

/* FONT E COLORI BASE */
:root {
    --azzurro: #4fc3f7;
    --verde: #4caf50;
    --scuro: #1b1b1b;
    --chiaro: #f9f9f9;
  }
  
  body {
    background-color: var(--chiaro);
    color: var(--scuro);
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
  }
  
  /* =============================================
     CONTENITORE CONTENUTO
     ============================================= */
  .content-container {
    max-width: 900px;
    margin: 3rem auto;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }
  
  /* =============================================
     TITOLI E TESTO
     ============================================= */
  h1, h2 {
    color: var(--verde);
  }
  
  h1 {
    text-align: center;
    margin-bottom: 1.5rem;
  }
  
  h2 {
    margin-top: 2rem;
  }
  
  h3 {
    margin-top: 1.5rem;
    color: var(--scuro);
  }
  
  p, li {
    line-height: 1.6;
    margin-bottom: 1rem;
  }
  
  ul {
    padding-left: 1.5rem;
  }
  
  /* =============================================
     LINK
     ============================================= */
  a {
    color: var(--azzurro);
    text-decoration: none;
  }
  
  a:hover {
    text-decoration: underline;
  }
  
  /* =============================================
     BOX EVIDENZIATO
     ============================================= */
  .highlight-box {
    background: #f0f9ff;
    border-left: 4px solid var(--azzurro);
    padding: 1rem;
    margin: 1.5rem 0;
    border-radius: 8px;
  }
  
  .highlight-box p {
    margin-bottom: 0.5rem;
  }
  
  .highlight-box p:last-child {
    margin-bottom: 0;
  }
  
  /* =============================================
     COOKIE BANNER
     ============================================= */
  #cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #111;
    color: white;
    padding: 1rem 1.5rem;
    display: none; 
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    z-index: 9999;
    font-size: 0.95rem;
  }
  
  #cookie-banner button {
    margin-left: 0.5rem;
    padding: 0.5rem 1rem;
    border: 0;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
  }
  
  #accept-cookies {
    background: #4caf50;
    color: white;
  }
  
  #reject-cookies {
    background: #555;
    color: white;
  }
  
  /* =============================================
     RESPONSIVE MOBILE
     ============================================= */
  @media (max-width: 768px) {
    .content-container {
      margin: 2rem 1rem;
      padding: 1.5rem;
    }
  
    h1 {
      font-size: 1.5rem;
    }
  
    h2 {
      font-size: 1.3rem;
    }
  
    #cookie-banner {
      flex-direction: column;
      text-align: center;
      padding: 1rem;
    }
  
    #cookie-banner div {
      display: flex;
      gap: 0.7rem;
      justify-content: center;
      width: 100%;
    }
  
    #cookie-banner button {
      flex: 1;
    }
  }


/* =============================================
   FOOTER RISTRUTTURATO
   ============================================= */
.site-footer {
  background-color: var(--scuro);
  color: #ccc;
  font-size: 0.9rem;
  padding-top: 2.5rem;
  margin-top: 3rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem 2rem;
}

.footer-brand .footer-logo-text {
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
  margin: 0 0 0.5rem;
}

.footer-brand .footer-tagline {
  color: #aaa;
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0 0 1rem;
}

.footer-socials {
  display: flex;
  gap: 0.8rem;
}

.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: #ccc;
  text-decoration: none;
  transition: background 0.3s, color 0.3s;
}

.footer-socials a:hover { background: var(--verde); color: white; }

.footer-col-title {
  color: white;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-links li {
  line-height: 1.6; }
.footer-links a {
  color: #aaa;
  text-decoration: none;
  transition: color 0.2s;
  font-size: 0.8rem;
  word-break: break-all;
  overflow-wrap: anywhere;
}
.footer-links a:hover { color: var(--azzurro); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-bottom p { margin: 0; font-size: 0.82rem; color: #888; }
.footer-bottom a { color: var(--azzurro); text-decoration: none; }
.footer-bottom a:hover { text-decoration: underline; }

@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 1.5rem; padding: 0 1.2rem 1.5rem; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; text-align: center; padding: 1rem 1.2rem; }
}

@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
}
