/* The Padel Club — thepadelclub.ph */

:root {
  --navy: #0a1638;
  --navy-2: #101f4d;
  --navy-3: #16296b;
  --ink: #0a1638;
  --white: #ffffff;
  --ice: #eef1f9;
  --line: rgba(255, 255, 255, 0.14);
  --line-dark: rgba(10, 22, 56, 0.12);
  --muted: #5a6480;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  background: var(--white);
  color: var(--navy);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.display {
  font-family: 'Bricolage Grotesque', 'Inter', sans-serif;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.kicker {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--navy-3);
  font-weight: 600;
}
.on-dark .kicker, .kicker.on-dark { color: rgba(255,255,255,0.68); }

h1, h2, h3 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.08;
}

/* Header */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: background 0.25s ease, padding 0.25s ease, box-shadow 0.25s ease;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header.scrolled {
  background: var(--navy);
  padding: 12px 0;
  box-shadow: 0 4px 24px rgba(10,22,56,0.18);
}

.site-header .logo-mark { height: 30px; }

.site-header nav {
  display: flex;
  gap: 32px;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.site-header nav a {
  color: var(--white);
  position: relative;
  padding-bottom: 4px;
}
.site-header nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--white);
  transition: width 0.2s ease;
}
.site-header nav a:hover::after { width: 100%; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 14px 28px;
  border: 2px solid transparent;
  border-radius: 999px;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }

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

.btn-outline-light {
  color: var(--white);
  border-color: rgba(255,255,255,0.55);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }

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

.btn-solid-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-solid-navy:hover { background: var(--navy-3); }

.site-header .btn { padding: 11px 24px; font-size: 13px; }

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--white);
  overflow: hidden;
  background: var(--navy);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 15%;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,22,56,0.55) 0%, rgba(10,22,56,0.25) 32%, rgba(10,22,56,0.96) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 160px;
  padding-bottom: 0;
  width: 100%;
}

.hero-content .kicker { color: rgba(255,255,255,0.68); margin-bottom: 18px; }

.hero-content h1 {
  font-size: 68px;
  max-width: 820px;
  margin-bottom: 22px;
}
.hero-content h1 .accent { color: var(--white); text-decoration: underline; text-decoration-color: rgba(255,255,255,0.4); text-underline-offset: 8px; }

.hero-content p {
  font-size: 19px;
  color: rgba(255,255,255,0.85);
  max-width: 520px;
  margin-bottom: 34px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 56px; }

.hero-stats {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.hero-stat {
  padding: 26px 32px;
  border-right: 1px solid var(--line);
}
.hero-stat:last-child { border-right: none; }

.hero-stat .num {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 26px;
  font-weight: 700;
}
.hero-stat .label {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  margin-top: 4px;
}

/* Section spacing */
section { padding: 100px 0; }
section.tight { padding: 70px 0; }

.section-head {
  max-width: 640px;
  margin: 0 0 56px;
}

.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.section-head .kicker { display: block; margin-bottom: 14px; }

.section-head h2 {
  font-size: 42px;
  color: var(--navy);
}

.section-head p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 18px;
}

/* Pillars: Adults / Kids / Community */
.pillars { background: var(--white); }

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.pillar-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  height: 460px;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.pillar-card:hover { box-shadow: 0 20px 40px rgba(10,22,56,0.24); transform: translateY(-3px); }

.pillar-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.pillar-card:hover img { transform: scale(1.06); }

.pillar-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,22,56,0) 40%, rgba(10,22,56,0.9) 100%);
  pointer-events: none;
}

.pillar-overlay {
  position: absolute;
  left: 26px; right: 26px; bottom: 26px;
  z-index: 2;
  color: var(--white);
}
.pillar-overlay .kicker { color: rgba(255,255,255,0.7); margin-bottom: 10px; }

.pillar-overlay h3 {
  font-size: 21px;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.25;
}

.pillar-overlay p {
  font-size: 15px;
  color: rgba(255,255,255,0.82);
}

/* Courts & pricing */
.courts {
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.courts .section-head h2 { color: var(--white); }
.courts .section-head p { color: rgba(255,255,255,0.7); }

.courts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}

.court-fact {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 36px 28px;
}

.court-fact .num {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 8px;
}

.court-fact .label {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}

.rate-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 28px;
  background: var(--white);
  color: var(--navy);
  border-radius: 20px;
  padding: 44px 48px;
}

.rate-banner .price-block .kicker { margin-bottom: 8px; }

.rate-banner .playtomic-line {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 32px;
  font-weight: 700;
}

.rate-banner p {
  color: var(--muted);
  margin-top: 8px;
  max-width: 380px;
}

/* Training */
.training { background: var(--ice); }

.program-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 44px;
}

.program-card {
  background: var(--white);
  border: 1px solid var(--line-dark);
  border-radius: 20px;
  padding: 36px 30px;
}

.program-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--navy);
  color: var(--white);
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 22px;
}

.program-card h3 {
  font-size: 21px;
  color: var(--navy);
  margin-bottom: 12px;
}

.program-card p {
  color: var(--muted);
  font-size: 16px;
}

.training-cta { text-align: center; }

/* Gallery intro IG link */
.ig-link {
  color: var(--navy-3);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Gallery — Airy Premium Masonry */
.gallery-grid {
  column-count: 3;
  column-gap: 28px;
}

.gallery-grid a {
  display: block;
  break-inside: avoid;
  margin-bottom: 28px;
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.gallery-grid a:hover { transform: translateY(-4px); box-shadow: 0 20px 34px rgba(10,22,56,0.16); }

.gallery-grid img {
  width: 100%;
  display: block;
  border-radius: 14px;
  transition: transform 0.4s ease;
}
.gallery-grid a:hover img { transform: scale(1.04); }

/* CTA band */
.cta-band {
  background: var(--navy);
  color: var(--white);
  text-align: center;
}

.cta-band h2 {
  font-size: 44px;
  margin-bottom: 18px;
}

.cta-band p {
  font-size: 18px;
  color: rgba(255,255,255,0.75);
  max-width: 520px;
  margin: 0 auto 34px;
}

.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Visit */
.visit-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
}

.visit h2 {
  font-size: 36px;
  color: var(--navy);
  margin-bottom: 26px;
}

.visit-detail {
  display: flex;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line-dark);
}
.visit-detail:first-of-type { border-top: 1px solid var(--line-dark); }

.visit-detail .dt {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy-3);
  min-width: 110px;
}

.visit-detail .dd { color: var(--navy); font-size: 17px; }

.visit-map {
  border-radius: 20px;
  overflow: hidden;
  min-height: 340px;
  background: var(--navy);
  border: 1px solid var(--line-dark);
}

.visit-map iframe {
  width: 100%;
  height: 100%;
  min-height: 340px;
  border: 0;
  display: block;
}

.visit-directions-btn { margin-top: 8px; }

.visit-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.visit-actions .visit-directions-btn { margin-top: 8px; }

/* Footer */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.6);
  padding: 44px 0 32px;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-row .logo-mark { height: 24px; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  row-gap: 12px;
  gap: 26px;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 13px;
  font-weight: 600;
}
.footer-links a:hover { color: var(--white); }

.footer-note {
  margin-top: 24px;
  font-size: 12px;
  color: rgba(255,255,255,0.35);
}

/* Responsive */
@media (max-width: 980px) {
  .visit-grid { grid-template-columns: 1fr; }
  .courts-grid, .pillar-grid, .program-grid { grid-template-columns: 1fr; }
  .gallery-grid { column-count: 2; column-gap: 16px; }
  .gallery-grid a { margin-bottom: 16px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .site-header nav { display: none; }
  .hero-content h1 { font-size: 44px; }
  .section-head h2 { font-size: 32px; }
  .rate-banner { flex-direction: column; align-items: flex-start; }
  .hero-bg { background-position: 30% 12%; }
}
