/* assets/css/styles.css: Inflation Entertainment Complex */

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

:root {
  --black: #0a0a0a;
  --white: #f5f5f0;
  --pure-white: #ffffff;
  --mid-gray: #888;
  --border: rgba(255,255,255,0.12);
  --accent-basement: #c41e3a;
  --accent-cafe: #c8961a;
  --accent-main: #1a6bff;
  --accent-topyard: #5db800;
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ---- NAV ---- */
#main-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3rem;
  height: 70px;
  background: var(--black);
  border-bottom: 0.5px solid var(--border);
}
#main-nav .nav-logo img {
  height: 32px;
  opacity: 0.9;
  filter: brightness(10);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  list-style: none;
}
.nav-links a,
.nav-dropdown-toggle {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245,245,240,0.75);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-dropdown-toggle:hover { color: var(--white); }
.nav-links .active > a,
.nav-links .active > button { color: var(--white); }
.nav-chevron { font-size: 12px; margin-left: 3px; display: inline-block; transition: transform 0.2s; }
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(10,10,10,0.98);
  border: 0.5px solid var(--border);
  min-width: 180px;
  list-style: none;
  padding: 0.5rem 0;
  z-index: 210;
}
.nav-dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: rgba(245,245,240,0.65);
  white-space: nowrap;
}
.nav-dropdown-menu li a:hover { color: var(--white); background: rgba(255,255,255,0.04); }
.nav-dropdown.open .nav-dropdown-menu { display: block; }
.nav-dropdown.open .nav-chevron { transform: rotate(180deg); }
.nav-cta {
  background: var(--white) !important;
  color: var(--black) !important;
  padding: 8px 20px !important;
  font-weight: 500 !important;
  letter-spacing: 0.1em !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: #ccc !important; color: var(--black) !important; }

/* tablet: hide gallery from inline nav */
@media (max-width: 1279px) {
  .nav-hide-tablet { display: none !important; }
  #main-nav { padding: 0 2rem; }
  .nav-links { gap: 1.4rem; }
  .nav-links a, .nav-dropdown-toggle { font-size: 12px; }
}

/* hamburger button */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 210;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* mobile full-screen menu */
.nav-mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 190;
  background: rgba(10,10,10,0.98);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 2rem 2rem;
  overflow-y: auto;
}
.nav-mobile-menu.open { display: flex; }
.nav-mobile-menu a {
  font-family: var(--font-display);
  font-size: clamp(32px, 8vw, 52px);
  letter-spacing: 0.06em;
  color: rgba(245,245,240,0.7);
  text-decoration: none;
  padding: 0.5rem 0;
  border-bottom: 0.5px solid var(--border);
  width: 100%;
  text-align: center;
  transition: color 0.2s;
}
.nav-mobile-menu a:hover { color: var(--white); }
.nav-mobile-menu a:last-child { border-bottom: none; }
.nav-mobile-cta {
  margin-top: 2rem !important;
  background: var(--white);
  color: var(--black) !important;
  font-family: var(--font-body) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  letter-spacing: 0.14em !important;
  padding: 16px 48px !important;
  border-bottom: none !important;
  width: auto !important;
}

/* ---- HERO ---- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 70px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 40%;
  filter: grayscale(100%) brightness(0.35);
  transform: scale(1.04);
  transition: transform 8s ease;
}
.hero-bg.loaded { transform: scale(1); }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,10,10,0.1) 0%, rgba(10,10,10,0.05) 50%, rgba(10,10,10,0.8) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 1.5rem;
}
.hero-content img {
  width: 320px;
  max-width: 70vw;
  margin-bottom: 1.8rem;
  filter: brightness(10);
  opacity: 0.95;
}
.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(16px, 3vw, 22px);
  letter-spacing: 0.35em;
  color: rgba(245,245,240,0.55);
  text-transform: uppercase;
  margin-bottom: 2.5rem;
}
.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-primary {
  background: var(--white);
  color: var(--black);
  padding: 14px 36px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  display: inline-block;
}
.btn-primary:hover { background: #ccc; }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(245,245,240,0.4);
  padding: 14px 36px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  display: inline-block;
  transition: border-color 0.2s, color 0.2s;
}
.btn-outline:hover { border-color: var(--white); color: var(--white); }
.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.4;
  z-index: 2;
}
.hero-scroll span { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; }
.scroll-line {
  width: 1px;
  height: 40px;
  background: var(--white);
  animation: scrollpulse 2s ease-in-out infinite;
}
@keyframes scrollpulse {
  0%,100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* ---- SECTION LABEL ---- */
.section-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--mid-gray);
  margin-bottom: 0.6rem;
}

/* ---- ABOUT STRIP ---- */
.about-strip {
  background: var(--pure-white);
  color: var(--black);
  padding: 5rem 3rem;
  display: flex;
  align-items: center;
  gap: 5rem;
  flex-wrap: wrap;
}
.about-stat { min-width: 140px; text-align: center; }
.about-stat .stat-number {
  font-family: var(--font-display);
  font-size: 72px;
  line-height: 1;
  color: var(--black);
}
.about-stat .stat-label {
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #666;
  margin-top: 4px;
}
.about-divider { width: 1px; height: 80px; background: #ddd; }
.about-copy { flex: 1; min-width: 280px; }
.about-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  letter-spacing: 0.04em;
  line-height: 1.05;
  margin-bottom: 1rem;
  color: var(--black);
}
.about-copy p { font-size: 16px; font-weight: 300; line-height: 1.75; color: #444; max-width: 520px; }

/* ---- LEVELS ---- */
.levels-intro { padding: 6rem 3rem 3rem; text-align: center; }
.levels-intro h2 {
  font-family: var(--font-display);
  font-size: clamp(48px, 8vw, 96px);
  letter-spacing: 0.06em;
  line-height: 1;
  color: var(--white);
}
.levels-intro p {
  margin: 1.5rem auto 0;
  max-width: 480px;
  color: var(--mid-gray);
  font-weight: 300;
  font-size: 16px;
}
.level-block { display: grid; grid-template-columns: 1fr 1fr; min-height: 520px; }
.level-block.reverse { direction: rtl; }
.level-block.reverse > * { direction: ltr; }
.level-img { position: relative; overflow: hidden; background: #111; }
.level-img img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  filter: grayscale(100%) brightness(0.75);
  transition: filter 0.5s ease, transform 0.5s ease;
  display: block;
}
.level-block:hover .level-img img { filter: grayscale(60%) brightness(0.85); transform: scale(1.02); }
.level-accent-bar { position: absolute; bottom: 0; left: 0; width: 100%; height: 4px; }
.level-content {
  display: flex; flex-direction: column; justify-content: center;
  padding: 4rem 5rem;
  background: var(--black);
  border-bottom: 0.5px solid var(--border);
  position: relative;
}
.level-number {
  font-family: var(--font-display);
  font-size: 100px;
  line-height: 1;
  opacity: 0.06;
  position: absolute;
  right: 4rem; top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}
.level-content-inner { position: relative; }
.level-content h3 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  letter-spacing: 0.04em;
  line-height: 1.05;
  margin-bottom: 1.2rem;
  color: var(--white);
}
.level-tag {
  display: inline-block;
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  padding: 5px 12px;
  margin-bottom: 1.4rem;
  color: var(--black);
}
.level-content p {
  font-size: 15px; font-weight: 300; line-height: 1.75;
  color: rgba(245,245,240,0.6);
  max-width: 380px; margin-bottom: 1.5rem;
}
.level-capacity {
  font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--mid-gray);
  padding-top: 1.5rem;
  border-top: 0.5px solid var(--border);
}
.level-capacity strong { color: var(--white); font-weight: 500; }

/* ---- WHAT'S ON ---- */
.whats-on { padding: 7rem 3rem; background: #0e0e0e; }
.whats-on-header {
  display: flex; align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3rem;
  flex-wrap: wrap; gap: 1rem;
}
.whats-on-header h2 {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 72px);
  letter-spacing: 0.04em;
  color: var(--white);
}
.events-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5px; }
.event-card {
  background: #111; padding: 2.2rem 2rem;
  border-bottom: 0.5px solid var(--border);
  cursor: pointer;
  transition: background 0.2s;
  position: relative; overflow: hidden;
}
.event-card:hover { background: #161616; }
.event-card::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 3px; height: 100%;
}
.event-date { font-family: var(--font-display); font-size: 42px; line-height: 1; color: var(--white); margin-bottom: 0.3rem; }
.event-month { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--mid-gray); margin-bottom: 1.2rem; }
.event-title { font-size: 18px; font-weight: 500; color: var(--white); margin-bottom: 0.5rem; line-height: 1.3; }
.event-venue { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mid-gray); }
.event-tickets {
  display: inline-block; margin-top: 1.4rem;
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--white); text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(245,245,240,0.3);
}
.event-tickets:hover { border-bottom-color: var(--white); }

/* ---- GALLERY ---- */
.gallery-section { padding: 7rem 3rem; }
.gallery-section h2 {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 72px);
  letter-spacing: 0.04em;
  color: var(--white);
  margin-bottom: 3rem;
}
.masonry-grid { columns: 4; column-gap: 4px; }
.masonry-item { break-inside: avoid; margin-bottom: 4px; overflow: hidden; cursor: pointer; position: relative; }
.masonry-item img {
  width: 100%; display: block;
  filter: grayscale(100%) brightness(0.8);
  transition: filter 0.4s ease, transform 0.4s ease;
}
.masonry-item:hover img { filter: grayscale(30%) brightness(1); transform: scale(1.03); }
.masonry-item .overlay {
  position: absolute; inset: 0;
  background: rgba(10,10,10,0);
  transition: background 0.3s;
  display: flex; align-items: flex-end; padding: 1.2rem;
}
.masonry-item:hover .overlay { background: rgba(10,10,10,0.3); }
.overlay-label {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--white); opacity: 0; transition: opacity 0.3s;
}
.masonry-item:hover .overlay-label { opacity: 1; }
.gallery-more { text-align: center; margin-top: 3rem; }
.gallery-empty { color: var(--mid-gray); font-size: 14px; padding: 2rem 0; }

/* ---- TOPYARD ---- */
.topyard-section {
  background: #080808; padding: 8rem 3rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 6rem;
  align-items: center;
  border-top: 0.5px solid var(--border);
}
.topyard-img-wrap { position: relative; overflow: hidden; }
.topyard-img-wrap img.venue-img {
  width: 100%; aspect-ratio: 4/3;
  object-fit: cover;
  filter: grayscale(100%) brightness(0.7);
  display: block;
}
.topyard-badge { position: absolute; bottom: 1.5rem; right: 1.5rem; }
.topyard-badge img { height: 80px; filter: brightness(10); opacity: 0.9; }
.topyard-content .section-label { color: var(--accent-topyard); }
.topyard-content h2 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  letter-spacing: 0.04em; line-height: 1.05;
  color: var(--white); margin-bottom: 1.4rem;
}
.topyard-content p {
  font-size: 15px; font-weight: 300; line-height: 1.8;
  color: rgba(245,245,240,0.55);
  margin-bottom: 2rem; max-width: 420px;
}
.topyard-details {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
  margin-bottom: 2.5rem;
  padding: 1.8rem 0;
  border-top: 0.5px solid var(--border);
  border-bottom: 0.5px solid var(--border);
}
.td-item .td-label { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mid-gray); margin-bottom: 4px; }
.td-item .td-val { font-size: 14px; color: var(--white); font-weight: 300; }
.btn-topyard {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent-topyard); color: var(--black);
  padding: 14px 32px;
  font-size: 13px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s;
}
.btn-topyard:hover { background: #74d900; }
.btn-topyard svg { width: 14px; height: 14px; }

/* ---- FUNCTIONS CTA ---- */
.functions-cta {
  background: var(--pure-white); color: var(--black);
  padding: 7rem 3rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center;
}
.functions-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 72px);
  letter-spacing: 0.04em; line-height: 1.05;
  color: var(--black);
}
.functions-cta .section-label { color: #999; }
.functions-right p { font-size: 15px; font-weight: 300; line-height: 1.8; color: #555; margin-bottom: 2rem; }
.capacity-pills { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.cpill { background: #f0f0f0; color: #333; font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; padding: 7px 14px; }
.btn-dark {
  background: var(--black); color: var(--white);
  padding: 14px 36px;
  font-size: 13px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none; display: inline-block;
  transition: background 0.2s;
}
.btn-dark:hover { background: #222; }

/* ---- CONTACT STRIP ---- */
.contact-strip {
  background: var(--black);
  border-top: 0.5px solid var(--border);
  padding: 4rem 3rem;
  display: flex; align-items: center;
  justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
}
.contact-strip .contact-label { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--mid-gray); margin-bottom: 6px; }
.contact-strip .contact-val { font-size: 20px; font-weight: 300; color: var(--white); }
.contact-strip .contact-val a { color: var(--white); text-decoration: none; }

/* ---- FOOTER ---- */
footer {
  background: #050505;
  border-top: 0.5px solid var(--border);
  padding: 3.5rem 3rem 2rem;
}
.footer-top {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 0.5px solid var(--border);
}
.footer-brand img { height: 28px; filter: brightness(10); opacity: 0.5; margin-bottom: 1rem; display: block; }
.footer-brand p { font-size: 13px; font-weight: 300; line-height: 1.7; color: rgba(245,245,240,0.3); max-width: 220px; }
.footer-col h4 { font-size: 11px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--mid-gray); margin-bottom: 1rem; }
.footer-col a { display: block; font-size: 13px; color: rgba(245,245,240,0.35); text-decoration: none; padding: 3px 0; transition: color 0.2s; }
.footer-col a:hover { color: rgba(245,245,240,0.8); }
.footer-social { display: flex; gap: 0.8rem; margin-top: 1.2rem; }
.footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border: 0.5px solid var(--border);
  color: rgba(245,245,240,0.4);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.footer-social a:hover { border-color: rgba(245,245,240,0.5); color: var(--white); }
.footer-social a svg { width: 16px; height: 16px; fill: currentColor; stroke: none; }
.footer-social a svg[fill="none"] { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.footer-bottom {
  display: flex; align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem 2rem;
  padding-top: 1.8rem;
}
.footer-bottom p { font-size: 11px; color: rgba(245,245,240,0.2); letter-spacing: 0.05em; }
.footer-legal { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-legal a { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(245,245,240,0.2); text-decoration: none; transition: color 0.2s; }
.footer-legal a:hover { color: rgba(245,245,240,0.6); }
.footer-credit { font-size: 11px; color: rgba(245,245,240,0.15); letter-spacing: 0.04em; }
.footer-credit a { color: rgba(245,245,240,0.25); text-decoration: none; transition: color 0.2s; }
.footer-credit a:hover { color: rgba(245,245,240,0.6); }

/* ---- JAVACHAT FAB ---- */
.javachat-fab {
  position: fixed; bottom: 2rem; right: 2rem;
  z-index: 300; width: 56px; height: 56px;
  background: var(--white); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 24px rgba(0,0,0,0.5);
  border: none;
  transition: transform 0.2s ease, background 0.2s;
}
.javachat-fab:hover { transform: scale(1.08); background: #e0e0db; }
.javachat-fab svg { width: 24px; height: 24px; fill: var(--black); }
.javachat-tooltip {
  position: fixed; bottom: 6rem; right: 2rem;
  background: rgba(10,10,10,0.92);
  border: 0.5px solid var(--border);
  color: var(--white);
  font-size: 12px; letter-spacing: 0.06em;
  padding: 8px 14px; white-space: nowrap;
  opacity: 0; pointer-events: none;
  transition: opacity 0.2s; z-index: 300;
}
.javachat-fab:hover + .javachat-tooltip { opacity: 1; }

/* ---- PAGE HEADER (inner pages) ---- */
.page-header {
  padding: 8rem 3rem 4rem;
  background: var(--black);
  border-bottom: 0.5px solid var(--border);
  margin-top: 70px;
}
.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(48px, 8vw, 96px);
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--white);
}
.page-body { padding: 4rem 3rem; }
.functions-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
  max-width: 1200px;
}
.fn-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
  max-width: 1100px;
}

/* ---- 404 ---- */
.error-page {
  min-height: calc(100vh - 70px);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: 3rem;
  margin-top: 70px;
}
.error-page h1 { font-family: var(--font-display); font-size: clamp(80px, 15vw, 180px); line-height: 1; color: rgba(245,245,240,0.07); margin-bottom: -1rem; }
.error-page h2 { font-family: var(--font-display); font-size: clamp(28px, 5vw, 48px); letter-spacing: 0.06em; color: var(--white); margin-bottom: 1rem; }
.error-page p { color: var(--mid-gray); font-weight: 300; margin-bottom: 2rem; max-width: 480px; }
.error-countdown { font-family: var(--font-display); font-size: 72px; color: rgba(245,245,240,0.12); line-height: 1; margin-bottom: 2rem; }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  #main-nav { padding: 0 1.5rem; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .level-block, .level-block.reverse { grid-template-columns: 1fr; direction: ltr; }
  .level-block.reverse .level-img { order: -1; }
  .level-content { padding: 3rem 1.5rem; }
  .level-img { min-height: 280px; }
  .topyard-section, .functions-cta { grid-template-columns: 1fr; gap: 3rem; padding: 4rem 1.5rem; }
  .about-strip { flex-direction: column; align-items: flex-start; gap: 2rem; padding: 3.5rem 1.5rem; }
  .about-divider { display: none; }
  .masonry-grid { columns: 2; }
  .contact-strip { flex-direction: column; align-items: flex-start; padding: 3rem 1.5rem; }
  .whats-on, .gallery-section { padding: 4rem 1.5rem; }
  .levels-intro { padding: 4rem 1.5rem 2rem; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-legal { gap: 1rem; }
  .javachat-fab { bottom: 1.2rem; right: 1.2rem; width: 50px; height: 50px; }
  .javachat-tooltip { display: none; }
  .page-header { padding: 5rem 1.5rem 3rem; }
  .page-body { padding: 3rem 1.5rem; }
  .functions-layout { grid-template-columns: 1fr; gap: 3rem; }
  .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
}
@media (max-width: 480px) {
  .masonry-grid { columns: 1; }
  .hero-content img { width: 220px; }
  .about-stat .stat-number { font-size: 52px; }
  .events-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; align-items: center; }
  .fn-grid-2 { grid-template-columns: 1fr; }
}

/* Functions form: ensure occasion select + its dropdown options are legible on the dark theme */
select[name="occasion_type"] { background: #000; color: var(--white); }
select[name="occasion_type"] option { background: #000; color: var(--white); }
