/* ============================================================
   La Tribu — Main Stylesheet
   ============================================================ */

:root {
  --charcoal: #12100e;
  --black: #080706;
  --cream: #f4eadc;
  --cream-2: #fff7e9;
  --terracotta: #a82f1f;
  --terracotta-dark: #7f2118;
  --coral: #ef5a3f;
  --magenta: #d92c69;
  --gold: #e2a23c;
  --white: #fff8ec;
  --muted: #d8c7af;
  --ink: #261a14;
  --radius: 18px;
  --shadow: 0 24px 65px rgba(0, 0, 0, 0.32);
  --max: 1110px;
}

/* --- Reset & Base --- */

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, sans-serif;
  line-height: 1.45;
  color: var(--white);
  background: var(--charcoal);
}

body.nav-open { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }

/* --- Utility Classes --- */

.container { width: min(var(--max), calc(100% - 64px)); margin-inline: auto; }

.script {
  font-family: Pacifico, cursive;
  color: var(--coral);
  letter-spacing: 0.01em;
  font-weight: 400;
}

.display {
  font-family: 'Bebas Neue', Impact, sans-serif;
  letter-spacing: 0.035em;
  line-height: 0.9;
}

/* --- Page Wrapper --- */

.page {
  overflow: hidden;
  background:
    radial-gradient(circle at 5% 10%, rgba(217, 44, 105, 0.18), transparent 24rem),
    radial-gradient(circle at 90% 8%, rgba(226, 162, 60, 0.12), transparent 24rem),
    var(--charcoal);
}

/* ============================================================
   Navigation
   ============================================================ */

.site-nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding-top: 28px;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-left: max(36px, calc((100% - var(--max)) / 2));
  margin-right: max(36px, calc((100% - var(--max)) / 2));
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  height: 44px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.3vw, 34px);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #f7eee1;
}

.nav-links a {
  position: relative;
  color: #f7eee1;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  bottom: -11px;
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(244, 234, 220, 0.35);
  border-radius: 50%;
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--cream);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

body.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

body.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

body.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ============================================================
   Hero Section
   ============================================================ */

.hero {
  position: relative;
  min-height: 700px;
  isolation: isolate;
  overflow: hidden;
  background-color: var(--charcoal);
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(5, 4, 3, 0.97) 0%, rgba(5, 4, 3, 0.92) 20%, rgba(5, 4, 3, 0.45) 40%, rgba(5, 4, 3, 0.08) 58%, transparent 72%),
    radial-gradient(circle at 60% 8%, rgba(255, 183, 66, 0.2), transparent 25rem),
    linear-gradient(180deg, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.1));
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.35), transparent 43%, rgba(0, 0, 0, 0.26)),
    radial-gradient(circle at 95% 0%, rgba(255, 112, 61, 0.18), transparent 18rem);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
  margin-left: max(72px, calc((100% - 1390px) / 2));
  padding: 160px 0 80px;
}

.hero-title {
  margin: 0 0 3px;
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: clamp(112px, 10.8vw, 166px);
  line-height: 0.82;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  filter: drop-shadow(0 7px 0 rgba(0, 0, 0, 0.25));
  background: linear-gradient(#fff9ee, #d9c5a8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-family: Pacifico, cursive;
  font-size: clamp(31px, 4vw, 51px);
  font-style: italic;
  line-height: 1;
  color: var(--coral);
  margin: -6px 0 23px;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.22);
  letter-spacing: 0.01em;
  transform: skewX(-6deg);
  transform-origin: left bottom;
}

.hero-copy {
  font-size: 18px;
  font-weight: 400;
  max-width: 430px;
  margin: 0 0 31px;
  color: #fff7ee;
  line-height: 1.48;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 31px;
}

.hero-meta {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  color: #e9d0a0;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Hero Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 58px;
  padding: 0 28px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 2px solid rgba(255, 248, 236, 0.8);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn:hover {
  transform: scale(1.03);
}

.btn-primary {
  border: 0;
  background: var(--coral);
  color: #fff;
  box-shadow: 0 16px 35px rgba(239, 90, 63, 0.25);
}

.btn-primary:hover {
  box-shadow: 0 18px 40px rgba(239, 90, 63, 0.35);
}

.btn-secondary {
  background: rgba(0, 0, 0, 0.28);
  color: var(--white);
}

.btn-secondary:hover {
  border-color: var(--coral);
}

/* Hero Stamp */

.hero-stamp-corner {
  position: absolute;
  right: 65px;
  bottom: 42px;
  width: 142px;
  height: auto;
  opacity: 0.93;
  z-index: 3;
}

/* Hero Leaf */

.hero-leaf {
  position: absolute;
  width: 116px;
  height: 116px;
  left: -28px;
  bottom: -13px;
  z-index: 2;
  opacity: 0.9;
  pointer-events: none;
  background:
    linear-gradient(135deg, transparent 48%, #118460 49% 51%, transparent 52%),
    radial-gradient(ellipse at bottom left, #e1297a 0 16%, transparent 17%);
  transform: rotate(-7deg);
  filter: saturate(1.2);
}

/* ============================================================
   Events Section (Cream)
   ============================================================ */

.cream-section {
  background:
    radial-gradient(circle at 92% 5%, rgba(226, 162, 60, 0.12), transparent 19rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.27), rgba(255, 255, 255, 0)),
    url("../images/patterned_background.png") center / cover,
    var(--cream);
  color: var(--ink);
  position: relative;
}

.events { padding: 44px 0 54px; }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 26px;
}

.eyebrow {
  font-size: 25px;
  margin: 0 0 2px;
}

.section-title {
  margin: 0;
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: clamp(50px, 7vw, 74px);
  letter-spacing: 0.035em;
  line-height: 0.9;
  color: #2c211d;
}

.view-link {
  color: var(--coral);
  font-weight: 950;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 18px;
  transition: opacity 0.3s ease;
}

.view-link:hover { opacity: 0.7; }

/* Event Cards */

.event-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 19px;
}

.event-card {
  min-height: 292px;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 35px rgba(47, 26, 14, 0.18);
  background: #0b0807;
  color: #fff;
  isolation: isolate;
}

.event-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.event-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02) 0%, rgba(0, 0, 0, 0.15) 47%, rgba(0, 0, 0, 0.96) 100%);
  z-index: -1;
}

.event-date {
  width: 57px;
  height: 86px;
  background: var(--coral);
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  text-align: center;
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: 16px;
  line-height: 0.88;
  letter-spacing: 0.04em;
  border-bottom-right-radius: 11px;
}

.event-date strong {
  display: block;
  font-size: 39px;
  line-height: 0.78;
}

.date-soon {
  height: auto;
  width: 42px;
  padding: 10px 0 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1;
}

.date-soon span {
  display: block;
}

.event-card.magenta .event-date { background: var(--magenta); }

.event-content {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 1;
}

.event-content h3 {
  margin: 0;
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: 34px;
  letter-spacing: 0.035em;
  line-height: 0.9;
  color: #fff8ec;
}

.event-content p {
  margin: 2px 0 13px;
  font-size: 12px;
  font-weight: 800;
  color: #e8d8c5;
}

.event-line {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: #fff6e8;
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.cta-disabled {
  opacity: 0.45;
  pointer-events: none;
  cursor: default;
}

/* Primary CTA in cards */

.primary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0.5rem 1.2rem;
  border: 0;
  border-radius: 7px;
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: 1rem;
  line-height: 1;
  letter-spacing: 0.02em;
  text-align: center;
  text-transform: uppercase;
  color: #fff;
  background: var(--coral);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.primary-cta:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 26px rgba(239, 90, 63, 0.3);
}

/* Ornament Divider */

.ornament {
  width: 210px;
  margin: 30px auto 0;
  height: 16px;
  position: relative;
  color: var(--coral);
}

.ornament::before,
.ornament::after {
  content: "";
  position: absolute;
  top: 7px;
  width: 84px;
  height: 1px;
  background: var(--coral);
  opacity: 0.75;
}

.ornament::before { left: 0; }
.ornament::after { right: 0; }

.ornament span {
  position: absolute;
  inset: 0;
  text-align: center;
  font-size: 18px;
  line-height: 15px;
}

/* ============================================================
   Community Section
   ============================================================ */

.community {
  background: url("../images/red_background_pattern.png") center / cover no-repeat;
  padding: 38px 0;
  position: relative;
  overflow: hidden;
}

.community .container {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.community-photo {
  min-height: 300px;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.community-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.community-copy .script {
  font-size: 29px;
  display: block;
  margin-bottom: 2px;
  color: var(--gold);
}

.community-copy h2 {
  margin: 0 0 17px;
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: clamp(48px, 6vw, 70px);
  letter-spacing: 0.035em;
  line-height: 0.9;
  color: #fff3df;
}

.community-copy p {
  max-width: 590px;
  margin: 0 0 29px;
  color: #fff0e0;
  font-weight: 600;
  font-size: 15px;
}

.values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.value {
  min-height: 100px;
  display: grid;
  place-items: center;
  text-align: center;
  border-right: 1px solid rgba(255, 225, 168, 0.26);
  padding: 5px 10px;
}

.value:last-child { border-right: 0; }

.value .ico {
  color: var(--gold);
  font-size: 34px;
  line-height: 1;
  margin-bottom: 10px;
}

.value strong {
  font-size: 12px;
  line-height: 1.1;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Community Signup */

.community-signup {
  margin-top: 16px;
}

.community-signup p {
  color: #fff0e0;
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 14px;
}

.community-signup .signup-row input {
  background: rgba(0, 0, 0, 0.25);
  border-color: rgba(255, 225, 168, 0.35);
}

.community-signup .signup-row input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(226, 162, 60, 0.2);
}

.community-signup .signup-row button {
  background: var(--gold);
  color: var(--charcoal);
}

/* ============================================================
   Culture / Features Section (Cream)
   ============================================================ */

.culture { padding: 38px 0 47px; }

.culture .topline { text-align: center; }

.culture .script {
  font-size: 24px;
  display: block;
  margin-bottom: 0;
}

.culture h2 {
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: clamp(50px, 7vw, 75px);
  letter-spacing: 0.035em;
  line-height: 0.9;
  margin: 0 0 28px;
  color: #2b211d;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 18px;
  align-items: center;
  padding: 0 16px;
  border-right: 1px dashed rgba(78, 42, 24, 0.3);
}

.feature:last-child { border-right: 0; }

.feature-icon {
  width: 78px;
  height: 78px;
  border: 3px solid currentColor;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 36px;
  color: var(--coral);
}

.feature:nth-child(3) .feature-icon { color: var(--gold); }

.feature h3 {
  margin: 0 0 7px;
  font-size: 15px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.feature p {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  color: #4a3528;
}

/* ============================================================
   Gallery / Moments Section
   ============================================================ */

.moments {
  background: #0c0b09;
  padding: 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.moments .container {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 25px;
  align-items: center;
}

.moments .script { font-size: 28px; }

.follow {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.05em;
  color: #f1e5d5;
  text-transform: uppercase;
  margin: 8px 0 14px;
}

.socials {
  display: flex;
  gap: 18px;
  font-size: 29px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.gallery img {
  width: 100%;
  height: 86px;
  object-fit: cover;
  border-radius: 7px;
  display: block;
}

/* ============================================================
   Footer
   ============================================================ */

.site-footer {
  background: linear-gradient(90deg, #181412, #15120f 55%, #1a1511);
  padding: 38px 0 15px;
  color: #f4eadc;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.45fr 0.72fr 0.95fr;
  gap: 38px;
  align-items: start;
}

.footer-brand .brand-logo {
  height: 38px;
  width: auto;
  margin-bottom: 8px;
}

.footer-brand .script {
  font-size: 18px;
  margin-top: 8px;
  display: block;
}

.footer-title {
  margin: 0 0 10px;
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: 1.5rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
}

.site-footer p,
.site-footer li {
  color: #d9c9b8;
  font-size: 12px;
  font-weight: 650;
  margin: 0;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.signup-row {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}

.signup-row input {
  flex: 1;
  min-width: 0;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 7px;
  padding: 15px 16px;
  color: #fff;
  font-weight: 700;
}

.signup-row input:focus {
  border-color: var(--coral);
  box-shadow: 0 0 0 4px rgba(239, 90, 63, 0.18);
  outline: 0;
}

.signup-row button {
  border: 0;
  border-radius: 7px;
  background: var(--coral);
  color: #fff;
  font-weight: 950;
  padding: 0 20px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: transform 0.2s ease;
}

.signup-row button:hover { transform: scale(1.03); }

.form-status {
  min-height: 1.5rem;
  margin: 0.75rem 0 0;
  font-weight: 600;
  font-size: 13px;
}

.form-status.success { color: var(--gold); }
.form-status.error { color: var(--coral); }

/* Success Toast */

.toast {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(12, 10, 8, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.toast.visible {
  opacity: 1;
  pointer-events: auto;
}

.toast-box {
  background: #1a1714;
  border: 1px solid rgba(226, 162, 60, 0.25);
  border-radius: var(--radius);
  padding: 44px 48px;
  text-align: center;
  max-width: 380px;
  width: 90%;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  transform: scale(0.9) translateY(16px);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.toast.visible .toast-box {
  transform: scale(1) translateY(0);
}

.toast-icon {
  font-size: 48px;
  margin-bottom: 12px;
  display: block;
}

.toast-title {
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: 32px;
  letter-spacing: 0.04em;
  color: var(--gold);
  margin: 0 0 8px;
}

.toast-message {
  font-size: 14px;
  font-weight: 600;
  color: #bfae9b;
  margin: 0 0 22px;
  line-height: 1.5;
}

.toast-close {
  background: var(--coral);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 32px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.toast-close:hover {
  transform: scale(1.04);
}

.toast-error .toast-title { color: var(--coral); }

.qr-placeholder {
  width: min(180px, 100%);
  aspect-ratio: 1;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(244, 234, 220, 0.18);
  border-radius: 16px;
  background: linear-gradient(135deg, #1b1713, #33231c);
  display: block;
}

.qr-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-socials a {
  color: var(--cream);
  border-bottom: 1px solid rgba(239, 90, 63, 0.65);
}

.footer-bottom {
  margin-top: 32px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 11px;
  color: #bda996;
}

/* ============================================================
   DJ Profiles (djs.html)
   ============================================================ */

.dj-profiles-section { padding: 44px 0 54px; }

.dj-profiles {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.dj-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 38px;
  align-items: center;
  background: rgba(255, 255, 255, 0.38);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(47, 26, 14, 0.12);
}

.dj-card:nth-child(even) {
  direction: rtl;
}

.dj-card:nth-child(even) > * {
  direction: ltr;
}

.dj-card-img {
  min-height: 340px;
  overflow: hidden;
}

.dj-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 340px;
}

.dj-card-info {
  padding: 32px 38px;
}

.dj-name {
  margin: 0 0 12px;
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: clamp(42px, 5vw, 62px);
  letter-spacing: 0.035em;
  line-height: 0.9;
  color: #2c211d;
}

.dj-genres {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.genre-tag {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: var(--coral);
}

.dj-card-info p {
  margin: 0 0 22px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.55;
  color: #4a3528;
  max-width: 440px;
}

.dj-card-info .btn {
  min-height: 48px;
  font-size: 12px;
}

/* Booking CTA */

.dj-booking-cta .container {
  display: flex;
  justify-content: center;
  text-align: center;
}

.dj-booking-content {
  max-width: 560px;
  padding: 16px 0;
}

.dj-booking-content .script {
  font-size: 26px;
  display: block;
  margin-bottom: 2px;
  color: var(--gold);
}

.dj-booking-content h2 {
  margin: 0 0 17px;
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: clamp(48px, 6vw, 70px);
  letter-spacing: 0.035em;
  line-height: 0.9;
  color: #fff3df;
}

.dj-booking-content p {
  max-width: 480px;
  margin: 0 auto 26px;
  color: #fff0e0;
  font-weight: 600;
  font-size: 15px;
}

/* ============================================================
   Focus States
   ============================================================ */

a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.primary-cta:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 3px;
}

/* ============================================================
   Promotions Page
   ============================================================ */

.promo-hero {
  min-height: 480px;
}

.promo-hero .hero-content {
  padding: 150px 0 60px;
}

.promo-title {
  font-size: clamp(80px, 9vw, 140px);
}

.promo-deals { padding: 44px 0 54px; }

.promo-section-intro {
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  max-width: 540px;
  margin: -10px 0 28px;
}

.promo-section-intro--light {
  color: #d9c9b8;
}

.promo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.promo-card {
  background: #1a1714;
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.promo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 55px rgba(0, 0, 0, 0.4);
}

.promo-badge {
  display: inline-block;
  width: fit-content;
  padding: 4px 12px;
  border-radius: 5px;
  background: rgba(226, 162, 60, 0.15);
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.promo-price {
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: clamp(44px, 5vw, 58px);
  line-height: 0.9;
  letter-spacing: 0.035em;
  color: var(--gold);
  filter: drop-shadow(0 3px 0 rgba(0, 0, 0, 0.2));
}

.promo-name {
  margin: 0;
  font-size: 17px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #fff8ec;
}

.promo-card p {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: #bfae9b;
  line-height: 1.5;
}

.promo-card .primary-cta {
  margin-top: auto;
  align-self: flex-start;
}

/* Partner Offers (dark bg) */

.promo-partners {
  background: linear-gradient(180deg, #0e0c0a, #151210);
  padding: 44px 0 54px;
}

.promo-partners .section-title {
  color: #fff8ec;
}

/* Email Signup CTA (red textured bg) */

.promo-cta {
  background: url("../images/red_background_pattern.png") center / cover no-repeat;
  padding: 44px 0;
}

.promo-cta-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.promo-cta .eyebrow {
  color: var(--gold);
}

.promo-cta-copy {
  color: #fff0e0;
  font-size: 15px;
  font-weight: 600;
  margin: 10px 0 0;
  max-width: 460px;
}

.promo-cta .signup-row input {
  background: rgba(0, 0, 0, 0.25);
  border-color: rgba(255, 225, 168, 0.35);
}

.promo-cta .signup-row input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(226, 162, 60, 0.2);
}

.promo-cta .signup-row button {
  background: var(--gold);
  color: var(--charcoal);
}

/* ============================================================
   Past Events Page
   ============================================================ */

.past-hero {
  min-height: 480px;
}

.past-hero .hero-content {
  padding: 150px 0 60px;
}

.past-hero .hero-title {
  font-size: clamp(80px, 9vw, 140px);
}

/* Events Timeline Section */

.past-events-section {
  background: linear-gradient(180deg, #0e0c0a, #151210);
  padding: 44px 0 54px;
}

.past-events-section .section-title {
  color: #fff8ec;
}

.auth-bar {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 26px;
}

/* Past Event Cards */

.card.past-event-card {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 0;
  background: #1a1714;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
  margin-bottom: 22px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card.past-event-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 55px rgba(0, 0, 0, 0.4);
}

.image-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}

.card.past-event-card > .image-frame {
  border-radius: var(--radius) 0 0 var(--radius);
  min-height: 220px;
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.image-frame.ratio-wide {
  aspect-ratio: 16 / 9;
}

.card-content {
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card-content h3 {
  margin: 0;
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: clamp(28px, 3vw, 38px);
  letter-spacing: 0.035em;
  line-height: 0.95;
  color: #fff8ec;
}

.card-content p {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: #bfae9b;
  line-height: 1.5;
}

.past-event-meta {
  display: flex;
  gap: 16px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gold);
}

.card-content .primary-cta {
  align-self: flex-start;
  margin-top: 4px;
}

/* Sign-in Panel */

.signin-panel {
  display: none;
  margin-top: 12px;
  padding: 18px 22px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
}

.signin-panel.visible {
  display: block;
}

.signin-panel p {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  color: #d9c9b8;
}

.form-row {
  display: flex;
  gap: 8px;
}

.form-row input {
  flex: 1;
  min-width: 0;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 7px;
  padding: 12px 14px;
  color: #fff;
  font-weight: 700;
}

.form-row input:focus {
  border-color: var(--coral);
  box-shadow: 0 0 0 4px rgba(239, 90, 63, 0.18);
  outline: 0;
}

/* Photo Grid */

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

.photo-card {
  margin: 0;
}

.photo-card figcaption {
  margin-top: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #bfae9b;
}

/* State Indicators */

.loading-state,
.empty-state,
.error-state {
  padding: 32px 0;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: #bfae9b;
}

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

.error-state {
  color: var(--coral);
}

/* Past Events CTA (red textured bg) */

.past-cta {
  padding: 50px 0;
}

.past-cta-inner {
  max-width: 540px;
  margin: 0 auto;
  text-align: center;
}

.past-cta-inner h2 {
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: clamp(44px, 6vw, 68px);
  letter-spacing: 0.035em;
  line-height: 0.9;
  color: #fff3df;
  margin: 0 0 12px;
}

.past-cta-inner p {
  color: #fff0e0;
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 20px;
}

.past-cta-inner .signup-row {
  justify-content: center;
}

.past-cta-inner .signup-row input {
  background: rgba(0, 0, 0, 0.25);
  border-color: rgba(255, 225, 168, 0.35);
}

.past-cta-inner .signup-row input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(226, 162, 60, 0.2);
}

.past-cta-inner .signup-row button {
  background: var(--gold);
  color: var(--charcoal);
}

/* ============================================================
   Venues Page
   ============================================================ */

.venue-hero {
  min-height: 480px;
}

.venue-hero .hero-content {
  padding: 150px 0 60px;
}

.venue-title {
  font-size: clamp(80px, 9vw, 140px);
}

.venue-why { padding: 44px 0 54px; }

.venue-section-intro {
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  max-width: 540px;
  margin: -10px 0 28px;
}

.venue-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.venue-card {
  background: #1a1714;
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.venue-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 55px rgba(0, 0, 0, 0.4);
}

.venue-card-title {
  margin: 0;
  font-size: 17px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #fff8ec;
}

.venue-card p {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: #bfae9b;
  line-height: 1.5;
}

/* How It Works (dark bg) */

.venue-steps-section {
  background: linear-gradient(180deg, #0e0c0a, #151210);
  padding: 44px 0 54px;
}

.venue-steps-section .section-title {
  color: #fff8ec;
}

.venue-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.venue-step {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.step-number {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--coral);
  color: #fff;
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.venue-step h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #fff8ec;
}

.venue-step p {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: #bfae9b;
  line-height: 1.5;
}

/* Stats (cream bg) */

.venue-stats-section {
  padding: 44px 0 54px;
  background: radial-gradient(ellipse at 50% 0%, rgba(226, 162, 60, 0.06), transparent 60%),
              linear-gradient(180deg, rgba(242, 228, 210, 0.5), transparent),
              url("../images/patterned_background.png") center / cover,
              var(--cream);
}

.venue-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  text-align: center;
  margin-top: 10px;
}

.venue-stat {
  padding: 32px 20px;
  background: rgba(18, 16, 14, 0.06);
  border-radius: var(--radius);
  border: 1px dashed rgba(78, 42, 24, 0.2);
}

.venue-stat strong {
  display: block;
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: clamp(48px, 6vw, 72px);
  line-height: 0.9;
  letter-spacing: 0.035em;
  color: var(--coral);
  filter: drop-shadow(0 3px 0 rgba(0, 0, 0, 0.08));
}

.venue-stat span {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink);
}

/* Contact Form (red textured bg) */

.venue-form-section {
  background: url("../images/red_background_pattern.png") center / cover no-repeat;
  padding: 54px 0;
}

.venue-form-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.venue-form-copy p {
  color: #fff0e0;
  font-size: 15px;
  font-weight: 600;
  margin: 10px 0 0;
  max-width: 400px;
}

.venue-contact-form {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 32px 28px;
}

.venue-field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.venue-field label {
  display: block;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold);
  margin-bottom: 6px;
}

.venue-field input,
.venue-field textarea {
  width: 100%;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 225, 168, 0.25);
  border-radius: 7px;
  padding: 12px 14px;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
}

.venue-field input:focus,
.venue-field textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(226, 162, 60, 0.2);
  outline: 0;
}

.venue-field textarea {
  resize: vertical;
  min-height: 100px;
}

.venue-field-full {
  grid-column: 1 / -1;
}

.venue-contact-form .btn {
  width: 100%;
}

/* ============================================================
   Responsive — Tablet
   ============================================================ */

@media (max-width: 960px) {
  .container { width: min(100% - 36px, var(--max)); }

  .nav-inner {
    margin-left: 18px;
    margin-right: 18px;
  }

  .hero { min-height: auto; }

  .hero-content {
    margin-left: 18px;
    padding: 130px 0 60px;
    max-width: 540px;
  }

  .hero-stamp-corner {
    right: 36px;
    width: 118px;
  }

  .event-grid { grid-template-columns: repeat(2, 1fr); }

  .community .container { grid-template-columns: 1fr; }
  .values { grid-template-columns: repeat(2, 1fr); }

  .feature-grid { grid-template-columns: 1fr; }
  .feature {
    border-right: 0;
    border-bottom: 1px dashed rgba(78, 42, 24, 0.3);
    padding-bottom: 20px;
  }

  .moments .container { grid-template-columns: 1fr; }

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

  .promo-grid { grid-template-columns: repeat(2, 1fr); }
  .promo-cta-inner { grid-template-columns: 1fr; }

  .dj-card {
    grid-template-columns: 1fr;
  }

  .dj-card:nth-child(even) {
    direction: ltr;
  }

  .dj-card-img { min-height: 260px; }
  .dj-card-img img { min-height: 260px; }

  .card.past-event-card { grid-template-columns: 260px 1fr; }

  .venue-grid { grid-template-columns: repeat(2, 1fr); }
  .venue-steps { grid-template-columns: 1fr; }
  .venue-stats { grid-template-columns: repeat(3, 1fr); }
  .venue-form-layout { grid-template-columns: 1fr; }
}

/* ============================================================
   Responsive — Mobile (hamburger breakpoint)
   ============================================================ */

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
    position: relative;
    z-index: 1002;
  }

  .nav-links {
    position: fixed;
    inset: 0;
    z-index: 1001;
    flex-direction: column;
    justify-content: center;
    gap: 1.35rem;
    background: rgba(18, 16, 14, 0.97);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    visibility: hidden;
    pointer-events: none;
  }

  body.nav-open .nav-links {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }

  .nav-links a {
    font-size: 1.8rem;
  }
}

/* ============================================================
   Responsive — Small Mobile
   ============================================================ */

@media (max-width: 620px) {
  .hero-content {
    margin-left: 18px;
    padding: 110px 0 50px;
  }

  .hero-title { font-size: 88px; }
  .hero-subtitle { font-size: 36px; }
  .hero-copy { font-size: 15px; }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn { width: 100%; }

  .hero-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .hero-stamp-corner { display: none; }
  .hero-leaf { display: none; }

  .event-grid,
  .footer-grid,
  .gallery { grid-template-columns: 1fr; }

  .event-card { min-height: 318px; }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-title,
  .culture h2 { font-size: 52px; }

  .feature {
    grid-template-columns: 64px 1fr;
  }

  .feature-icon {
    width: 60px;
    height: 60px;
    font-size: 28px;
  }

  .footer-bottom { flex-direction: column; }

  .promo-grid { grid-template-columns: 1fr; }
  .promo-title { font-size: 72px; }

  .card.past-event-card {
    grid-template-columns: 1fr;
  }

  .card.past-event-card > .image-frame {
    border-radius: var(--radius) var(--radius) 0 0;
    min-height: 200px;
  }

  .card-content { padding: 22px 20px 28px; }

  .auth-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .photo-grid { grid-template-columns: 1fr; }

  .form-row { flex-direction: column; }

  .dj-card-info { padding: 22px 20px 28px; }
  .dj-name { font-size: 40px; }
  .dj-card-info p { font-size: 14px; }

  .venue-grid { grid-template-columns: 1fr; }
  .venue-title { font-size: 72px; }
  .venue-stats { grid-template-columns: 1fr; }
  .venue-field-grid { grid-template-columns: 1fr; }
}
