/* ============================================
   MIDNIGHT GENTS — universalus base.css
   Naudoti visuose puslapiuose: <link rel="stylesheet" href="/shared/base.css">
   ============================================ */

:root {
  /* v2026-05-14 BALTA TEMA */
  --bg: #ffffff;
  --bg-2: #fafaf7;
  --bg-3: #f3f0e8;
  --gold: #c9962a;
  --gold-bright: #e0b257;
  --ivory: #16140f;
  --muted: #4a4640;
  --line: rgba(176, 136, 56, 0.22);
  --line-strong: rgba(176, 136, 56, 0.55);
  --error: #d96b5e;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ivory);
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 20% 30%, rgba(255,255,255,0.4), transparent),
    radial-gradient(1px 1px at 60% 70%, rgba(255,255,255,0.3), transparent),
    radial-gradient(1px 1px at 80% 20%, rgba(255,255,255,0.5), transparent),
    radial-gradient(1px 1px at 30% 80%, rgba(255,255,255,0.3), transparent),
    radial-gradient(1px 1px at 90% 50%, rgba(255,255,255,0.4), transparent),
    radial-gradient(1px 1px at 10% 60%, rgba(255,255,255,0.3), transparent);
  pointer-events: none;
  z-index: 0;
}

/* ========= NAVBAR ========= */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.nav-logo {
  font-family: 'Copperplate Gothic', 'Copperplate', 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ivory);
  text-decoration: none;
  white-space: nowrap;
  display: flex;
  align-items: center;
  transition: opacity 0.25s ease;
}
.nav-logo:hover { opacity: 0.85; }
.nav-logo span { color: var(--gold); }
.nav-logo .nav-brand-text {
  display: flex;
  align-items: center;
  gap: 18px;
}
.nav-logo .nav-brand-name {
  font-family: 'Copperplate Gothic', 'Copperplate', 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  letter-spacing: 0.28em;
  color: var(--ivory);
  text-transform: uppercase;
  font-weight: 600;
  white-space: nowrap;
}
.nav-logo .nav-brand-name em {
  color: var(--ivory);
  font-style: normal;
}
@media (max-width: 768px) {
  .nav-logo .nav-brand-name { display: none; }
}
.nav-logo img {
  height: 38px;
  width: auto;
  display: block;
}
.nav-menu {
  display: flex;
  margin: 0; padding: 0;
  list-style: none;
  flex-wrap: wrap;
  flex: 1;
  justify-content: center;
  gap: 14px;
}
.nav-menu a {
  color: var(--ivory);
  text-decoration: none;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 6px 2px;
  transition: color 0.25s ease;
  white-space: nowrap;
}
.nav-menu a:hover, .nav-menu a.active { color: var(--gold); }
.nav-cta {
  background: var(--gold);
  color: var(--bg);
  padding: 11px 22px;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
  border-radius: 100px;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--gold-bright); transform: translateY(-2px); }
.nav-burger { display: none; background: none; border: none; color: var(--ivory); font-size: 1.5rem; cursor: pointer; }

/* ========= UNIVERSAL TYPOGRAPHY ========= */
.section {
  position: relative;
  z-index: 1;
  padding: 60px 32px;
  max-width: 1400px;
  margin: 0 auto;
}
.section-narrow { max-width: 920px; }
.section-eyebrow {
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.section-title {
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  line-height: 1.15;
  margin-bottom: 18px;
}
.section-title em { font-style: italic; color: var(--gold); }
.section-lead {
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  color: var(--muted);
  max-width: 700px;
  margin: 0 auto 60px;
  line-height: 1.55;
}

/* Page hero */
.page-hero {
  position: relative;
  z-index: 1;
  padding: 50px 32px 40px;
  text-align: center;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}
.page-hero .eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.page-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  line-height: 1.1;
  margin-bottom: 18px;
}
.page-hero h1 em { font-style: italic; color: var(--gold); }
.page-hero .lead {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  color: var(--muted);
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.55;
}

/* ========= BUTTONS ========= */
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
  border-radius: 100px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-family: 'Inter', sans-serif;
}
.btn-primary { background: var(--gold); color: var(--bg); }
.btn-primary:hover { background: var(--gold-bright); transform: translateY(-2px); }
.btn-secondary {
  background: transparent;
  color: var(--ivory);
  border: 1px solid var(--line-strong);
}
.btn-secondary:hover { border-color: var(--gold); color: var(--gold); }

/* ========= PROSE CONTENT ========= */
.prose {
  max-width: 760px;
  margin: 0 auto;
  font-size: 1.02rem;
  line-height: 1.8;
}
.prose p { margin-bottom: 1.4em; color: var(--ivory); }
.prose h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 2rem;
  margin: 2.2em 0 0.8em;
  color: var(--ivory);
}
.prose h2 em { font-style: italic; color: var(--gold); }
.prose h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 1.5rem;
  margin: 1.8em 0 0.6em;
  color: var(--gold);
}
.prose ul, .prose ol {
  margin: 1em 0 1.4em 1.4em;
  color: var(--ivory);
}
.prose li { margin-bottom: 0.6em; }
.prose strong { color: var(--gold); font-weight: 600; }
.prose a { color: var(--gold); text-decoration: underline; text-underline-offset: 4px; }
.prose blockquote {
  border-left: 3px solid var(--gold);
  padding-left: 24px;
  margin: 1.6em 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-style: italic;
  color: var(--muted);
}

/* ========= FOOTER ========= */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  padding: 50px 32px 30px;
  margin-top: 30px;
  position: relative;
  z-index: 1;
}
.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 50px;
}
.footer-brand {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 1.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ivory);
  margin-bottom: 14px;
}
.footer-brand span { color: var(--gold); }
.footer-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.55;
  max-width: 360px;
}
.footer h4 {
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
  font-weight: 600;
}
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer ul a, .footer-contact a {
  color: var(--ivory);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.25s ease;
}
.footer ul a:hover, .footer-contact a:hover { color: var(--gold); }
.footer-contact { display: flex; flex-direction: column; gap: 10px; }
.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.78rem;
  color: var(--muted);
}

/* ========= MOBILE NAVBAR — universal "MENIU" button + drawer ========= */
.mg-mobile-meniu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border: 1px solid rgba(201, 168, 106, 0.55);
  background: rgba(20, 20, 20, 0.55);
  color: var(--gold, #c9962a);
  font-family: 'Inter', -apple-system, system-ui, sans-serif;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.2s ease;
  margin: 8px auto 0;
}
.mg-mobile-meniu-btn:hover { background: rgba(201,168,106,0.12); }
.mg-mobile-meniu-btn .meniu-icon {
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
}
.mg-mobile-meniu-btn .meniu-icon span {
  display: block;
  width: 14px;
  height: 1.5px;
  background: var(--gold, #c9962a);
  border-radius: 2px;
}

.mg-mobile-drawer {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(8, 8, 12, 0.985);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  z-index: 9995;
  border-bottom: 1px solid var(--gold, #c9962a);
  max-height: 100vh;
  overflow-y: auto;
  transform: translateY(-100%);
  transition: transform 0.32s ease;
  padding: 24px 22px 28px;
}
.mg-mobile-drawer.open {
  transform: translateY(0);
}
.mg-mobile-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line, #2a2a2a);
}
.mg-mobile-drawer-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  color: var(--gold, #c9962a);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.mg-mobile-drawer-close {
  background: none;
  border: 1px solid rgba(255,255,255,0.18);
  color: var(--ivory, #f1ece1);
  font-size: 22px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.mg-mobile-drawer-close:hover { background: rgba(255,255,255,0.06); }
.mg-mobile-drawer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mg-mobile-drawer li {
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mg-mobile-drawer li a {
  display: block;
  padding: 14px 6px;
  color: var(--ivory, #f1ece1);
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 400;
  transition: color 0.2s ease;
}
.mg-mobile-drawer li a:hover,
.mg-mobile-drawer li a.active {
  color: var(--gold, #c9962a);
}

/* ========= MOBILE BREAKPOINTS ========= */
@media (max-width: 1100px) {
  .nav-menu { gap: 18px; }
  .nav-menu a { font-size: 0.7rem; letter-spacing: 0.12em; }
}
@media (max-width: 820px) {
  .nav-menu { display: none; }
  .nav-cta { padding: 9px 16px; font-size: 0.65rem; }
  .nav-burger { display: none; }       /* hide old burger */
  .nav-inner {
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 14px 18px;
  }
  .mg-mobile-meniu-btn {
    display: inline-flex;
    order: 99;                         /* push to second row */
    flex-basis: 100%;                  /* full width row */
    margin-top: 10px;
  }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
  .section { padding: 70px 22px; }
  .page-hero { padding: 60px 22px 50px; }
}
@media (max-width: 600px) {
  .footer-inner { grid-template-columns: 1fr; }
  .nav-logo { font-size: 1rem; gap: 8px !important; }
  .nav-logo img { height: 32px !important; }
  /* Mobile — paslepiame "MIDNIGHT GENTS" tekstą, paliekame tik logo ikoną. */
  .nav-logo .nav-brand-name { display: none !important; }
  /* Jonas pastaba 3: ant mobile paslepiame "Gauti pasiūlymą" CTA iš nav baro.
     CTA jau pasiekiamas per MENIU drawer + apatinę veiksmų juostą.
     Tai išvaduoja vietos MENIU mygtukui ir aiškesnis layout: [logo]   [MENIU] */
  .nav-cta { display: none !important; }
  .nav-inner { padding: 12px 14px !important; gap: 10px !important; flex-wrap: nowrap !important; }
  /* MENIU mygtukas eina į pat viršų, šalia logo, o ne antroje eilutėje */
  .mg-mobile-meniu-btn {
    order: 1 !important;
    flex-basis: auto !important;
    margin-top: 0 !important;
    padding: 10px 18px !important;
    font-size: 0.7rem !important;
  }
}


/* ========= PREMIUM FOOTER SOCIAL ICONS (override default page styles) ========= */
.footer-social {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 6px;
}
.footer-social a {
  width: 40px !important;
  height: 40px !important;
  border-radius: 50%;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  color: var(--gold) !important;
  border: 1px solid var(--line);
  background: transparent;
  transition: all 0.3s ease !important;
  text-decoration: none;
}
.footer-social a:hover {
  color: var(--bg) !important;
  background: var(--gold) !important;
  border-color: var(--gold) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(201,169,97,0.35);
}
.footer-social svg {
  display: block;
  fill: currentColor;
  width: 20px;
  height: 20px;
}


/* ========= #76 PHONE NUMBER STYLING (global) ========= */
/* Visi tel: linkai svetainėje gauna premium readable šriftą */
a[href^="tel:"] {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  letter-spacing: 1px;
}
.footer-contact a[href^="tel:"] {
  font-size: 0.96rem;
}
.contact-value {
  font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   v2026-05-15 — WCAG AA contrast fix
   Gold #c9962a on white = 2.67:1 (FAIL). Use darker gold #8a6420 (5.35:1) for body text.
   Keep --gold for backgrounds, large headings, decorative accents.
   ========================================================================== */
:root {
  --gold-text: #8a6420;     /* AA-pass on white for body */
  --gold-text-strong: #735318; /* extra emphasis */
}

/* Body italic emphasis — use darker gold + bump weight */
.prose strong,
.prose a,
.tagline em,
.artist-tags-line em,
.section-lead em {
  color: var(--gold-text);
  font-weight: 500;
}

/* Prose strong was 600 — keep dark for readability */
.prose strong { color: var(--gold-text-strong); font-weight: 600; }
.prose a { color: var(--gold-text); text-decoration: underline; text-underline-offset: 4px; }
.prose a:hover { color: var(--gold-text-strong); }

/* Inline em in body paragraphs — keep gold but darker variant */
.prose p em,
.bio em,
.project-desc em { color: var(--gold-text); font-style: italic; font-weight: 500; }

/* Chip / pill / tag text — ensure dark text on light bg with visible border */
.chip, .pill, .tag-pill, .program-tag, .filter-pill,
.style-pill, .genre-tag, .artist-genre {
  color: #16140f;
  background: #ffffff;
  border: 1.5px solid #c9962a;
  font-weight: 500;
}
.chip:hover, .pill:hover, .tag-pill:hover, .filter-pill:hover, .style-pill:hover {
  background: #fdf5e6;
  border-color: #b8842a;
}
.repertoire-cat-header h3, .video-tab, .artist-genre {
  color: #16140f;
}

/* Chip selected/active state — gold bg + white text (still high contrast) */
.chip.active, .pill.active, .tag-pill.active, .filter-pill.active {
  background: var(--gold);
  color: #ffffff;
  font-weight: 600;
}
.video-tab.active {
  background: transparent;
  color: var(--gold-text-strong, #735318);
  border-bottom: 2px solid var(--gold);
  font-weight: 600;
}
.video-tab.active small { color: var(--gold-text-strong, #735318); }

/* Meta values (e.g. "60–80 min") — use darker gold for body-size */
.meta-value, .stat-value, .info-val .val {
  color: var(--gold-text);
  font-weight: 500;
}

/* Section captions / labels (uppercase small) — bump weight + darken */
.meta-label, .stat-label, .eyebrow, .section-label {
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.16em;
}

/* Mobile (≤640px) — bump body font weight and size for readability */
@media (max-width: 640px) {
  body { font-weight: 400; }
  p, .prose p, .bio, .project-desc, .tagline { font-size: 16px; line-height: 1.65; }
  .section-lead, .page-hero p { font-size: 17px; }
  /* Italic body — increase weight for thinner Cormorant Garamond italic */
  em, .prose em, .tagline em { font-weight: 500; }
  /* Chip/tag minimum font-size 14px */
  .chip, .pill, .tag-pill, .program-tag, .filter-pill, .style-pill { font-size: 14px; font-weight: 500; }
  /* Meta values bigger on mobile */
  .meta-value, .stat-value { font-size: 16px; font-weight: 600; }
}

/* Anchor links in body — ensure dark on white */
a { color: var(--gold-text); }
a:hover { color: var(--gold-text-strong); }
.nav-cta, .mg-mobile-cta, .btn-primary { color: #ffffff !important; }


/* v2026-05-15 — Visi YouTube/track linkai (.repertoire-list a, .prog-songs a, .song-link)
   anksčiau buvo opacity: 0.6 + light gold = neįskaitomi.
   Override: pilnas opacity + tamsus gold (WCAG AA pass). */
.repertoire-list a,
.repertoire-list li a,
.prog-songs a,
.songs-list a,
.song-link {
  opacity: 1 !important;
  color: var(--gold-text, #8a6420) !important;
  font-weight: 600 !important;
}
.repertoire-list li:hover a,
.prog-songs li:hover a {
  color: var(--gold) !important;
  text-decoration: underline !important;
}

/* Atlikejai/index.html — filter pill 'opacity: 0.6' fix */
.filter-pill[disabled],
.filter-pill.disabled {
  opacity: 0.5 !important;
}
.filter-pill {
  opacity: 1 !important;
}


/* v2026-05-15 — Forma programos pills + qf-note pataisymas */
.prog-pill {
  color: #16140f !important;
  background: #ffffff !important;
  border: 1.5px solid #c9962a !important;
  font-weight: 500;
  opacity: 1 !important;
}
.prog-pill:hover {
  background: #fdf5e6 !important;
  border-color: #b8842a !important;
}
.prog-pill.active {
  background: #c9962a !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  border-color: #c9962a !important;
}

/* qf-note (form helper text) — readable */
.qf-note {
  opacity: 1 !important;
  color: #4a4640 !important;
  font-size: 0.85rem;
}

/* Atlikejai katalogo filtras 'opacity 0.6' (disabled?) — palikti, jei reikia */
.atlikejai-filter[disabled],
button[disabled].chip,
button[disabled].pill {
  opacity: 0.5 !important;
  cursor: not-allowed;
}


/* v2026-05-15 — GLOBAL safety: forbid light/cream text on white pages */
body p, body li {
  color: var(--ivory); /* min #16140f = 18:1 contrast on white */
}
body p[class*="muted"], body p.lead, body p.subtitle {
  color: var(--muted); /* #4a4640 = 9.4:1 contrast */
}
/* If any inline style has color: #d4cdb8 or similar — override */
[style*="color: #d4cdb8"], [style*="color:#d4cdb8"],
[style*="color: #f0e8d0"], [style*="color:#f0e8d0"],
[style*="color: rgba(240"] {
  color: #3a3530 !important;
}


/* v2026-05-15 — Globalus šrifto dydis (info puslapiai naudojo browser 16px default → per maži)
   Standartas pagal /atlikejai/ + vestuvems + programos lygį */
html { font-size: 17px; }
body {
  font-size: 1rem;       /* 17px desktop */
  line-height: 1.65;
  font-weight: 400;      /* bumps from 300 Light to 400 Regular for readability */
}
p, li {
  font-size: 1rem;
  line-height: 1.7;
}
.lead, p.lead, .section-lead, .page-hero .lead, .page-hero p, .hero-lead {
  font-size: 1.1rem;     /* ~18.7px */
  line-height: 1.75;
}
.section p, .section li, main p, main li {
  font-size: 1.05rem;    /* ~17.85px */
  line-height: 1.7;
}

/* Mobile: scale down slightly but keep readable */
@media (max-width: 640px) {
  html { font-size: 16px; }
  body { font-size: 1rem; line-height: 1.6; }
  p, li { font-size: 1rem; line-height: 1.65; }
  .lead, p.lead { font-size: 1.05rem; line-height: 1.7; }
  .section p, .section li, main p { font-size: 1rem; line-height: 1.65; }
  .page-hero h1 { font-size: clamp(1.9rem, 7vw, 2.5rem) !important; }
  .page-hero .eyebrow { font-size: 0.72rem !important; }
}
