:root {
  --bg-dark: #0A0F1A;
  --bg-card: #141B2D;
  --bg-hero: linear-gradient(135deg, #0d1a33, #162447);
  --primary: #4DA8DA;
  --accent: #F95738;
  --text-light: #E6E6E6;
}

body {
  background: var(--bg-dark);
  color: var(--text-light);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

.text-muted {
  color: #ddd !important;
}

/* NAVBAR */
.navbar {
  background: #0D1525;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.navbar-brand {
  color: var(--primary) !important;
  font-weight: 700;
  font-size: 1.4rem;
}

.breadcrumb {
  background: transparent;
  --bs-breadcrumb-divider-color: #bbb;
}

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

.breadcrumb-item + .breadcrumb-item::before {
  color: #666;
}

.breadcrumb-item.active {
  color: #fff !important;
}

/* HERO */
.hero {
  background: var(--bg-hero);
  border-radius: 20px;
  padding: 4rem 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  color: white;
}

.hero h1 {
  font-size: 2.3rem;
}

.search-bar input {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  height: 50px;
}

.search-bar input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.search-bar input:focus {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--primary);
  color: white;
}

/* SECTION SPORTS & REGIONS */
.sport-box {
  background: var(--bg-card);
  border-radius: 14px;
  color: var(--text-light);
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0,0,0,0.3);
  transition: transform 0.15s, box-shadow 0.15s;
}

.sport-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 22px rgba(0,0,0,0.45);
}

.sport-label {
  font-size: 1rem;
  font-weight: 600;
}

.sport-box .fa-futbol { color: #ff8c42; }
.sport-box .fa-person-running { color: #4caf50; }
.sport-box .fa-mountain { color: #9b59b6; }

.region-box .fa-location-dot {
  color: var(--primary);
}

/* CARDS EVENTS */
.card {
  background: var(--bg-card);
  border: none;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  color: var(--text-light);
  position: relative;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.6);
}

.card-img-top {
  height: 180px;
  object-fit: cover;
  border-radius: 14px 14px 0 0;
}

.sport-tag {
  padding: 0.45em 0.75em;
  font-size: 0.75rem;
  border-radius: 6px;
  color: white;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

/* Couleurs dynamiques par sport */
.sport-football { background: #5a7616 !important; }
.sport-handball { background: #ff8c42 !important; }
.sport-running  { background: #4caf50 !important; }
.sport-escalade { background: #9b59b6 !important; }

.extra-badges .badge {
  font-size: 0.7rem;
  margin-right: 4px;
}

/* FOOTER */
footer {
  background: #0D1525;
  color: var(--text-light);
  padding: 24px 0;
  margin-top: 70px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Recherche locale (region / departement) */
.filter-input {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
}

.filter-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}
