/* =========================
   COLOR & FONT VARIABLES
   ========================= */
:root {
  --black: #000000;
  --white: #ffffff;
  --gray: #888888;

  --blue: #17415a;          /* site background */
  --jade-green: #00A86B;
  --fire-red: #CE2029;

  --text-light: #ffffff;
  --text-dark: #000000;

  --header-font: 'Times New Roman', serif;
  --body-font: 'Times New Roman', serif;
}

/* =========================
   BASE
   ========================= */
html {
  background-color: var(--blue);
}

body {
  margin: 0;
  padding-top: 160px; /* fixed header + nav (desktop) */
  background-color: var(--blue);
  color: var(--text-light);
  font-family: var(--body-font);
  font-size: 20px;
  line-height: 1.6;
}

/* Prevent image overflow anywhere */
img {
  max-width: 100%;
  height: auto;
}

/* =========================
   HEADER (FIXED – DESKTOP)
   ========================= */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;

  height: 160px;
  padding: 1rem 6rem;
  box-sizing: border-box;

  background-color: var(--black);
  z-index: 1000;
}

.header-logo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-direction: row-reverse;
}

.header-logo img {
  height: 125px;
  border-radius: 8px;
}

.header-title {
  font-family: var(--header-font);
  color: var(--white);
  font-size: 2.4rem;
  letter-spacing: 0.07em;
}

/* =========================
   NAV (FIXED – DESKTOP)
   ========================= */
nav {
  position: fixed;
  top: 160px;
  left: 0;
  right: 0;

  display: flex;
  justify-content: center;
  flex-wrap: wrap;

  background-color: var(--blue);
  padding: 0 0.5rem 0.5rem;
  margin: 0;

  z-index: 900;
}

nav a {
  color: var(--black);
  text-decoration: none;
  font-size: 1.5rem;
  margin: 0 1.2rem;
  padding: 0.6rem;
  position: relative;
  transition: color 0.3s ease;
}

nav a::after {
  content: '';
  display: block;
  height: 2px;
  background: var(--fire-red);
  width: 0%;
  transition: width 0.4s ease;
  position: absolute;
  bottom: 0;
  left: 0;
}

nav a:hover::after {
  width: 100%;
}

nav a:hover {
  color: var(--jade-green);
}

/* =========================================================
   PAGE TITLES
   ========================================================= */
.page-title {
  max-width: 960px;
  margin: 2.5rem auto 2rem;
  padding: 0 2rem;
}

.page-title h1 {
  margin: 0;
  font-family: var(--header-font);
  font-size: 1.9rem;
  color: var(--text-dark);
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--jade-green);
}

/* Full-width underline look on BLUE pages */
body.blue-page .page-title {
  max-width: none;
}

body.blue-page .page-title h1 {
  max-width: 960px;
  margin: 0 auto;
}

/* =========================================================
   CONTENT SECTIONS
   ========================================================= */

/* White pages */
.content-section {
  background-color: var(--white);
  color: var(--text-dark);
  max-width: 960px;
  margin: 0 auto 2.5rem;
  padding: 2rem;
  border-radius: 12px;
}

/* Blue pages */
body.blue-page .content-section {
  background: none;
  padding: 0;
  border-radius: 0;
}

/* =========================================================
   CURRENT PAGE – Readable Paragraph Blocks
   ========================================================= */
body.current-page p {
  background-color: var(--white);
  color: var(--text-dark);

  max-width: 720px;
  margin: 2rem auto;
  padding: 1.6rem 2rem;

  border-radius: 12px;
}

/* =========================================================
   HEADINGS INSIDE CONTENT
   ========================================================= */
.content-section h2,
.content-section h3 {
  font-family: var(--header-font);
  color: var(--blue);
  border-bottom: 2px solid var(--jade-green);
  display: inline-block;
  padding-bottom: 0.3rem;
}

/* =========================================================
   MUSIC PAGE
   ========================================================= */
.music-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 2.5rem;
  align-items: flex-start;
}

.music-artwork {
  width: 90px;
  height: 90px;
  object-fit: cover;
  flex-shrink: 0;
  border-radius: 4px;
}

.music-meta {
  flex: 1;
}

.music-title {
  font-size: 0.9rem;
  margin: 0 0 0.4rem 0;
}

.audio-player {
  width: 100%;
}

/* =========================================================
   FOOTER
   ========================================================= */
footer {
  background-color: var(--blue);
  color: var(--black);
  text-align: center;
  padding: 1.5rem 0;
  font-size: 0.9rem;
}

.footer-inner {
  max-width: 960px;
  margin: 0 auto;
  padding-top: 0.6rem;
  border-top: 2px solid var(--jade-green);
}

/* =========================================================
   RESPONSIVE (PHONES & TABLETS)
   ========================================================= */
@media (max-width: 768px) {

  body {
    padding-top: 0;
    font-size: 18px;
  }

  header {
    position: static;
    height: auto;
    padding: 1rem;
  }

  nav {
    position: static;
    flex-direction: column;
    align-items: center;
    padding-bottom: 1rem;
  }

  nav a {
    margin: 0.4rem 0;
    font-size: 1.4rem;
  }

  .page-title {
    padding: 0 1.2rem;
  }

  .content-section {
    padding: 1.2rem;
  }

  body.current-page p {
    margin: 1.5rem 1rem;
    padding: 1.2rem;
  }

  .header-logo {
    flex-direction: column-reverse;
    text-align: center;
  }
}