/* ===== BASIC RESET / GLOBALS ===== */
*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.4;
  color: #fff;
  background-color: #070607;
  -webkit-font-smoothing: antialiased;
}

html, body {
  overflow-x: hidden;
}

img, video {
  max-width: 100%;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

.center {
  text-align: center;
}

/* Home page H1 tag formatting */
.home-hero-heading {
  text-align: center;
  font-size: 2rem;      /* adjust if needed */
  line-height: 1.3;
  font-weight: 700;
  margin-bottom: 20px;
}

/* ----- Theme colours (change these whenever you like) ----- */
:root {
  --theme-colour: #A45CFF;        /* TEMP: replace later with your final brand colour */
  --theme-colour-dark: #8B3FE0;
  --header-height-desktop: 80px;
  --header-height-mobile: 64px;
  --side-menu-width: 340px;
}

/* ===== LAYOUT WRAPPER ===== */
.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ===== HEADER / TOP BAR ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height-desktop);
  background: #030303;  /* <-- updated */
  backdrop-filter: blur(4px);
}

.header-inner {
  width: 100%;
  height: 100%;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.header-left,
.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.header-right {
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  flex-shrink: 0;   /* prevents burger from being squeezed */
}

/* Center logo (desktop) / inline (mobile) */
.header-logo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  transform-origin: center;
}

.header-logo img {
  height: 72px;
  width: auto;
}

/* ===== SOCIAL ICONS (header left) ===== */
.social-links {
  display: flex;
  gap: 12px;
  font-size: 0;
}

.social-link {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: var(--theme-colour);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.social-link span {
  position: absolute;
  clip: rect(0, 0, 0, 0);
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ===== Show Dates BUTTON (header + bottom bar) ===== */
.btn-find-events {
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--theme-colour);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.1s ease;
}

.btn-find-events:hover {
  background: var(--theme-colour-dark);
  transform: translateY(-1px);
}

/* Desktop-only version (header right) */
.btn-find-events.desktop-only {
  display: inline-flex;
}

/* ===== HAMBURGER ===== */
/* ===== HAMBURGER ===== */
.hamburger {
  width: 32px;
  height: 24px;
  position: relative;
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger-line {
  width: 100%;              /* NEW: give it actual width */
  height: 3px;
  display: block;           /* NEW: block so Safari paints it */
  border-radius: 2px;
  background: #fff !important;  /* force white, just in case */
  opacity: 1 !important;        /* make sure it’s visible */
  transition: transform 0.2s ease, opacity 0.2s ease;
}


body.menu-open .hamburger-line--top {
  transform: translateY(10px) rotate(45deg);
}

body.menu-open .hamburger-line--middle {
  opacity: 0;
}

body.menu-open .hamburger-line--bottom {
  transform: translateY(-10px) rotate(-45deg);
}

/* ===== SIDE MENU ===== */
.side-menu {
  position: fixed;
  top: 0;
  right: calc(-1 * var(--side-menu-width));
  width: var(--side-menu-width);
  height: 100dvh;
  background: #A45CFF;
  color: #fff;
  z-index: 1200;
  padding: 80px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;                 /* reduced */
  overflow-y: auto;         /* NEW */
  -webkit-overflow-scrolling: touch; /* NEW */
  transition: right 0.25s ease-out;
}

body.menu-open .side-menu {
  right: 0;
}

.side-menu a {
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 0;   /* was 8px */
}

.side-menu-sub {
  margin-top: 16px;
  font-size: 13px;
  color: #bbb;
}

/* Close “X” inside side menu */
.side-menu-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1500;
}

.side-menu-close-btn span {
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 5px; /* bold X */
  background: #fff;
  border-radius: 2px;
  transform-origin: center;
}

.side-menu-close-btn span:first-child {
  transform: translateY(-50%) rotate(45deg);
}

.side-menu-close-btn span:last-child {
  transform: translateY(-50%) rotate(-45deg);
}

/* Backdrop behind side menu */
.side-menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease;
  z-index: 1100;
}

body.menu-open .side-menu-backdrop {
  opacity: 1;
  visibility: visible;
}

/* ===== HOME HERO (VIDEO) ===== */
.hero {
  position: relative;
  margin-top: var(--header-height-desktop);
  height: 830px;  /* target desktop height */
  max-height: calc(100vh - var(--header-height-desktop)); /* don't exceed viewport */
  overflow: hidden;
  background: #030303;
}


.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* show desktop landscape by default */
.hero-video--desktop {
  display: block;
}
.hero-video--mobile {
  display: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 16px;
  pointer-events: none;
}

.hero-overlay-inner {
  max-width: 640px;
}

.hero-title {
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.hero-subtitle {
  font-size: clamp(16px, 2.4vw, 20px);
  opacity: 0.95;
}

/* ===== HOME PAGE SECTIONS ===== */



.home-main {
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* shared section styling */
.home-section {
  padding: 80px 16px;
}

.home-section .home-hero-venues {
    font-weight: 600;
    font-size: 2rem;
    text-align: center;
}

.home-section-inner {
  max-width: 1200px;   /* your desired width */
  margin: 0 auto;      /* keep it centred */
  text-align: left;  /* optional, if you want the text centred */
}

.home-section-inner a {
  color: #a259ff;          /* your purple */
  font-weight: 600;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.home-section-inner a:hover {
  color: #7b2cff;          /* slightly darker purple on hover */
  opacity: 0.8;
}

.home-section p.home-hero-venues {
    font-weight: 600;
    font-size: 1.5rem;
    margin-top: 12px;
    margin-bottom: 16px;
    text-align: center;
}

.home-section h2 {
  font-size: clamp(26px, 3vw, 32px);
  margin: 0 0 16px;
}

.home-section p {
  font-size: 16px;
}

/* white band under the video */
.home-section--light {
  background: #ffffff;
  color: #222222;
}

/* solid colour band (use your theme colour) */
.home-section--blue {
  background: #5256ff;
  color: #ffffff;
}

/* solid colour band (use your theme colour) */
.home-section--accent {
  background: var(--theme-colour);
  color: #ffffff;
}

/* ALL links in accent section (incl. iOS auto-linked phone numbers) */
.home-section--accent a,
.home-section--accent a:visited {
  color: #5cff9a;
}

/* Hover / focus */
.home-section--accent a:hover,
.home-section--accent a:focus {
  text-decoration: underline;
  opacity: 0.85;
}

.home-section--accent .home-section-inner {
    margin: 0 auto;
}

.venue-call {
    margin-top: 18px;
    font-size: 1.2rem;
    font-weight: 700;
}

.venue-call a {
    color: #7c3aed;
}

/* ===== GENERIC INNER PAGES ===== */
.main-content {
  margin-top: var(--header-height-desktop);
  padding: 96px 16px 40px;
  max-width: 900px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.main-content h1 {
  font-size: 32px;
  margin-bottom: 16px;
  text-align: center;
}

.main-content p {
  font-size: 16px;
  max-width: 700px;
}

.iframe-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

/* ===== GLOBAL FOOTER ===== */
.site-footer {
  background: #f2f2f2;
  color: #333333;
  padding: 32px 16px 24px;
  font-size: 13px;
}

.site-footer-inner {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

/* ===== HERO AUDIO TOGGLE BUTTON ===== */

/* HERO AUDIO TOGGLE BUTTON */
.hero-audio-toggle {
  position: fixed;
  /* desktop defaults */
  top: calc(var(--header-height-desktop) + 10px);
  right: 16px;
  z-index: 900;          /* BELOW header (header is 1000) */
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.75);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  cursor: pointer;
}

.hero-audio-icon {
  font-size: 20px;
  line-height: 1;
}

.hero-audio-toggle .hero-audio-icon {
  display: inline-block;
  transform: translateY(-2px); /* adjusts internal speaker icon position */
}

/* start muted: show "off" icon by default via JS later */
.hero-audio-toggle .hero-audio-icon--off {
  display: none;
}

/* when muted, flip icons */
.hero-audio-toggle.is-muted .hero-audio-icon--on {
  display: none;
}
.hero-audio-toggle.is-muted .hero-audio-icon--off {
  display: inline;
}

/* Speaker attention pulse */
@keyframes speaker-wiggle {
  0%, 100% {
    transform: rotate(0) scale(1);
  }
  15% {
    transform: rotate(10deg) scale(1.08);
  }
  30% {
    transform: rotate(-10deg) scale(1.08);
  }
  45% {
    transform: rotate(8deg) scale(1.05);
  }
  60% {
    transform: rotate(-8deg) scale(1.05);
  }
  80% {
    transform: rotate(4deg) scale(1.02);
  }
}

.hero-audio-toggle {
  animation: speaker-wiggle 1.4s infinite ease-in-out;
}

/* Video page: make sure hero clears the header */
.hero--video-page {
  margin-top: var(--header-height-desktop);
}

/* Buttons for menu pages */
.sb-menu-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;   /* center buttons */
  gap: 10px;             /* space between buttons */
  padding: 20px 0;
}

.sb-btn {
  display: inline-block; /* prevents full-width stretch */
  min-width: 260px;
  max-width: 420px;
  text-align: center;
  padding: 14px 22px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;  /* pill shape */
  transition: 0.25s ease;
}

.sb-btn-gold {
  background: linear-gradient(135deg, #d4a64a, #f4d06a);
  color: #000;
}

.sb-btn-gold:hover {
  filter: brightness(1.12);
  transform: translateY(-2px);
}

.faq-wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
}

.faq-category {
  margin-bottom: 40px;
}

.faq-category h2 {
  margin-bottom: 16px;
  font-size: 1.4rem;
}

.faq-item {
  border-bottom: 1px solid #ddd;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 0;
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question:hover {
  opacity: 0.8;
}

.faq-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  margin: 0 0 18px;
  line-height: 1.6;
}




/* Masonry-style image grid */
/* ===== MASONRY IMAGE GRID (MIXED ORIENTATION SAFE) ===== */
.image-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 220px;   /* base row height */
  gap: 24px;
}

.image-grid__item {
  overflow: hidden;
  border-radius:14px;
}

.image-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Portrait images span 2 rows */
.image-grid__item--tall {
  grid-row: span 2;
}

/* Tablet */
@media (max-width: 1024px) {
  .image-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 640px) {
  .image-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .image-grid__item--tall {
    grid-row: auto;
  }

  .image-grid__item img {
    height: auto;
  }
}


/* For enlarging images when they are clicked */

.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
}

.lightbox-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.lightbox-overlay img {
  max-width: 95%;
  max-height: 95%;
  object-fit: contain;
  border-radius: 8px;
}

@media (max-width: 640px) {
  .lightbox-overlay {
    padding: 10px;
  }

  .lightbox-overlay img {
    max-width: 100%;
    max-height: 100%;
  }
}




/* ===== MOBILE STYLES ===== */
@media (max-width: 768px) {
  .site-header {
    height: var(--header-height-mobile);
    background: #030303;
  }

  .header-inner {
    max-width: none;
    justify-content: space-between;
    position: relative; /* needed for absolute .header-right */
  }

  /* Hide header socials on mobile */
  .header-left {
    display: none;
  }

  /* Logo on the left */
  .header-logo {
    position: static;
    transform: none;
    flex: 1 1 auto;
    min-width: 0;
  }

  .header-logo img {
    height: 32px;
    max-width: 240px;   /* smaller so iPhones never lose the burger */
  }

  /* NEW: hamburger pinned to the right ALWAYS */
  .header-right {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    flex-shrink: 0;     /* burger cannot be squeezed off-screen */
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .btn-find-events.desktop-only {
    display: none;
  }

  .hero {
    margin-top: var(--header-height-mobile);
    min-height: calc(100vh - var(--header-height-mobile));
  }

  /* Use portrait video on mobile */
  .hero-video--desktop {
    display: none;
  }
  .hero-video--mobile {
    display: block;
  }

  .hero-audio-toggle {
    top: calc(var(--header-height-mobile) + 10px);
    right: 12px;
    width: 36px;
    height: 36px;
  }

  /* Mobile bottom Show Dates bar */
  .find-events-fixed {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1300;
    padding: 10px 16px 14px;
    background: linear-gradient(
      to top,
      rgba(0, 0, 0, 0.95),
      rgba(0, 0, 0, 0)
    );
    display: flex;
    justify-content: center;
  }

  .find-events-fixed .btn-find-events {
    width: 100%;
    max-width: 360px;
    text-align: center;
  }

  :root {
    --side-menu-width: 85vw;
  }

  .main-content {
    margin-top: var(--header-height-mobile);
    padding-top: 80px;
  }

  .home-section {
    padding: 56px 16px;
  }
  /* Video page: make sure hero clears the header */
  .hero--video-page {
    margin-top: var(--header-height-mobile);
  }
}


/* Desktop: hide the mobile bar */
.find-events-fixed {
  display: none;
}
