/* Vanguard Fitness — premium static theme */
:root {
  --bg-deep: #0a0c0f;
  --bg-panel: #12151a;
  --bg-card: rgba(255, 255, 255, 0.04);
  --text: #e8ecf1;
  --text-muted: #9aa3ad;
  --accent: #c9a962;
  --accent-soft: rgba(201, 169, 98, 0.15);
  --border: rgba(255, 255, 255, 0.08);
  --radius-lg: 20px;
  --radius-md: 12px;
  --font-display: "DM Sans", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg-deep);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.2s ease, color 0.2s ease;
}

a:hover {
  opacity: 0.9;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.75rem);
  margin: 0 0 1rem;
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin: 0 0 0.75rem;
}

p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(10, 12, 15, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  position: relative;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), #8b7355);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.72rem;
  color: var(--bg-deep);
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  align-items: center;
}

.site-nav a {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 500;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--text);
}

.nav-cta {
  background: linear-gradient(135deg, var(--accent), #a88f4a);
  color: var(--bg-deep) !important;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
}

.nav-cta:hover {
  opacity: 1;
  filter: brightness(1.05);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text);
  padding: 0.45rem 0.65rem;
  cursor: pointer;
  font-size: 1.1rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: 78vh;
  display: grid;
  align-items: center;
  padding: 4rem 1.25rem 5rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url("../assets/hero-gym.jpg") center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    rgba(10, 12, 15, 0.94) 0%,
    rgba(10, 12, 15, 0.82) 45%,
    rgba(10, 12, 15, 0.55) 100%
  );
}

.hero-inner {
  position: relative;
  max-width: 1160px;
  margin: 0 auto;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid rgba(201, 169, 98, 0.35);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1.35rem;
  animation: fadeUp 0.8s ease both;
}

.hero h1 {
  max-width: 14ch;
  animation: fadeUp 0.85s ease 0.08s both;
}

.hero-lead {
  font-size: 1.12rem;
  max-width: 36rem;
  margin-bottom: 1.85rem;
  animation: fadeUp 0.9s ease 0.15s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  animation: fadeUp 0.95s ease 0.22s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.95rem 1.65rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #a88f4a);
  color: var(--bg-deep);
  box-shadow: 0 12px 40px rgba(201, 169, 98, 0.25);
}

.btn-primary:hover {
  filter: brightness(1.06);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border: 1px solid var(--border);
}

.hero-stats {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  max-width: 520px;
  animation: fadeUp 1s ease 0.28s both;
}

.stat {
  padding: 1rem 1.1rem;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--accent);
}

.stat span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section {
  padding: 5rem 1.25rem;
}

.section-muted {
  background: linear-gradient(180deg, var(--bg-panel), var(--bg-deep));
  border-block: 1px solid var(--border);
}

.container {
  max-width: 1160px;
  margin: 0 auto;
}

.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 3rem;
}

.section-kicker {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 0.5rem;
}

/* Value grid */
.grid-3 {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 720px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  padding: 1.75rem 1.65rem;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: transform 0.35s ease, border-color 0.35s;
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(201, 169, 98, 0.35);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--accent-soft);
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  margin-bottom: 1.1rem;
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  gap: 1.35rem;
}

@media (min-width: 900px) {
  .testimonial-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 1fr;
  }
}

.testimonial {
  padding: 1.6rem;
  border-radius: var(--radius-lg);
  background: var(--bg-panel);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform 0.3s ease;
}

.testimonial:hover {
  transform: translateY(-3px);
}

.testimonial-head {
  display: flex;
  align-items: center;
  gap: 0.95rem;
}

.testimonial-photo {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(201, 169, 98, 0.5);
}

.stars {
  color: var(--accent);
  letter-spacing: 0.1em;
  font-size: 0.92rem;
}

.testimonial-quote {
  font-size: 0.98rem;
  color: var(--text-muted);
  margin: 0;
  flex-grow: 1;
}

.testimonial-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Locations / vestigingen */
.facility-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 800px) {
  .facility-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.facility-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-panel);
}

.facility-media {
  aspect-ratio: 16/10;
  background: #222;
}

.facility-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.facility-body {
  padding: 1.35rem 1.5rem 1.5rem;
}

/* Form */
.form-card {
  max-width: 640px;
  margin: 0 auto;
  padding: 2.25rem;
  border-radius: var(--radius-lg);
  background: var(--bg-panel);
  border: 1px solid var(--border);
}

.form-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 600px) {
  .form-grid-split {
    grid-template-columns: 1fr 1fr;
  }
}

label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

input,
textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--bg-deep);
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(201, 169, 98, 0.45);
  outline-offset: 2px;
}

.form-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

.form-success {
  display: none;
  padding: 1rem;
  border-radius: var(--radius-md);
  background: rgba(74, 222, 128, 0.12);
  border: 1px solid rgba(74, 222, 128, 0.35);
  color: #86efac;
  margin-top: 1rem;
}

.form-success.visible {
  display: block;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 3rem 1.25rem;
  background: var(--bg-deep);
}

.footer-grid {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  gap: 2rem;
}

@media (min-width: 800px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    align-items: start;
  }
}

.footer-muted {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--text-muted);
}

.footer-copy {
  text-align: center;
  padding-top: 2.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Cookie banner */
.cookie-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 950;
  padding: 1rem;
  pointer-events: none;
}

.cookie-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 1.15rem 1.35rem;
  border-radius: var(--radius-lg);
  background: rgba(18, 21, 26, 0.97);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  pointer-events: auto;
  animation: fadeUp 0.6s ease both;
}

.cookie-bar.hidden {
  display: none;
}

.cookie-text {
  flex: 1 1 280px;
  font-size: 0.92rem;
  color: var(--text-muted);
  margin: 0;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.btn-sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.88rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-family: var(--font-display);
}

.cookie-actions .btn-sm.btn-primary {
  background: linear-gradient(135deg, var(--accent), #a88f4a);
  color: var(--bg-deep);
}

.cookie-actions .btn-sm.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.cookie-panel {
  max-width: 1080px;
  margin: 0.65rem auto 0;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  background: rgba(10, 12, 15, 0.95);
  border: 1px solid var(--border);
  font-size: 0.88rem;
  color: var(--text-muted);
  pointer-events: auto;
}

.cookie-panel.hidden {
  display: none;
}

.cookie-panel .btn-sm.btn-primary {
  margin-top: 0.75rem;
  background: linear-gradient(135deg, var(--accent), #a88f4a);
  color: var(--bg-deep);
}

.cookie-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

/* WhatsApp FAB */
.whats-float {
  position: fixed;
  right: 1.1rem;
  bottom: 5.75rem;
  z-index: 940;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 14px 40px rgba(18, 140, 126, 0.45);
  transition: transform 0.25s ease, box-shadow 0.25s;
}

.whats-float:hover {
  transform: scale(1.06);
}

.whats-float svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

/* Legal prose */
.prose {
  max-width: 760px;
  margin: 0 auto;
}

.prose h2 {
  margin-top: 2.25rem;
  font-size: 1.35rem;
}

.prose ul {
  color: var(--text-muted);
  padding-left: 1.25rem;
}

/* Inner page hero small */
.page-hero {
  padding: 4rem 1.25rem 2.75rem;
  background: radial-gradient(
      ellipse 80% 50% at 50% -20%,
      rgba(201, 169, 98, 0.18),
      transparent
    ),
    var(--bg-deep);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.page-hero p {
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* Mobile nav */
@media (max-width: 960px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 12, 15, 0.98);
    border-bottom: 1px solid var(--border);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }

  .site-nav.open {
    max-height: 480px;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.25rem;
    gap: 0;
  }

  .site-nav li {
    border-bottom: 1px solid var(--border);
  }

  .site-nav a {
    display: block;
    padding: 0.85rem 0;
  }

  .nav-cta {
    text-align: center;
    margin-top: 0.75rem !important;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .cookie-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-actions {
    width: 100%;
  }

  .btn-sm {
    flex: 1;
    justify-content: center;
  }

  .whats-float {
    bottom: 6.75rem;
  }
}

/* Scroll reveal lite */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
