/* ===========================================================
   Youth Talent Stars International Music Festival 2027
   Shared stylesheet
   =========================================================== */

:root {
  --navy: #0f1b3d;
  --navy-deep: #0a1330;
  --navy-soft: #1c2a55;
  --gold: #c9a24b;
  --gold-light: #e6c877;
  --cream: #faf6ee;
  --paper: #ffffff;
  --ink: #1d2233;
  --muted: #5d6478;
  --line: #e7e1d3;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(15, 27, 61, 0.08);
  --max: 1140px;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
}

img { max-width: 100%; display: block; }

a { color: var(--navy); }
a:hover { color: var(--gold); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  line-height: 1.2;
  margin: 0 0 0.6em;
  color: var(--navy);
}

h1 { font-size: clamp(2.2rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1.1em; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Header / navigation ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 19, 48, 0.97);
  border-bottom: 1px solid rgba(201, 162, 75, 0.35);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
}

.brand:hover { color: #fff; }

.brand-mark {
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--navy-deep);
  font-size: 1.3rem;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-family: var(--serif);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.brand-text span {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.nav-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  margin: 0;
  padding: 0;
}

.nav-links a {
  display: block;
  padding: 8px 11px;
  border-radius: 8px;
  color: #d9dcea;
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 500;
  white-space: nowrap;
}

.nav-links a:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }

.nav-links a.active {
  color: var(--navy-deep);
  background: var(--gold);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  color: #fff;
  font-size: 1.4rem;
  width: 44px;
  height: 44px;
  cursor: pointer;
}

@media (max-width: 1080px) {
  .nav-toggle { display: block; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 10px 20px 20px;
    background: var(--navy-deep);
    border-bottom: 1px solid rgba(201, 162, 75, 0.35);
  }

  .nav-links.open { display: flex; }

  .nav-links a { padding: 12px 14px; font-size: 1rem; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid var(--gold);
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-gold { background: var(--gold); color: var(--navy-deep); }
.btn-gold:hover { background: var(--gold-light); border-color: var(--gold-light); color: var(--navy-deep); }

.btn-outline { background: transparent; color: #fff; }
.btn-outline:hover { background: rgba(201, 162, 75, 0.15); color: #fff; }

.btn-outline-dark { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline-dark:hover { background: var(--navy); color: #fff; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ---------- Hero (home) ---------- */

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  text-align: center;
  padding: 110px 0 120px;
  background:
    radial-gradient(circle at 20% 20%, rgba(201, 162, 75, 0.22), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(90, 120, 220, 0.25), transparent 50%),
    linear-gradient(160deg, var(--navy-deep), var(--navy-soft));
}

.hero::before {
  /* subtle music-staff lines */
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0 38px,
    rgba(255, 255, 255, 0.05) 38px 39px
  );
  pointer-events: none;
}

.hero .container { position: relative; }

.hero .eyebrow { color: var(--gold-light); }

.hero h1 {
  color: #fff;
  max-width: 900px;
  margin: 0 auto 0.3em;
}

.hero h1 .year { color: var(--gold-light); }

.hero .tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  color: #e9e4d6;
  margin-bottom: 1.4em;
}

.hero-meta {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 26px;
  padding: 12px 26px;
  border: 1px solid rgba(201, 162, 75, 0.5);
  border-radius: 999px;
  font-weight: 500;
  margin-bottom: 1.8em;
}

.hero-meta span::before { margin-right: 8px; }

.hero .lead {
  max-width: 720px;
  margin: 0 auto 1.5em;
  color: #d4d8e8;
}

.hero .pillars {
  font-family: var(--serif);
  font-size: 1.3rem;
  letter-spacing: 0.08em;
  color: var(--gold-light);
  margin-bottom: 2em;
}

.hero .btn-row { justify-content: center; }

/* ---------- Page banner (inner pages) ---------- */

.page-banner {
  color: #fff;
  text-align: center;
  padding: 80px 0 70px;
  background:
    radial-gradient(circle at 15% 30%, rgba(201, 162, 75, 0.2), transparent 45%),
    linear-gradient(160deg, var(--navy-deep), var(--navy-soft));
}

.page-banner h1 { color: #fff; margin-bottom: 0.2em; }

.page-banner p {
  max-width: 720px;
  margin: 0 auto;
  color: #d4d8e8;
  font-size: 1.1rem;
}

/* ---------- Sections ---------- */

.section { padding: 80px 0; }

.section-alt { background: var(--paper); }

.section-dark {
  background: var(--navy);
  color: #d9dcea;
}

.section-dark h2,
.section-dark h3 { color: #fff; }

.eyebrow {
  display: block;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px;
}

.section-head p { color: var(--muted); }
.section-dark .section-head p { color: #c3c8dc; }

.divider {
  width: 70px;
  height: 3px;
  background: var(--gold);
  border: 0;
  margin: 0 auto 22px;
}

.prose { max-width: 780px; margin: 0 auto; }

.prose-lg p { font-size: 1.1rem; }

/* ---------- Grids & cards ---------- */

.grid {
  display: grid;
  gap: 24px;
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(15, 27, 61, 0.12);
}

.card p:last-child { margin-bottom: 0; }

.card p { color: var(--muted); font-size: 0.97rem; }

.card-num {
  display: inline-block;
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--gold);
  border-bottom: 2px solid var(--gold);
  margin-bottom: 14px;
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  background: rgba(201, 162, 75, 0.14);
  margin-bottom: 16px;
}

/* Experience pillars (Learn / Perform / Connect / Discover) */

.pillar {
  text-align: center;
  padding: 34px 26px;
  border-radius: var(--radius);
  border: 1px solid rgba(201, 162, 75, 0.35);
  background: rgba(255, 255, 255, 0.04);
}

.pillar h3 {
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-light) !important;
}

.pillar p { margin: 0; color: #c9cee0; font-size: 0.97rem; }

/* Vision quote */

.vision {
  max-width: 860px;
  margin: 50px auto 0;
  padding: 40px 36px;
  text-align: center;
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.vision h3 { color: var(--gold-light); }

.vision p {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-style: italic;
  margin: 0;
}

/* Quick facts strip */

.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-top: -50px;
  position: relative;
  z-index: 2;
}

.fact {
  padding: 26px 24px;
  text-align: center;
  border-right: 1px solid var(--line);
}

.fact:last-child { border-right: 0; }

.fact small {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 4px;
}

.fact strong {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--navy);
}

@media (max-width: 700px) {
  .fact { border-right: 0; border-bottom: 1px solid var(--line); }
  .fact:last-child { border-bottom: 0; }
}

/* Link cards on home page */

.link-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

.link-card h3 { margin-bottom: 0.4em; }

.link-card .more {
  display: inline-block;
  margin-top: 12px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gold);
}

.link-card:hover { color: inherit; }

/* ---------- Programme / timeline ---------- */

.day {
  display: grid;
  grid-template-columns: 200px 1fr;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 28px;
}

.day-date {
  background: var(--navy);
  color: #fff;
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.day-date .day-label {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  font-weight: 700;
}

.day-date .day-num {
  font-family: var(--serif);
  font-size: 3.2rem;
  line-height: 1;
  margin: 6px 0;
}

.day-date .day-month {
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.day-body { padding: 28px 32px; }

.day-body h3 {
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 1.2rem;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}

.schedule {
  list-style: none;
  margin: 0;
  padding: 0;
}

.schedule li {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
}

.schedule li:last-child { border-bottom: 0; }

.schedule .time {
  font-weight: 600;
  color: var(--gold);
  font-size: 0.93rem;
  font-variant-numeric: tabular-nums;
}

.schedule .what { color: var(--ink); }

.schedule .what.featured {
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.schedule ul {
  margin: 6px 0 0;
  padding-left: 20px;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 760px) {
  .day { grid-template-columns: 1fr; }
  .day-date { flex-direction: row; gap: 12px; align-items: baseline; justify-content: center; padding: 18px; }
  .day-date .day-num { font-size: 2rem; }
  .day-body { padding: 24px 20px; }
  .schedule li { grid-template-columns: 1fr; gap: 2px; }
}

/* ---------- Lists ---------- */

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 20px;
  font-weight: 600;
  color: var(--navy);
  box-shadow: var(--shadow);
}

.check-list li::before {
  content: "\266A"; /* ♪ */
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--gold);
  color: var(--navy-deep);
  font-size: 1.1rem;
}

.note {
  margin-top: 30px;
  padding: 18px 22px;
  border-left: 4px solid var(--gold);
  background: rgba(201, 162, 75, 0.1);
  border-radius: 0 10px 10px 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.note strong { color: var(--navy); }

/* Countries */

.countries {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 30px 0;
}

.country {
  padding: 10px 22px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--gold);
  font-weight: 600;
  color: var(--navy);
}

/* Journey timeline */

.milestones {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.milestone {
  border-top: 4px solid var(--gold);
  background: var(--paper);
  border-radius: 0 0 var(--radius) var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}

.milestone .year-tag {
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 10px;
}

/* Coming soon */

.coming-soon {
  text-align: center;
  padding: 60px 30px;
  border: 2px dashed var(--gold);
  border-radius: var(--radius);
  background: var(--paper);
}

.coming-soon .badge {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--gold-light);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 18px;
}

.placeholder-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 22px;
  margin-top: 40px;
}

.placeholder {
  text-align: center;
  padding: 26px 18px;
  background: var(--cream);
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.placeholder .avatar {
  width: 96px;
  height: 96px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-soft), var(--navy));
  display: grid;
  place-items: center;
  color: var(--gold-light);
  font-size: 2.2rem;
  font-family: var(--serif);
}

.placeholder strong { display: block; color: var(--navy); }
.placeholder span { font-size: 0.88rem; color: var(--muted); }

/* ---------- Contact ---------- */

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.contact-list li:last-child { border-bottom: 0; }

.contact-list .ci {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(201, 162, 75, 0.15);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
}

.contact-list small {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}

.contact-list a,
.contact-list span.val {
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  word-break: break-word;
}

.contact-list a:hover { color: var(--gold); }

.cta-panel {
  text-align: center;
  padding: 50px 30px;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 80% 20%, rgba(201, 162, 75, 0.25), transparent 50%),
    linear-gradient(160deg, var(--navy-deep), var(--navy-soft));
  color: #fff;
}

.cta-panel h2,
.cta-panel h3 { color: #fff; }

.cta-panel p { color: #d4d8e8; }

.cta-panel .btn-row { justify-content: center; }

.cta-panel .event-line {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--gold-light);
  margin-bottom: 0.3em;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy-deep);
  color: #aab1c9;
  padding: 60px 0 30px;
  font-size: 0.93rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}

.site-footer h4 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 14px;
}

.site-footer a { color: #d9dcea; text-decoration: none; }
.site-footer a:hover { color: var(--gold-light); }

.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 6px; }

.footer-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--gold-light);
  margin-bottom: 6px;
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.82rem;
  text-align: center;
  color: #858ca6;
}

.footer-bottom p { margin: 0 0 6px; }

@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}

/* ---------- Utilities ---------- */

.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; }
