/* Seyirdem — shared styles for every page */

:root {
  --bg: #000;
  --text: #d8d4cc;
  --muted: #8a857c;
  --accent: #fff;
  --line: #2a2a2a;
  --font: "Helvetica Neue", Arial, sans-serif;
  --display: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- Home / splash page ---------- */

.splash {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 3rem;
  padding: 2rem;
}

.splash .links {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  font-size: 1.1rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}
.splash .links.left  { align-items: flex-end; }
.splash .links.right { align-items: flex-start; }

/* Swap the text for <img src="images/logo.png" alt="Seyirdem"> when the logo is ready */
.logo {
  font-family: var(--display);
  font-size: clamp(2.5rem, 8vw, 6rem);
  letter-spacing: 0.08em;
  color: var(--accent);
  text-align: center;
  margin: 0;
}
.logo img { max-width: min(60vw, 500px); height: auto; display: block; }

@media (max-width: 700px) {
  .splash {
    grid-template-columns: 1fr;
    justify-items: center;
    align-content: center;
    gap: 2rem;
  }
  .splash .logo { order: -1; }
  .splash .links.left,
  .splash .links.right { align-items: center; }
}

/* ---------- Inner pages ---------- */

.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--line);
}

.site-header .brand {
  font-family: var(--display);
  font-size: 1.6rem;
  letter-spacing: 0.08em;
}

.site-header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.site-header nav a[aria-current="page"] { text-decoration: underline; }

main {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}

h1 {
  font-family: var(--display);
  font-weight: normal;
  color: var(--accent);
  letter-spacing: 0.05em;
}

blockquote {
  margin: 2.5rem 0;
  padding-left: 1.25rem;
  border-left: 2px solid var(--muted);
  font-style: italic;
}
blockquote cite { display: block; margin-top: 0.5rem; color: var(--muted); font-style: normal; }

.muted { color: var(--muted); }

/* Shows list */
.shows { list-style: none; padding: 0; }
.shows li {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}
.shows .date { color: var(--muted); }

/* Recordings */
main.wide { max-width: 1040px; }

.albums {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.5rem;
  align-items: start;
  margin-bottom: 4rem;
}

.album summary { list-style: none; cursor: pointer; }
.album summary::-webkit-details-marker { display: none; }

.album h2 {
  font-family: var(--display);
  font-weight: normal;
  font-size: 1.3rem;
  color: var(--accent);
  margin: 0 0 0.75rem;
}

/* Covers are black and white until hovered or opened */
.album img {
  width: 100%;
  aspect-ratio: 1;    /* every cover shows as the same square */
  object-fit: cover;
  display: block;
  filter: grayscale(1);
  transition: filter 0.4s ease;
}
.album summary:hover img,
.album summary:focus-visible img,
.album[open] img { filter: none; }

.album-info { padding-top: 1rem; }
.album-info .tagline { font-style: italic; color: var(--muted); margin-top: 0; }
.album-info h3 { font-size: 0.95rem; color: var(--accent); margin: 1.25rem 0 0.4rem; }
.album-info ol,
.album-info ul { margin: 0; padding-left: 1.25rem; }
.album-info .credits { color: var(--muted); font-size: 0.9rem; }

.release { margin-bottom: 3rem; }
.release h2 { margin-bottom: 0.25rem; color: var(--accent); font-weight: normal; }

/* About photo */
.profile {
  display: block;
  width: 100%;
  max-width: 300px;
  height: auto;
  margin: 0 auto 2rem;
}

/* Contact studio photos */
.photo-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 2.5rem 0 0;
}
.photo-pair img { width: 100%; height: auto; display: block; }
.photo-pair figcaption { grid-column: 1 / -1; color: var(--muted); font-size: 0.9rem; }

@media (max-width: 600px) {
  .photo-pair { grid-template-columns: 1fr; }
}

.site-footer {
  text-align: center;
  padding: 2rem;
  font-size: 0.8rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
}
