/* ==========================================================
   Expanso24 — Custom Styles
   ========================================================== */

/* ---------- CSS Custom Properties ---------- */
:root {
  --navy: #0B1B3D;
  --gold: #F0B429;
  --light: #F8F8F8;
  --white: #FFFFFF;
  --font-heading: 'Syne', sans-serif;
  --font-body: 'Inter', sans-serif;
}

/* ---------- Base ---------- */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: #333;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
}

/* ---------- Navbar ---------- */
.navbar-custom {
  background-color: var(--navy);
  padding-top: 0.8rem;
  padding-bottom: 0.8rem;
}

.navbar-custom .navbar-brand {
  color: var(--gold) !important;
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 1.35rem;
}

.navbar-custom .nav-link {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  padding-left: 1rem !important;
  padding-right: 1rem !important;
  position: relative;
  transition: color 0.3s;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
  color: var(--gold);
}

.navbar-custom .nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s;
}

.navbar-custom .nav-link:hover::after,
.navbar-custom .nav-link.active::after {
  width: 60%;
}

.navbar-custom .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.2);
}

/* ---------- Buttons ---------- */
.btn-gold {
  background: var(--gold);
  color: var(--navy);
  font-weight: 600;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 4px;
  transition: all 0.3s;
}

.btn-gold:hover {
  background: var(--gold);
  color: var(--navy);
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.btn-outline-white {
  border: 2px solid white;
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 4px;
  transition: all 0.3s;
  background: transparent;
}

.btn-outline-white:hover {
  background: white;
  color: var(--navy);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 4px;
  transition: all 0.3s;
}

.btn-navy:hover {
  background: #122756;
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-navy {
  border: 2px solid var(--navy);
  color: var(--navy);
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 4px;
  transition: all 0.3s;
  background: transparent;
}

.btn-outline-navy:hover {
  background: var(--navy);
  color: white;
}

/* ---------- Section Title ---------- */
.section-title {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--navy);
  position: relative;
  display: inline-block;
  margin-bottom: 1rem;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin-top: 12px;
}

.section-title-center::after {
  margin-left: auto;
  margin-right: auto;
}

.section-title-white {
  color: var(--white);
}

/* ---------- Hero (full viewport) ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(11, 27, 61, 0.65);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero .scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

/* ---------- Page Hero (half height) ---------- */
.page-hero {
  min-height: 40vh;
  display: flex;
  align-items: center;
  background-color: var(--navy);
  color: white;
  position: relative;
  background-size: cover;
  background-position: center;
}

.page-hero.hero-overlay::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(11, 27, 61, 0.65);
  z-index: 1;
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero .breadcrumb-item a {
  color: var(--gold);
  text-decoration: none;
}

.page-hero .breadcrumb-item.active {
  color: rgba(255, 255, 255, 0.7);
}

.page-hero .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- Stats ---------- */
.stats-section {
  background-color: var(--navy);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.2;
}

.stat-label {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  margin-top: 0.25rem;
}

/* ---------- Cards ---------- */
.card-hover {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
}

.card-hover:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

/* ---------- Feature Banner ---------- */
.feature-banner {
  height: 480px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(11, 27, 61, 0.55);
}

.feature-banner .overlay-text {
  position: relative;
  z-index: 2;
}

/* ---------- CTA Banner ---------- */
.cta-gold {
  background-color: var(--gold);
}

/* ---------- Testimonial Stars ---------- */
.stars {
  color: var(--gold);
}

/* ---------- Rounded Custom ---------- */
.rounded-custom {
  border-radius: 12px;
}

/* ---------- Image Utilities ---------- */
.img-about {
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* ---------- Player Cards ---------- */
.player-placeholder {
  aspect-ratio: 3 / 4;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px 8px 0 0;
}

.player-img-wrapper {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background-color: #0B1B3D;
}

.player-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.4s ease;
}

.card:hover .player-card-img {
  transform: scale(1.04);
}

.player-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
}

.player-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
  border-color: var(--gold);
}

/* ---------- Filter Buttons ---------- */
.filter-btn {
  border: 2px solid var(--navy);
  color: var(--navy);
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
  transition: all 0.25s;
}

.filter-btn:hover {
  background: var(--navy);
  color: white;
}

.filter-btn.active {
  background-color: var(--gold) !important;
  color: var(--navy) !important;
  border-color: var(--gold) !important;
}

/* ---------- Team Initials Avatar ---------- */
.avatar-initials {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2.5rem;
  margin: 0 auto 1rem;
}

/* ---------- Process Timeline ---------- */
.process-step {
  text-align: center;
  position: relative;
  flex: 1;
}

.process-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--navy);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.3rem;
  margin: 0 auto 0.75rem;
  position: relative;
  z-index: 2;
}

.process-connector {
  position: relative;
  flex: 0 0 auto;
  width: 60px;
  display: flex;
  align-items: center;
  padding-bottom: 2.5rem;
}

.process-connector::after {
  content: '';
  display: block;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.3);
}

/* ---------- Scroll Arrow Bounce ---------- */
@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(10px);
  }
}

.scroll-arrow {
  animation: bounce 2s infinite;
  color: var(--gold);
  text-decoration: none;
}

.scroll-arrow:hover {
  color: var(--gold);
}

/* ---------- Footer ---------- */
.footer {
  background-color: var(--navy);
  color: rgba(255, 255, 255, 0.7);
}

.footer a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s;
}

.footer a:hover {
  color: var(--gold);
}

.footer h5,
.footer h6 {
  font-family: var(--font-heading);
}

.footer .text-muted {
  color: rgba(255, 255, 255, 0.55) !important;
}

.footer .text-muted a {
  color: rgba(255, 255, 255, 0.7) !important;
}

.footer .text-muted a:hover {
  color: var(--gold) !important;
}

/* ---------- Section Padding ---------- */
.section-pad {
  padding-top: 80px;
  padding-bottom: 80px;
}

/* ---------- Icon Gold ---------- */
.icon-gold {
  color: var(--gold);
  font-size: 2.5rem;
}

/* ---------- Badge Custom ---------- */
.badge-gold {
  background-color: var(--gold);
  color: var(--navy);
  font-weight: 600;
}

/* ---------- Google Map Container ---------- */
.map-container {
  border-radius: 8px;
  overflow: hidden;
  height: 300px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- Success Message ---------- */
#successMessage {
  border-radius: 8px;
}

/* ---------- Responsive ---------- */

/* Prevent horizontal scroll on all devices */
html, body {
  overflow-x: hidden;
}

/* --- Extra-small screens (≤ 575.98px) --- */
@media (max-width: 575.98px) {
  /* Hero */
  .hero {
    min-height: 75vh;
  }

  .hero .display-3 {
    font-size: 1.75rem;
  }

  .hero .lead {
    font-size: 0.95rem;
  }

  /* Page Hero */
  .page-hero .display-4 {
    font-size: 1.6rem;
  }

  /* Section titles */
  .section-title {
    font-size: 1.35rem;
  }

  /* Stats */
  .stat-number {
    font-size: 1.8rem;
  }

  .stat-label {
    font-size: 0.8rem;
  }

  /* Feature & CTA banners */
  .feature-banner {
    height: 220px;
  }

  .feature-banner .display-5 {
    font-size: 1.3rem;
  }

  .cta-gold h2 {
    font-size: 1.3rem;
  }

  .cta-gold p {
    font-size: 0.9rem;
  }

  /* Buttons — reduce padding to prevent overflow */
  .btn-gold,
  .btn-navy,
  .btn-outline-navy,
  .btn-outline-white {
    padding: 0.6rem 1.25rem;
    font-size: 0.9rem;
  }

  .btn-lg {
    padding: 0.65rem 1.5rem !important;
    font-size: 0.95rem !important;
  }

  /* Section padding */
  .section-pad {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  /* Avatar */
  .avatar-initials {
    width: 90px;
    height: 90px;
    font-size: 1.8rem;
  }

  /* Process circles (contact page) */
  .process-circle {
    width: 48px;
    height: 48px;
    font-size: 1rem;
  }

  /* Footer */
  .footer {
    text-align: center;
  }

  .footer .col-md-4 {
    margin-bottom: 0.5rem;
  }

  /* Cookie banner */
  .cookie-banner .container {
    flex-direction: column;
    text-align: center;
  }

  .cookie-banner .d-flex.gap-2 {
    justify-content: center;
    width: 100%;
  }

  .cookie-banner p {
    font-size: 0.82rem;
  }

  /* Filter buttons (players page) */
  .filter-btn {
    padding: 0.4rem 0.85rem;
    font-size: 0.85rem;
  }

  /* Card bodies */
  .card-body {
    padding: 1rem;
  }

  /* Testimonial cards */
  .card-hover p.fst-italic {
    font-size: 0.9rem;
  }
}

/* --- Small screens (≤ 767.98px) --- */
@media (max-width: 767.98px) {
  /* Hero */
  .hero {
    min-height: 80vh;
  }

  .hero .display-3 {
    font-size: 2rem;
  }

  /* Page Hero */
  .page-hero .display-4 {
    font-size: 1.85rem;
  }

  .page-hero {
    min-height: 25vh;
  }

  /* Stats */
  .stat-number {
    font-size: 2.2rem;
  }

  /* Feature banner */
  .feature-banner {
    height: 280px;
  }

  .feature-banner .display-5 {
    font-size: 1.5rem;
  }

  /* Process timeline — hide connectors */
  .process-connector {
    display: none !important;
  }

  .process-step {
    margin-bottom: 1.5rem;
  }

  /* Section padding */
  .section-pad {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  /* Images — full-width with less shadow */
  .img-about {
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  }

  /* Navbar mobile menu spacing */
  .navbar-custom .navbar-collapse {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }

  .navbar-custom .nav-link {
    padding-top: 0.6rem !important;
    padding-bottom: 0.6rem !important;
  }

  /* CTA section */
  .cta-gold .btn-lg {
    width: 100%;
    max-width: 320px;
  }

  /* Contact info left padding reset */
  .ps-lg-4 {
    padding-left: 0 !important;
  }
}

/* --- Medium screens / tablets (≤ 991.98px) --- */
@media (max-width: 991.98px) {
  .navbar-custom .nav-link::after {
    display: none;
  }

  .hero .display-3 {
    font-size: 2.5rem;
  }

  .page-hero .display-4 {
    font-size: 2rem;
  }

  /* Process steps — 2-col layout is fine via col-6 */
}

/* --- Large screens (≥ 1200px) — no changes needed, desktop defaults --- */

/* ---------- Cookie Consent Banner ---------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--navy);
  color: rgba(255, 255, 255, 0.85);
  z-index: 9999;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-banner p {
  font-size: 0.9rem;
  line-height: 1.5;
}

.cookie-link {
  color: var(--gold);
  text-decoration: underline;
}

.cookie-link:hover {
  color: #fff;
}
