/* ============================================================
   DESIGN TOKENS
   Concept: the page brightens as you scroll — from midnight at
   the top (hero) to daylight at the bottom (contact), a visual
   echo of "morning by morning" / light breaking through.
   ============================================================ */
:root {
  /* section background stops, night -> day */
  --bg-hero:    #12183A;
  --bg-bio:     #1F2750;
  --bg-shows:   #383267;
  --bg-music:   #6A4A69;
  --bg-photos:  #A46B6E;
  --bg-video:   #C68F68;
  --bg-give:    #E2B978;
  --bg-contact: #F4E8D0;

  --ink-light:  #F7F2E7;   /* text on dark sections */
  --ink-light-dim: #C6C4DC;
  --ink-dark:   #2A2418;   /* text on light sections */
  --ink-dark-dim: #6B6252;

  --gold:       #D9B04C;
  --gold-deep:  #B8862B;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Work Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius: 6px;
  --max-width: 1120px;
}

/* ============================================================
   RESET / BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  color: var(--ink-light);
  background: var(--bg-hero);
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 500; margin: 0 0 0.5em; line-height: 1.15; }
p { margin: 0 0 1.1em; }
a { color: inherit; }
img { max-width: 100%; display: block; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.wrap--narrow { max-width: 620px; text-align: center; }
.wrap--split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.wrap--split-reverse { grid-template-columns: 1fr 1fr; }

.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 0.9em;
}

/* ============================================================
   SECTIONS — night to day gradient
   ============================================================ */
.section {
  padding: clamp(5rem, 12vw, 9rem) 0;
  position: relative;
}
.section--hero    { background: var(--bg-hero); }
.section--bio     { background: var(--bg-bio); }
.section--shows   { background: var(--bg-shows); }
.section--music   { background: var(--bg-music); }
.section--photos  { background: var(--bg-photos); }
.section--video   { background: var(--bg-video); }
.section--give    { background: var(--bg-give); color: var(--ink-dark); }
.section--contact { background: var(--bg-contact); color: var(--ink-dark); }

.section--give h2, .section--contact h2 { color: var(--ink-dark); }
.section--give p, .section--contact p { color: var(--ink-dark-dim); }

/* smooth transitions between the color stops */
.section--hero, .section--bio, .section--shows, .section--music, .section--photos, .section--video {
  box-shadow: inset 0 -60px 60px -60px rgba(0,0,0,0.15);
}

/* ============================================================
   NAV
   ============================================================ */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.3rem 1.75rem;
  transition: background 0.3s ease, padding 0.3s ease, backdrop-filter 0.3s ease;
}
.site-nav.is-scrolled {
  background: rgba(18, 24, 58, 0.82);
  backdrop-filter: blur(10px);
  padding: 0.9rem 1.75rem;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  color: var(--ink-light);
  text-decoration: none;
}
.nav-links {
  display: flex;
  gap: clamp(1rem, 2vw, 2rem);
}
.nav-links a {
  color: var(--ink-light);
  text-decoration: none;
  font-size: 0.92rem;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}
.nav-links a:hover { opacity: 1; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 22px; height: 2px;
  background: var(--ink-light);
  display: block;
}

@media (max-width: 780px) {
  .nav-links {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(280px, 75vw);
    background: var(--bg-bio);
    flex-direction: column;
    padding: 6rem 2rem 2rem;
    gap: 1.5rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }
  .nav-links.is-open { transform: translateX(0); }
  .nav-toggle { display: flex; }
}

/* progress dots, desktop only */
.scroll-dots {
  position: fixed;
  right: 1.75rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.scroll-dots span {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(247, 242, 231, 0.35);
  transition: background 0.3s ease, transform 0.3s ease;
}
.scroll-dots span.is-active {
  background: var(--gold);
  transform: scale(1.4);
}
@media (max-width: 900px) { .scroll-dots { display: none; } }

/* ============================================================
   HERO
   ============================================================ */
.section--hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding-top: 6rem;
}
.hero-photo { height: 100%; padding: 2rem 0 2rem 2rem; }
.hero-content { padding: 2rem; }
.hero-content .eyebrow { color: var(--gold); }
.hero-content h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  color: var(--ink-light);
}
.hero-tagline {
  font-style: italic;
  font-size: 1.15rem;
  color: var(--ink-light-dim);
  max-width: 30ch;
}

.scroll-cue {
  position: absolute;
  bottom: 2.2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 22px; height: 36px;
  border: 1.5px solid rgba(247,242,231,0.5);
  border-radius: 20px;
}
.scroll-cue span {
  position: absolute;
  top: 6px; left: 50%;
  width: 4px; height: 4px;
  background: var(--gold);
  border-radius: 50%;
  transform: translateX(-50%);
  animation: cue 1.8s infinite ease-in-out;
}
@keyframes cue {
  0% { top: 6px; opacity: 1; }
  70% { top: 20px; opacity: 0.2; }
  100% { top: 6px; opacity: 0; }
}

@media (max-width: 780px) {
  .section--hero { grid-template-columns: 1fr; text-align: left; }
  .hero-photo { padding: 6rem 1.5rem 0; height: 46vh; }
}

/* ============================================================
   PHOTO PLACEHOLDERS
   ============================================================ */
.photo-placeholder {
  width: 100%;
  height: 100%;
  min-height: 260px;
  border-radius: var(--radius);
  background: linear-gradient(155deg, rgba(217,176,76,0.18), rgba(255,255,255,0.04));
  border: 1px dashed rgba(247,242,231,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
  font-size: 0.85rem;
  color: var(--ink-light-dim);
}
.photo-placeholder--small { min-height: 320px; }
.photo-placeholder--square { aspect-ratio: 1 / 1; min-height: 0; }
.photo-placeholder--video { aspect-ratio: 16 / 9; min-height: 0; }

/* ============================================================
   BIOGRAPHY
   ============================================================ */
.bio-text blockquote {
  margin: 1.5rem 0 0;
  padding-left: 1.1rem;
  border-left: 2px solid var(--gold);
  font-style: italic;
  color: var(--ink-light-dim);
}

@media (max-width: 780px) {
  .wrap--split, .wrap--split-reverse { grid-template-columns: 1fr; }
}

/* ============================================================
   SHOWS
   ============================================================ */
.show-list { list-style: none; margin: 2.5rem 0 0; padding: 0; }
.show-row {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  align-items: center;
  gap: 1.5rem;
  padding: 1.4rem 0;
  border-top: 1px solid rgba(247,242,231,0.15);
}
.show-row:last-child { border-bottom: 1px solid rgba(247,242,231,0.15); }
.show-date {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  font-family: var(--font-display);
}
.show-date .day { font-size: 2rem; color: var(--gold); }
.show-date .month { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-light-dim); }
.show-info h3 { font-size: 1.15rem; margin-bottom: 0.15em; }
.show-info p { margin: 0; color: var(--ink-light-dim); font-size: 0.95rem; }
.show-link {
  text-decoration: none;
  font-size: 0.9rem;
  color: var(--gold);
  white-space: nowrap;
}
.shows-note { margin-top: 2rem; color: var(--ink-light-dim); font-size: 0.95rem; }
.shows-note a { color: var(--gold); }

@media (max-width: 600px) {
  .show-row { grid-template-columns: 60px 1fr; }
  .show-link { grid-column: 2; }
}

/* ============================================================
   MUSIC
   ============================================================ */
.tracklist { list-style: none; margin: 1.6rem 0 2rem; padding: 0; }
.tracklist li {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 0.7rem 0;
  border-top: 1px solid rgba(247,242,231,0.15);
  font-size: 0.98rem;
}
.track-n { color: var(--gold); font-family: var(--font-display); width: 1.6em; }
.track-name { flex: 1; }
.track-len { color: var(--ink-light-dim); font-size: 0.88rem; }
.music-note { margin-top: 0.8rem; font-size: 0.85rem; color: var(--ink-light-dim); }

.platform-links {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.6rem;
  margin-top: 1.4rem;
}
.platform-icon-btn {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(247,242,231,0.25);
  color: var(--ink-light);
  transition: border-color 0.2s ease, transform 0.2s ease;
  overflow: hidden;
}
.platform-icon-btn:hover { border-color: var(--gold); transform: translateY(-2px); }
.platform-icon-btn svg { width: 17px; height: 17px; }
.platform-icon-btn img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   PHOTOS / VIDEO GRIDS
   ============================================================ */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}
.photo-grid .photo-placeholder { min-height: 220px; }
@media (max-width: 700px) { .photo-grid { grid-template-columns: repeat(2, 1fr); } }

.video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.video-embed iframe { width: 100%; aspect-ratio: 16/9; border-radius: var(--radius); border: none; }
.bio-intro-video { margin: 1.2rem 0 1.4rem; }

/* pe pagina de biografie: videoclipurile suplimentare, la lățimea textului */
.bio-video-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 2.5rem 0;
}

/* pe prima pagină: videoclipul principal, mai mic decât textul */
.bio-intro-video--home {
  max-width: 340px;
}
@media (max-width: 780px) {
  .bio-intro-video--home { max-width: 100%; }
}
@media (max-width: 700px) { .video-grid { grid-template-columns: 1fr; } }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.btn--ghost {
  border: 1.5px solid var(--gold);
  color: var(--ink-light);
}
.btn--solid {
  background: var(--gold);
  color: #2A2010;
  box-shadow: 0 6px 20px rgba(217,176,76,0.25);
}
.btn--dark { background: var(--ink-dark); color: var(--bg-contact); box-shadow: none; }

/* ============================================================
   GIVE
   ============================================================ */
.section--give { text-align: center; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-direct a { color: var(--gold-deep); text-decoration: none; font-size: 1.05rem; }
.social-links { display: flex; gap: 1.2rem; margin-top: 1.5rem; }
.social-links a { text-decoration: none; font-size: 0.92rem; color: var(--ink-dark); border-bottom: 1px solid var(--gold-deep); padding-bottom: 2px; }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.contact-form { display: flex; flex-direction: column; gap: 0.35rem; }
.contact-form label { font-size: 0.85rem; margin-top: 0.7rem; color: var(--ink-dark-dim); }
.contact-form input, .contact-form textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.7rem 0.85rem;
  border-radius: var(--radius);
  border: 1px solid rgba(42,36,24,0.25);
  background: rgba(255,255,255,0.5);
  color: var(--ink-dark);
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: 2px solid var(--gold-deep);
  outline-offset: 1px;
}
.contact-form button { margin-top: 1.3rem; align-self: flex-start; cursor: pointer; border: none; }
.form-status { font-size: 0.9rem; min-height: 1.4em; }
.form-status.is-error { color: #8a2f2f; }
.form-status.is-success { color: #2f6b3f; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--bg-contact);
  color: var(--ink-dark-dim);
  text-align: center;
  padding: 2rem 1rem 2.5rem;
  font-size: 0.85rem;
}

/* ============================================================
   FULL BIOGRAPHY PAGE (bio.php)
   ============================================================ */
.nav-links--static {
  position: static;
  height: auto;
  width: auto;
  background: none;
  flex-direction: row;
  padding: 0;
  transform: none;
  transition: none;
}
.nav-links--static a { opacity: 1; font-size: 0.9rem; }

.bio-full { min-height: 100vh; padding-top: 8rem; }
.wrap--narrow-bio { max-width: 720px; margin: 0 auto; padding: 0 1.5rem; }
.wrap--narrow-bio h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); }

.bio-full-photo {
  width: 100%;
  max-width: 320px;
  border-radius: var(--radius);
  margin: 1.5rem 0 2rem;
}
.bio-full-text p { color: var(--ink-light-dim); }
.bio-full-text p:first-of-type { color: var(--ink-light); font-size: 1.1rem; }

.bio-gallery { margin: 2.5rem 0; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 700px) { .bio-gallery { grid-template-columns: repeat(2, 1fr); } }

.bio-links-list {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin: 2rem 0;
}
.bio-link-item {
  text-decoration: none;
  color: var(--ink-light);
  border-bottom: 1px solid rgba(247,242,231,0.2);
  padding-bottom: 0.6rem;
  font-size: 0.98rem;
}
.bio-link-item:hover { color: var(--gold); }

.bio-back-btn { margin-top: 1rem; margin-bottom: 4rem; }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
