/* ============================================================
   London's Ruckus — CSS
   Dark New Orleans brass aesthetic
   ============================================================ */

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

:root {
  --gold:        #ffffff;   /* white — reads clean over video and dark bg */
  --gold-light:  #f0ead8;   /* warm ivory for hover/secondary */
  --gold-dim:    #888888;   /* mid-grey for subdued elements */
  --black:       #080808;
  --dark:        #0d0d0d;
  --dark-mid:    #141414;
  --dark-card:   #1a1a1a;
  --dark-border: #2a2a2a;
  --text:        #e0d8c8;   /* was #d4c9b0 — slightly brighter for readability */
  --text-muted:  #a09080;   /* was #7a7060 — lifted so secondary text is legible */
  --white:       #f0ead8;
  --font-serif:  'Playfair Display', Georgia, serif;
  --font-sans:   'Inter', system-ui, sans-serif;
  --radius:      4px;
  --transition:  0.25s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--dark);
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

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

a {
  color: var(--gold);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--gold-light); }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
}

h1 { font-size: clamp(3.5rem, 9vw, 8rem); }
h2 { font-size: clamp(2rem, 5vw, 3.5rem); margin-bottom: 1.5rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

code {
  font-family: monospace;
  font-size: 0.8em;
  color: var(--text-muted);
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 7rem 0;
}

.section-dark {
  background: var(--dark-mid);
}

.section-label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.section-intro {
  max-width: 600px;
  color: var(--text-muted);
  margin-bottom: 3rem;
  font-size: 1.05rem;
}

.gold { color: var(--gold); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  line-height: 1;
}

.btn-primary {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--black);
}

.btn-outline {
  background: transparent;
  color: var(--gold-light);
  border-color: var(--gold-dim);
}
.btn-outline:hover {
  background: rgba(201, 168, 76, 0.1);
  border-color: var(--gold);
  color: var(--gold-light);
}

.btn-sm {
  padding: 0.5rem 1.2rem;
  font-size: 0.8rem;
}

.btn-large {
  padding: 1rem 2.5rem;
  font-size: 1rem;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background var(--transition), box-shadow var(--transition);
}

#nav.scrolled {
  background: rgba(8, 8, 8, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--dark-border);
}

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

.nav-logo {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--gold-light);
  white-space: nowrap;
}
.nav-logo:hover { color: var(--white); }

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.nav-links a:hover { color: var(--gold-light); }

.nav-cta {
  background: var(--gold) !important;
  color: var(--black) !important;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 500 !important;
}
.nav-cta:hover {
  background: var(--gold-light) !important;
  color: var(--black) !important;
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all var(--transition);
}

/* ============================================================
   HERO
   ============================================================ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--dark); /* shows while video loads */
}

/* YouTube video background */
.hero-video {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-video.playing { opacity: 1; }

.hero-video iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  /* Cover the hero regardless of aspect ratio */
  width: 100vw;
  height: 56.25vw;   /* 16:9 */
  min-height: 100vh;
  min-width: 177.78vh; /* 16:9 */
  transform: translate(-50%, -50%);
  pointer-events: none;
  border: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  /* Dark gradient so text stays legible over the video */
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.65) 50%,
    rgba(0, 0, 0, 0.82) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 1rem;
}

.hero-pre {
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  font-weight: 400;
}

#hero h1 {
  margin-bottom: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  font-style: italic;
}

.hero-tagline {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 300;
}

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

.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold-dim), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 0.5; }
  50% { transform: scaleY(1.3); opacity: 1; }
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  margin-top: 2rem;
}

.about-text p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
}

.about-stats {
  display: flex;
  gap: 3rem;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--dark-border);
}

.stat-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.about-image {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--dark-border);
  background: var(--dark-card);
  aspect-ratio: 4/3;
}

.image-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--dark-card);
  display: flex;
  align-items: center;
  justify-content: center;
}
.image-placeholder svg { width: 100%; height: 100%; }

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
}

/* ============================================================
   MUSIC / MEDIA
   ============================================================ */
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.media-item {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--dark-border);
  background: var(--dark-card);
}

.media-item iframe {
  width: 100%;
  aspect-ratio: 16/9;
  display: block;
  border: none;
}

.embed-placeholder {
  padding: 2rem;
  text-align: center;
  color: var(--text-muted);
  aspect-ratio: 16/9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.embed-placeholder p {
  font-size: 1.5rem;
  margin: 0;
}

.embed-placeholder code {
  font-size: 0.7rem;
  background: rgba(255,255,255,0.04);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
  max-width: 100%;
  overflow-wrap: break-word;
}

/* ============================================================
   VIDEO PLAYER
   ============================================================ */
.video-player {
  margin-top: 1rem;
}

.video-main {
  position: relative;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 0.6rem;
}

.video-main iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.video-thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.5rem;
}

.video-thumb {
  position: relative;
  aspect-ratio: 16/9;
  border: 2px solid transparent;
  border-radius: var(--radius);
  overflow: hidden;
  background: none;
  cursor: pointer;
  padding: 0;
  transition: border-color var(--transition);
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.5;
  transition: opacity var(--transition);
}

.video-thumb:hover img { opacity: 0.85; }

.video-thumb.active {
  border-color: var(--gold);
}
.video-thumb.active img { opacity: 1; }

@media (max-width: 600px) {
  .video-thumbs { grid-template-columns: repeat(5, 1fr); gap: 0.35rem; }
}

/* ============================================================
   EVENTS
   ============================================================ */
.events-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--dark-border);
  border-radius: var(--radius);
  overflow: hidden;
}

.event-row {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  align-items: center;
  gap: 2rem;
  padding: 1.5rem 2rem;
  background: var(--dark-card);
  border-bottom: 1px solid var(--dark-border);
  transition: background var(--transition);
}
.event-row:last-child { border-bottom: none; }
.event-row:hover:not(.no-upcoming) { background: #1f1f1f; }

.event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.event-day {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--gold);
  line-height: 1;
}

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

.event-name { color: var(--white); margin-bottom: 0.2rem; }

.event-venue {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

.event-status {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 2rem;
}

.event-status.private {
  background: rgba(201, 168, 76, 0.1);
  color: var(--gold-dim);
  border: 1px solid var(--gold-dim);
}

.no-upcoming {
  grid-template-columns: 1fr;
}
.no-upcoming p {
  grid-column: 1 / -1;  /* span all columns — avoids the 70px mobile column squash */
  color: var(--text-muted);
  font-size: 0.9rem;
  text-align: center;
  margin: 0;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.testimonial {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
}

.testimonial::before {
  content: '\201C';
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  font-family: var(--font-serif);
  font-size: 4rem;
  color: var(--gold-dim);
  line-height: 1;
  opacity: 0.5;
  pointer-events: none;
}

.testimonial p {
  font-style: italic;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  padding-top: 1.5rem;
}

.testimonial footer {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.testimonial footer strong {
  color: var(--gold-light);
  font-weight: 500;
  font-size: 0.9rem;
}

.testimonial footer span {
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* ============================================================
   BOOKING FORM
   ============================================================ */
.booking-form {
  max-width: 700px;
  margin-top: 1rem;
}

/* Honeypot — visually hidden */
.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
  tab-size: -1;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

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

.form-row .form-group {
  margin-bottom: 0;
}

label {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.req { color: var(--gold); }

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
textarea {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 300;
  padding: 0.8rem 1rem;
  width: 100%;
  transition: border-color var(--transition);
  -webkit-appearance: none;
  appearance: none;
}

input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(0.5);
}

input::placeholder, textarea::placeholder {
  color: #666666;
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--gold-dim);
  background: #161410;
}

input.error, textarea.error {
  border-color: #c0392b;
}

textarea {
  resize: vertical;
  min-height: 120px;
}

.form-footer {
  margin-top: 1.5rem;
}

.form-message {
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
}

.form-message.success {
  background: rgba(39, 174, 96, 0.1);
  border: 1px solid rgba(39, 174, 96, 0.3);
  color: #6fcf97;
}

.form-message.error-msg {
  background: rgba(192, 57, 43, 0.1);
  border: 1px solid rgba(192, 57, 43, 0.3);
  color: #e07070;
}

/* ============================================================
   FOOTER
   ============================================================ */
#footer {
  background: var(--black);
  border-top: 1px solid var(--dark-border);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-name {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--gold-light);
  margin-bottom: 0.5rem;
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-links h4,
.footer-social h4 {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-weight: 500;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.footer-links a:hover { color: var(--gold); }

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--dark-border);
  color: var(--text-muted);
  transition: all var(--transition);
}

.social-link svg {
  width: 16px;
  height: 16px;
}

.social-link:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201, 168, 76, 0.08);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--dark-border);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .section { padding: 5rem 0; }

  .nav-links {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(8,8,8,0.97);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    z-index: 99;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.1rem; }

  .nav-burger { display: flex; }

  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-image { order: -1; }

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

  .event-row {
    grid-template-columns: 70px 1fr;
    grid-template-rows: auto auto;
  }
  .event-action { grid-column: 2; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }

  .about-stats { gap: 2rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }
  h1 { font-size: 3rem; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .testimonials-grid { grid-template-columns: 1fr; }
}
