  * { box-sizing: border-box; margin: 0; padding: 0; }
  body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background-color: #f4f4f5; color: #18181b; }
  
  /* --- HEADER --- */
  .site-header {
    background-color: #ffffff; text-align: center; padding: 4rem 1rem 3rem 1rem;
    border-bottom: 1px solid #e5e7eb; margin-bottom: 3rem; position: relative;
  }
  .site-header h1 { font-size: 2.5rem; color: #111827; margin-bottom: 0.5rem; font-weight: 700; }
  .site-header p { font-size: 1rem; color: #6b7280; text-transform: uppercase; letter-spacing: 2px; }
  .social-links { position: absolute; top: 2rem; right: 2rem; display: flex; gap: 1.5rem; }
  .social-links a { color: #9ca3af; font-size: 1.25rem; text-decoration: none; transition: 0.3s ease; }
  .social-links a:hover { color: #111827; transform: translateY(-2px); }

  .back-button {
    display: inline-flex; align-items: center; gap: 0.5rem; color: #6b7280;
    text-decoration: none; font-weight: 600; margin-bottom: 2rem; transition: 0.2s;
  }
  .back-button:hover { color: #111827; }

  .section-container { max-width: 1100px; margin: 0 auto; padding: 0 2rem 4rem 2rem; }
  
  /* --- DESCRIZIONE INIZIALE --- */
  .section-description {
    font-size: 1.15rem; line-height: 1.7; color: #4b5563; margin-bottom: 3rem;
    background: #ffffff; padding: 2rem; border-radius: 16px;
    border-left: 5px solid #111827; box-shadow: 0 4px 15px rgba(0,0,0,0.03);
  }

  .sub-title { font-size: 1.8rem; color: #111827; margin: 3rem 0 1.5rem 0; border-bottom: 2px solid #e5e7eb; padding-bottom: 0.5rem; }

  /* --- GRIGLIA UNIFICATA PER FOTO E VIDEO --- */
  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem; /* Spazio prima della scaletta */
  }

  /* --- SCHEDE ANTEPRIMA --- */
  .gallery-card {
    position: relative; width: 100%; aspect-ratio: 16 / 9;
    border-radius: 12px; overflow: hidden; cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1); background-color: #000;
  }
  .gallery-card img {
    width: 100%; height: 100%; object-fit: cover; opacity: 0.8;
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
  .gallery-card:hover img { opacity: 1; transform: scale(1.05); }

  /* Icona Play centrale per i video */
  .play-icon {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    font-size: 3rem; color: rgba(255,255,255,0.9);
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.3)); pointer-events: none;
    transition: transform 0.3s ease, color 0.3s ease;
  }
  .gallery-card:hover .play-icon { transform: translate(-50%, -50%) scale(1.1); color: #ffffff; }

  /* --- SCALETTA / LISTA OPERE --- */
  .works-list {
    background: #ffffff;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    margin-bottom: 4rem; 
  }
  .works-list h4 {
    font-size: 1.4rem; color: #111827; margin-bottom: 1.5rem;
    text-transform: uppercase; border-bottom: 2px solid #f3f4f6; padding-bottom: 0.5rem;
  }
  .works-list ul { list-style: none; }
  
  /* Modifiche per l'impaginazione su due righe */
  .works-list li {
    padding: 1rem 0;
    border-bottom: 1px solid #f3f4f6;
    display: flex; 
    flex-direction: column; /* Incolonna titolo e descrizione */
    gap: 4px; /* Spazio verticale tra titolo e descrizione */
  }
  .works-list li:last-child { border-bottom: none; padding-bottom: 0; }
  
  .work-title { 
    display: flex; 
    align-items: center; 
    gap: 12px; 
  }
  .work-title i { color: #9ca3af; font-size: 1rem; width: 20px; text-align: center; }
  .work-title strong { color: #111827; font-weight: 600; font-size: 1.15rem; }
  
  .work-desc { 
    font-size: 1rem; 
    color: #4b5563; 
    line-height: 1.5;
    padding-left: 32px; /* Allinea il testo sotto il titolo, saltando l'icona */
  }

  /* --- OVERLAY FULLSCREEN (LIGHTBOX) --- */
  .lightbox {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background-color: rgba(0, 0, 0, 0.95); z-index: 9999;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
  }
  .lightbox.active { opacity: 1; pointer-events: all; }
  
  .lightbox-content {
    position: relative; width: 90%; max-width: 1200px; aspect-ratio: 16 / 9;
    display: flex; justify-content: center; align-items: center;
  }
  .lightbox-content img { max-width: 100%; max-height: 85vh; object-fit: contain; }
  .lightbox-content iframe { width: 100%; height: 100%; border: none; border-radius: 8px; box-shadow: 0 10px 40px rgba(0,0,0,0.5); }
  
  .close-btn {
    position: absolute; top: -40px; right: 0; color: #ffffff;
    font-size: 2rem; cursor: pointer; transition: color 0.2s;
  }
  .close-btn:hover { color: #ff4757; }
/* --- FOOTER --- */
.site-footer {
  background-color: #ffffff;
  text-align: center;
  padding: 2rem 1rem;
  margin-top: 4rem; /* Crea un bello stacco dalla griglia sovrastante */
  font-size: 0.9rem;
  color: #4b5563; /* Grigio scuro per non distrarre troppo */
  border-top: 1px solid #e5e7eb; /* Una linea sottile e leggera in alto per separare */
}

.site-footer a {
  color: #111827;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.site-footer a:hover {
  text-decoration: underline;
  color: #000000;
}
  /* --- RESPONSIVE MOBILE --- */
  @media (max-width: 768px) {
    .site-header { padding: 2rem 1rem; display: flex; flex-direction: column; align-items: center; }
    .social-links { position: static; margin-bottom: 1.5rem; justify-content: center; }
    .section-description, .works-list { padding: 1.5rem; }
    .lightbox-content { width: 100%; aspect-ratio: auto; height: 100vh; padding: 1rem; }
    .close-btn { top: 1rem; right: 1rem; z-index: 10; text-shadow: 0 2px 4px rgba(0,0,0,0.8); }
    .section-container {
    padding: 0 1rem 2rem 1rem; /* Passiamo da 2rem a 1rem (o anche 0.5rem) ai lati */
  }
  .section-description, .works-list {  
    box-shadow: none; /* <-- Questo comando elimina l'ombra sfumata */
    border-left:0px;
  }
  }