/* =========================
   1) Global / Base
========================= */

@font-face {
  font-family: 'RougeScript';
  src: url('fonts/Monoton-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy-1: #0b1020;
  --navy-2: #1a1f3a;
  --pink: #ff2bac;
  --pink-soft: #ff9ad5;
  --text: #ffffff;
}

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

body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  overflow-x: hidden;

  color: #111;          /* DEFAULT text = black */
  background: #ffffff; /* DEFAULT background = white */
}

section {
  padding: 80px 32px;
}

h1, h2, h3 {
  margin-top: 0;
}

/* Display font for headings + nav branding */
h1, h2, h3,
.top-bar,
.nav-menu a {
  font-family: 'Abril Fatface';
  letter-spacing: 1px;
}

/* Utility visibility helpers */
.mobile-only { display: none; }
.desktop-only { display: inline-flex; }

/* =========================
   2) Top Navigation
========================= */

.top-bar {
  position: sticky;
  top: 0;
  z-index: 1000;

  display: flex;
  align-items: center;

  padding: 16px 32px;
  background: linear-gradient(90deg, var(--navy-1), var(--navy-2));
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.logo-placeholder {
  width: 200px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-decoration: none;
  flex: 0 0 auto;
}

.logo-placeholder img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Desktop centered nav */
.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}

/* Links */
.nav-menu a {
  text-decoration: none;
  font-size: 18px;
  color: #ffffff;
  position: relative;
}

/* Desktop link spacing */
.desktop-nav a {
  margin-left: 24px;
}
.desktop-nav a:first-child {
  margin-left: 0;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--pink);
  transition: width 0.3s ease;
}

.nav-menu a:hover::after {
  width: 100%;
}

/* Tickets CTA (base) */
.tickets-cta {
  white-space: nowrap;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  letter-spacing: 1px;
}

/* Desktop CTA (pill stays as you had it) */
.tickets-cta.desktop-only {
  margin-left: 32px;
  padding: 10px 20px;
  border: 2px solid var(--pink);
  border-radius: 999px;
  color: #ffffff;
  font-size: 16px;
  transition: all 0.3s ease;
}
.tickets-cta.desktop-only:hover {
  background-color: var(--pink);
  box-shadow: 0 0 20px rgba(255, 43, 172, 0.6);
}

/* Hamburger default hidden on desktop */
#menu-toggle { display: none; }

.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;

  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  gap: 6px;
}

.hamburger span {
  width: 26px;
  height: 3px;
  background: var(--pink);
  border-radius: 2px;
  transform-origin: center;
  transition: transform 0.35s ease, opacity 0.25s ease;
}

/* Mobile drawer hidden on desktop */
.mobile-nav { display: none; }

/* =========================
   3) Hero
========================= */

#hero {
  position: relative;
  min-height: 80vh;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  text-align: center;

  background-image: url("https://bookmestatic.net.nz/bookme-product-images/products/72966/72966_image1_YqsvW00tRXKVZs6rJT5H");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

#hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.45);
}

#hero h1,
#hero p {
  position: relative;
  z-index: 1;
}

#hero h1 {
  font-family: 'RougeScript';
  font-size: clamp(2.5rem, 10vw, 20rem);
  color: var(--pink);
  text-shadow:
    0 -1px 0 rgba(255, 255, 255, 0.35),
    0 1px 1px rgba(0, 0, 0, 0.15),
    0 6px 12px rgba(0, 0, 0, 0.35),
    0 0 18px rgba(255, 43, 172, 0.35);
}

#hero p {
  font-family: 'Abril Fatface', 'Inter', system-ui, sans-serif;
  font-size: 1.2rem;
  color: var(--pink-soft);
}

/* =========================
   4) About Video Section
========================= */

#about-video {
  padding: 0;
  position: relative;
  overflow: hidden;
}

/* Full-width separation bar (safe on mobile, no 100vw offset tricks) */
.about-heading-bar {
  width: 100%;
  margin: 0;
  padding: 48px 32px;
  text-align: center;

  background: linear-gradient(90deg, var(--navy-1), var(--navy-2));
  position: relative;
  z-index: 3;
}

.about-heading-bar h1 {
  margin: 0 auto;
  color: var(--pink);
  font-size: clamp(1.6rem, 5.5vw, 2.4rem);
  line-height: 1.15;

  max-width: 100%;
  padding: 0 8px;

  /* keep it centered and prevent overflow */
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Background video */
.about-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

/* Dark overlay over the video */
#about-video::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(11, 16, 32, 0.65);
  z-index: -1;
}

/* Right-aligned content card */
.about-overlay {
  position: relative;
  padding: 120px 64px;
  display: flex;
  justify-content: flex-end;
  z-index: 2;
}

.about-text-box {
  background: linear-gradient(90deg, var(--navy-1), var(--navy-2));
  backdrop-filter: blur(1px);

  max-width: 720px;
  padding: 48px;
  border-radius: 20px;

  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.6;
  color: #ffffff;

  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);

  opacity: 0;
  transform: translateX(40px);
}

.about-text-box h2 {
  font-family: 'Abril Fatface', cursive;
  margin-top: 32px;
  color: #ffffff;
}

.about-text-box.animate-in {
  animation: slideInSoft 0.9s ease-out forwards;
}

@keyframes slideInSoft {
  from { transform: translateX(40px); opacity: 0; }
  to   { transform: translateX(0); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .about-text-box {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* =========================
   5) Buttons (general)
========================= */

.ticket-button {
  display: inline-block;
  padding: 16px 30px;
  margin-top: 24px;

  background: linear-gradient(135deg, #ff7a7a, var(--pink-soft));
  border-radius: 14px;

  font-family: 'Inter', system-ui, sans-serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.6px;

  color: #ffffff;
  text-decoration: none;

  box-shadow: 0 8px 24px rgba(255, 122, 191, 0.35);
  transition: all 0.25s ease;

  white-space: nowrap;
}

.ticket-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(255, 122, 191, 0.5);
}

/* =========================
   6) Footer
========================= */

.site-footer {
  background: linear-gradient(90deg, var(--navy-1), var(--navy-2));
  color: #ffffff;
  padding: 64px 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
}

.footer-column h3 {
  font-family: 'Abril Fatface', cursive;
  font-size: 20px;
  margin-bottom: 16px;
}

.footer-column p {
  font-size: 16px;
  line-height: 1.6;
  color: #e0e0e0;
}

.footer-column a {
  color: var(--pink-soft);
  text-decoration: none;
}

.footer-column a:hover {
  text-decoration: underline;
}

/* Footer socials */
.social-links {
  display: grid;
  gap: 14px;
  margin-top: 12px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 12px;

  color: #e0e0e0;
  text-decoration: none;
}

.social-links a:hover {
  color: var(--pink-soft);
}

.social-icon {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.social-links a:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 4px;
  border-radius: 10px;
}

/* =========================
   7) Mid Logo
========================= */

.mid-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 20px 20px;
}

.mid-logo img {
  width: 400px;
  max-width: 80vw;
  opacity: 0.95;
}

/* =========================
   8) Responsive (Mobile)
========================= */

@media (max-width: 768px) {
  section { padding: 72px 18px; }

  /* Mobile: disable fixed attachment */
  #hero {
    background-attachment: scroll;
    background-position: center top;
  }

  /* Header layout */
  .top-bar {
    justify-content: space-between;
    padding: 14px 16px;
  }

  /* Hide desktop nav + desktop CTA */
  .desktop-nav { display: none; }
  .tickets-cta.desktop-only { display: none; }

  /* Show hamburger on mobile (top-right) */
  .hamburger { display: flex; }

  /* Show mobile drawer nav */
  .mobile-nav {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;

    flex-direction: column;
    align-items: stretch;

    background: var(--navy-1);

    /* Animated closed state */
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;

    max-height: 0;
    overflow: hidden;

    transition:
      max-height 0.45s ease,
      opacity 0.22s ease,
      transform 0.22s ease;
  }

  /* Make ALL items (including tickets) align identically */
  .mobile-nav a {
    display: flex;
    align-items: center;
    justify-content: center; /* centers text perfectly */
    width: 100%;
    text-align: center;
    padding: 20px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  /* Mobile-only tickets CTA: rounded rectangle outline, fills on press */
  .tickets-cta.mobile-only {
    display: flex; /* overrides base .mobile-only default */
    margin: 12px 16px 8px;
    width: auto;

    border: 2px solid var(--pink);
    border-radius: 14px;

    padding: 14px 16px;
    font-size: 16px;

    /* remove the divider line for the “button” look */
    border-top: 2px solid var(--pink);
  }

  /* Fill when pressed */
  .tickets-cta.mobile-only:active {
    background: var(--pink);
  }

  /* Also fill when keyboard-focused (nice on mobile + accessibility) */
  .tickets-cta.mobile-only:focus-visible {
    background: var(--pink);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 43, 172, 0.25);
  }

  /* Mobile-only visibility */
  .mobile-only { display: flex; }

  /* Open state */
  #menu-toggle:checked ~ .mobile-nav {
    max-height: 520px;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  /* Hamburger -> X animation */
  #menu-toggle:checked + .hamburger span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  #menu-toggle:checked + .hamburger span:nth-child(2) {
  transform: scaleX(0);
    }
  #menu-toggle:checked + .hamburger span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  /* About heading bar padding on mobile */
  .about-heading-bar { padding: 28px 14px; }

  /* About card centered on mobile */
  .about-overlay {
    justify-content: center;
    padding: 80px 18px;
  }

  .about-text-box {
    max-width: 100%;
    padding: 28px;
  }

  /* General button sizing */
  .ticket-button {
    font-size: 16px;
    padding: 14px 24px;
    max-width: 100%;
    text-align: center;
  }
}

.map-embed {
  margin-top: 32px;
  width: 100%;
  max-width: 900px;
}

.map-embed iframe {
  width: 100%;
  height: 360px;
  border: 0;
  border-radius: 16px;
}

/* Tickets location block – aligns with ticket text */
.tickets-location {
  max-width: 720px;      /* matches your content width */
  margin: 48px auto 0;   /* centers the block */
  text-align: center;    /* matches ticket text alignment */
}

/* Map embed stays centered */
.tickets-location .map-embed {
  margin-top: 24px;
}

/* Apple Maps button styling */
.apple-maps-link {
  display: inline-flex;
  justify-content: center;
  align-items: center;

  margin-top: 20px;
  padding: 12px 22px;

  border-radius: 999px;
  border: 2px solid var(--pink);
  color: var(--pink);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.4px;

  transition: all 0.25s ease;
}

.apple-maps-link:hover {
  background: var(--pink);
  color: #ffffff;
}