/* Dubnectar — Band site styles (logo aesthetic) */
@import url('https://fonts.googleapis.com/css2?family=Righteous&family=Nunito:wght@400;500;600;700&display=swap');

:root {
  /* Logo palette: black, bubblegum pink, honey gold, forest green */
  --black: #000000;
  --bg-dark: #0a0a0a;
  --bg-card: #111111;
  --surface: #1a1a1a;
  --pink: #f0a8c0;
  --pink-soft: #e8c8d8;
  --gold: #e8b838;
  --gold-dim: #d4a020;
  --green: #1e4620;
  --green-light: #3d6b35;
  --green-glow: rgba(45, 90, 39, 0.35);
  --nectar: var(--gold);
  --nectar-dim: var(--gold-dim);
  --nectar-glow: rgba(232, 184, 56, 0.3);
  --outline: rgba(255, 255, 255, 0.15);
  --outline-strong: rgba(255, 255, 255, 0.35);
  --text: #f5f0eb;
  --text-muted: #b0a098;
  --border: #2a2522;
  --radius: 14px;
  --font-display: 'Righteous', sans-serif;
  --font-body: 'Nunito', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--black);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  background-image:
    radial-gradient(ellipse 100% 60% at 50% -10%, var(--nectar-glow), transparent 55%),
    radial-gradient(ellipse 70% 50% at 90% 80%, var(--green-glow), transparent 50%),
    radial-gradient(ellipse 50% 40% at 10% 60%, rgba(240, 168, 192, 0.08), transparent 45%);
  position: relative;
}

/* Events page: illustration overlay behind the smoke */
.events-bg-overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  background-image: url("../images/events-overlay.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  pointer-events: none;
  opacity: 0.22;
}

/* Media page: illustration overlay behind the smoke */
.media-bg-overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  background-image: url("../images/media-overlay.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  pointer-events: none;
  opacity: 0.22;
}

/* Contact page: illustration overlay behind the smoke */
.contact-bg-overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  background-image: url("../images/contact-overlay.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  pointer-events: none;
  opacity: 0.22;
}

/* Smoke in front as bands; center kept clear so logo shines through */
.smoke-layer {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.smoke-blob {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(
    ellipse 85% 25% at 50% 50%,
    rgba(232, 184, 56, 0.52),
    rgba(232, 168, 56, 0.35) 45%,
    rgba(210, 160, 40, 0.14) 70%,
    transparent
  );
  filter: blur(42px);
  transform: translate(-50%, -50%);
  will-change: transform;
  animation: smoke-drift 25s ease-in-out infinite;
}

/* Bands along edges – avoid center (35–65%) so logo area stays clear */
.smoke-blob[data-blob="0"]  { width: 70vmax; height: 12vmax; left: 10%; top: 8%;  animation-delay: 0s; }
.smoke-blob[data-blob="1"]  { width: 58vmax; height: 11vmax; left: 88%; top: 10%; animation-delay: -5s; }
.smoke-blob[data-blob="2"]  { width: 55vmax; height: 14vmax; left: 92%; top: 48%; animation-delay: -10s; }
.smoke-blob[data-blob="3"]  { width: 72vmax; height: 11vmax; left: 50%; top: 88%; animation-delay: -2s; }
.smoke-blob[data-blob="4"]  { width: 52vmax; height: 13vmax; left: 6%;  top: 78%; animation-delay: -15s; }
.smoke-blob[data-blob="5"]  { width: 62vmax; height: 10vmax; left: 18%; top: 14%; animation-delay: -7s; }
.smoke-blob[data-blob="6"]  { width: 58vmax; height: 12vmax; left: 82%; top: 82%; animation-delay: -12s; }
.smoke-blob[data-blob="7"]  { width: 50vmax; height: 14vmax; left: 4%;  top: 42%; animation-delay: -3s; }
.smoke-blob[data-blob="8"]  { width: 68vmax; height: 10vmax; left: 48%; top: 5%;  animation-delay: -8s; }
.smoke-blob[data-blob="9"]  { width: 54vmax; height: 11vmax; left: 94%; top: 28%; animation-delay: -4s; }

@keyframes smoke-drift {
  0%, 100% { opacity: 0.9; }
  50%      { opacity: 1; }
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: var(--pink);
  opacity: 0.95;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Header & Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--black);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--outline);
}

.site-header .inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.logo {
  position: relative;
  z-index: 2;
  display: block;
  line-height: 0;
}

/* Blend wrapper: any black in the logo merges with page background so no visible rectangle */
.logo-blend {
  display: inline-block;
  line-height: 0;
  mix-blend-mode: screen;
}

.logo img {
  height: 48px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  filter: saturate(1.75) contrast(1.2) brightness(1.05) drop-shadow(0 0 8px var(--nectar-glow));
  transition: filter 0.2s ease;
}

.logo:hover img {
  filter: saturate(1.9) contrast(1.22) brightness(1.08) drop-shadow(0 0 12px var(--nectar-glow));
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.25rem;
  flex-wrap: wrap;
}

.nav-list a {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: var(--radius);
}

.nav-list a:hover,
.nav-list a[aria-current="page"] {
  color: var(--pink);
  background: rgba(240, 168, 192, 0.12);
  border: 1px solid var(--outline);
}

/* Main content – transparent so smoke shows through */
main {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
  background: transparent;
}

.page-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  letter-spacing: 0.02em;
  margin: 0 0 0.5rem;
  color: var(--text);
  text-shadow: 0 0 24px var(--nectar-glow);
}

.page-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin: 0 0 2rem;
  font-weight: 400;
}

/* Hero (homepage) – above smoke so logo shines through center */
.hero {
  position: relative;
  z-index: 5;
  text-align: center;
  padding: 3rem 1rem 5rem;
}

.hero-logo {
  margin: 0 0 0.5rem;
  line-height: 0;
}

/* Blend wrapper: prevents logo from ever showing a black background */
.hero-logo-blend {
  display: inline-block;
  line-height: 0;
  mix-blend-mode: screen;
}

.hero-logo img {
  max-width: min(95vw, 2160px);
  height: auto;
  margin: 0 auto;
  display: block;
  opacity: 0.72;
  filter: saturate(1.8) contrast(1.2) brightness(1.06) drop-shadow(0 4px 20px var(--nectar-glow)) drop-shadow(0 0 50px rgba(240, 168, 192, 0.12));
}

.hero .tagline {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto 2rem;
  font-weight: 300;
}

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

.btn {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: var(--gold);
  color: var(--black);
  border: 2px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 12px var(--nectar-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--nectar-glow), 0 0 8px rgba(240, 168, 192, 0.2);
  background: var(--gold-dim);
}

.btn-secondary {
  background: transparent;
  color: var(--pink);
  border: 2px solid var(--pink);
}

.btn-secondary:hover {
  background: rgba(240, 168, 192, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 0 16px rgba(240, 168, 192, 0.25);
}

/* Section blocks */
.section {
  margin-bottom: 4rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  letter-spacing: 0.03em;
  margin: 0 0 1.5rem;
  color: var(--text);
  text-shadow: 0 0 20px var(--nectar-glow);
}

/* Cards grid */
.cards {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.card {
  background: var(--bg-card);
  border: 2px solid var(--outline);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  border-color: var(--green-light);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px var(--green-glow), 0 0 0 1px var(--gold) inset;
}

.card-image {
  aspect-ratio: 16 / 10;
  background: var(--surface);
  object-fit: cover;
}

.card-body {
  padding: 1.25rem;
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 0.35rem;
  letter-spacing: 0.02em;
  color: var(--gold);
}

.card-meta {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0 0 0.5rem;
}

.card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Events list */
.events-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.event-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 2px solid var(--outline);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.event-item:hover {
  border-color: var(--green-light);
  box-shadow: 0 4px 16px var(--green-glow);
}

.event-date {
  text-align: center;
  min-width: 70px;
}

.event-date .day {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
  color: var(--gold);
}

.event-date .month {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.event-details h3 {
  margin: 0 0 0.25rem;
  font-size: 1.2rem;
  font-weight: 600;
}

.event-details .venue {
  color: var(--text-muted);
  font-size: 0.95rem;
  display: block;
}

.event-details .venue-link {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.9rem;
  color: var(--pink);
  text-underline-offset: 2px;
}

.event-details .venue-link:hover {
  color: var(--gold);
}

.event-actions .btn {
  white-space: nowrap;
}

/* Spotify embed (Music section) */
.spotify-embed-wrap {
  max-width: 600px;
  margin: 0 auto;
}

.spotify-embed {
  display: block;
  width: 100%;
  min-height: 352px;
}

/* Video embed (Videos section) */
.section--videos {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.video-embed-wrap {
  width: 100%;
  max-width: 560px;
  aspect-ratio: 16 / 9;
}

.video-embed-wrap iframe {
  width: 100%;
  height: 100%;
  border-radius: var(--radius);
}

/* Media grid */
.media-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.media-card {
  background: var(--bg-card);
  border: 2px solid var(--outline);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.media-card:hover {
  border-color: var(--pink);
  box-shadow: 0 4px 20px rgba(240, 168, 192, 0.2);
}

.media-card .thumb {
  aspect-ratio: 16 / 9;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 3rem;
}

.media-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-card .info {
  padding: 1rem 1.25rem;
}

.media-card .info h3 {
  margin: 0 0 0.25rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.media-card .info p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Contact form */
.contact-form {
  max-width: 560px;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 2px var(--nectar-glow);
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.8;
}

.contact-info {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.contact-info-label {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.contact-info .contact-btn {
  text-decoration: none;
}

/* Footer */
.site-footer {
  position: relative;
  z-index: 1;
  margin-top: 4rem;
  padding: 2rem 1.5rem;
  border-top: 2px solid var(--outline);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.site-footer .nav-list {
  justify-content: center;
  margin-bottom: 1rem;
  gap: 0.75rem;
}

.site-footer .nav-list a {
  padding: 0.85rem 1.75rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius);
  border: 2px solid var(--pink);
  color: var(--pink);
  background: transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.site-footer .nav-list a:hover {
  background: rgba(240, 168, 192, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 0 16px rgba(240, 168, 192, 0.25);
}

.site-footer p {
  margin: 0;
}

/* Utility */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 640px) {
  .event-item {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .event-date {
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
  }
}
