/* ===========================
   REMEMBER ME — Band Website
   =========================== */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@300;400;600;700&display=swap');

/* ── Keyframes ─────────────────────────────────────────────────────────────
   Ken Burns: slow drift + zoom on the hero background image.
   titleFadeIn: hero content slides up on load.
   ───────────────────────────────────────────────────────────────────────── */
@keyframes kenburns {
  0%   { transform: scale(1)    translate(0,     0);     }
  33%  { transform: scale(1.06) translate(-0.8%, 0.4%);  }
  66%  { transform: scale(1.08) translate(0.5%, -0.3%);  }
  100% { transform: scale(1)    translate(0,     0);     }
}

@keyframes titleFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0);    }
}

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

/* ── Design tokens ──────────────────────────────────────────────────────────
   Darkened --bg and --muted for stronger contrast between hierarchy levels.
   Added --glow for reusable teal drop-shadow value.
   ───────────────────────────────────────────────────────────────────────── */
:root {
  --bg:         #080808;
  --bg-card:    #0f0f0f;
  --bg-nav:     rgba(8, 8, 8, 0.97);
  --red:        #0d9488;
  --red-hover:  #14b8a6;
  --white:      #f0f0f0;
  --muted:      #5a5a5a;
  --border:     #1c1c1c;
  --font-head:  'Bebas Neue', sans-serif;
  --font-body:  'Inter', sans-serif;
  --glow:       rgba(13, 148, 136, 0.4);
}

/* Sets background on html so iOS overscroll bounce shows the right color */
html {
  scroll-behavior: smooth;
  background: #080808;
}

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── Navigation ── */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  background: #080808;
  border-bottom: 1px solid var(--border);
  padding-top: env(safe-area-inset-top);
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo glows teal on hover */
.nav-logo {
  font-family: var(--font-head);
  font-size: 1.8rem;
  letter-spacing: 0.05em;
  color: var(--white);
  transition: color 0.25s, text-shadow 0.25s;
}
.nav-logo:hover {
  color: var(--red);
  text-shadow: 0 0 24px var(--glow);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

/* ── Animated underline on nav links ──────────────────────────────────────
   Replaces the static border-bottom. The ::after pseudo-element starts at
   width 0 and expands to 100% on hover / active — giving a sweeping line.
   ───────────────────────────────────────────────────────────────────────── */
.nav-links a {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
  position: relative;
  padding-bottom: 4px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width 0.25s ease;
}
.nav-links a:hover              { color: var(--white); }
.nav-links a:hover::after,
.nav-links a.active::after      { width: 100%; }
.nav-links a.active             { color: var(--white); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
}

/* ── Main content wrapper ── */
main {
  flex: 1;
  padding-top: calc(64px + env(safe-area-inset-top));
}

/* ── Hero ───────────────────────────────────────────────────────────────────
   Three layers:
   1. .hero-bg      — the photo, running the Ken Burns animation
   2. .hero::after  — a gradient vignette for drama (dark top, darker bottom
                      with a very faint teal tint)
   3. .hero-content — text + CTAs, z-index 1 so it sits above both layers
   ───────────────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

/* Dramatic gradient overlay — vignette that concentrates attention center */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.3)  0%,
    rgba(0,0,0,0.05) 40%,
    rgba(0,0,0,0.45) 70%,
    rgba(0,0,0,0.88) 100%
  );
  pointer-events: none;
  z-index: 0;
}

/* Ken Burns slow drift — will-change hints GPU compositing */
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('/assets/rm13.jpg');
  background-size: cover;
  background-position: center center;
  filter: brightness(0.42);
  animation: kenburns 26s ease-in-out infinite;
  will-change: transform;
}

/* Fade-up entrance on load */
.hero-content {
  position: relative;
  z-index: 1;
  padding: 2rem;
  animation: titleFadeIn 0.9s ease both;
  animation-delay: 0.15s;
}

/* Stronger glow + depth shadow so title punches through the bg */
.hero-title {
  font-family: var(--font-head);
  font-size: clamp(4rem, 12vw, 10rem);
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  text-shadow:
    0 0  60px rgba(13, 148, 136, 0.3),
    0 0 120px rgba(13, 148, 136, 0.1),
    0 4px 40px rgba(0, 0, 0, 0.9);
}

/* Sub-line gets the teal accent instead of muted grey */
.hero-sub {
  font-size: 0.85rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--red);
  margin-top: 1rem;
  opacity: 0.9;
}

.hero-cta {
  display: inline-flex;
  gap: 1rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* ── Buttons ──────────────────────────────────────────────────────────────
   Fill sweep using background-size/position trick — no z-index hacks needed.
   The gradient is 200% wide; default position shows the transparent half,
   hover slides it left to reveal the teal fill. Glow added on hover.
   ───────────────────────────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 2px solid var(--red);
  color: var(--white);
  background: linear-gradient(to right, var(--red) 50%, transparent 50%);
  background-size: 200% 100%;
  background-position: right center;
  transition: background-position 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.btn:hover {
  background-position: left center;
  box-shadow: 0 0 22px var(--glow);
}

.btn-fill {
  background: linear-gradient(to right, var(--red-hover) 50%, var(--red) 50%);
  background-size: 200% 100%;
  background-position: right center;
}
.btn-fill:hover {
  background-position: left center;
  border-color: var(--red-hover);
  box-shadow: 0 0 22px var(--glow);
}

/* ── Social strip ────────────────────────────────────────────────────────
   Lift + teal glow on hover — makes each link feel interactive.
   ───────────────────────────────────────────────────────────────────────── */
.social-strip {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: 1.25rem 2rem;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
}

.social-link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s, transform 0.2s, filter 0.2s;
}
.social-link:hover {
  color: var(--red);
  transform: translateY(-2px);
  filter: drop-shadow(0 0 6px rgba(13, 148, 136, 0.5));
}

.social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* ── Section base ── */
section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
}

/* Slightly tighter tracking + bolder weight for more presence */
.section-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  letter-spacing: 0.05em;
  line-height: 1;
  margin-bottom: 2rem;
}

/* ── Bio page ── */
.bio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

/* Slightly dimmer body text for stronger heading contrast */
.bio-text p {
  color: #aaa;
  margin-bottom: 1.25rem;
}

.bio-image img {
  width: 100%;
  object-fit: cover;
  border: 1px solid var(--border);
  transition: filter 0.4s, border-color 0.4s;
}
.bio-image img:hover {
  filter: brightness(1.1);
  border-color: var(--red);
}

.members-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 1.5rem;
}

/* Indent slide on member card hover */
.member-card {
  padding: 0.65rem 0;
  font-size: 1rem;
  font-weight: 700;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s, padding-left 0.2s;
}
.member-card:hover {
  color: var(--red);
  padding-left: 0.5rem;
}

/* ── Photos grid ──────────────────────────────────────────────────────────
   Default state: slightly desaturated + dimmed — gives a moody, film-like
   feel. Hover: full colour, brightened, zoomed, teal border, lift shadow.
   z-index: 1 on hover prevents clipping by adjacent cells.
   ───────────────────────────────────────────────────────────────────────── */
.photos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 2rem;
}

.photos-grid img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border: 1px solid var(--border);
  filter: grayscale(30%) brightness(0.8);
  transition: filter 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  position: relative;
}
.photos-grid img:hover {
  filter: grayscale(0%) brightness(1.05);
  transform: scale(1.04);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.75);
  border-color: var(--red);
  z-index: 1;
}

/* ── Home merch block ── */
.home-merch-block {
  display: block;
  width: 100%;
  background: #000;
  overflow: hidden;
}

.home-merch-block img {
  width: 100%;
  display: block;
  transition: transform 0.4s ease;
}

.home-merch-block:hover img {
  transform: scale(1.015);
}

/* ── Merch page ── */
.merch-fullscreen {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: calc(100vh - 64px);
  background: #000;
  overflow: hidden;
}

.merch-fullscreen img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.merch-fullscreen:hover img {
  transform: scale(1.015);
}

/* ── Tour page ── */
.tour-embed {
  margin-top: 2rem;
  background: rgba(21, 20, 21, 1);
  border: 1px solid var(--border);
  padding: 2rem;
  border-radius: 2px;
}

/* ── EPK page ── */
.epk-section {
  margin-bottom: 3rem;
}

.epk-downloads {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.streaming-links {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

/* Lift + border glow on streaming link hover */
.streaming-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 1rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  transition: border-color 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.streaming-link:hover {
  border-color: var(--red);
  color: var(--red);
  transform: translateY(-2px);
  box-shadow: 0 4px 18px rgba(13, 148, 136, 0.15);
}

.streaming-link svg { width: 22px; height: 22px; fill: currentColor; flex-shrink: 0; }

/* ── Booking page ── */
.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.booking-info p {
  color: #aaa;
  margin-bottom: 1.25rem;
}

.booking-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.form-group input,
.form-group textarea,
.form-group select {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--white);
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
  border-radius: 0;
  -webkit-appearance: none;
}

/* Teal glow ring on focus — makes form feel alive */
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.12);
}

.form-group textarea { resize: vertical; min-height: 140px; }
.form-group select option { background: var(--bg-card); }

/* ── Footer ── */
footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 2.5rem 1.5rem;
  text-align: center;
}

.footer-logo {
  font-family: var(--font-head);
  font-size: 2.5rem;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
  transition: color 0.25s;
}
.footer-logo:hover { color: var(--red); }

.footer-social {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.footer-social a {
  color: var(--muted);
  transition: color 0.2s, transform 0.2s;
}
.footer-social a:hover {
  color: var(--red);
  transform: translateY(-2px);
}
.footer-social svg { width: 20px; height: 20px; fill: currentColor; }

.footer-copy {
  font-size: 0.75rem;
  color: var(--muted);
}

/* ── Page hero (non-home) ── */
.page-hero {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  padding: 4rem 1.5rem 3rem;
  text-align: center;
}

.page-hero .section-label { display: block; margin-bottom: 0.5rem; }
.page-hero .section-title { margin-bottom: 0; }

/* ── Divider ── */
.divider {
  width: 60px;
  height: 3px;
  background: var(--red);
  margin: 1.5rem 0;
}

.section-label + .divider {
  margin-top: 0.25rem;
}

/* ── Photo hero (inner pages) ─────────────────────────────────────────────
   Added ::after gradient overlay for depth (same layering technique as the
   main hero). Subtle bg scale on hover adds a tiny pulse of life.
   ───────────────────────────────────────────────────────────────────────── */
.photo-hero {
  position: relative;
  height: 42vh;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 3rem;
  overflow: hidden;
  text-align: center;
}

.photo-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.25) 0%,
    rgba(0,0,0,0.05) 40%,
    rgba(0,0,0,0.65) 100%
  );
  pointer-events: none;
  z-index: 0;
}

.photo-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.22);
  transition: transform 8s ease;
}

/* Very slow drift in — subtle, not distracting */
.photo-hero:hover .photo-hero-bg {
  transform: scale(1.03);
}

.photo-hero h1 {
  position: relative;
  z-index: 1;
  font-family: var(--font-head);
  font-size: clamp(3.5rem, 10vw, 8rem);
  letter-spacing: 0.05em;
  line-height: 1;
  text-shadow: 0 2px 32px rgba(0, 0, 0, 0.85);
}

/* ── Text link ── */
.text-link {
  display: inline-block;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  border-bottom: 1px solid var(--red);
  padding-bottom: 2px;
  transition: color 0.2s;
}
.text-link:hover { color: var(--red); }

/* ── Grain overlay ────────────────────────────────────────────────────────
   Increased from 0.04 → 0.055 for a grittier, more tactile feel that fits
   the heavy rock aesthetic without being distracting.
   ───────────────────────────────────────────────────────────────────────── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
}

/* ── Venue kit stats grid ── */
.vk-stats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.vk-stat {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 1.25rem;
  text-align: center;
}
.vk-stat-value {
  font-family: var(--font-head);
  font-size: 2.2rem;
  letter-spacing: 0.04em;
  color: var(--white);
  line-height: 1;
}
.vk-stat-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.35rem;
}

/* ── Venue kit rider table ── */
.vk-rider {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  font-size: 0.9rem;
}
.vk-rider td {
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
  color: #aaa;
}
.vk-rider td:first-child {
  font-weight: 700;
  color: var(--white);
  width: 40%;
}

/* ── Venue kit press quotes ── */
.vk-quote {
  border-left: 3px solid var(--red);
  padding: 0.75rem 1.25rem;
  margin-bottom: 1.5rem;
  background: var(--bg-card);
}
.vk-quote p { color: #ccc; font-style: italic; margin-bottom: 0.4rem; }
.vk-quote cite { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; width: 100%; background: #080808; padding: 1rem 0; border-bottom: 1px solid var(--border); }
  .nav-links.open { display: flex; }
  .nav-links li { text-align: center; padding: 0.75rem; }
  .nav-toggle { display: flex; }
  .bio-grid, .booking-grid { grid-template-columns: 1fr; }
  .photos-grid { grid-template-columns: repeat(2, 1fr); }
  .members-list { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .photos-grid { grid-template-columns: 1fr; }
}
