/* ===========================
   FANATIC — Brand Stylesheet
   =========================== */

:root {
  --white: #FFFFFF;
  --off-white: #FAFAFA;
  --black: #0A0A0A;
  --pink: #DB2777;
  --pink-light: #F9A8D4;
  --pink-glow: rgba(219, 39, 119, 0.12);
  --pink-wash: rgba(219, 39, 119, 0.07);
  --blue: #38BDF8;
  --blue-deep: #2563EB;
  --blue-glow: rgba(56, 189, 248, 0.12);
  --blue-wash: rgba(56, 189, 248, 0.07);
  --grey: #71717A;
  --grey-light: #D4D4D8;

  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'Source Sans 3', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--black);
  background: var(--white);
  overflow-x: hidden;
}

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


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

.nav {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  padding: 14px 24px;
}


.nav.scrolled {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo-img {
  height: 64px;
  width: 64px;
  object-fit: cover;
  border-radius: 50%;
}


/* ===========================
   Event Sections
   =========================== */

.event {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Video background */
.event-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32.5%;
  z-index: 0;
}


/* Dark overlay */
.event::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.2) 100%);
  z-index: 1;
}

.event-content {
  text-align: center;
  padding: 40px 24px;
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.event-tag {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 32px;
}


/* Event logos */
.event-logo {
  display: block;
  max-width: clamp(280px, 50vw, 600px);
  height: auto;
  margin: 0 auto 12px;
}

.event-title {
  font-family: var(--font-display);
  font-size: clamp(64px, 12vw, 140px);
  line-height: 0.9;
  letter-spacing: 6px;
  color: var(--white);
  margin-bottom: 8px;
  position: relative;
}


.event-subtitle {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 72px);
  line-height: 1;
  letter-spacing: 4px;
  color: var(--white);
  margin-bottom: 12px;
}

.event-location {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 0;
}

.event-venue {
  font-family: var(--font-body);
  font-size: clamp(12px, 1.5vw, 15px);
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--white);
  margin-top: 6px;
}

.event-date {
  font-family: var(--font-body);
  font-size: clamp(13px, 1.5vw, 16px);
  font-weight: 400;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--white);
  margin-top: 8px;
}

/* Accent line */
.event-line {
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--pink), var(--pink-light));
  margin: 40px auto;
}


/* ===========================
   Flyers Section
   =========================== */

.flyers {
  background: var(--black);
  padding: 60px 40px;
  overflow: hidden;
}

.flyers-heading {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--white);
  text-align: center;
  margin-bottom: 32px;
}

.flyers-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.flyer-img {
  flex: 1;
  max-width: 33.333%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}


/* ===========================
   Photo Gallery
   =========================== */

.gallery {
  background: var(--black);
  padding: 80px 40px;
  overflow: hidden;
}

.gallery-heading {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 400;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--white);
  text-align: center;
  margin-bottom: 8px;
}

.gallery-subheading {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--grey);
  text-align: center;
  margin-bottom: 16px;
}

.btn-gallery {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: center;
  padding: 14px 40px;
  background: var(--pink);
  color: var(--white);
  border: none;
  border-radius: 4px;
  margin: 0 auto 48px;
  display: block;
  width: fit-content;
  transition: all 0.3s ease;
}

.btn-gallery:hover {
  background: var(--pink-light);
  color: var(--black);
}

.gallery-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.gallery-item {
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.gallery-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover img {
  transform: scale(1.03);
}

/* Cup — big center piece */
.gallery-item--cup {
  grid-column: 2 / 4;
  grid-row: 3 / 5;
  aspect-ratio: auto;
  margin: 6px;
}


/* ===========================
   Ticket Button
   =========================== */

.btn-tickets {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  padding: 20px 64px;
  border: 2.5px solid var(--white);
  color: var(--white);
  background: transparent;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  position: relative;
}

.btn-tickets:hover {
  background: var(--pink);
  border-color: var(--pink);
  color: var(--white);
  box-shadow: 0 8px 30px var(--pink-glow), 0 2px 8px var(--pink-glow);
  transform: translateY(-1px);
}



/* ===========================
   Cabana Reservations
   =========================== */

.cabana {
  padding: 80px 40px;
  background: var(--black);
  position: relative;
}

.cabana::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--pink), var(--blue));
}

.cabana-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.cabana-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 56px);
  letter-spacing: 5px;
  color: var(--white);
  margin-bottom: 8px;
}

.cabana-subtitle {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 40px;
}

.cabana-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.cabana-form input,
.cabana-form select,
.cabana-form textarea {
  flex: 1;
  font-family: var(--font-body);
  font-size: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  outline: none;
  transition: border-color 0.2s ease;
}

.cabana-form input::placeholder,
.cabana-form textarea::placeholder {
  color: var(--grey);
}

.cabana-form select {
  color: var(--grey);
  -webkit-appearance: none;
  appearance: none;
}

.cabana-form select:valid {
  color: var(--white);
}

.cabana-form input:focus,
.cabana-form select:focus,
.cabana-form textarea:focus {
  border-color: var(--pink);
}

.btn-submit {
  margin-top: 16px;
  align-self: center;
}

.btn-submit:hover {
  background: var(--pink);
  border-color: var(--pink);
}


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

.footer {
  padding: 60px 40px;
  background: var(--black);
  color: var(--white);
  position: relative;
}

/* Gradient line at top of footer */
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--pink), var(--blue));
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.footer-logo-img {
  height: 32px;
  width: 32px;
  object-fit: cover;
  border-radius: 50%;
}

.footer-links {
  display: flex;
  gap: 32px;
}

.footer-links a {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--grey-light);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--pink-light);
}

.footer-copy {
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--grey);
}


/* ===========================
   Mobile
   =========================== */

@media (max-width: 768px) {
  .nav {
    padding: 16px 20px;
  }

  .logo-wordmark {
    font-size: 18px;
    letter-spacing: 3px;
  }

  .event-tag {
    font-size: 12px;
    margin-bottom: 24px;
  }

  .event-line {
    margin: 32px auto;
  }

  .btn-tickets {
    padding: 14px 40px;
    font-size: 12px;
  }

  .gallery {
    padding: 60px 16px;
  }

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

  /* Reset all explicit grid positions on mobile */
  .gallery-item {
    grid-column: auto !important;
    grid-row: auto !important;
    margin-bottom: 8px;
    border-radius: 4px;
  }

  /* Move g-06 to top row on mobile */
  .gallery-item--cup-right-top {
    order: -1;
  }

  /* Move g-08 to bottom row on mobile */
  .gallery-item--cup-right-bottom {
    order: 99;
  }

  /* Cup spans both columns on mobile */
  .gallery-item--cup {
    grid-column: 1 / 3 !important;
    grid-row: span 2 !important;
  }

  .cabana {
    padding: 60px 20px;
  }

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

  .footer {
    padding: 40px 20px;
  }

  .footer-links {
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .event-subtitle {
    letter-spacing: 2px;
  }

  .event-location {
    letter-spacing: 4px;
  }
}

/* deploy test */
/* v2 */
