/* ================================================
   THE CHRIST MUSICAL — style.css v3.0 | 2026
   Palette: Azzurro Cielo + Sabbia del Deserto
   thechristmusical.com
   ================================================ */

:root {
  /* ── Palette principale ── */
  --blue:         #7AB8D4;   /* azzurro cielo */
  --blue-deep:    #4E90AF;   /* azzurro più intenso */
  --blue-glow:    rgba(122, 184, 212, 0.18);
  --sand:         #C8A46A;   /* sabbia calda */
  --sand-light:   #E8D0A0;   /* sabbia chiara */
  --sand-pale:    #F5EDD8;   /* crema */

  /* ── Overlay / struttura ── */
  --overlay:      rgba(16, 28, 40, 0.91);
  --overlay-soft: rgba(16, 28, 40, 0.78);
  --border:       rgba(122, 184, 212, 0.22);
  --border-sand:  rgba(200, 164, 106, 0.28);

  /* ── Testo ── */
  --text-hi:      #F0EAD8;   /* titoli, testo principale */
  --text-mid:     #C8C0B0;   /* corpo */
  --text-low:     #8A9AA8;   /* muted, note */

  /* ── Misc ── */
  --font:   'Calibri', 'Trebuchet MS', Arial, sans-serif;
  --max-w:  1000px;
  --ease:   0.24s ease;
  --r:      3px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img, video { display: block; max-width: 100%; height: auto; }

/* ── Body ── */
body {
  font-family: var(--font);
  color: var(--text-mid);
  background: #0D1A26 url('../img/fondo.jpg') center center / cover fixed no-repeat;
  min-height: 100vh;
  line-height: 1.68;
}

/* ── Skip link ── */
.skip-link {
  position: absolute; top: -120px; left: 14px;
  background: var(--blue); color: #0A1820;
  padding: 8px 18px; font-size: 13px; font-weight: 700;
  border-radius: var(--r); z-index: 200000;
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; }

/* ══════════════════════════════
   LINGUA / HAMBURGER / NAV
   ══════════════════════════════ */

.lang-switch {
  position: fixed; top: 24px; right: 82px;
  z-index: 9990; font-size: 13px; font-family: var(--font);
  display: flex; align-items: center; gap: 7px;
  letter-spacing: 0.07em;
}
.lang-switch a,
.lang-switch a:visited {
  color: var(--sand-light); text-decoration: none;
  opacity: 0.85; transition: opacity var(--ease);
}
.lang-switch a:hover { opacity: 1; }
.lang-switch a.active { color: var(--blue); font-weight: 700; opacity: 1; }
.lang-switch .sep { color: rgba(255,255,255,0.35); }

.hamburger {
  position: fixed; top: 14px; right: 16px;
  width: 52px; height: 52px; padding: 13px;
  border: 0; background: transparent;
  cursor: pointer; z-index: 99998;
  -webkit-tap-highlight-color: transparent;
}
.hamburger span {
  display: block; height: 2px; margin: 6px 0;
  background: var(--blue); border-radius: 2px;
  transition: transform var(--ease), opacity var(--ease);
}

.nav-backdrop {
  position: fixed; inset: 0;
  background: rgba(5,15,25,0.72);
  z-index: 99996; opacity: 0; pointer-events: none;
  transition: opacity var(--ease);
}
.nav-backdrop.open { opacity: 1; pointer-events: auto; }

.nav-panel {
  position: fixed; top: 0; right: 0;
  height: 100dvh; width: min(380px, 86vw);
  background: rgba(8, 18, 28, 0.98);
  border-left: 1px solid var(--border);
  z-index: 99997; overflow-y: auto;
  padding: 80px 22px 32px;
  transform: translateX(105%);
  transition: transform 0.30s cubic-bezier(.4,0,.2,1);
  box-shadow: -16px 0 60px rgba(0,0,0,0.6);
}
.nav-panel.open { transform: translateX(0); }

.nav-close {
  position: absolute; top: 14px; right: 14px;
  width: 48px; height: 48px; border: 0;
  background: rgba(122,184,212,0.10); color: var(--blue);
  font-size: 26px; cursor: pointer; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.nav-close:hover { background: rgba(122,184,212,0.20); }

.nav-panel a {
  display: block; color: var(--text-hi); text-decoration: none;
  font-size: 16px; padding: 13px 12px; border-radius: 8px;
  letter-spacing: 0.04em;
  transition: background var(--ease), color var(--ease);
}
.nav-panel a + a { border-top: 1px solid rgba(122,184,212,0.08); }
.nav-panel a:hover,
.nav-panel a.active { background: var(--blue-glow); color: var(--blue); }

/* ══════════════════════════════
   HEADER / LOGO
   ══════════════════════════════ */
.site-header {
  width: 100%; padding: 86px 24px 0;
  display: flex; justify-content: center;
}
.site-header a { display: block; }
.site-logo {
  display: block; width: 100%; max-width: 820px;
  height: auto; margin: 0 auto;
}

/* ══════════════════════════════
   HOME PAGE
   ══════════════════════════════ */

/* Tagline above hero */
.home-taglines {
  max-width: var(--max-w); margin: 26px auto 0;
  padding: 0 24px; text-align: center;
}
.home-taglines .t1 {
  font-size: clamp(15px, 2vw, 20px);
  font-weight: 700; color: var(--sand-light);
  letter-spacing: 0.04em; line-height: 1.45;
}

/* Hero grid */
.home-hero {
  display: grid; grid-template-columns: 1fr 400px;
  max-width: var(--max-w); margin: 0 auto;
}

.hero-content {
  background: var(--overlay);
  border-top: 2px solid var(--blue);
  padding: 44px 44px 44px 52px;
  display: flex; flex-direction: column; gap: 36px;
}

.hero-tagblock { border-bottom: 1px solid var(--border); padding-bottom: 30px; }
.hero-tagblock .ht1 {
  font-size: clamp(14px, 1.9vw, 19px);
  font-weight: 700; color: var(--text-hi);
  letter-spacing: 0.03em; line-height: 1.5; margin-bottom: 12px;
}
.hero-tagblock .ht2 {
  font-size: clamp(12px, 1.4vw, 15px);
  font-weight: 700; color: var(--blue);
  letter-spacing: 0.07em; line-height: 1.75;
}

.hero-discover h2 {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--sand); margin-bottom: 16px;
}
.hero-nav { list-style: none; }
.hero-nav li + li { border-top: 1px solid rgba(122,184,212,0.10); }
.hero-nav a {
  display: block; color: var(--text-hi); text-decoration: none;
  font-size: 14px; letter-spacing: 0.05em; padding: 10px 0;
  transition: color var(--ease), padding-left var(--ease);
}
.hero-nav a:hover { color: var(--blue); padding-left: 8px; }

.hero-poster { overflow: hidden; }
.hero-poster img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* ── Sezione "piedi di Gesù" ── */
.feet-strip {
  width: 100%; max-width: var(--max-w); margin: 0 auto;
  overflow: hidden; position: relative; height: 180px;
}
.feet-strip img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 30%;
  display: block;
}
.feet-strip::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to right,
    var(--overlay) 0%,
    transparent 40%,
    transparent 60%,
    var(--overlay) 100%);
}

/* ── Vision Teaser block (home) ── */
.home-teaser {
  max-width: var(--max-w); margin: 0 auto;
  background: var(--overlay);
  border-top: 1px solid var(--border);
  padding: 44px 52px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center; gap: 36px;
}
.home-teaser-text {}
.home-teaser-text .ht-label {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--sand); margin-bottom: 10px;
}
.home-teaser-text .ht-title {
  font-size: clamp(17px, 2.2vw, 22px);
  font-weight: 700; color: var(--text-hi);
  letter-spacing: 0.03em; margin-bottom: 10px;
}
.home-teaser-text .ht-desc {
  font-size: 14px; color: var(--text-mid); line-height: 1.7;
}
.teaser-btn {
  display: flex; flex-direction: column;
  align-items: center; gap: 10px;
  text-decoration: none; color: var(--text-hi);
  flex-shrink: 0;
}
.teaser-play {
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--blue-glow);
  border: 2px solid var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; color: var(--blue);
  padding-left: 5px; /* optical centering of ▶ */
  transition: background var(--ease), transform var(--ease);
}
.teaser-btn:hover .teaser-play {
  background: rgba(122,184,212,0.30);
  transform: scale(1.08);
}
.teaser-btn-label {
  font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--blue);
}

/* ══════════════════════════════
   INNER PAGES
   ══════════════════════════════ */

.page-wrapper {
  max-width: var(--max-w);
  margin: 76px auto 64px;
  padding: 0 24px;
}

.page-card {
  background: var(--overlay);
  border-top: 2px solid var(--blue);
  padding: 52px 56px;
}

.page-back {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--text-low); text-decoration: none;
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 28px;
  transition: color var(--ease);
}
.page-back::before { content: '←'; }
.page-back:hover { color: var(--blue); }

.page-title {
  font-size: clamp(18px, 2.8vw, 26px);
  font-weight: 700; letter-spacing: 0.09em;
  color: var(--blue); text-transform: uppercase;
  line-height: 1.2; margin-bottom: 28px;
  padding-bottom: 20px; border-bottom: 1px solid var(--border);
}

.page-subtitle {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--sand); margin: 32px 0 16px;
}

.page-text {
  font-size: 15px; line-height: 1.80;
  color: var(--text-mid); max-width: 700px;
}
.page-text + .page-text { margin-top: 18px; }
.page-text strong { color: var(--text-hi); }

/* ── Vision Teaser (pagina Concept / Presentazione) ── */
.vision-teaser {
  margin-top: 40px;
  padding: 32px 36px;
  background: rgba(122,184,212,0.06);
  border: 1px solid var(--border);
  border-left: 3px solid var(--blue);
  display: flex; align-items: center; gap: 32px;
}
.vision-teaser-text {}
.vision-teaser-text .vt-label {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--sand); margin-bottom: 8px;
}
.vision-teaser-text .vt-title {
  font-size: 17px; font-weight: 700;
  color: var(--text-hi); letter-spacing: 0.03em;
  margin-bottom: 8px;
}
.vision-teaser-text .vt-desc {
  font-size: 13px; color: var(--text-mid); line-height: 1.65;
}
.vt-btn {
  flex-shrink: 0;
  display: flex; flex-direction: column;
  align-items: center; gap: 8px;
  text-decoration: none; color: var(--text-hi);
}
.vt-play {
  width: 68px; height: 68px; border-radius: 50%;
  background: var(--blue-glow); border: 2px solid var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; color: var(--blue);
  padding-left: 4px;
  transition: background var(--ease), transform var(--ease);
}
.vt-btn:hover .vt-play { background: rgba(122,184,212,0.30); transform: scale(1.07); }
.vt-btn-label { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); }

/* ── CTA link ── */
.cta-link {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid var(--border);
  background: var(--blue-glow);
  color: var(--blue); text-decoration: none;
  padding: 13px 24px; border-radius: var(--r);
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.10em; text-transform: uppercase;
  margin-top: 28px;
  transition: background var(--ease), color var(--ease);
}
.cta-link:hover { background: rgba(122,184,212,0.28); color: #fff; }

/* ══════════════════════════════
   TEAM GRID
   ══════════════════════════════ */
.team-members {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px 20px;
  margin-bottom: 44px;
}
.team-member { text-align: center; }
.team-member a { text-decoration: none; color: inherit; display: block; }

.tm-photo-wrap {
  width: 120px; height: 120px;
  border-radius: 50%; overflow: hidden;
  margin: 0 auto 12px;
  border: 2px solid var(--border);
  background: rgba(122,184,212,0.08);
  transition: border-color var(--ease);
}
.team-member a:hover .tm-photo-wrap { border-color: var(--blue); }
.tm-photo { width: 100%; height: 100%; object-fit: cover; display: block; }

.tm-name {
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--sand); margin-bottom: 4px;
  transition: color var(--ease);
}
.team-member a:hover .tm-name { color: var(--blue); }
.tm-role {
  font-size: 11px; color: var(--text-low);
  letter-spacing: 0.04em; line-height: 1.4;
}

.team-intro {
  font-size: 14px; line-height: 1.78;
  color: var(--text-mid);
  border-top: 1px solid var(--border); padding-top: 28px;
}
.team-intro p + p { margin-top: 14px; }

/* ══════════════════════════════
   BIO
   ══════════════════════════════ */
.bio-layout {
  display: grid; grid-template-columns: 200px 1fr;
  gap: 52px; align-items: start;
}
.bio-photo {
  width: 100%; border-radius: var(--r);
  border: 1px solid var(--border);
}
.bio-name {
  font-size: clamp(20px, 3vw, 28px); font-weight: 700;
  letter-spacing: 0.07em; color: var(--blue);
  text-transform: uppercase; margin-bottom: 6px; line-height: 1.15;
}
.bio-role {
  font-size: 12px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--sand);
  margin-bottom: 26px; padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.bio-text {
  font-size: 15px; line-height: 1.82;
  color: var(--text-mid);
}
.bio-text + .bio-text { margin-top: 18px; }
.bio-text strong { color: var(--text-hi); }

/* ══════════════════════════════
   CONTATTI
   ══════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 24px; margin-top: 32px;
}
.contact-card {
  border: 1px solid var(--border);
  border-top: 2px solid var(--blue);
  padding: 26px 22px;
  background: rgba(122,184,212,0.04);
}
.cc-name {
  font-size: 14px; font-weight: 700;
  color: var(--blue); text-transform: uppercase;
  letter-spacing: 0.06em; margin-bottom: 4px;
}
.cc-role {
  font-size: 11px; color: var(--sand);
  letter-spacing: 0.06em; margin-bottom: 16px;
}
.cc-email {
  font-size: 13px; color: var(--text-mid);
  text-decoration: none; display: block; padding: 4px 0;
  transition: color var(--ease);
}
.cc-email:hover { color: var(--blue); }

/* ══════════════════════════════
   FAQ
   ══════════════════════════════ */
.faq-list { margin-top: 8px; }
details.faq-item { border-bottom: 1px solid var(--border); }
details.faq-item summary { list-style: none; cursor: pointer; }
details.faq-item summary::-webkit-details-marker { display: none; }

.faq-btn {
  width: 100%; background: none; border: 0; text-align: left;
  padding: 20px 0; display: flex;
  justify-content: space-between; align-items: flex-start; gap: 16px;
  color: var(--text-hi); font-family: var(--font);
  font-size: 15px; font-weight: 700; letter-spacing: 0.02em; line-height: 1.45;
  -webkit-tap-highlight-color: transparent;
  transition: color var(--ease);
}
details[open] .faq-btn { color: var(--blue); }
.faq-icon {
  flex-shrink: 0; font-size: 22px;
  color: var(--blue); line-height: 1; margin-top: 1px;
  transition: transform var(--ease);
}
details[open] .faq-icon { transform: rotate(45deg); }

.faq-answer {
  padding: 0 32px 22px 0;
  font-size: 14px; line-height: 1.80;
  color: var(--text-mid); max-width: 680px;
}
.faq-answer a { color: var(--blue); }
.faq-answer a:hover { color: var(--sand-light); }

/* ══════════════════════════════
   STORIA immagini
   ══════════════════════════════ */
.storia-imgs {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 28px; margin-bottom: 36px;
}
.storia-imgs img {
  width: 100%; border: 1px solid var(--border);
}

/* ══════════════════════════════
   FOOTER
   ══════════════════════════════ */
.site-footer {
  text-align: center; padding: 44px 24px;
  font-size: 11px; color: var(--text-low);
  letter-spacing: 0.07em;
  border-top: 1px solid rgba(122,184,212,0.10);
}
.site-footer a { color: var(--text-low); text-decoration: none; }
.site-footer a:hover { color: var(--blue); }
.site-footer p + p { margin-top: 8px; }

/* ══════════════════════════════
   RESPONSIVE
   ══════════════════════════════ */

/* ── Mobile-only poster (sopra il logo, nascosto su desktop) ── */
.mobile-poster-top { display: none; }
.mobile-poster-top img { display: block; width: 100%; height: auto; }

@media (max-width: 820px) {
  .site-header { padding-top: 64px; }
  .site-logo { max-width: 72vw; }
  .mobile-poster-top { display: block !important; }
  .home-hero { grid-template-columns: 1fr; margin-top: 12px; }
  .hero-poster { display: none; }
  .hero-content { padding: 36px 28px; }
  .home-taglines { display: block; margin-top: 12px; font-size: 13px; }

  .home-teaser {
    grid-template-columns: 1fr; padding: 32px 28px; gap: 24px;
  }
  .vision-teaser { flex-direction: column; gap: 20px; }

  .team-members { grid-template-columns: repeat(3, 1fr); }

  .bio-layout { grid-template-columns: 1fr; }
  .bio-photo { width: 160px; border-radius: 50%; height: 160px; object-fit: cover; margin: 0 auto 20px; }
  .bio-layout > div:first-child { text-align: center; }
}

@media (max-width: 600px) {
  .page-wrapper { margin-top: 64px; padding: 0; }
  .page-card { padding: 32px 20px; }
  .team-members { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
  .storia-imgs { grid-template-columns: 1fr; }
  .home-teaser { padding: 28px 20px; }
  .contact-grid { grid-template-columns: 1fr; }
  .feet-strip { height: 130px; }
}

@media print {
  body { background: #fff; color: #000; }
  .hamburger, .lang-switch, .nav-panel, .nav-backdrop { display: none !important; }
}

/* ══════════════════════════════
   VIDEO EMBED (YouTube responsive)
   ══════════════════════════════ */
.video-embed {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0; overflow: hidden;
  margin-top: 28px;
  background: #000;
  border: 1px solid var(--border);
}
.video-embed iframe {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%; border: 0;
}

/* ══════════════════════════════
   BLOCCO BENEDIZIONE APOSTOLICA
   ══════════════════════════════ */
.blessing-block {
  margin-top: 44px;
  padding: 32px 36px;
  text-align: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(
    to bottom,
    rgba(122, 184, 212, 0.04),
    rgba(200, 164, 106, 0.06),
    rgba(122, 184, 212, 0.04)
  );
}
.blessing-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 14px;
}
.blessing-text {
  font-size: clamp(16px, 2.2vw, 21px);
  font-weight: 700;
  color: var(--text-hi);
  letter-spacing: 0.04em;
  line-height: 1.55;
}
.blessing-names {
  font-size: clamp(14px, 1.8vw, 18px);
  color: var(--blue);
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-top: 8px;
}
