/* ═══════════════════════════════════════════
   PAGE HERO
═══════════════════════════════════════════ */
.page-hero {
  position: relative;
  min-height: 70vh;
  background-color: #0a1628;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.page-hero-overlay-base { position: absolute; inset: 0; background: rgba(5,15,35,.58); pointer-events: none; }
.page-hero-overlay-grad  { position: absolute; inset: 0; background: linear-gradient(105deg,rgba(0,20,60,.78) 0%,rgba(0,30,80,.45) 50%,transparent 80%); pointer-events: none; }

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px 24px 40px;
  width: 100%;
}

.page-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.20);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  padding: 7px 16px;
  border-radius: 50px;
  margin-bottom: 20px;
}

.page-hero-title {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -.02em;
  margin-bottom: 18px;
}

.page-hero-sub {
  font-size: clamp(15px, 1.4vw, 18px);
  color: rgba(255,255,255,.82);
  line-height: 1.75;
  max-width: 600px;
  margin-bottom: 32px;
}
.page-hero-sub strong { color: #fff; font-weight: 600; }

.page-hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.btn-ghost-page {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.10);
  border: 1.5px solid rgba(255,255,255,.30);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: 50px;
  backdrop-filter: blur(8px);
  transition: background var(--transition), border-color var(--transition);
}
.btn-ghost-page:hover { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.6); }
.btn-ghost-page svg { width: 16px; height: 16px; }

/* Stats row */
.page-hero-stats {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  width: fit-content;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-md);
  padding: 14px 24px;
  margin: 0 24px 0 auto;
  margin-left: 24px;
}
.pstat { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 0 20px; }
.pstat-n { font-size: 26px; font-weight: 800; color: var(--gold); line-height: 1; }
.pstat-l { font-size: 11px; font-weight: 500; color: rgba(255,255,255,.60); text-transform: uppercase; letter-spacing: .06em; }
.pstat-div { width: 1px; height: 36px; background: rgba(255,255,255,.18); }

/* ═══════════════════════════════════════════
   SEARCH BAR
═══════════════════════════════════════════ */
.search-bar-section {
  background: var(--bg);
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: var(--nav-h);
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.search-bar-wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.search-input-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-soft);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  flex: 1;
  min-width: 220px;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.search-input-wrap:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,102,204,.10); }
.search-input {
  border: none;
  background: transparent;
  font-family: var(--font);
  font-size: 15px;
  color: var(--text);
  width: 100%;
  outline: none;
  direction: rtl;
}
.search-input::placeholder { color: var(--text-muted); }

.filter-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pill {
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  border: 1.5px solid var(--border);
  background: var(--bg);
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font);
}
.pill:hover { border-color: var(--blue); color: var(--blue); }
.pill--active { background: var(--blue); color: #fff; border-color: var(--blue); }

/* ═══════════════════════════════════════════
   LOCATIONS MAIN
═══════════════════════════════════════════ */
.locations-main { padding: 64px 0 40px; }

/* Block */
.loc-block { margin-bottom: 16px; }

.loc-block-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.loc-city-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 800;
  color: var(--dark);
}
.loc-city-badge--blue  { color: var(--blue); }
.loc-city-badge--gold  { color: var(--gold); }
.loc-city-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
.loc-city-dot--blue { background: var(--blue); }

.new-pill {
  font-size: 11px;
  font-weight: 700;
  background: rgba(230,162,0,.15);
  color: var(--gold);
  border: 1px solid rgba(230,162,0,.30);
  padding: 3px 10px;
  border-radius: 50px;
  margin-right: 6px;
}

.loc-view-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  transition: gap var(--transition);
}
.loc-view-all:hover { gap: 10px; }

/* Intro row */
.loc-intro-row {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 36px;
  align-items: start;
  margin-bottom: 36px;
}

.loc-intro-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 240px;
  background: linear-gradient(135deg, #0a2547, #0066CC);
  position: relative;
}
.loc-intro-img img { width: 100%; height: 100%; object-fit: cover; }
.loc-intro-img.img-fallback { display: flex; align-items: center; justify-content: center; }
.img-fallback-text { position: absolute; font-size: 22px; font-weight: 700; color: rgba(255,255,255,.5); text-align: center; }

.loc-intro-text h2 {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 12px;
  line-height: 1.3;
}
.loc-intro-text p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 20px;
}

.loc-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.loc-tag { font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 50px; }
.loc-tag--green { background: rgba(10,138,106,.10); color: #0a8a6a; }
.loc-tag--blue  { background: rgba(0,102,204,.10);  color: var(--blue); }
.loc-tag--gold  { background: rgba(230,162,0,.12);  color: #c28900; }

/* Clubs grid */
.clubs-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}
.clubs-cards-grid--single { grid-template-columns: 1fr 1fr; }

/* Club detail card */
.club-detail-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.club-detail-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: rgba(0,102,204,.20); }

.club-detail-card--featured {
  border-color: rgba(230,162,0,.30);
  background: linear-gradient(160deg, rgba(230,162,0,.03) 0%, var(--bg) 50%);
}
.club-detail-card--featured:hover { border-color: var(--gold); }

.cdc-featured-label {
  position: absolute;
  top: 0; left: 0; right: 0;
  background: linear-gradient(90deg, var(--gold), #ffaa00);
  color: #1a1a1a;
  font-size: 11px;
  font-weight: 800;
  text-align: center;
  padding: 5px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.club-detail-card--featured .cdc-top { margin-top: 18px; }

.cdc-top { display: flex; align-items: center; gap: 14px; }
.cdc-icon {
  width: 48px; height: 48px;
  background: rgba(0,102,204,.08);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.cdc-icon--gold { background: rgba(230,162,0,.12); }
.cdc-top h3 { font-size: 16px; font-weight: 700; color: var(--dark); margin-bottom: 4px; }

.cdc-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
}
.cdc-badge--active { background: rgba(0,138,106,.12); color: #0a8a6a; }

.cdc-body { display: flex; flex-direction: column; gap: 10px; }
.cdc-info-row {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
  flex-wrap: wrap;
}
.cdc-info-row svg { flex-shrink: 0; margin-top: 1px; }
.map-link { margin-right: auto; color: var(--blue); font-weight: 600; font-size: 12px; white-space: nowrap; }
.map-link:hover { text-decoration: underline; }
.cdc-desc { font-size: 14px; color: var(--text-muted); line-height: 1.65; }

.cdc-features { display: flex; gap: 6px; flex-wrap: wrap; }
.feat-tag { font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 50px; }
.feat-ok  { background: rgba(10,138,106,.10); color: #0a8a6a; }
.feat-no  { background: rgba(200,50,50,.08);  color: #c13333; }

.cdc-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  margin-top: auto;
  transition: gap var(--transition);
}
.cdc-link:hover { gap: 8px; }

/* Footer row */
.loc-footer-row {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 12px;
}

/* Divider */
.loc-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 60px 0;
}
.reveal.in-view  {
    margin: 2rem auto;
}

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .clubs-cards-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .loc-intro-row { grid-template-columns: 1fr; }
  .loc-intro-img { height: 200px; }
  .clubs-cards-grid,
  .clubs-cards-grid--single { grid-template-columns: 1fr; }
  .page-hero-stats { margin: 0 auto; width: calc(100% - 48px); justify-content: center; }
  .search-bar-wrap { flex-direction: column; align-items: stretch; }
  .loc-block-header { flex-wrap: wrap; gap: 8px; }
  .loc-footer-row { justify-content: center; }
}

@media (max-width: 480px) {
  .page-hero-content { padding: 60px 16px 32px; }
  .page-hero-title { font-size: clamp(32px,8vw,48px); }
  .filter-pills { gap: 6px; }
  .pill { padding: 6px 12px; font-size: 12px; }
}