/* ===================================
   3D DJ's Entertainment - Design System
   Premium DJ Entertainment Website
   =================================== */

/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
  /* Colors - Brand Palette */
  --color-primary-black: #0B0B0B;
  --color-deep-charcoal: #121212;
  --color-gold: #C9A24D;
  --color-gold-soft: #E3C57A;
  --color-white: #FFFFFF;
  --color-gray-muted: #B8B8B8;
  --color-overlay: rgba(11, 11, 11, 0.85);

  /* Typography */
  --font-display: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
  --letter-spacing-heading: 0.5px;
  --letter-spacing-button: 1px;
  --line-height-body: 1.6;

  /* Layout */
  --max-width: 1240px;
  --padding-desktop: 64px;
  --padding-tablet: 40px;
  --padding-mobile: 24px;

  /* Section Spacing */
  --section-padding-desktop: 120px;
  --section-padding-tablet: 80px;
  --section-padding-mobile: 64px;

  /* Border Radius */
  --radius-card: 12px;
  --radius-button: 8px;

  /* Animation */
  --ease-smooth: cubic-bezier(0.4, 0.0, 0.2, 1);
  --duration-fade: 600ms;
  --duration-hover: 250ms;
  --stagger-delay: 80ms;

  /* Shadows */
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-card-hover: 0 8px 32px rgba(0, 0, 0, 0.6);
  --glow-gold: 0 0 20px rgba(201, 162, 77, 0.4);
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: var(--line-height-body);
  color: var(--color-white);
  background-color: var(--color-primary-black);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100vw;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ===== TYPOGRAPHY ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: var(--letter-spacing-heading);
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1.5rem;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
  font-size: 1.25rem;
}

p {
  color: var(--color-gray-muted);
  margin-bottom: 1rem;
}

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

.text-white {
  color: var(--color-white);
}

/* ===== LAYOUT ===== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: var(--padding-desktop);
  padding-right: var(--padding-desktop);
}

.section {
  padding-top: var(--section-padding-desktop);
  padding-bottom: var(--section-padding-desktop);
}

.section--charcoal {
  background-color: var(--color-deep-charcoal);
}

.section--black {
  background-color: var(--color-primary-black);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 16px 32px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: var(--letter-spacing-button);
  text-transform: uppercase;
  border-radius: var(--radius-button);
  transition: all var(--duration-hover) var(--ease-smooth);
}

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

.btn--primary:hover {
  background: var(--color-gold-soft);
  box-shadow: var(--glow-gold);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-gold);
}

.btn--outline:hover {
  background: var(--color-gold);
  color: var(--color-primary-black);
  box-shadow: var(--glow-gold);
  transform: translateY(-2px);
}

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: background-color var(--duration-hover) var(--ease-smooth),
    padding var(--duration-hover) var(--ease-smooth);
}

.nav--scrolled {
  background-color: var(--color-primary-black);
  padding: 12px 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo img {
  height: 65px;
  width: auto;
}

.nav__menu {
  display: flex;
  gap: 2.5rem;
}

.nav__link {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: var(--letter-spacing-button);
  text-transform: uppercase;
  color: var(--color-white);
  position: relative;
  padding: 0.5rem 0;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration-hover) var(--ease-smooth);
}

.nav__link:hover::after,
.nav__link--active::after {
  transform: scaleX(1);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  transition: all var(--duration-hover) var(--ease-smooth);
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background: var(--color-deep-charcoal);
  z-index: 1001;
  padding: 80px 40px;
  transform: translateX(100%);
  transition: transform var(--duration-fade) var(--ease-smooth);
}

.mobile-menu--open {
  transform: translateX(0);
}

.mobile-menu__overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration-hover) var(--ease-smooth);
}

.mobile-menu__overlay--visible {
  opacity: 1;
  visibility: visible;
}

.mobile-menu__close {
  position: absolute;
  top: 24px;
  right: 24px;
  color: var(--color-white);
  font-size: 2rem;
}

.mobile-menu__links {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.mobile-menu__link {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--color-white);
  letter-spacing: var(--letter-spacing-button);
}

.mobile-menu__link:hover {
  color: var(--color-gold);
}

/* ===== SPLASH INTRO ===== */
.splash {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--color-primary-black);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 800ms var(--ease-smooth), visibility 800ms var(--ease-smooth);
}

.splash--hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash__logo {
  max-width: 400px;
  width: 80%;
  opacity: 0;
  transform: scale(0.9);
  animation: splashLogoIn 800ms var(--ease-smooth) 200ms forwards;
}

.splash__bg-images {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.splash__bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
}

.splash__grain {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
  z-index: 2;
}

@keyframes splashLogoIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Splash waveform */
.waveform--splash {
  justify-content: center;
  margin-top: 0;
  height: 72px;
  gap: 5px;
  opacity: 0;
  animation: splashWaveformIn 600ms var(--ease-smooth) 600ms forwards;
}

.waveform--splash .waveform__bar {
  width: 5px;
  border-radius: 3px;
  background: var(--color-gold);
}

@keyframes splashWaveformIn {
  to {
    opacity: 0.6;
  }
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding-top: 80px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero__bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.5s var(--ease-smooth);
}

.hero__bg-image--active {
  opacity: 0.5;
}

.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg,
      rgba(11, 11, 11, 0.5) 0%,
      rgba(11, 11, 11, 0.75) 100%);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  width: 100%;
  padding: 0 clamp(16px, 4vw, 64px);
}

.hero__logo {
  max-width: 450px;
  width: 100%;
  margin: 0 auto 1rem;
}

.hero__headline {
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  font-weight: 400;
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--color-white);
  margin-bottom: 1.25rem;
  line-height: 1.15;
}

.hero__headline-line2 {
  display: block;
}

.hero__headline-accent {
  font-style: italic;
  color: var(--color-gold);
}

.hero__subtext {
  font-size: clamp(0.6rem, 1.8vw, 1rem);
  color: var(--color-gold);
  letter-spacing: clamp(2px, 0.6vw, 6px);
  text-transform: uppercase;
  margin-bottom: 2.5rem;
  white-space: nowrap;
  font-family: var(--font-display);
  font-weight: 500;
}

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

/* ===== CARDS ===== */
.card {
  background: var(--color-deep-charcoal);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: all var(--duration-hover) var(--ease-smooth);
  border: 1px solid transparent;
}

.card:hover {
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(201, 162, 77, 0.3);
  transform: translateY(-4px);
}

.card__image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.card__content {
  padding: 1.5rem;
}

.card__title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--color-white);
}

.card__text {
  font-size: 0.9375rem;
  color: var(--color-gray-muted);
  margin-bottom: 1rem;
}

.card__features {
  margin-bottom: 1.5rem;
}

.card__feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-gray-muted);
  margin-bottom: 0.5rem;
}

.card__feature::before {
  content: '✓';
  color: var(--color-gold);
  font-weight: bold;
}

/* ===== GRIDS ===== */
.grid {
  display: grid;
  gap: 2rem;
}

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

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

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

/* ===== DJ CARDS ===== */
.dj-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-card);
  cursor: pointer;
}

.dj-card__image {
  width: 100%;
  height: 380px;
  object-fit: cover;
  transition: transform var(--duration-hover) var(--ease-smooth);
}

.dj-card:hover .dj-card__image {
  transform: scale(1.03);
}

.dj-card__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 1.5rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
  transition: all var(--duration-hover) var(--ease-smooth);
}

.dj-card:hover .dj-card__overlay {
  padding-bottom: 2.5rem;
}

.dj-card__name {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.dj-card__specialty {
  font-size: 0.875rem;
  color: var(--color-gold);
}

.dj-card__bio {
  font-size: 0.875rem;
  color: var(--color-gray-muted);
  margin-top: 0.75rem;
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--duration-hover) var(--ease-smooth);
}

.dj-card:hover .dj-card__bio {
  opacity: 1;
  transform: translateY(0);
}

.dj-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid transparent;
  border-radius: var(--radius-card);
  transition: border-color var(--duration-hover) var(--ease-smooth);
  pointer-events: none;
}

.dj-card:hover::after {
  border-color: var(--color-gold);
}

/* ===== MODAL ===== */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration-hover) var(--ease-smooth);
}

.modal--open {
  opacity: 1;
  visibility: visible;
}

.modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
}

.modal__content {
  position: relative;
  max-width: 700px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--color-deep-charcoal);
  border-radius: var(--radius-card);
  transform: scale(0.9);
  transition: transform var(--duration-hover) var(--ease-smooth);
}

.modal--open .modal__content {
  transform: scale(1);
}

.modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--color-white);
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  z-index: 1;
}

.modal__close:hover {
  background: var(--color-gold);
  color: var(--color-primary-black);
}

.modal__image {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.modal__body {
  padding: 2rem;
}

.modal__name {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.modal__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.modal__tag {
  padding: 0.25rem 0.75rem;
  background: rgba(201, 162, 77, 0.2);
  color: var(--color-gold);
  border-radius: 4px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ===== SECTION HEADERS ===== */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.section-header__label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 1rem;
  display: block;
}

.section-header__title {
  margin-bottom: 1rem;
}

.section-header__line {
  width: 60px;
  height: 2px;
  background: var(--color-gold);
  margin: 1.5rem auto 0;
}

/* ===== ABOUT SECTION ===== */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about__content {
  padding-right: 2rem;
}

.about__image {
  border-radius: var(--radius-card);
  overflow: hidden;
}

.about__image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

/* ===== PACKAGES ===== */
.package-card {
  position: relative;
  background: var(--color-deep-charcoal);
  border-radius: var(--radius-card);
  overflow: visible;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all var(--duration-hover) var(--ease-smooth);
}

.package-card:hover {
  border-color: rgba(201, 162, 77, 0.4);
  box-shadow: var(--glow-gold);
  transform: translateY(-4px);
}

/* Featured card */
.package-card--featured {
  border-color: var(--color-gold);
  z-index: 1;
  box-shadow: 0 0 40px rgba(201, 162, 77, 0.15);
}

.package-card--featured:hover {
  box-shadow: 0 0 50px rgba(201, 162, 77, 0.25);
}

/* Most Popular badge */
.package-card__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.35rem 1.25rem;
  background: var(--color-gold);
  color: var(--color-primary-black);
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 100px;
  white-space: nowrap;
  z-index: 2;
}

.package-card__header {
  padding: 2rem 2rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Card suit symbols */
.package-card__suits {
  display: flex;
  gap: 0.3rem;
  margin-bottom: 0.75rem;
}

.suit {
  font-size: 1.25rem;
  color: var(--color-gold);
  opacity: 0.6;
  line-height: 1;
}

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

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

.package-card--featured .suit {
  opacity: 1;
}

.package-card:hover .suit {
  opacity: 1;
}

.package-card__name {
  font-size: 1.5rem;
  margin-bottom: 0.35rem;
}

.package-card__subtitle {
  display: block;
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-gold);
}

.package-card__body {
  padding: 2rem;
}

.package-card__features {
  margin-bottom: 2rem;
}

.package-card__feature {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.9375rem;
  color: var(--color-gray-muted);
}

.package-card__feature svg {
  flex-shrink: 0;
  color: var(--color-gold);
  margin-top: 2px;
}

/* ===== ADD-ONS ===== */
.addon-card {
  text-align: center;
  padding: 2rem;
  background: var(--color-deep-charcoal);
  border-radius: var(--radius-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all var(--duration-hover) var(--ease-smooth);
}

.addon-card:hover {
  border-color: rgba(201, 162, 77, 0.3);
  transform: translateY(-4px);
}

.addon-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 162, 77, 0.1);
  border-radius: 50%;
  transition: all var(--duration-hover) var(--ease-smooth);
}

.addon-card:hover .addon-card__icon {
  background: rgba(201, 162, 77, 0.2);
  box-shadow: 0 0 30px rgba(201, 162, 77, 0.3);
}

.addon-card__icon svg {
  width: 28px;
  height: 28px;
  color: var(--color-gold);
}

.addon-card__title {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
}

/* ===== BOOTH CARDS ===== */
.booth-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 3rem;
  background: var(--color-deep-charcoal);
  border-radius: var(--radius-card);
  margin-bottom: 2rem;
}

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

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

.booth-card__image {
  border-radius: var(--radius-button);
  overflow: hidden;
}

.booth-card__image img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

.booth-card__title {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

/* ===== AUDIO GUEST BOOK CARDS ===== */
.guestbook-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.guestbook-card {
  background: var(--color-deep-charcoal);
  border-radius: var(--radius-card);
  overflow: hidden;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all var(--duration-hover) var(--ease-smooth);
}

.guestbook-card:hover {
  border-color: rgba(201, 162, 77, 0.3);
  transform: translateY(-4px);
}

.guestbook-card__image {
  height: 280px;
  object-fit: cover;
  width: 100%;
}

.guestbook-card__content {
  padding: 1.5rem;
}

.guestbook-card__title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

/* ===== GALLERY ===== */
.gallery__filters {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.gallery__filter {
  padding: 0.5rem 1.5rem;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--color-gray-muted);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  cursor: pointer;
  transition: all var(--duration-hover) var(--ease-smooth);
}

.gallery__filter:hover {
  color: var(--color-gold);
  border-color: var(--color-gold);
}

.gallery__filter--active {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-primary-black);
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 280px;
  gap: 0.75rem;
}

.gallery__item {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  cursor: pointer;
}

.gallery__item img,
.gallery__item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease-smooth);
}

.gallery__item:hover img,
.gallery__item:hover video {
  transform: scale(1.06);
}

.gallery__item--wide {
  grid-column: span 2;
}

.gallery__item--tall {
  grid-row: span 2;
}

.gallery__item--hidden {
  display: none;
}

/* Overlay */
.gallery__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.35s var(--ease-smooth);
}

.gallery__item:hover .gallery__overlay {
  opacity: 1;
}

.gallery__badge {
  display: inline-block;
  width: fit-content;
  padding: 0.2rem 0.65rem;
  background: var(--color-gold);
  color: var(--color-primary-black);
  font-size: 0.625rem;
  font-weight: 700;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 100px;
  margin-bottom: 0.4rem;
}

.gallery__title {
  color: var(--color-white);
  font-size: 1rem;
  font-weight: 600;
}

/* Gold border on hover */
.gallery__item::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid transparent;
  border-radius: var(--radius-card);
  transition: border-color 0.35s var(--ease-smooth);
  pointer-events: none;
  z-index: 2;
}

.gallery__item:hover::after {
  border-color: var(--color-gold);
}

/* Video play button */
.gallery__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  transition: all 0.35s var(--ease-smooth);
  z-index: 3;
}

.gallery__play svg {
  width: 22px;
  height: 22px;
  margin-left: 3px;
}

.gallery__item--video:hover .gallery__play {
  background: var(--color-gold);
  color: var(--color-primary-black);
  transform: translate(-50%, -50%) scale(1.1);
}

.gallery__item--video.is-playing .gallery__play {
  opacity: 0;
  pointer-events: none;
}

.gallery__video-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.7rem;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 100px;
  color: var(--color-white);
  font-size: 0.6875rem;
  font-weight: 600;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  z-index: 3;
}

/* Lightbox */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s var(--ease-smooth);
}

.gallery-lightbox--visible {
  opacity: 1;
  visibility: visible;
}

.gallery-lightbox__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  border-radius: 50%;
  color: var(--color-white);
  font-size: 1.75rem;
  cursor: pointer;
  transition: all var(--duration-hover) var(--ease-smooth);
  z-index: 1;
}

.gallery-lightbox__close:hover {
  background: var(--color-gold);
  color: var(--color-primary-black);
}

.gallery-lightbox__media {
  max-width: 90vw;
  max-height: 85vh;
}

.gallery-lightbox__media img,
.gallery-lightbox__media video {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-card);
}

/* ===== CALENDAR ===== */
.calendar-section {
  background: var(--color-deep-charcoal);
}

.calendar {
  background: var(--color-primary-black);
  border-radius: var(--radius-card);
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.calendar__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.calendar__title {
  font-size: 1.5rem;
}

.calendar__nav {
  display: flex;
  gap: 0.5rem;
}

.calendar__nav-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-deep-charcoal);
  border-radius: var(--radius-button);
  color: var(--color-white);
  transition: all var(--duration-hover) var(--ease-smooth);
}

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

.calendar__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.5rem;
}

.calendar__day-header {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-gray-muted);
  padding: 0.5rem;
}

.calendar__day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  border-radius: var(--radius-button);
  transition: all var(--duration-hover) var(--ease-smooth);
  cursor: pointer;
}

.calendar__day:hover {
  background: rgba(201, 162, 77, 0.2);
}

.calendar__day--other-month {
  color: rgba(255, 255, 255, 0.2);
}

.calendar__day--available {
  border: 1px solid var(--color-gold);
  color: var(--color-gold);
}

.calendar__day--available:hover {
  background: var(--color-gold);
  color: var(--color-primary-black);
}

.calendar__day--booked {
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-gray-muted);
  cursor: not-allowed;
}

.calendar__legend {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.calendar__legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-gray-muted);
}

.calendar__legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 2px;
}

.calendar__legend-dot--available {
  border: 1px solid var(--color-gold);
}

.calendar__legend-dot--booked {
  background: rgba(255, 255, 255, 0.1);
}

.calendar__ctas {
  text-align: center;
  margin-top: 3rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ===== CONTACT ===== */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
}

.contact__info {
  padding: 2rem;
  background: var(--color-deep-charcoal);
  border-radius: var(--radius-card);
  height: fit-content;
}

.contact__info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact__info-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 162, 77, 0.1);
  border-radius: var(--radius-button);
  flex-shrink: 0;
}

.contact__info-icon svg {
  width: 20px;
  height: 20px;
  color: var(--color-gold);
}

.contact__info-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-gray-muted);
  margin-bottom: 0.25rem;
}

.contact__info-value {
  font-size: 1rem;
  color: var(--color-white);
}

/* ===== FORM ===== */
.form {
  background: var(--color-deep-charcoal);
  padding: 2.5rem;
  border-radius: var(--radius-card);
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form__group {
  margin-bottom: 1.5rem;
}

.form__label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--color-white);
}

.form__input,
.form__select,
.form__textarea {
  width: 100%;
  padding: 1rem;
  background: var(--color-primary-black);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-button);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all var(--duration-hover) var(--ease-smooth);
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 77, 0.1);
}

.form__input::placeholder,
.form__textarea::placeholder {
  color: var(--color-gray-muted);
}

.form__textarea {
  min-height: 150px;
  resize: vertical;
}

.form__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23B8B8B8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px;
  padding-right: 3rem;
}

.form__submit {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.form__submit-text {
  transition: opacity var(--duration-hover) var(--ease-smooth);
}

.form__submit--loading .form__submit-text {
  opacity: 0;
}

.form__loader {
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 100%;
  background: var(--color-gold-soft);
  transition: width 1.5s var(--ease-smooth);
}

.form__submit--loading .form__loader {
  width: 100%;
}

.form__success {
  text-align: center;
  padding: 3rem;
  display: none;
}

.form__success--visible {
  display: block;
}

.form__success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 162, 77, 0.2);
  border-radius: 50%;
  color: var(--color-gold);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--color-deep-charcoal);
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.footer__brand p {
  max-width: 300px;
  font-size: 0.9375rem;
}

.footer__logo {
  max-width: 180px;
  margin-bottom: 1.5rem;
}

.footer__title {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  color: var(--color-white);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer__link {
  font-size: 0.9375rem;
  color: var(--color-gray-muted);
  transition: color var(--duration-hover) var(--ease-smooth);
}

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

.footer__socials {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.footer__social {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary-black);
  border-radius: var(--radius-button);
  color: var(--color-white);
  transition: all var(--duration-hover) var(--ease-smooth);
}

.footer__social:hover {
  background: var(--color-gold);
  color: var(--color-primary-black);
  box-shadow: var(--glow-gold);
}

.footer__bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  color: var(--color-gray-muted);
}

/* ===== WAVEFORM / EQUALIZER ANIMATION ===== */
.waveform {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 32px;
}

.waveform__bar {
  display: block;
  width: 3px;
  border-radius: 2px;
  background: var(--color-gold);
  animation: waveform-pulse 1.2s ease-in-out infinite;
}

/* Individual bar delays for organic feel */
.waveform__bar:nth-child(1)  { height: 40%; animation-delay: 0s; }
.waveform__bar:nth-child(2)  { height: 70%; animation-delay: 0.1s; }
.waveform__bar:nth-child(3)  { height: 50%; animation-delay: 0.25s; }
.waveform__bar:nth-child(4)  { height: 90%; animation-delay: 0.05s; }
.waveform__bar:nth-child(5)  { height: 60%; animation-delay: 0.3s; }
.waveform__bar:nth-child(6)  { height: 80%; animation-delay: 0.15s; }
.waveform__bar:nth-child(7)  { height: 45%; animation-delay: 0.35s; }
.waveform__bar:nth-child(8)  { height: 75%; animation-delay: 0.2s; }
.waveform__bar:nth-child(9)  { height: 55%; animation-delay: 0.1s; }
.waveform__bar:nth-child(10) { height: 85%; animation-delay: 0.28s; }
.waveform__bar:nth-child(11) { height: 40%; animation-delay: 0.08s; }
.waveform__bar:nth-child(12) { height: 65%; animation-delay: 0.32s; }
.waveform__bar:nth-child(13) { height: 50%; animation-delay: 0.18s; }
.waveform__bar:nth-child(14) { height: 90%; animation-delay: 0.04s; }
.waveform__bar:nth-child(15) { height: 55%; animation-delay: 0.22s; }
.waveform__bar:nth-child(16) { height: 70%; animation-delay: 0.12s; }
.waveform__bar:nth-child(17) { height: 45%; animation-delay: 0.36s; }
.waveform__bar:nth-child(18) { height: 80%; animation-delay: 0.06s; }
.waveform__bar:nth-child(19) { height: 60%; animation-delay: 0.26s; }
.waveform__bar:nth-child(20) { height: 50%; animation-delay: 0.16s; }
.waveform__bar:nth-child(21) { height: 75%; animation-delay: 0.02s; }
.waveform__bar:nth-child(22) { height: 40%; animation-delay: 0.34s; }
.waveform__bar:nth-child(23) { height: 85%; animation-delay: 0.14s; }
.waveform__bar:nth-child(24) { height: 55%; animation-delay: 0.24s; }
.waveform__bar:nth-child(25) { height: 70%; animation-delay: 0.08s; }
.waveform__bar:nth-child(26) { height: 45%; animation-delay: 0.3s; }
.waveform__bar:nth-child(27) { height: 90%; animation-delay: 0.1s; }
.waveform__bar:nth-child(28) { height: 60%; animation-delay: 0.2s; }
.waveform__bar:nth-child(29) { height: 50%; animation-delay: 0.38s; }
.waveform__bar:nth-child(30) { height: 75%; animation-delay: 0.15s; }

@keyframes waveform-pulse {
  0%, 100% {
    transform: scaleY(0.3);
    opacity: 0.4;
  }
  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}

/* Hero waveform */
.waveform--hero {
  justify-content: center;
  margin-top: 2.5rem;
  height: 64px;
  opacity: 0.7;
  gap: 5px;
}

.waveform--hero .waveform__bar {
  width: 5px;
  border-radius: 3px;
  background: var(--color-gold);
}

/* Footer waveform */
.footer__waveform-wrap--brand {
  padding: 1rem 0 0;
  overflow: hidden;
}

.footer__waveform-wrap {
  padding: 2rem 0;
  overflow: hidden;
}

.waveform--footer {
  justify-content: flex-start;
  height: 24px;
  opacity: 0.7;
  gap: 4px;
}

.waveform--footer .waveform__bar {
  width: 2px;
  background: var(--color-gold);
  flex-shrink: 0;
}

/* ===== SCROLL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--duration-fade) var(--ease-smooth),
    transform var(--duration-fade) var(--ease-smooth);
}

.reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.reveal-stagger>* {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--duration-fade) var(--ease-smooth),
    transform var(--duration-fade) var(--ease-smooth);
}

.reveal-stagger--visible>*:nth-child(1) {
  transition-delay: 0ms;
}

.reveal-stagger--visible>*:nth-child(2) {
  transition-delay: 80ms;
}

.reveal-stagger--visible>*:nth-child(3) {
  transition-delay: 160ms;
}

.reveal-stagger--visible>*:nth-child(4) {
  transition-delay: 240ms;
}

.reveal-stagger--visible>*:nth-child(5) {
  transition-delay: 320ms;
}

.reveal-stagger--visible>*:nth-child(6) {
  transition-delay: 400ms;
}

.reveal-stagger--visible>* {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .container {
    padding-left: var(--padding-tablet);
    padding-right: var(--padding-tablet);
  }

  .section {
    padding-top: var(--section-padding-tablet);
    padding-bottom: var(--section-padding-tablet);
  }

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

  .about__grid {
    gap: 3rem;
  }

  .booth-card {
    padding: 2rem;
    gap: 2rem;
  }

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

  .gallery__grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 240px;
  }

  /* Package cards - center orphan 3rd card at tablet */
  .grid--3 {
    justify-items: center;
  }

  .grid--3 > *:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: 50%;
  }
}

@media (max-width: 768px) {
  .container {
    padding-left: var(--padding-mobile);
    padding-right: var(--padding-mobile);
  }

  .section {
    padding-top: var(--section-padding-mobile);
    padding-bottom: var(--section-padding-mobile);
  }

  /* Navigation */
  .nav__menu {
    display: none;
  }

  .nav__toggle {
    display: flex;
  }

  /* Grids */
  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }

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

  /* About */
  .about__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about__content {
    padding-right: 0;
  }

  /* Booths */
  .booth-card {
    grid-template-columns: 1fr;
  }

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

  /* Gallery */
  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
  }

  .gallery__item--wide {
    grid-column: span 2;
  }

  .gallery__item--tall {
    grid-row: span 1;
  }

  .gallery__filter {
    padding: 0.4rem 1rem;
    font-size: 0.75rem;
  }

  /* Contact */
  .contact__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  /* Footer */
  .footer__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer__brand p {
    margin: 0 auto;
  }

  .footer__socials {
    justify-content: center;
  }

  .waveform--footer {
    justify-content: center;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  /* Hero */
  .hero__ctas {
    flex-direction: column;
    align-items: center;
  }

  .hero__ctas .btn {
    width: 100%;
    max-width: 280px;
  }

  /* About image - reduce fixed height on mobile */
  .about__image img {
    height: 350px;
  }

  /* Booth card image - reduce on mobile */
  .booth-card__image img {
    height: 280px;
  }

  /* Calendar grid - smaller gap for mobile */
  .calendar__grid {
    gap: 0.25rem;
  }

  .calendar__day {
    font-size: 0.8125rem;
    min-width: 36px;
    min-height: 36px;
  }

  /* Calendar CTA buttons stack on mobile */
  .calendar__ctas {
    flex-direction: column;
    align-items: center;
  }

  .calendar__ctas .btn {
    width: 100%;
    max-width: 280px;
  }

  /* Package card orphan at mobile - full width */
  .grid--3 > *:last-child:nth-child(odd) {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .splash__logo {
    max-width: 280px;
  }

  .hero__logo {
    max-width: 280px;
  }

  .btn {
    padding: 14px 24px;
    font-size: 0.8125rem;
  }

  .dj-card__image {
    height: 300px;
  }

  .gallery__grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
  }

  .gallery__item--wide {
    grid-column: span 1;
  }

  /* About image - smaller on phones */
  .about__image img {
    height: 260px;
  }

  /* Booth card image - smaller on phones */
  .booth-card__image img {
    height: 220px;
  }

  /* Calendar - ensure minimum tap targets */
  .calendar__day {
    min-width: 32px;
    min-height: 32px;
    font-size: 0.75rem;
  }

  .calendar__day-header {
    font-size: 0.625rem;
  }

  .calendar {
    padding: 1.25rem;
  }

  /* Guestbook card images */
  .guestbook-card__image {
    height: 220px;
  }
}