
/* ════════════════════════════════════════
   NAV — LANG ITEM ALIGNMENT
════════════════════════════════════════ */
.nav-lang-item {
  display: flex;
  align-items: center;
}
.nav-lang-item .lang-toggle {
  margin-left: 0;
}

/* ════════════════════════════════════════
   NAV — PROMOZIONE DROPDOWN ACCENT
════════════════════════════════════════ */
/* Nessuno stile extra necessario — eredita da nav-dropdown */

/* ════════════════════════════════════════
   GLOBAL GRAPHIC IMPROVEMENTS
════════════════════════════════════════ */

/* Sottile glow sul logo nav al hover */
.nav-logo:hover .nav-logo-main {
  color: var(--gold-light);
  text-shadow: 0 0 20px rgba(141,167,80,0.35);
  transition: color 0.3s, text-shadow 0.4s;
}

/* Scrollbar più raffinata */
::-webkit-scrollbar { width: 2px; }
::-webkit-scrollbar-thumb { background: linear-gradient(to bottom, var(--gold), var(--green-mid)); }

/* Focus visible accessibile */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Sezione documenti — group title spacing */
.doc-section-title {
  padding-top: 2rem;
}
.doc-section-title + .documenti-grid {
  padding-top: 1.5rem;
}

/* Documenti grid — card hover accent color unico per coppia Damiana */
.doc-card-pair::before {
  background: var(--green-asp);
}

/* Miglioria loader — testo più morbido */
.loader-logo {
  font-family: var(--font-serif);
  font-style: italic;
  letter-spacing: 0.25em;
}

/* Nav active page indicator */
.nav-links a.current-page {
  color: var(--gold-light);
}
.nav-links a.current-page::after {
  width: 100%;
  background: var(--gold-light);
}

/* Fase card — bordo superiore animato al hover */
.phase-card {
  position: relative;
  overflow: hidden;
}
.phase-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--green-asp));
  transition: width 0.5s var(--ease-out);
}
.phase-card:hover::after {
  width: 100%;
}

/* Gallery img — leggero zoom più fluido */
.gallery-img img {
  transition: transform 0.6s var(--ease-out), filter 0.4s;
}
.gallery-img:hover img {
  transform: scale(1.05);
  filter: brightness(0.85);
}

/* Footer brand name — serif accent */
.footer-brand-name {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 300;
  font-style: italic;
  letter-spacing: 0.08em;
  color: var(--gold-light);
  line-height: 1.3;
}

/* Programma banner — pill label più visibile */
.programma-banner-label {
  display: inline-block;
  background: rgba(83,123,47,0.15);
  border: 1px solid rgba(83,123,47,0.35);
  border-radius: 20px;
  padding: 0.15rem 0.8rem;
}

/* Section label — doppia linea decorativa */
.section-label {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.section-label::before,
.section-label::after {
  content: '';
  flex: 0 0 24px;
  height: 1px;
  background: var(--gold);
  opacity: 0.5;
}
.section-label::before { display: none; }

/* Mobile media query documenti */
@media (max-width: 768px) {
  .documenti-grid { grid-template-columns: 1fr; }
  .doc-card-pair { grid-column: span 1; }
}
@media (min-width: 769px) and (max-width: 1100px) {
  .documenti-grid { grid-template-columns: repeat(2, 1fr); }
}
