/* ============================================================
   ArenaCRM — Public Sports Arena Theme
   Applied to all guest-facing pages (/about, /news, /activities, /events)
   ============================================================ */

:root {
  --ap-navy:        #0A1628;
  --ap-navy-mid:    #0f2040;
  --ap-blue:        var(--brand-primary, #0C4DA2);
  --ap-red:         var(--brand-accent,  #E63946);
  --ap-gold:        #F4A30C;
  --ap-white:       #FFFFFF;
  --ap-light:       #F5F7FB;
  --ap-border:      #E4E8EF;
  --ap-text:        #111827;
  --ap-muted:       #6B7280;
  --ap-card-radius: 14px;
}

/* ── BASE ───────────────────────────────────────────────────── */
html, body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--ap-light);
  color: var(--ap-text);
  font-size: 15px;
  line-height: 1.65;
}

/* ── NAVBAR ─────────────────────────────────────────────────── */
.arena-navbar {
  background: var(--ap-navy);
  padding: 0;
  border-bottom: 3px solid var(--ap-red);
  position: sticky;
  top: 0;
  z-index: 1030;
  box-shadow: 0 4px 24px rgba(0,0,0,0.25);
}
.arena-navbar .container-xl { min-height: 64px; display: flex; align-items: center; }
.arena-navbar .navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  color: #fff !important;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.3px;
  text-decoration: none;
}
.arena-navbar .navbar-brand img { max-height: 40px; width: auto; }
.arena-navbar .navbar-toggler {
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  padding: 6px 10px;
}
.arena-navbar .navbar-toggler-icon {
  filter: invert(1);
}
.arena-navbar .nav-link {
  color: rgba(255,255,255,0.80) !important;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 8px 14px !important;
  border-radius: 6px;
  transition: color 150ms, background 150ms;
}
.arena-navbar .nav-link:hover,
.arena-navbar .nav-link.active {
  color: #fff !important;
  background: rgba(255,255,255,0.10);
}
.arena-navbar .nav-link.active { color: var(--ap-gold) !important; background: transparent; }
.arena-navbar .btn-book {
  background: var(--ap-red);
  color: #fff !important;
  font-weight: 700;
  font-size: 13px;
  padding: 8px 18px;
  border-radius: 8px;
  border: none;
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: opacity 150ms, transform 120ms;
}
.arena-navbar .btn-book:hover { opacity: 0.9; transform: translateY(-1px); }

/* ── HERO SECTION ───────────────────────────────────────────── */
.arena-hero {
  position: relative;
  overflow: hidden;
  background: var(--ap-navy);
  min-height: 420px;
  display: flex;
  align-items: center;
}
.arena-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}
.arena-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,22,40,0.85) 0%, rgba(12,77,162,0.50) 100%);
}
.arena-hero__body {
  position: relative;
  z-index: 2;
  padding: 72px 0;
  color: #fff;
}
.arena-hero__eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--ap-gold);
  margin-bottom: 12px;
  padding: 4px 12px;
  background: rgba(244,163,12,0.12);
  border-radius: 20px;
  border: 1px solid rgba(244,163,12,0.3);
}
.arena-hero__title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.arena-hero__sub {
  font-size: 17px;
  color: rgba(255,255,255,0.80);
  max-width: 560px;
  margin-bottom: 32px;
}
.arena-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.arena-hero__stripe {
  position: absolute;
  bottom: 0; right: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(12,77,162,0.20));
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}

/* ── SECTION LABEL ──────────────────────────────────────────── */
.section-eyebrow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--ap-red);
  display: block;
  margin-bottom: 6px;
}
.section-title {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: var(--ap-navy);
  line-height: 1.2;
}

/* ── SPORT CARDS ────────────────────────────────────────────── */
.sport-card {
  background: var(--ap-white);
  border-radius: var(--ap-card-radius);
  border: 1px solid var(--ap-border);
  overflow: hidden;
  transition: box-shadow 180ms ease, transform 180ms ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.sport-card:hover { box-shadow: 0 12px 40px rgba(0,0,0,0.12); transform: translateY(-3px); }
.sport-card__img-wrap { position: relative; overflow: hidden; }
.sport-card__img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  transition: transform 300ms ease;
}
.sport-card:hover .sport-card__img { transform: scale(1.04); }
.sport-card__category {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--ap-red);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 3px 10px;
  border-radius: 20px;
}
.sport-card__body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.sport-card__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--ap-navy);
  margin-bottom: 8px;
  line-height: 1.3;
}
.sport-card__text { color: var(--ap-muted); font-size: 14px; flex: 1; }
.sport-card__footer {
  padding: 14px 20px;
  border-top: 3px solid var(--ap-red);
  background: #fafbfc;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ── NEWS CARDS ─────────────────────────────────────────────── */
.news-card {
  background: var(--ap-white);
  border-radius: var(--ap-card-radius);
  border: 1px solid var(--ap-border);
  overflow: hidden;
  transition: box-shadow 180ms ease, transform 180ms ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.news-card:hover { box-shadow: 0 12px 40px rgba(0,0,0,0.10); transform: translateY(-2px); }
.news-card__img { width: 100%; height: 200px; object-fit: cover; display: block; }
.news-card__body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.news-card__date {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--ap-muted);
  margin-bottom: 8px;
}
.news-card__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--ap-navy);
  line-height: 1.35;
  margin-bottom: 10px;
  text-decoration: none;
}
.news-card__title:hover { color: var(--ap-blue); }
.news-card__summary { color: var(--ap-muted); font-size: 14px; flex: 1; }
.news-card__tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 2px 8px;
  border-radius: 20px;
  background: rgba(12,77,162,0.08);
  color: var(--ap-blue);
  margin-bottom: 8px;
}
.news-featured {
  background: var(--ap-navy);
  border-radius: var(--ap-card-radius);
  overflow: hidden;
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: flex-end;
  margin-bottom: 24px;
}
.news-featured__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}
.news-featured__body {
  position: relative;
  z-index: 2;
  padding: 32px;
  background: linear-gradient(0deg, rgba(10,22,40,0.95) 0%, transparent 100%);
  width: 100%;
}
.news-featured__title { font-size: 1.6rem; font-weight: 800; color: #fff; margin-bottom: 10px; }

/* ── EVENT CARDS ────────────────────────────────────────────── */
.event-card {
  background: var(--ap-white);
  border-radius: var(--ap-card-radius);
  border: 1px solid var(--ap-border);
  overflow: hidden;
  display: flex;
  gap: 0;
  transition: box-shadow 180ms;
}
.event-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.10); }
.event-card__date-block {
  background: var(--ap-navy);
  color: #fff;
  min-width: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 12px;
  flex-shrink: 0;
}
.event-card__day { font-size: 2rem; font-weight: 800; line-height: 1; }
.event-card__month { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; opacity: 0.8; }
.event-card__body { padding: 20px; flex: 1; }
.event-card__title { font-size: 16px; font-weight: 700; color: var(--ap-navy); margin-bottom: 6px; }
.event-card__meta { font-size: 12px; color: var(--ap-muted); display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 10px; }
.event-card__meta i { color: var(--ap-blue); }
.event-card.past .event-card__date-block { background: #9CA3AF; }

/* ── ARTICLE / DETAIL ───────────────────────────────────────── */
.article-hero {
  border-radius: var(--ap-card-radius);
  overflow: hidden;
  position: relative;
  background: var(--ap-navy);
  min-height: 320px;
  margin-bottom: 32px;
}
.article-hero__img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  opacity: 0.75;
  display: block;
}
.article-hero__body {
  padding: 32px;
  background: linear-gradient(0deg, rgba(10,22,40,0.92) 0%, transparent 100%);
  position: absolute;
  bottom: 0; left: 0; right: 0;
  color: #fff;
}
.article-hero__title { font-size: 2rem; font-weight: 800; margin-bottom: 10px; line-height: 1.2; }
.article-content { font-size: 16px; line-height: 1.8; color: #1F2937; }
.article-content h2, .article-content h3 { font-weight: 700; color: var(--ap-navy); margin-top: 2em; }
.article-content img { max-width: 100%; border-radius: 10px; margin: 1em 0; }
.article-content a { color: var(--ap-blue); }

/* ── SIDEBAR QUICK INFO ─────────────────────────────────────── */
.info-panel {
  background: var(--ap-white);
  border-radius: var(--ap-card-radius);
  border: 1px solid var(--ap-border);
  overflow: hidden;
  position: sticky;
  top: 80px;
}
.info-panel__header {
  background: var(--ap-navy);
  color: #fff;
  padding: 16px 20px;
  font-weight: 700;
  font-size: 14px;
}
.info-panel__body { padding: 20px; }
.info-row { display: flex; gap: 10px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid var(--ap-border); font-size: 14px; }
.info-row:last-child { border-bottom: none; }
.info-row i { color: var(--ap-blue); flex-shrink: 0; margin-top: 2px; font-size: 16px; }

/* ── STAT STRIP ─────────────────────────────────────────────── */
.stat-strip {
  background: var(--ap-navy);
  color: #fff;
  padding: 28px 0;
}
.stat-strip__num { font-size: 2.5rem; font-weight: 800; color: var(--ap-gold); line-height: 1; }
.stat-strip__label { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; opacity: 0.7; margin-top: 4px; }

/* ── FILTER BAR ─────────────────────────────────────────────── */
.arena-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.arena-filter-btn {
  padding: 7px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--ap-border);
  background: var(--ap-white);
  color: var(--ap-muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 150ms;
  text-decoration: none;
}
.arena-filter-btn:hover,
.arena-filter-btn.active {
  background: var(--ap-navy);
  border-color: var(--ap-navy);
  color: #fff;
}

/* ── PAGINATION ─────────────────────────────────────────────── */
.pagination .page-link {
  border-radius: 8px !important;
  margin: 0 2px;
  color: var(--ap-navy);
  border-color: var(--ap-border);
  font-weight: 600;
}
.pagination .page-item.active .page-link {
  background: var(--ap-navy);
  border-color: var(--ap-navy);
}

/* ── FOOTER ─────────────────────────────────────────────────── */
.arena-footer {
  background: var(--ap-navy);
  color: rgba(255,255,255,0.75);
  padding: 56px 0 24px;
  margin-top: 72px;
}
.arena-footer__title { color: #fff; font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.arena-footer__link { color: rgba(255,255,255,0.65); text-decoration: none; display: block; font-size: 14px; padding: 4px 0; transition: color 120ms; }
.arena-footer__link:hover { color: #fff; }
.arena-footer__bottom { border-top: 1px solid rgba(255,255,255,0.10); padding-top: 20px; margin-top: 40px; font-size: 12px; color: rgba(255,255,255,0.45); }
.arena-footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.75);
  font-size: 16px;
  transition: background 150ms, color 150ms;
  text-decoration: none;
}
.arena-footer__social a:hover { background: var(--ap-red); color: #fff; }

/* ── GALLERY GRID ───────────────────────────────────────────── */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.gallery-item { border-radius: 10px; overflow: hidden; position: relative; aspect-ratio: 4/3; background: #e5e7eb; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 300ms; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item__overlay {
  position: absolute; inset: 0;
  background: rgba(10,22,40,0.45);
  opacity: 0;
  transition: opacity 200ms;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 24px;
}
.gallery-item:hover .gallery-item__overlay { opacity: 1; }

/* ── BUTTONS ────────────────────────────────────────────────── */
.btn-arena {
  background: var(--ap-navy);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 24px;
  text-decoration: none;
  transition: opacity 150ms, transform 120ms;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-arena:hover { opacity: 0.9; transform: translateY(-1px); color: #fff; }
.btn-arena-red { background: var(--ap-red); }
.btn-arena-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 24px;
  text-decoration: none;
  transition: all 150ms;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-arena-outline:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,0.1); }

/* ── ABOUT TABS ─────────────────────────────────────────────── */
.arena-tabs { border-bottom: 2px solid var(--ap-border); margin-bottom: 32px; display: flex; flex-wrap: wrap; gap: 4px; }
.arena-tab-btn {
  background: none;
  border: none;
  padding: 12px 20px;
  font-weight: 700;
  font-size: 14px;
  color: var(--ap-muted);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: color 150ms, border-color 150ms;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 12px;
}
.arena-tab-btn:hover { color: var(--ap-navy); }
.arena-tab-btn.active { color: var(--ap-navy); border-bottom-color: var(--ap-red); }

/* ── PAGE WRAPPER ───────────────────────────────────────────── */
.arena-page { min-height: 100vh; }
.arena-section { padding: 56px 0; }
.arena-section-sm { padding: 32px 0; }

/* ── NO RESULTS ─────────────────────────────────────────────── */
.arena-empty {
  text-align: center;
  padding: 64px 24px;
  color: var(--ap-muted);
}
.arena-empty i { font-size: 48px; margin-bottom: 16px; display: block; color: var(--ap-border); }
.arena-empty h4 { font-weight: 700; color: var(--ap-navy); }

/* ── ABOUT TABS ─────────────────────────────────────────────── */
.about-tabs {
  gap: 4px;
  border-bottom: 2px solid var(--ap-border);
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.about-tab {
  background: none;
  border: none;
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--ap-muted);
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.about-tab:hover { color: var(--ap-navy); }
.about-tab.active { color: var(--ap-red); border-bottom-color: var(--ap-red); }

/* ── SPACING UTILITIES ───────────────────────────────────────── */
.mt-6 { margin-top: 4rem !important; }

/* ── MOBILE ─────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .arena-hero__body { padding: 48px 0; }
  .arena-hero__title { font-size: 2rem; }
  .arena-hero__sub { font-size: 15px; }
  .event-card { flex-direction: column; }
  .event-card__date-block { flex-direction: row; justify-content: flex-start; gap: 8px; padding: 12px 16px; min-width: unset; }
  .article-hero__title { font-size: 1.4rem; }
  .article-hero__body { padding: 20px; }
  .news-featured__body { padding: 20px; }
  .news-featured__title { font-size: 1.3rem; }
  .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
  .arena-section { padding: 36px 0; }
}
