/* ============================================================
   HYBRIDX CLUB — Dark Warrior Theme
   Brand: Red #FF1A1A | Black #0D0D0D | White #FFFFFF
   ============================================================ */

/* ---- Reset & Base ---- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
:root {
  --red: #dd0000;
  --red-dark: #dd0000;
  --black: #0D0D0D;
  --black-2: #1A1A1A;
  --black-3: #242424;
  --border: #2A2A2A;
  --muted: #666666;
  --muted-light: #999999;
  --white: #FFFFFF;
  --font: 'Inter', 'Segoe UI', Arial, sans-serif;
  --nav-height: 70px;
  --max-width: 1200px;
  --section-pad: 90px 24px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--black);
  color: var(--white);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Utility ---- */
.tag {
  display: inline-block;
  border: 1.5px solid var(--red);
  color: var(--red);
  font-size: 10px;
  letter-spacing: 2.5px;
  padding: 4px 14px;
  text-transform: uppercase;
  font-weight: 500;
}

.section-label {
  color: var(--red);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 12px;
}

.btn-primary {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  padding: 13px 30px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-primary:hover {
  background: var(--red-dark);
}

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--white);
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-outline:hover {
  border-color: var(--red);
  color: var(--red);
}

.btn-outline-red {
  display: inline-block;
  background: transparent;
  color: var(--red);
  padding: 10px 24px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid var(--red);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.btn-outline-red:hover {
  background: var(--red);
  color: var(--white);
}

/* ================================================================
   NAVIGATION
================================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(13, 13, 13, 0.97);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  backdrop-filter: blur(8px);
}

.navbar .container {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 48px;
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  color: var(--white);
}

/* Logo image — place hybridx-logo.png in the same folder as index.html */
.nav-logo-img {
  height: 38px;
  width: auto;
  display: block;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 32px;
  margin-left: auto;
}

.nav-links a {
  font-size: 13px;
  color: var(--muted-light);
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: color 0.2s;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--red);
}

.nav-cta {
  background: var(--red);
  color: var(--white) !important;
  padding: 9px 20px;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 0.5px;
  transition: background 0.2s !important;
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--red-dark) !important;
}

.nav-cta::after {
  display: none !important;
}

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  margin-left: auto;
  padding: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
}

/* ================================================================
   HERO SECTION
================================================================ */
#home {
  padding-top: var(--nav-height);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.hero {
  position: relative;
  height: calc(100vh - var(--nav-height));
  min-height: calc(100vh - var(--nav-height));
  overflow: hidden;

  display: flex;
  align-items: center;

  background: var(--black);
  padding: 80px 0 60px;
}

.hero::before {
  content: 'HX';
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 380px;
  font-weight: 900;
  color: rgba(255, 26, 26, 0.04);
  letter-spacing: -20px;
  pointer-events: none;
  user-select: none;
  z-index: 1;
}

/*.hero .container {*/
/*  position: relative;*/
/*  z-index: 1;*/
/*}*/

.hero-content {
  max-width: 680px;
}

.hero-tag {
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}

.hero h1 .red {
  color: var(--red);
}

.hero p {
  font-size: 16px;
  color: var(--muted-light);
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.75;
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    z-index: 0;
}

.hero-overlay{
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 2;
}

.hero .container{
    position: relative;
    z-index: 3;
}
/* Stats bar */
.stats-bar {
  background: var(--black-2);
  border-top: 1px solid var(--border);
}

.stats-bar .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat-item {
  padding: 28px 24px;
  text-align: center;
  border-right: 1px solid var(--border);
}

.stat-item:last-child {
  border-right: none;
}

.stat-item .number {
  font-size: 36px;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
}

.stat-item .label {
  font-size: 11px;
  color: var(--muted);
  margin-top: 6px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
@media (max-width: 768px) {

    .hero {
        height: 100vh;
    }

    .hero-content {
        text-align: center;
        padding: 0 20px;
    }

    .hero-tag {
        justify-content: center;
    }

    .hero h1 {
        font-size: 2.5rem;
        line-height: 1.1;
    }

    .hero p {
        font-size: 1rem;
        max-width: 100%;
        margin: 15px auto;
    }

    .hero-btns {
        display: flex;
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }

    .hero-btns a {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    .hero h1 br {
        display: none;
    }
}
/* ================================================================
   ABOUT SECTION
================================================================ */
#about {
  padding: var(--section-pad);
  background: var(--black);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-text h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.about-text h2 span {
  color: var(--red);
}

.about-text p {
  color: var(--muted-light);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-values {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.value-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--black-2);
  border-left: 3px solid var(--red);
}

.value-item .v-icon {
  color: var(--red);
  font-size: 18px;
}

.value-item .v-text strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
}

.value-item .v-text span {
  font-size: 12px;
  color: var(--muted);
}

/* Mission Vision Cards */
.mvg-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mvg-card {
  background: var(--black-2);
  border: 1px solid var(--border);
  padding: 28px;
  position: relative;
}

.mvg-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--red);
}

.mvg-card h3 {
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--red);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 12px;
}

.mvg-card p {
  font-size: 14px;
  color: var(--muted-light);
  line-height: 1.75;
}

/* ================================================================
   UPCOMING EVENTS
================================================================ */
#events {
  padding: var(--section-pad);
  background: var(--black-2);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.1;
}

.section-header a {
  font-size: 13px;
  color: var(--red);
  border-bottom: 1px solid var(--red);
  padding-bottom: 2px;
  transition: opacity 0.2s;
}

.section-header a:hover {
  opacity: 0.75;
}

/* Events filter tabs */
.event-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 40px;
}

.event-tab {
  padding: 12px 24px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.2s, border-color 0.2s;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
}

.event-tab:hover {
  color: var(--white);
}

.event-tab.active {
  color: var(--white);
  border-bottom-color: var(--red);
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.event-card {
  background: var(--black);
  border: 1px solid var(--border);
  border-top: 3px solid var(--red);
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, transform 0.2s;
}

.event-card:hover {
  border-color: var(--red);
  transform: translateY(-3px);
}

.event-card-img {
  height: 160px;
  background: var(--black-3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 12px;
  overflow: hidden;
}

.event-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-card-img .img-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--muted);
}

.event-card-img .img-placeholder svg {
  opacity: 0.3;
}

.event-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.event-date-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.event-date-badge .date {
  background: var(--red);
  color: var(--white);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 3px 10px;
  text-transform: uppercase;
}

.event-date-badge .time {
  font-size: 11px;
  color: var(--muted);
}

.event-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
  line-height: 1.2;
}

.event-card .tagline {
  font-size: 12px;
  color: var(--muted);
  font-style: italic;
  margin-bottom: 12px;
}

.event-meta {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 18px;
}

.event-meta span {
  font-size: 12px;
  color: var(--muted-light);
  display: flex;
  align-items: center;
  gap: 6px;
}

.event-meta span svg {
  flex-shrink: 0;
  opacity: 0.6;
}

.event-card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.event-price {
  font-size: 20px;
  font-weight: 700;
  color: var(--red);
}

.event-price .per {
  font-size: 11px;
  color: var(--muted);
  font-weight: 400;
}

/* Past events list */
/* past-event-image img{*/
/*  width: 120px;*/
/*  height: 80px;*/
/*  object-fit: cover;*/
/*  border-radius: 10px;*/
/*  margin-right: 15px;*/
/*}*/
event-description{
  font-size: 14px;
  color: #666;
  margin-top: 5px;
}
.past-events-list {
  display: none;
  flex-direction: column;
  gap: 1px;
}

.past-event-row {
    background: var(--black);
    border: 1px solid var(--border);
    border-top: 3px solid var(--red);
    border-radius: 8px;
    margin-bottom: 20px;
    padding: 20px;
    transition: all 0.3s ease;
}

.event-completed-badge {
    background: rgba(255,26,26,.15);
    color: var(--red);
    border: 1px solid rgba(255,26,26,.3);
}

.past-date-block {
  width: 48px;
  height: 48px;
  background: var(--black-3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--border);
}

.past-date-block .month {
  font-size: 8px;
  color: var(--muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.past-date-block .day {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.past-event-info {
flex: 1;
min-width: 0;
}

.past-event-info h4 {
    width: 200px;
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 3px;
}

.past-event-info p {
  font-size: 12px;
  color: var(--muted);
}

.past-event-stats {
  display: flex;
  gap: 24px;
  flex-shrink: 0;
}

.past-stat {
  text-align: center;
}

.past-stat .n {
  font-size: 18px;
  font-weight: 700;
  color: var(--red);
}

.past-stat .l {
  font-size: 10px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/*.event-completed-badge {*/
/*    background: rgba(255,26,26,.15);*/
/*    color: var(--red);*/
/*    border: 1px solid rgba(255,26,26,.3);*/
/*    font-size: 10px;*/
/*    padding: 4px 10px;*/
/*    letter-spacing: 1px;*/
/*}*/
.flagship-row{
  border:1px solid rgba(255,0,0,0.25);
  background:#111;
  transition:0.3s ease;
}

.flagship-row:hover{
  transform:translateY(-4px);
  border-color:var(--red);
  box-shadow:0 10px 30px rgba(255,0,0,0.15);
}
/* Register Button */
.register-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:130px;
    height:44px;
    background:#ff1a1a;
    color:#fff;
    font-size:16px;
    font-weight:700;
    text-decoration:none;
}
/* =========================
   TABLET + MOBILE (SAFE OVERRIDE)
   ========================= */
@media (max-width:768px) {

  /* Event Tabs */
  .event-tabs {
    overflow-x: auto;
    white-space: nowrap;
  }

  .event-tab {
    padding: 10px 14px;
    font-size: 12px;
    flex-shrink: 0;
  }

  /* Event Grid */
  .events-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Event Card */
  .event-card {
    transform: none; /* disable hover lift on mobile */
  }

  .event-card:hover {
    transform: none;
  }

  .event-card h3 {
    font-size: 16px;
  }

  .event-price {
    font-size: 18px;
  }

  /* Past Events Row */
  .past-event-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

.past-event-image img,
.past-event-row img {
    width: 180px;
    height: 120px;
    object-fit: cover;
    border-radius: 6px;
}
  .past-event-info {
    min-width: 100%;
  }

  .past-event-info h4 {
    width: 100%;
    font-size: 14px;
  }

  .past-event-stats {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
  }
}
/* ================================================================
   GALLERY
================================================================ */
#gallery {
  padding: var(--section-pad);
  background: var(--black);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 40px;
}

.gallery-item {
  background: var(--black-2);
  border: 1px solid var(--border);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  aspect-ratio: 16 / 9;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 26, 26, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-cta {
  text-align: center;
  margin-top: 36px;
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}
/* ================================================================
   MEMBERSHIP
================================================================ */
#membership {
  padding: var(--section-pad);
  background: var(--red);
}

#membership .section-label {
  color: rgba(255,255,255,0.65);
}

#membership h2 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: -1px;
}

#membership > .container > p {
  color: rgba(255,255,255,0.75);
  font-size: 15px;
  max-width: 500px;
  margin-bottom: 50px;
  line-height: 1.7;
}

.membership-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: start;
}

.membership-card {
  background: var(--black);
  padding: 36px 32px;
  border: 1px solid var(--border);
  position: relative;
}

.membership-card.featured {
  background: var(--white);
  border-color: var(--white);
}

.featured-badge {
  position: absolute;
  top: -12px;
  left: 28px;
  background: var(--white);
  color: var(--red);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 4px 12px;
  text-transform: uppercase;
}

.membership-card.featured .featured-badge {
  background: var(--black);
  color: var(--red);
}

.membership-tier {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
  font-weight: 500;
}

.membership-card.featured .membership-tier {
  color: #888;
}

.membership-price {
  font-size: 48px;
  font-weight: 800;
  color: var(--red);
  line-height: 1;
  margin-bottom: 4px;
}

.membership-card.featured .membership-price {
  color: var(--red);
}

.membership-price-sub {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 28px;
}

.membership-card.featured .membership-price-sub {
  color: #888;
}

.membership-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}

.membership-perks li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--muted-light);
  line-height: 1.4;
}

.membership-card.featured .membership-perks li {
  color: #333;
}

.membership-perks li svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.membership-perks li .check {
  color: var(--red);
}

.membership-card .btn-primary {
  width: 100%;
  text-align: center;
}

.membership-card.featured .btn-primary {
  background: var(--red);
}

.membership-card .btn-outline {
  width: 100%;
  text-align: center;
  border-color: var(--border);
}
/* ================================================================
   CONTACT
================================================================ */
#contact {
  padding: var(--section-pad);
  background: var(--black-2);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.contact-info h2 {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  line-height: 1.15;
}

.contact-info p {
  color: var(--muted-light);
  font-size: 14px;
  line-height: 1.75;
  margin-bottom: 36px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-detail-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.contact-icon {
  width: 42px;
  height: 42px;
  background: var(--black);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--red);
}

.contact-detail-item .detail-text strong {
  display: block;
  font-size: 13px;
  color: var(--white);
  font-weight: 600;
}

.contact-detail-item .detail-text span {
  font-size: 12px;
  color: var(--muted);
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 36px;
}

.social-link {
  width: 42px;
  height: 42px;
  background: var(--black);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-light);
  font-size: 16px;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.social-link:hover {
  border-color: var(--red);
  color: var(--white);
  background: var(--red);
}

@media (max-width: 768px) {
    h2 br {
        display: none;
    }
}
/* Contact Form */
.contact-form {
  background: var(--black);
  border: 1px solid var(--border);
  padding: 40px 36px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--black-2);
  border: 1px solid var(--border);
  color: var(--white);
  padding: 12px 14px;
  font-size: 14px;
  font-family: var(--font);
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--red);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--muted);
}

.form-group select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24'%3E%3Cpath fill='%23666' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.form-group select option {
  background: var(--black-2);
  color: var(--white);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  width: 100%;
}

/* ================================================================
   FOOTER
================================================================ */
footer {
  background: var(--black);
  border-top: 1px solid var(--border);
  padding: 60px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .nav-logo {
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
}

.footer-brand p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 20px;
}

.footer-col h4 {
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 600;
  margin-bottom: 20px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  font-size: 13px;
  color: var(--muted);
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 12px;
  color: var(--muted);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: 12px;
  color: var(--muted);
  transition: color 0.2s;
}

.footer-bottom-links a:hover {
  color: var(--white);
}

/* ================================================================
   SCROLL-TO-TOP
================================================================ */
.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: var(--red);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  z-index: 999;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: var(--red-dark);
}

/* ================================================================
   RESPONSIVE
================================================================ */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 160px);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-pad: 60px 20px;
  }

  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--black);
    border-bottom: 1px solid var(--border);
    padding: 20px 24px;
    gap: 20px;
  }

  .nav-links.mobile-open a {
    font-size: 16px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
  }

  .nav-links.mobile-open .nav-cta {
    padding: 12px 20px;
    text-align: center;
  }

  .stats-bar .container {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-right: 1px solid var(--border); border-top: 1px solid var(--border); }
  .stat-item:nth-child(4) { border-top: 1px solid var(--border); }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .events-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, 140px);
  }


  .membership-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    display: grid ;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  .footer-brand{
      grid-column: 1 / -1;
  }
  .footer-col{
      min-width: 0;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .past-event-stats {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 34px; }
  .hero-btns { flex-direction: column; }
  .btn-primary, .btn-outline { text-align: center; }
}
