/* ================================================================
   TRANSIT YELLOW — transityellow.com
   Cosmic horror space rock / stoner doom
   v2: image protection, corrected layout, merch page
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700;900&family=Crimson+Text:ital,wght@0,400;0,600;1,400&display=swap');

:root {
  --void: #0a0a0f;
  --void-lighter: #12121a;
  --parchment: #d4c9a8;
  --parchment-dim: #8b7d5e;
  --yellow: #c8a832;
  --yellow-glow: #e0c040;
  --teal: #4a6b5a;
  --muted: #3a3530;
  --font-display: 'Cinzel', serif;
  --font-body: 'Crimson Text', Georgia, serif;
  --max-width: 1100px;
  --nav-height: 70px;
}

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

html { scroll-behavior: smooth; background: var(--void); color: var(--parchment); }

body {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  background: var(--void);
  color: var(--parchment);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: var(--yellow); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--yellow-glow); }

/* --- Image protection --- */
img, .protected-img {
  max-width: 100%;
  height: auto;
  display: block;
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

/* Wrapper adds invisible overlay to block right-click/drag */
.img-wrap {
  position: relative;
  overflow: hidden;
}

.img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background: transparent;
  pointer-events: auto;
}

/* --- Navigation --- */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  background: rgba(10, 10, 15, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--muted);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
}

.site-nav__logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.site-nav__logo img {
  height: 40px;
  width: 40px;
  border-radius: 50%;
  pointer-events: auto;
}

.site-nav__logo-text {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--yellow);
}

.site-nav__links {
  display: flex;
  gap: 1.8rem;
  list-style: none;
}

.site-nav__links a {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--parchment-dim);
  transition: color 0.3s;
}

.site-nav__links a:hover,
.site-nav__links a.active { color: var(--yellow); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--parchment); margin: 5px 0; transition: 0.3s; }

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .site-nav__links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0; right: 0;
    flex-direction: column;
    background: rgba(10, 10, 15, 0.97);
    padding: 1.5rem 2rem;
    gap: 1.2rem;
    border-bottom: 1px solid var(--muted);
  }
  .site-nav__links.open { display: flex; }
}

main { margin-top: var(--nav-height); flex: 1; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 2rem; }

/* --- Hero --- */
.hero {
  position: relative;
  width: 100%;
  min-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 15, 0.2) 0%,
    rgba(10, 10, 15, 0.05) 30%,
    rgba(10, 10, 15, 0.6) 80%,
    rgba(10, 10, 15, 1) 100%
  );
}

@keyframes void-pulse {
  0%, 100% { opacity: 0; }
  50% { opacity: 0.06; }
}

.hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 40%, var(--yellow), transparent 60%);
  animation: void-pulse 10s ease-in-out infinite;
  z-index: 1;
  opacity: 0.3;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 3rem 2rem;
}

.hero__content--bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  text-align: center;
  padding: 0 2rem 4rem;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  color: var(--yellow);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 40px rgba(200, 168, 50, 0.3);
}

.hero__tagline {
  font-family: var(--font-body);
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-style: italic;
  color: var(--parchment);
  max-width: 550px;
  margin: 0 auto 2rem;
}

.hero__cta {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--void);
  background: var(--yellow);
  padding: 0.9rem 2.8rem;
  transition: background 0.3s, transform 0.2s;
}

.hero__cta:hover { background: var(--yellow-glow); color: var(--void); transform: translateY(-2px); }

/* --- Sections --- */
.section { padding: 5rem 0; }
.section--alt { background: var(--void-lighter); }

.section__heading {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--yellow);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  text-align: center;
}

.section__heading::after {
  content: '';
  display: block;
  width: 60px;
  height: 1px;
  background: var(--muted);
  margin: 1rem auto 0;
}

/* --- Latest release (single featured) --- */
.latest-release {
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
}

.latest-release__art {
  width: 100%;
  max-width: 400px;
  margin: 0 auto 1.5rem;
  border: 1px solid var(--muted);
}

.latest-release__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--parchment);
  margin-bottom: 0.3rem;
}

.latest-release__type {
  font-size: 0.95rem;
  color: var(--parchment-dim);
  font-style: italic;
  margin-bottom: 1.5rem;
}

/* --- Music grid --- */
.music-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.music-card {
  background: var(--void-lighter);
  border: 1px solid var(--muted);
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s;
}

.music-card:hover { transform: translateY(-4px); border-color: var(--parchment-dim); }

.music-card__art { width: 100%; aspect-ratio: 1; object-fit: cover; }
.music-card__info { padding: 1.2rem; }

.music-card__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--parchment);
  letter-spacing: 0.05em;
  margin-bottom: 0.3rem;
}

.music-card__type { font-size: 0.85rem; color: var(--parchment-dim); font-style: italic; margin-bottom: 0.8rem; }

.music-card__link {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--yellow);
  border: 1px solid var(--yellow);
  padding: 0.4rem 1rem;
  display: inline-block;
  transition: background 0.3s, color 0.3s;
}

.music-card__link:hover { background: var(--yellow); color: var(--void); }

/* --- Featured album --- */
.featured-album {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 3rem;
}

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

.featured-album__art { width: 100%; border: 1px solid var(--muted); }

.featured-album__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--parchment);
  margin-bottom: 0.3rem;
}

.featured-album__type { font-size: 1rem; color: var(--parchment-dim); font-style: italic; margin-bottom: 1.5rem; }
.featured-album__desc { color: var(--parchment-dim); margin-bottom: 1.5rem; line-height: 1.8; }

/* --- About --- */
.about-content { max-width: 700px; margin: 0 auto; }
.about-content p { margin-bottom: 1.5rem; color: var(--parchment); line-height: 1.9; }
.about-image { width: 100%; max-width: 600px; margin: 2rem auto; border: 1px solid var(--muted); }

/* --- Contact form --- */
.contact-form { max-width: 550px; margin: 0 auto; }
.form-group { margin-bottom: 1.5rem; }

.form-group label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--parchment-dim);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  background: var(--void-lighter);
  border: 1px solid var(--muted);
  color: var(--parchment);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus { outline: none; border-color: var(--yellow); }

.form-group textarea { min-height: 150px; resize: vertical; }

.form-submit {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--void);
  background: var(--yellow);
  border: none;
  padding: 0.8rem 2.5rem;
  cursor: pointer;
  transition: background 0.3s;
}

.form-submit:hover { background: var(--yellow-glow); }

/* --- Social links --- */
.social-links { display: flex; gap: 1.5rem; justify-content: center; margin-top: 2rem; flex-wrap: wrap; }

.social-links a {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--parchment-dim);
  border: 1px solid var(--muted);
  padding: 0.5rem 1.2rem;
  transition: all 0.3s;
}

.social-links a:hover { color: var(--yellow); border-color: var(--yellow); }

/* --- Footer --- */
.site-footer {
  border-top: 1px solid var(--muted);
  padding: 2rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--parchment-dim);
}

/* --- Gallery --- */
.gallery-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}

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

.gallery-row .img-wrap img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid var(--muted);
  transition: transform 0.3s;
}

/* --- Merch placeholder --- */
.merch-placeholder {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--parchment-dim);
  font-style: italic;
}

.merch-placeholder p {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

/* --- Utility --- */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mt-4 { margin-top: 4rem; }
.mb-2 { margin-bottom: 2rem; }

@media (prefers-reduced-motion: reduce) {
  .hero__bg::before { animation: none; }
  * { transition-duration: 0s !important; }
}
