/* ============================================================
   ADAM RECORD — adamrecordmusic.com
   Stylesheet
   ============================================================ */

:root {
  --black: #111;
  --white: #fff;
  --cream: #f5f3ef;
  --grey: #888;
  --light-grey: #e8e6e2;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "instrument-serif", sans-serif;
  background: var(--cream);
  color: var(--black);
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ============================================================
   SIDEBAR
   ============================================================ */

.sidebar {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding-left: 16px;
}

.sidebar-link {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey);
  transition: color 0.2s;
}

.sidebar-link:hover {
  color: var(--black);
}

.sidebar-line {
  width: 1px;
  height: 60px;
  background: var(--grey);
}

/* ============================================================
   HEADER / NAV
   ============================================================ */

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 28px 48px 0 80px;
  background: transparent;
}

.logo a {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.logo-name {
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1;
}

.logo-sub {
  font-size: 11px;
  font-style: italic;
  color: var(--grey);
  letter-spacing: 0.05em;
}

nav {
  display: flex;
  gap: 32px;
  align-items: center;
  padding-top: 4px;
}

nav a {
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--grey);
  transition: color 0.2s;
  position: relative;
}

nav a:hover,
nav a.active {
  color: var(--black);
}

nav a.active::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--black);
}

/* ============================================================
   HOME
   ============================================================ */

.home-main {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 100px 80px;
}

.home-hero {
  text-align: center;
}

.hero-name {
  font-size: clamp(36px, 6vw, 80px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.hero-sub {
  font-size: 16px;
  color: var(--grey);
  margin-bottom: 48px;
  font-style: italic;
}

.hero-link {
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--black);
  padding-bottom: 2px;
  transition: opacity 0.2s;
}

.hero-link:hover {
  opacity: 0.5;
}

/* ============================================================
   MUSIC — ALBUM GRID
   ============================================================ */

.music-main {
  padding: 120px 120px 80px 120px;
}

.page-title-center {
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.3em;
  color: var(--grey);
  margin-bottom: 60px;
}

.section-divider {
  margin-top: 80px;
}

.album-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 40px;
  max-width: 900px;
  margin: 0 auto;
}

.album-card {
  display: block;
  cursor: pointer;
  transition: opacity 0.2s;
}

.album-card:hover {
  opacity: 0.7;
}

.album-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  margin-bottom: 12px;
  overflow: hidden;
}

.album-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.album-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.album-title {
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.3;
}

.album-meta {
  font-size: 11px;
  font-style: italic;
  color: var(--grey);
}

/* ============================================================
   ALBUM DETAIL PAGE
   ============================================================ */

.album-detail-main {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 80px 80px;
}

.album-detail-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  max-width: 900px;
  width: 100%;
  align-items: start;
}

.album-detail-art {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.album-detail-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.album-detail-art .art-placeholder {
  width: 100%;
  height: 100%;
}

.album-detail-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 8px;
}

.album-detail-title {
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 400;
  line-height: 1.1;
}

.album-detail-meta {
  font-size: 13px;
  font-style: italic;
  color: var(--grey);
}

.album-detail-spotify {
  width: 100%;
}

.album-detail-back {
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--black);
  padding-bottom: 2px;
  display: inline-block;
  transition: opacity 0.2s;
}

.album-detail-back:hover {
  opacity: 0.5;
}

/* ============================================================
   ABOUT
   ============================================================ */

.about-main {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 80px 80px;
}

.about-content {
  display: flex;
  gap: 64px;
  max-width: 900px;
  align-items: flex-start;
}

.about-photo-placeholder {
  width: 300px;
  flex-shrink: 0;
  aspect-ratio: 3 / 4;
  background: var(--light-grey);
}

.about-photo-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 8px;
}

.about-text p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--black);
}

.about-text p em {
  font-style: italic;
}

.about-links {
  display: flex;
  gap: 24px;
  margin-top: 16px;
}

.about-links a {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--black);
  padding-bottom: 2px;
  transition: opacity 0.2s;
}

.about-links a:hover {
  opacity: 0.5;
}

/* ============================================================
   CONTACT
   ============================================================ */

.contact-main {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 120px 80px 80px;
}

.contact-content {
  text-align: center;
}

.contact-intro {
  font-size: 32px;
  margin-bottom: 32px;
}

.contact-links {
  display: flex;
  gap: 32px;
  justify-content: center;
}

.contact-links a {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--black);
  padding-bottom: 2px;
  transition: opacity 0.2s;
}

.contact-links a:hover {
  opacity: 0.5;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 768px) {
  .sidebar {
    display: none;
  }

  header {
    padding: 20px 20px 0 20px;
  }

  .music-main {
    padding: 100px 20px 60px;
  }

  .album-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 16px;
  }

  .album-detail-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 0;
  }

  .album-detail-main {
    padding: 100px 20px 60px;
    align-items: flex-start;
  }

  .about-content {
    flex-direction: column;
    gap: 32px;
  }

  .about-photo-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
  }

  .about-main {
    padding: 100px 20px 60px;
    align-items: flex-start;
  }

  .contact-main {
    padding: 100px 20px 60px;
  }

  .home-main {
    padding: 100px 20px 60px;
  }
}

@media (max-width: 480px) {
  header {
    padding: 20px 16px 0 16px;
  }

  .music-main {
    padding: 100px 16px 60px;
  }

  .album-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 12px;
  }
}
