/* Sam Solace — site styles, matched to the live original as closely as possible.
   Open Sans, #2ea3f2 accent. Inner pages: soft blue-grey sky photo background,
   text sits directly on it, no card panels. Home page only: plain white
   background, with a real black band for the social icons + dark footer. */

@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700,800&display=swap');

:root {
  --accent: #2ea3f2;
  --text-dark: #333333;
  --text-mid: #555555;
  --text-light: #999999;
  --panel-bg: #ffffff;
  --max-width: 1100px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 400;
  color: var(--text-mid);
  background-image: url('../assets/images/hero-bg.jpeg');
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
  background-repeat: no-repeat;
  line-height: 1.6;
}

body.home {
  background: #fff;
}

a {
  color: var(--accent);
  text-decoration: none;
}
a:hover { color: #1d7fc4; }

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

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header / nav */
header.site-header {
  padding: 32px 0 16px;
}
header.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.logo img {
  height: 40px;
  width: auto;
}
nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 32px;
  margin: 0;
  padding: 0;
}
nav.main-nav a {
  font-size: 18px;
  color: var(--text-mid);
  transition: color 0.15s ease;
}
nav.main-nav a:hover,
nav.main-nav a.active {
  color: var(--accent);
}

main {
  padding: 24px 0 60px;
}
body.home main,
body.about-page main {
  padding-bottom: 0;
}
.page-title {
  font-size: 32px;
  font-weight: 400;
  color: var(--text-mid);
  margin: 24px 0;
}

/* Plain content block — no card, text sits directly on the page background,
   matching the live site (About/Contact/News/Shows all do this). */
.panel {
  margin-bottom: 24px;
}
.panel p { color: var(--text-dark); }

/* About page photo — sits flush on the footer, no gap below it */
.about-photo {
  display: block;
  max-width: 280px;
  width: 100%;
  margin: 0 auto;
}

/* Home hero — EP cover + Sam's photo side by side, matching the live homepage */
.hero {
  padding: 20px 0 0;
}
.hero-inner {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.hero-col {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-width: 260px;
}
/* Full picture always shows, nothing cropped. Cover sized closer to the
   live site and top-aligned with Sam's photo so there's no dead space
   above it — reads as Sam looking over toward the cover. */
.hero-cover { width: 100%; max-width: 420px; height: auto; }
.hero-photo { width: 100%; max-width: 420px; height: auto; }

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.5px;
  transition: background 0.15s ease;
}
.btn:hover { background: #1d7fc4; color: #fff; }

/* Social icons — a real black band on the home page, matching the live site */
.social-band {
  background: #000;
  padding: 28px 0;
  margin-top: 0;
}
.social-row {
  display: flex;
  gap: 44px;
  justify-content: center;
  flex-wrap: wrap;
}
.social-row img { height: 64px; width: auto; opacity: 0.9; transition: opacity 0.15s ease; }
.social-row a:hover img { opacity: 1; }

/* News list — text directly on the background, image beside it, centered body
   like the live site; no card */
.post {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(0,0,0,0.1);
}
.post img {
  width: 260px;
  border-radius: 4px;
}
.post .post-body { flex: 1; min-width: 240px; text-align: center; color: var(--text-dark); }
.post h2 { margin-top: 0; font-weight: 400; }
.post-date {
  font-size: 13px;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

/* Shows list — same direct-on-background treatment */
.show-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  flex-wrap: wrap;
  gap: 8px;
}
.show-row:last-child { border-bottom: none; }
.show-date { font-weight: 700; color: var(--text-dark); min-width: 140px; }
.show-venue { color: var(--text-mid); flex: 1; }
.empty-state {
  text-align: center;
  padding: 24px 0;
  color: var(--text-dark);
}

/* Music / discography grid — new page, no original to match, kept as simple cards */
.release-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}
.release-card {
  background: var(--panel-bg);
  border-radius: 4px;
  overflow: hidden;
}
.release-card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.release-card .release-info { padding: 16px; color: var(--text-dark); }
.release-card h3 { margin: 0 0 4px; font-size: 18px; }
.release-card .release-date { font-size: 13px; color: var(--text-light); }
.release-links { margin-top: 10px; display: flex; gap: 10px; flex-wrap: wrap; }

/* Contact form */
form.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 480px;
}
form.contact-form input,
form.contact-form textarea {
  font-family: inherit;
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #fff;
  color: var(--text-dark);
}
form.contact-form textarea { min-height: 120px; resize: vertical; }
form.contact-form button {
  align-self: flex-start;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.form-note { font-size: 13px; color: var(--text-light); margin-top: 8px; }
.form-status { font-size: 14px; margin: 0; }
.form-status-ok { color: #1a7f37; }
.form-status-error { color: #c0392b; }

/* Footer */
footer.site-footer {
  text-align: center;
  padding: 18px 0;
  background: #1f1f1f;
  color: #efefef;
  font-size: 14px;
}

@media (max-width: 640px) {
  nav.main-nav ul { gap: 18px; flex-wrap: wrap; }
}
