
/* JOHN ZARRA — PERSONAL WEBSITE */

:root {
  --background: #101b18;
  --surface: #1b2b25;
  --surface-light: #263a30;
  --gold: #d7b674;
  --cream: #f2eadb;
  --muted: #b8c0b5;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--cream);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.7;
}

a {
  color: var(--gold);
  text-decoration: none;
}

a:hover {
  color: #f4d99c;
}

/* NAVIGATION */

.site-header {
  background: #0c1512;
  border-bottom: 1px solid #554b35;
}

.navbar {
  max-width: 1200px;
  margin: auto;
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.logo {
  font-size: 21px;
  font-weight: bold;
  letter-spacing: 3px;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.nav-links a {
  font-size: 14px;
  color: var(--cream);
}

.nav-links a:hover {
  color: var(--gold);
}

/* HERO BANNER */

.hero {
  background: #0b1411;
  padding: 24px;
}

.hero-inner {
  max-width: 1250px;
  margin: auto;
}

.hero-banner {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* WELCOME SECTION */

.welcome {
  max-width: 850px;
  margin: auto;
  padding: 75px 24px;
  text-align: center;
}

.eyebrow {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 12px;
  font-weight: bold;
}

h1, h2, h3 {
  line-height: 1.25;
}

h1 {
  font-size: clamp(32px, 5vw, 54px);
  margin: 12px 0 25px;
}

h2 {
  font-size: clamp(28px, 4vw, 40px);
}

.intro {
  font-size: 22px;
  color: var(--gold);
}

.welcome p {
  margin-bottom: 20px;
}

/* FEATURE CARDS */

.featured {
  background: var(--surface);
  padding: 75px 24px 90px;
  text-align: center;
}

.card-grid {
  max-width: 1150px;
  margin: 35px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--surface-light);
  border: 1px solid #566047;
  border-radius: 12px;
  padding: 30px 22px;
  text-align: left;
  transition: transform 0.2s ease,
              border-color 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
}

.card-symbol {
  font-size: 36px;
  color: var(--gold);
}

.feature-card h3 {
  font-size: 23px;
  margin: 15px 0;
}

.feature-card p {
  color: var(--muted);
  font-size: 15px;
  min-height: 105px;
}

.feature-card a {
  font-weight: bold;
}

/* SWAMP KAT SPOTLIGHT */

.spotlight {
  padding: 85px 24px;
  text-align: center;
  background:
    linear-gradient(135deg, #132b20, #101b18);
}

.spotlight p {
  max-width: 650px;
  margin: 0 auto 25px;
}

.gold-button {
  display: inline-block;
  background: var(--gold);
  color: #142019;
  padding: 13px 25px;
  border-radius: 6px;
  font-weight: bold;
}

.gold-button:hover {
  background: #f1d397;
  color: #142019;
}

/* FOOTER */

.site-footer {
  background: #0b1411;
  border-top: 1px solid #554b35;
  text-align: center;
  padding: 30px 20px;
  color: var(--muted);
  font-size: 13px;
}

.site-footer p {
  margin: 5px 0;
}

/* TABLETS */

@media (max-width: 950px) {
  .navbar {
    flex-direction: column;
  }

  .nav-links {
    justify-content: center;
  }

  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-card p {
    min-height: 0;
  }
}

/* PHONES */

@media (max-width: 600px) {
  .navbar {
    padding: 16px;
  }

  .nav-links {
    gap: 12px;
    justify-content: center;
  }

  .nav-links a {
    font-size: 13px;
  }

  .hero {
    padding: 10px;
  }

  .welcome {
    padding: 50px 20px;
  }

  .intro {
    font-size: 19px;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .featured {
    padding: 55px 20px;
  }

  .spotlight {
    padding: 60px 20px;
  }
}

/* Music album gallery — two albums per row */
.album-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 35px auto;
}

@media (max-width: 700px) {
  .album-gallery {
    grid-template-columns: 1fr;
  }
}

/* People and bands musical history */

.band-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 1100px;
  margin: 35px auto;
  text-align: center;
}

.band-list a,
.band-list span {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 12px;
  background: #263a30;
  border: 1px solid rgba(215,182,116,0.25);
  border-radius: 8px;
  color: #f2eadb;
  text-decoration: none;
  line-height: 1.5;
}

.band-list a {
  color: #d7b674;
}

.band-list a:hover {
  background: #344d3f;
  border-color: #d7b674;
}

@media (max-width: 700px) {
  .band-list {
    grid-template-columns: 1fr;
  }
}

/* Band list — natural comma-separated layout */

.band-list {
  display: block;
  max-width: 1000px;
  margin: 30px auto;
  text-align: center;
  line-height: 2.2;
}

.band-list a,
.band-list span {
  display: inline;
  padding: 0;
  margin: 0;
  background: none;
  border: none;
  border-radius: 0;
  line-height: inherit;
}

.band-list a {
  color: #d7b674;
  text-decoration: none;
}

.band-list span {
  color: #f2eadb;
}

.band-list a:hover {
  background: none;
  border: none;
  text-decoration: underline;
}

.band-list a:not(:last-child)::after,
.band-list span:not(:last-child)::after {
  content: ",";
  color: #f2eadb;
}
