/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red:    #c0001a;
  --red-dim: #7a0011;
  --bg:     #080808;
  --bg2:    #0f0f0f;
  --bg3:    #161616;
  --text:   #e8e8e8;
  --muted:  #888;
  --border: #222;
  --font-display: 'Bebas Neue', sans-serif;
  --font-body:    'Inter', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ── Nav ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 64px;
  background: rgba(8,8,8,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.1em;
  transition: opacity 0.2s;
}
.nav-logo:hover { opacity: 0.7; }
.nav-logo img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.nav-cta {
  color: var(--red);
  border: 1px solid var(--red);
  padding: 6px 16px;
}
.nav-links a.nav-cta:hover { background: var(--red); color: #fff; }

.nav-hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 22px;
  cursor: pointer;
}

/* ── Hero ── */
#hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 50% 60%, rgba(192,0,26,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(192,0,26,0.06) 0%, transparent 60%),
    var(--bg);
}

/* animated waveform lines */
.hero-bg::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 200px;
  background: linear-gradient(to top, var(--bg), transparent);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-location {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}

.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(72px, 14vw, 160px);
  line-height: 0.9;
  letter-spacing: 0.03em;
  color: var(--text);
  margin-bottom: 16px;
}

.hero-sub {
  font-size: 12px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 48px;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* ── Buttons ── */
.btn-primary {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 14px 36px;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover {
  background: #e0001f;
  transform: translateY(-1px);
}

/* ── Section common ── */
section { padding: 100px 40px; max-width: 1200px; margin: 0 auto; }

.section-header {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 60px;
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: 48px;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.section-line {
  display: block;
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ── Artists ── */
.artists-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

/* Zero gap on the triptych row so the waveform background is seamless */
.artists-grid--triptych {
  gap: 0;
  margin-bottom: 2px;
}

.artist-card {
  position: relative;
  cursor: pointer;
  display: block;
  color: inherit;
  text-decoration: none;
}

.artist-img-wrap {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--bg3);
}

.artist-img-wrap img {
  transition: transform 0.5s ease;
  filter: grayscale(30%);
}

/* placeholder when no image */
.artist-img-wrap::before {
  content: attr(data-initial);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 80px;
  color: var(--border);
  z-index: 0;
}

.artist-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8,8,8,0.88);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px;
  opacity: 0;
  transition: opacity 0.3s ease;
  text-align: center;
}
.artist-overlay p {
  font-size: 13px;
  color: #ccc;
  line-height: 1.7;
  margin-bottom: 24px;
}

.btn-book {
  display: inline-block;
  border: 1px solid var(--red);
  color: var(--red);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 10px 28px;
  transition: background 0.2s, color 0.2s;
}
.btn-book:hover { background: var(--red); color: #fff; }

.artist-card:hover .artist-img-wrap img { transform: scale(1.04); }
.artist-card:hover .artist-overlay { opacity: 1; }

.artist-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.05em;
  margin-top: 16px;
}
.artist-tags {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.1em;
  margin-top: 4px;
}

/* ── Events ── */
#events {
  background: var(--bg2);
  max-width: 100%;
  padding: 100px 0;
}
#events > * { max-width: 1200px; margin-left: auto; margin-right: auto; padding-left: 40px; padding-right: 40px; }
#events .section-header { margin-left: 40px; margin-right: 40px; }

.events-list { display: flex; flex-direction: column; }

.event-item {
  display: grid;
  grid-template-columns: 130px 1fr 120px;
  align-items: center;
  gap: 24px;
  padding: 24px 40px;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}
.event-item:first-child { border-top: 1px solid var(--border); }
.event-item:hover { background: var(--bg3); }

.event-item.past { opacity: 0.65; }

.event-date {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--red);
  font-weight: 500;
}
.event-info strong {
  display: block;
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}
.event-info span {
  font-size: 12px;
  color: var(--muted);
}
.event-location {
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--muted);
  text-align: right;
  text-transform: uppercase;
}

/* ── Booking ── */
.booking-wrap {
  max-width: 700px;
}
.booking-intro {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 48px;
  line-height: 1.8;
}
.booking-intro a { color: var(--red); border-bottom: 1px solid var(--red-dim); }
.booking-intro a:hover { color: #fff; border-color: #fff; }

.booking-form { display: flex; flex-direction: column; gap: 24px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.form-group { display: flex; flex-direction: column; gap: 8px; }

.form-group label {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.form-group input[type="date"]::-webkit-datetime-edit {
  color: var(--muted);
}
.form-group input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(0.6);
  cursor: pointer;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--red); }
.form-group textarea { resize: vertical; min-height: 140px; }

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}
.form-group select option { background: var(--bg3); }

.btn-submit { align-self: flex-start; }

.form-note {
  font-size: 13px;
  color: var(--muted);
  min-height: 20px;
}
.form-note.success { color: #4caf50; }
.form-note.error   { color: var(--red); }

/* ── Footer ── */
footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 60px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
footer .footer-logo img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; margin-bottom: 8px; }
footer p {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 0.1em;
}
.footer-sub {
  font-family: var(--font-body) !important;
  font-size: 11px !important;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
}
.footer-links {
  display: flex;
  gap: 32px;
  margin-top: 8px;
}
.footer-links a {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.1em;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--red); }
.footer-copy {
  font-family: var(--font-body) !important;
  font-size: 11px !important;
  letter-spacing: 0.05em;
  color: #444;
  margin-top: 16px;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .artists-grid { grid-template-columns: repeat(2, 1fr); }
  .event-item { grid-template-columns: 110px 1fr; }
  .event-location { display: none; }
}

@media (max-width: 640px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-hamburger { display: block; }

  section { padding: 60px 20px; }

  .section-header { margin-bottom: 36px; }
  .section-header h2 { font-size: 36px; }

  /* Artists — single column on mobile */
  .artists-grid,
  .artists-grid--triptych { grid-template-columns: 1fr; gap: 2px; }

  /* Show overlay info below image instead of on hover */
  .artist-overlay { display: none; }
  .artist-card h3 { font-size: 20px; margin-top: 12px; }

  /* Events */
  .event-item { grid-template-columns: 1fr; gap: 6px; padding: 20px; }
  .event-date { font-size: 11px; }
  #events .section-header { margin-left: 20px; margin-right: 20px; }
  .event-info strong { font-size: 17px; }

  /* Booking form */
  .form-row { grid-template-columns: 1fr; }

  /* Footer */
  footer { padding: 40px 20px; }
  .footer-links { flex-direction: column; gap: 12px; align-items: center; }
}
