/*
Theme Name: Haaks Magudzumela
Theme URI: https://magudzumela.co.za
Author: Bonez Booth World
Description: Official website for Haaks Magudzumela — the movement from the streets of Pitori.
Version: 2.0
Text Domain: magudzumela
*/

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

:root {
  --orange:  #F5901E;
  --orange2: #FFB347;
  --black:   #0A0A0A;
  --dark:    #111111;
  --dark2:   #1A1A1A;
  --dark3:   #222222;
  --white:   #FFFFFF;
  --cream:   #F5F0E8;
  --gray:    #F0F0F0;
  --muted:   #888888;
  --green:   #2E7D32;
  --green2:  #43A047;
  --gold:    #D4AF37;
  --radius:  12px;
  --shadow:  0 4px 24px rgba(0,0,0,0.15);
  --shadow-dark: 0 8px 40px rgba(0,0,0,0.5);
}

html { scroll-behavior: smooth; }
body { font-family: 'Segoe UI', system-ui, sans-serif; color: var(--dark); background: var(--white); line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange); text-decoration: none; }
a:hover { color: var(--orange2); }

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section-dark { background: var(--dark); }
.section-black { background: var(--black); }
.section-cream { background: var(--cream); }
.section-alt { background: var(--gray); }

/* ── TYPOGRAPHY ──────────────────────────────────────────────────────────── */
.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.label-orange { background: rgba(245,144,30,0.15); color: var(--orange); border: 1px solid rgba(245,144,30,0.3); }
.label-white  { background: rgba(255,255,255,0.1); color: var(--white); border: 1px solid rgba(255,255,255,0.2); }
.label-black  { background: rgba(0,0,0,0.08); color: var(--dark); border: 1px solid rgba(0,0,0,0.12); }

.section-title { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 900; line-height: 1.15; margin-bottom: 16px; }
.section-title .orange { color: var(--orange); }
.section-title .white  { color: var(--white); }
.section-subtitle { font-size: 1rem; color: var(--muted); max-width: 580px; margin-bottom: 48px; line-height: 1.7; }
.section-subtitle.light { color: #aaa; }

/* ── BUTTONS ──────────────────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: var(--radius); font-weight: 700; font-size: 0.95rem; cursor: pointer; border: none; transition: all 0.2s; text-decoration: none; }
.btn-orange { background: var(--orange); color: var(--white); }
.btn-orange:hover { background: var(--orange2); color: var(--white); transform: translateY(-2px); }
.btn-white { background: var(--white); color: var(--dark); }
.btn-white:hover { background: var(--cream); transform: translateY(-2px); }
.btn-outline-white { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-outline-white:hover { background: var(--white); color: var(--dark); }
.btn-outline-orange { background: transparent; color: var(--orange); border: 2px solid var(--orange); }
.btn-outline-orange:hover { background: var(--orange); color: var(--white); }
.btn-black { background: var(--black); color: var(--white); }
.btn-black:hover { background: var(--dark2); transform: translateY(-2px); }
.btn-green { background: var(--green); color: var(--white); }
.btn-green:hover { background: var(--green2); transform: translateY(-2px); }

/* ── NAVBAR ───────────────────────────────────────────────────────────────── */
.navbar { position: sticky; top: 0; z-index: 1000; background: var(--black); border-bottom: 2px solid var(--orange); }
.navbar-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; padding: 0 24px; max-width: 1160px; margin: 0 auto; }
.navbar-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-sub  { font-size: 0.65rem; color: var(--orange); letter-spacing: 3px; text-transform: uppercase; font-weight: 800; }
.brand-main { font-size: 1.25rem; color: var(--white); font-weight: 900; letter-spacing: 1px; text-transform: uppercase; }
.navbar-nav { display: flex; align-items: center; gap: 2px; list-style: none; }
.navbar-nav a { display: block; padding: 8px 14px; color: #ccc; font-size: 0.875rem; font-weight: 600; border-radius: 8px; transition: all 0.2s; text-decoration: none; }
.navbar-nav a:hover, .navbar-nav a.active { color: var(--orange); background: rgba(245,144,30,0.1); }
.navbar-cta { background: var(--orange) !important; color: var(--white) !important; padding: 8px 18px !important; }
.navbar-cta:hover { background: var(--orange2) !important; color: var(--white) !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--orange); border-radius: 2px; }

/* ── HERO ─────────────────────────────────────────────────────────────────── */
.hero { background: var(--black); min-height: 95vh; display: flex; align-items: center; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 30% 50%, rgba(245,144,30,0.06) 0%, transparent 60%), radial-gradient(ellipse at 80% 20%, rgba(245,144,30,0.04) 0%, transparent 50%); }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: 60px 24px; max-width: 1160px; margin: 0 auto; width: 100%; }
.hero-title { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 900; color: var(--white); line-height: 1.1; margin-bottom: 12px; }
.hero-title .orange { color: var(--orange); }
.hero-tagline { font-size: 1.1rem; font-weight: 700; color: var(--orange); margin-bottom: 20px; font-style: italic; letter-spacing: 1px; }
.hero-desc { font-size: 1rem; color: #aaa; margin-bottom: 36px; line-height: 1.8; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats { display: flex; gap: 36px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,0.08); padding-top: 32px; }
.hero-stat-num { font-size: 1.8rem; font-weight: 900; color: var(--orange); line-height: 1; }
.hero-stat-label { font-size: 0.72rem; color: #666; text-transform: uppercase; letter-spacing: 1px; margin-top: 2px; }

/* Hero visual */
.hero-visual { display: flex; justify-content: center; position: relative; }
.hero-img-frame { position: relative; width: 100%; max-width: 420px; }
.hero-img-frame img { width: 100%; border-radius: 20px; box-shadow: var(--shadow-dark); border: 2px solid rgba(245,144,30,0.2); object-fit: cover; max-height: 520px; }
.hero-img-placeholder { width: 100%; height: 480px; background: var(--dark2); border-radius: 20px; border: 2px dashed rgba(245,144,30,0.3); display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 12px; color: rgba(245,144,30,0.5); font-size: 0.85rem; }

/* ── PAGE HERO ────────────────────────────────────────────────────────────── */
.page-hero { background: var(--black); padding: 88px 0 72px; text-align: center; border-bottom: 2px solid rgba(245,144,30,0.2); }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 900; color: var(--white); margin-bottom: 16px; }
.page-hero h1 .orange { color: var(--orange); }
.page-hero p { color: #aaa; font-size: 1.05rem; max-width: 580px; margin: 0 auto; }

/* ── CARDS ────────────────────────────────────────────────────────────────── */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
.card { background: var(--white); border-radius: var(--radius); padding: 32px 28px; box-shadow: var(--shadow); border: 1px solid #eee; transition: transform 0.2s, box-shadow 0.2s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.12); }
.card-dark { background: var(--dark2); border-color: rgba(255,255,255,0.06); }
.card-icon { width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 18px; }
.card-icon-orange { background: rgba(245,144,30,0.15); }
.card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.card p { font-size: 0.9rem; color: var(--muted); line-height: 1.6; }
.card-dark h3 { color: var(--white); }
.card-dark p { color: #888; }

/* ── PHOTO GRID ───────────────────────────────────────────────────────────── */
.photo-grid { display: grid; gap: 16px; }
.photo-grid-2 { grid-template-columns: 1fr 1fr; }
.photo-grid-3 { grid-template-columns: repeat(3, 1fr); }
.photo-grid-4 { grid-template-columns: repeat(4, 1fr); }
.photo-item { border-radius: var(--radius); overflow: hidden; position: relative; background: var(--dark2); }
.photo-item img { width: 100%; height: 300px; object-fit: cover; transition: transform 0.3s; }
.photo-item:hover img { transform: scale(1.04); }
.photo-placeholder { width: 100%; height: 300px; background: var(--dark2); border: 2px dashed rgba(245,144,30,0.25); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 8px; color: rgba(245,144,30,0.4); font-size: 0.8rem; text-align: center; padding: 20px; }
.photo-caption { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(0,0,0,0.8)); padding: 20px 16px 14px; color: var(--white); font-size: 0.85rem; font-weight: 600; }

/* ── TRIBUTE ──────────────────────────────────────────────────────────────── */
.tribute-banner { background: linear-gradient(135deg, #1a0a00, #2a1000); border: 1px solid rgba(245,144,30,0.3); border-radius: 16px; padding: 40px; display: flex; gap: 32px; align-items: center; }
.tribute-photo { width: 160px; height: 160px; border-radius: 50%; object-fit: cover; border: 3px solid var(--orange); flex-shrink: 0; }
.tribute-photo-placeholder { width: 160px; height: 160px; border-radius: 50%; border: 3px solid var(--orange); flex-shrink: 0; background: var(--dark2); display: flex; align-items: center; justify-content: center; font-size: 3rem; }
.tribute-content h2 { font-size: 1.6rem; font-weight: 900; color: var(--white); margin-bottom: 4px; }
.tribute-content .dates { color: var(--orange); font-size: 0.9rem; font-weight: 600; margin-bottom: 12px; }
.tribute-content p { color: #aaa; line-height: 1.8; font-size: 0.95rem; }
.tribute-content .quote { color: var(--orange); font-style: italic; font-weight: 700; margin-top: 12px; font-size: 1rem; }

/* ── APPAREL ──────────────────────────────────────────────────────────────── */
.apparel-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.apparel-item { border-radius: 16px; overflow: hidden; background: var(--dark2); border: 1px solid rgba(255,255,255,0.06); transition: transform 0.2s; }
.apparel-item:hover { transform: translateY(-4px); }
.apparel-item img { width: 100%; height: 320px; object-fit: cover; }
.apparel-item-info { padding: 20px; }
.apparel-item-info h3 { color: var(--white); font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.apparel-item-info p { color: #888; font-size: 0.85rem; }
.apparel-badge { display: inline-block; background: var(--orange); color: var(--white); font-size: 0.7rem; font-weight: 700; padding: 3px 10px; border-radius: 10px; margin-top: 8px; }

/* ── EVENTS ───────────────────────────────────────────────────────────────── */
.event-card { background: var(--white); border-radius: var(--radius); padding: 28px; border-left: 4px solid var(--orange); box-shadow: var(--shadow); margin-bottom: 20px; display: flex; gap: 24px; align-items: flex-start; }
.event-date { text-align: center; min-width: 60px; }
.event-date-day { font-size: 2rem; font-weight: 900; color: var(--orange); line-height: 1; }
.event-date-month { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); }
.event-info h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 6px; }
.event-info p { color: var(--muted); font-size: 0.875rem; }
.event-tag { display: inline-block; background: rgba(245,144,30,0.1); color: var(--orange); font-size: 0.72rem; font-weight: 700; padding: 3px 10px; border-radius: 10px; margin-top: 8px; }

/* ── CONTACT FORM ─────────────────────────────────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.875rem; font-weight: 600; margin-bottom: 6px; }
.form-control { width: 100%; padding: 13px 16px; border: 1.5px solid #e0e0e0; border-radius: var(--radius); font-size: 0.95rem; font-family: inherit; transition: border-color 0.2s; background: var(--white); }
.form-control:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(245,144,30,0.1); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-hint { font-size: 0.78rem; color: var(--muted); margin-top: 4px; }
.form-submit { width: 100%; padding: 16px; background: var(--orange); color: var(--white); border: none; border-radius: var(--radius); font-size: 1rem; font-weight: 800; cursor: pointer; font-family: inherit; transition: all 0.2s; margin-top: 8px; }
.form-submit:hover { background: var(--orange2); transform: translateY(-1px); }
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.alert { padding: 14px 18px; border-radius: var(--radius); font-size: 0.9rem; margin-bottom: 16px; }
.alert-success { background: rgba(46,125,50,0.1); color: var(--green); border: 1px solid rgba(46,125,50,0.3); }
.alert-error { background: rgba(198,40,40,0.08); color: #c62828; border: 1px solid rgba(198,40,40,0.2); }

/* ── SOCIAL PROOF BAR ─────────────────────────────────────────────────────── */
.social-bar { background: var(--dark2); border-top: 1px solid rgba(245,144,30,0.15); border-bottom: 1px solid rgba(245,144,30,0.15); padding: 36px 0; }
.social-bar-inner { display: flex; justify-content: center; gap: 64px; flex-wrap: wrap; }
.social-stat-num { font-size: 2rem; font-weight: 900; color: var(--orange); line-height: 1; }
.social-stat-label { font-size: 0.72rem; color: #666; text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; }

/* ── FOOTER ───────────────────────────────────────────────────────────────── */
.footer { background: var(--black); border-top: 2px solid rgba(245,144,30,0.2); padding: 60px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand-sub  { font-size: 0.65rem; color: var(--orange); letter-spacing: 3px; text-transform: uppercase; font-weight: 800; margin-bottom: 2px; }
.footer-brand-name { font-size: 1.3rem; color: var(--white); font-weight: 900; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 14px; }
.footer-brand-desc { font-size: 0.875rem; color: #666; line-height: 1.7; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,0.06); display: flex; align-items: center; justify-content: center; font-size: 1rem; color: #888; text-decoration: none; transition: all 0.2s; }
.footer-social a:hover { background: var(--orange); color: var(--white); }
.footer-col h4 { font-size: 0.8rem; font-weight: 700; color: var(--orange); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 0.875rem; color: #666; text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--orange); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 0.8rem; color: #444; }

/* ── WHATSAPP FLOAT ───────────────────────────────────────────────────────── */
.wa-float { position: fixed; bottom: 28px; right: 28px; z-index: 9999; width: 60px; height: 60px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(37,211,102,0.4); text-decoration: none; transition: all 0.3s; animation: wa-pulse 2.5s infinite; }
.wa-float:hover { transform: scale(1.12); }
.wa-float svg { width: 30px; height: 30px; fill: white; }
@keyframes wa-pulse { 0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); } 50% { box-shadow: 0 4px 28px rgba(37,211,102,0.7), 0 0 0 8px rgba(37,211,102,0.1); } }

/* ── RESPONSIVE ───────────────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .photo-grid-3, .photo-grid-4 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .tribute-banner { flex-direction: column; text-align: center; }
}
@media (max-width: 640px) {
  .section { padding: 60px 0; }
  .navbar-nav { display: none; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: var(--black); padding: 16px; border-bottom: 1px solid rgba(245,144,30,0.2); }
  .navbar-nav.open { display: flex; }
  .hamburger { display: flex; }
  .photo-grid-2, .photo-grid-3, .photo-grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .social-bar-inner { gap: 32px; }
  .tribute-banner { padding: 24px; }
}

/* ── HERO (mgdz v5) ──────────────────────────────────────────────────────── */
.mgdz-hero-section {
  position: relative;
  width: 100%;
  height: 62vh;
  min-height: 340px;
  max-height: 580px;
  overflow: hidden;
  background: var(--black);
}

/* Hero image switcher */
.mgdz-hero-switcher {
  position: absolute;
  inset: 0;
}

.mgdz-hero-img {
  position: absolute;
  inset: 0;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--black);
  opacity: 0;
  transition: opacity 0.9s ease;
}

.mgdz-hero-img-active {
  opacity: 1;
}

/* Wipe exit — slides out left */
.mgdz-exit-wipe {
  animation: heroWipeOut 0.9s ease forwards;
}

@keyframes heroWipeOut {
  0%   { clip-path: inset(0 0 0 0); opacity: 1; }
  100% { clip-path: inset(0 100% 0 0); opacity: 1; }
}

/* Dissolve exit — fades out */
.mgdz-exit-dissolve {
  animation: heroDissolve 0.9s ease forwards;
}

@keyframes heroDissolve {
  0%   { opacity: 1; filter: blur(0px); }
  100% { opacity: 0; filter: blur(6px); }
}

/* Placeholder */
.mgdz-hero-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  color: rgba(245,144,30,0.4);
  font-size: 0.85rem;
}
.mgdz-hero-placeholder span { font-size: 3rem; }
.mgdz-hero-placeholder code {
  background: rgba(245,144,30,0.08);
  color: var(--orange);
  padding: 2px 8px;
  border-radius: 4px;
}

/* Buttons — sit below hero, not overlaid */
.mgdz-hero-btns-wrap {
  background: var(--black);
  display: flex;
  justify-content: center;
  gap: 16px;
  padding: 24px 20px;
  flex-wrap: wrap;
}

.mgdz-btn {
  padding: 15px 32px;
  font-weight: 800;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  transition: all 0.25s ease;
  border-radius: 6px;
  display: inline-block;
  white-space: nowrap;
  backdrop-filter: blur(4px);
}

.mgdz-btn-main { background-color: var(--orange); color: var(--white); }
.mgdz-btn-main:hover { background-color: var(--orange2); color: var(--white); transform: translateY(-2px); }
.mgdz-btn-alt  { border: 2px solid rgba(255,255,255,0.7); color: var(--white); background: rgba(0,0,0,0.3); }
.mgdz-btn-alt:hover { border-color: var(--white); background: var(--white); color: var(--dark); transform: translateY(-2px); }

/* ── FILM STRIP ───────────────────────────────────────────────────────────── */
.mgdz-film-strip-wrap {
  background: var(--black);
  padding: 0;
  overflow: hidden;
  width: 100%;
}

.mgdz-film-strip {
  position: relative;
  background: #1a1a1a;
  overflow: hidden;
}

/* Sprocket holes */
.mgdz-sprockets {
  display: flex;
  gap: 0;
  padding: 4px 0;
  background: #1a1a1a;
  overflow: hidden;
  height: 18px;
  align-items: center;
}

.mgdz-sprocket {
  flex-shrink: 0;
  width: 22px;
  height: 12px;
  background: var(--black);
  border-radius: 2px;
  margin: 0 6px;
}

/* Film track — scrolls left */
.mgdz-film-track {
  display: flex;
  gap: 6px;
  padding: 6px 0;
  will-change: transform;
}

.mgdz-film-cell {
  flex-shrink: 0;
  width: 220px;
  height: 150px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 2px;
  filter: grayscale(20%);
  transition: filter 0.3s;
}

.mgdz-film-cell:hover {
  filter: grayscale(0%);
}

/* ── STATS BAR ────────────────────────────────────────────────────────────── */
.mgdz-stats-bar {
  background: var(--dark2);
  border-top: 1px solid rgba(245,144,30,0.15);
  border-bottom: 1px solid rgba(245,144,30,0.15);
  padding: 20px 24px;
}

.mgdz-stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 20px;
  flex-wrap: wrap;
}

.mgdz-stat-item  { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.mgdz-stat-number { font-size: 1.4rem; font-weight: 900; color: var(--orange); line-height: 1; }
.mgdz-stat-label  { font-size: 0.72rem; color: #666; text-transform: uppercase; letter-spacing: 1px; }
.mgdz-stat-divider { width: 1px; height: 28px; background: rgba(255,255,255,0.08); flex-shrink: 0; }

/* Home section splits */
.home-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.home-split-reverse { grid-template-columns: 1.15fr 0.85fr; }

.home-apparel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.home-apparel-item { border-radius: 10px; overflow: hidden; }
.home-apparel-item img { width: 100%; height: 140px; object-fit: cover; display: block; transition: transform 0.3s; }
.home-apparel-item:hover img { transform: scale(1.04); }
.home-apparel-wide { grid-column: 1 / -1; }
.home-apparel-wide img { height: 200px; }

/* ── RESPONSIVE ───────────────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .mgdz-hero-section   { height: 70vh; min-height: 400px; }
  .mgdz-hero-btns-wrap { bottom: 24px; gap: 12px; }
  .mgdz-film-cell      { width: 160px; height: 110px; }
  .home-split, .home-split-reverse { grid-template-columns: 1fr; gap: 36px; }
  .navbar-nav { display: none; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: var(--black); padding: 16px; border-bottom: 1px solid rgba(245,144,30,0.2); z-index: 999; }
  .navbar-nav.open { display: flex; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-split, .about-split-reverse { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 640px) {
  .mgdz-hero-section   { height: 50vh; min-height: 280px; }
  .mgdz-hero-btns-wrap { padding: 16px 20px; gap: 10px; }
  .mgdz-film-cell      { width: 130px; height: 88px; }
  .mgdz-sprocket       { width: 16px; height: 9px; margin: 0 4px; }
  .mgdz-stats-inner    { gap: 12px; }
  .mgdz-stat-divider   { display: none; }
  .mgdz-stat-number    { font-size: 1.1rem; }
  .section             { padding: 48px 0; }
  .container           { padding: 0 16px; }
  .section-title       { font-size: 1.7rem; }
  .cards-grid          { grid-template-columns: 1fr; gap: 16px; }
  .home-apparel-grid   { grid-template-columns: 1fr; }
  .home-apparel-wide   { grid-column: 1; }
  .home-apparel-item img, .home-apparel-wide img { height: 200px; }
  .footer-grid         { grid-template-columns: 1fr; }
  .footer-bottom       { flex-direction: column; text-align: center; }
  .form-row            { grid-template-columns: 1fr; }
  .about-word-title    { font-size: 1.2rem; }
  .page-hero           { padding: 60px 0 48px; }
  .page-hero h1        { font-size: 1.9rem; }
  .btn                 { padding: 13px 22px; font-size: 0.88rem; }
}

/* ── GALLERY (mgdz v5) ────────────────────────────────────────────────────── */
.glry-count { margin-bottom: 32px; }

.glry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

/* Real image tile */
.glry-tile {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  cursor: pointer;
  background: var(--dark2);
  border: 1px solid rgba(255,255,255,0.05);
}

.glry-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.glry-tile:hover img {
  transform: scale(1.07);
}

.glry-tile-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.1) 55%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 14px;
  gap: 4px;
}

.glry-tile:hover .glry-tile-overlay {
  opacity: 1;
}

.glry-tile-caption {
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.3;
}

.glry-tile-cat {
  color: var(--orange);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.glry-tile-icon {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.glry-tile:hover .glry-tile-icon {
  opacity: 1;
}

/* Placeholder tile */
.glry-placeholder {
  cursor: default;
  border: 1px dashed rgba(245,144,30,0.2);
}

.glry-placeholder-inner {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 16px;
}

.glry-placeholder-icon {
  font-size: 1.6rem;
  opacity: 0.3;
}

.glry-placeholder-text {
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(245,144,30,0.4);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.glry-placeholder-sub {
  font-size: 0.62rem;
  color: rgba(255,255,255,0.15);
  text-align: center;
  line-height: 1.4;
}

/* Upload hint bar */
.glry-hint {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  padding: 18px 22px;
  margin-top: 32px;
}

.glry-hint p {
  font-size: 0.82rem;
  color: #666;
  margin: 0;
  line-height: 1.6;
}

.glry-hint code {
  background: rgba(245,144,30,0.1);
  color: var(--orange);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.78rem;
}

/* Lightbox overlay */
#lb-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.96);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

#lb-overlay.lb-active {
  display: flex;
}

#lb-box {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 92vw;
  max-height: 92vh;
}

#lb-img {
  max-width: 88vw;
  max-height: 80vh;
  border-radius: 10px;
  object-fit: contain;
  display: block;
  transition: opacity 0.25s ease;
}

#lb-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 4px 0;
  gap: 16px;
}

#lb-caption {
  font-size: 0.85rem;
  color: #ccc;
  font-weight: 600;
}

#lb-counter {
  font-size: 0.78rem;
  color: var(--orange);
  font-weight: 700;
  white-space: nowrap;
}

/* Lightbox buttons */
.lb-btn {
  position: absolute;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--white);
  cursor: pointer;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all 0.2s;
  z-index: 2;
}

.lb-btn:hover {
  background: var(--orange);
  border-color: var(--orange);
}

.lb-close { top: -56px; right: 0; }
.lb-prev  { left: -60px; top: 50%; transform: translateY(-50%); }
.lb-next  { right: -60px; top: 50%; transform: translateY(-50%); }

/* Gallery responsive */
@media (max-width: 960px) {
  .glry-grid { grid-template-columns: repeat(3, 1fr); }
  .lb-prev { left: -50px; }
  .lb-next { right: -50px; }
}

@media (max-width: 640px) {
  .glry-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .lb-prev, .lb-next { display: none; }
  #lb-img { max-width: 95vw; max-height: 75vh; }
}

/* ── ABOUT PAGE (mgdz v5) ────────────────────────────────────────────────── */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-split-reverse {
  grid-template-columns: 0.85fr 1.15fr;
}

.about-split-text { }

/* Word definition card */
.about-word-card {
  background: var(--dark2);
  border: 1px solid rgba(245,144,30,0.2);
  border-radius: 16px;
  padding: 36px 32px;
  position: relative;
}

.about-word-title {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--orange);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.about-word-def {
  font-size: 1rem;
  color: #bbb;
  line-height: 1.6;
  margin-bottom: 24px;
}

.about-word-divider {
  width: 100%;
  height: 1px;
  background: rgba(245,144,30,0.15);
  margin-bottom: 24px;
}

.about-word-origin {
  font-size: 0.72rem;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 20px;
}

/* Responsive */
@media (max-width: 900px) {
  .about-split,
  .about-split-reverse {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ── EVENTS PAGE (mgdz v5) ───────────────────────────────────────────────── */
.ev-count { margin-bottom: 28px; }

.ev-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.ev-tile {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(245,144,30,0.15);
  background: var(--dark2);
  transition: transform 0.3s, box-shadow 0.3s;
}

.ev-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.6);
}

.ev-tile img {
  width: 100%;
  height: auto;
  display: block;
}

.ev-tile-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.ev-tile:hover .ev-tile-overlay { opacity: 1; }

.ev-zoom {
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 700;
  background: var(--orange);
  padding: 10px 20px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Empty state */
.ev-empty {
  text-align: center;
  padding: 80px 20px;
}

.ev-empty-icon { font-size: 3rem; margin-bottom: 16px; }
.ev-empty h2   { font-size: 1.6rem; font-weight: 800; margin-bottom: 12px; color: var(--white); }
.ev-empty p    { color: #666; font-size: 0.9rem; line-height: 1.6; }
.ev-empty code {
  background: rgba(245,144,30,0.1);
  color: var(--orange);
  padding: 2px 8px;
  border-radius: 4px;
}

/* Lightbox reuse */
#ev-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.96);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
#ev-overlay.lb-active { display: flex; }

#ev-box {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 92vw;
  max-height: 92vh;
}

#ev-img {
  max-width: 88vw;
  max-height: 82vh;
  border-radius: 10px;
  object-fit: contain;
  display: block;
  transition: opacity 0.25s ease;
}

/* Responsive */
@media (max-width: 960px) {
  .ev-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .ev-grid { grid-template-columns: 1fr; gap: 14px; }
  #ev-img  { max-width: 95vw; max-height: 80vh; }
}

