/* =====================================================
   COLOR PALETTE
===================================================== */
:root {
  --royal-blue: #123c7a;
  --royal-blue-soft: #183f85;
  --royal-red: #7a1234;
  --gold: #d4af37;
  --gold-soft: #f4e3a1;
  --bg-soft: #f7f4ee;
  --text-main: #1f1f2b;
  --text-muted: #6c6c80;
}

/* =====================================================
   GLOBAL
===================================================== */
body {
  background:
    radial-gradient(circle at top left, rgba(212, 175, 55, 0.12), transparent 50%),
    radial-gradient(circle at bottom right, rgba(18, 60, 122, 0.15), transparent 50%),
    var(--bg-soft);
  color: var(--text-main);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  margin: 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* =====================================================
   NAVBAR
===================================================== */
.navbar {
  padding: 0.6rem 0;
}

/* Fix header-to-content spacing */
.page-content {
  margin-top: 88px; /* perfect for your navbar height */
}

/* Mobile tweak */
@media (max-width: 768px) {
  .page-content {
    margin-top: 96px;
  }
}

.bg-gradient-custom {
  background: linear-gradient(90deg, #0a1a3d, #1a275d, #5a0f3c);
  border-bottom: 1px solid rgba(212,175,55,0.25);
  backdrop-filter: blur(6px);
}

.navbar-brand .logo-circle {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  color: var(--royal-red);
  font-size: 0.9rem;
}

.logo-circle-wrapper {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  flex-shrink: 0;
}

.logo-circle-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1 / 1;
}

.club-title-area {
  margin-left: 8px;
  padding-left: 10px;
  border-left: 1px solid rgba(255,255,255,0.15);
  max-width: 270px;
  line-height: 1.05;
  white-space: normal;
}

.club-name {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
}

.club-subtitle {
  font-size: 0.62rem;
  color: #f7dd9b;
  letter-spacing: 0.05em;
}

/* NAV LINKS */
.navbar-nav .nav-link {
  color: #f6f6ff !important;
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.6rem 0.85rem;
  position: relative;
  transition: color 0.25s ease;
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--gold) !important;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 70%;
}

/* =====================================================
   BUTTONS
===================================================== */
.btn-gold-gradient {
  background: linear-gradient(135deg, #d4af37, #f7e6b1);
  color: #46310a;
  font-weight: 600;
  border-radius: 0.5rem;
  border: none;
  transition: all 0.3s ease;
}

.btn-gold-gradient:hover {
  box-shadow: 0 0 12px rgba(212,175,55,0.8);
  color: #3c2a07;
}

/* =====================================================
   PAGE SPACING
===================================================== */
.page-content {
  margin-top: 120px;
}

/* =====================================================
   SECTIONS
===================================================== */
.section-header {
  margin-bottom: 1.75rem;
}

.section-eyebrow {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--royal-red);
  font-weight: 600;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1c1b29;
}

.section-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* =====================================================
   CARDS
===================================================== */
.card-custom {
  background: #fff;
  border-radius: 1.2rem;
  border: none;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}

.card-custom:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

/* =====================================================
   EVENT POSTER – FINAL RESPONSIVE FIX
===================================================== */
.event-poster {
  width: 100%;
  max-width: 360px;
  height: auto;
  margin: 0 auto;
  display: block;
  border-radius: 16px;
  box-shadow: 0 14px 30px rgba(0,0,0,0.15);
}

@media (max-width: 992px) {
  .event-poster {
    max-width: 300px;
  }
}

@media (max-width: 576px) {
  .event-poster {
    max-width: 100%;
    border-radius: 14px;
  }
}

/* SECONDARY EVENTS */
.secondary-event .event-poster {
  max-width: 300px;
}
.secondary-event {
  background: rgba(255,255,255,0.85);
}

/* =====================================================
   EVENT / NEWS BLOCKS
===================================================== */
.featured-event,
.featured-news,
.event-info-box {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(212,175,55,0.35);
  border-radius: 1.5rem;
  padding: 1.5rem;
  overflow: hidden;
}

.event-badge,
.news-badge {
  background: linear-gradient(90deg, #d4af37, #f5e0a1);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #4a3600;
}

.event-title,
.news-title {
  color: var(--royal-blue);
  font-weight: 700;
}

/* =====================================================
   COMING SOON / INFO
===================================================== */
.coming-soon-box {
  border-radius: 1.3rem;
  border: 1px dashed rgba(212,175,55,0.9);
  background: rgba(244,233,181,0.15);
  padding: 2.5rem;
  text-align: center;
}

/* =====================================================
   FOOTER
===================================================== */
.footer-custom {
  background: linear-gradient(135deg, var(--royal-red), var(--royal-blue));
  color: #fff;
}

/* =====================================================
   UTILITIES
===================================================== */
.text-gold {
  color: var(--gold);
}

.badge-soft {
  background: rgba(212,175,55,0.15);
  color: var(--royal-red);
  border-radius: 999px;
  padding: 0.15rem 0.7rem;
  font-size: 0.7rem;
}

/* =========================
   HOME PAGE FIXES (KEEP SAME LOOK)
========================= */
.home-page .section-header {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.home-page .featured-event img {
  max-width: 380px;
  margin: 0 auto;
}

/* =====================================================
   HERO SECTION (FIXED: NO BROKEN MEDIA BLOCK)
===================================================== */
.hero-section {
  padding: 4rem 0 3rem;
}

.hero-card {
  background:
    radial-gradient(circle at top left, rgba(244, 233, 181, 0.3), transparent 60%),
    #ffffff;
  border-radius: 1.5rem;
  padding: 2.5rem;
  box-shadow: 0 18px 45px rgba(0,0,0,0.08);
  position: relative;
  overflow: hidden;
  min-height: auto;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.9rem;
  border-radius: 999px;
  background: rgba(244, 233, 181, 0.25);
  border: 1px solid rgba(212, 175, 55, 0.3);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--royal-red);
  margin-bottom: 1rem;
}

.hero-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #1b1b29;
}

.hero-highlight {
  color: var(--gold);
}

.hero-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 480px;
}

.hero-accent {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(212,175,55,0.4), transparent 65%);
  top: -40px;
  right: -40px;
  opacity: 0.9;
  filter: blur(1px);
  animation: floatPulse 5s ease-in-out infinite;
}

@keyframes floatPulse {
  0%, 100% { transform: translate(0,0) scale(1); opacity: 0.9; }
  50% { transform: translate(-6px, 8px) scale(1.06); opacity: 1; }
}

/* Stats cards */
.stat-card {
  background: #ffffff;
  border-radius: 1.2rem;
  padding: 1.4rem;
  box-shadow: 0 14px 35px rgba(0,0,0,0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border-top: 3px solid rgba(212, 175, 55, 0.7);
}

.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(0,0,0,0.12);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ===============================
   DESKTOP LAYOUT NORMALIZATION
================================ */
@media (min-width: 992px) {
  .hero-section .row {
    align-items: center;
  }
  .hero-card {
    min-height: auto;
  }
  .hero-section .col-lg-5 .row > div {
    display: block;
  }
}

/* =========================
   RESPONSIVE FIXES
========================= */
@media (max-width: 768px) {
  .page-content {
    margin-top: 140px;
  }
  .club-title-area {
    max-width: 160px;
  }
  .club-name {
    font-size: 0.55rem;
  }
  .home-page .featured-event img {
    max-width: 100%;
  }
  .home-page .hero-title {
    font-size: 1.8rem;
  }
}

body {
  padding-top: 84px; 
}

html {
  -webkit-text-size-adjust: 100%;
}


