/* ============================================================
   PRAKTIJK GOOSSENS – Hub landingspagina
   Kleurpalet afgestemd op de bikefit website
   ============================================================ */

/* ---- RESET & CSS VARIABLES ---- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --teal:        rgb(118, 197, 191);
  --teal-dark:   rgb(96, 123, 142);
  --dark:        #333;
  --light-bg:    #f4f4f4;
  --border:      #ddd;
  --white:       #fff;
  --text-muted:  #666;
  --shadow-sm:   0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md:   0 5px 18px rgba(0, 0, 0, 0.11);
  --shadow-lg:   0 12px 36px rgba(0, 0, 0, 0.15);
  --radius:      10px;
}

/* ---- BASE ---- */
body {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--dark);
  background: var(--white);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { text-decoration: none; color: inherit; }

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

/* ============================================================
   HEADER
   ============================================================ */
header {
  padding: 14px 5%;
  display: flex;
  align-items: left;
  justify-content: left;
  border-bottom: 1px solid var(--border);
  background: var(--white);
}

/* Logo afbeelding (lang formaat) */
.header-logo {
  height: 52px;
  width: auto;
}

/* ============================================================
   HERO  –  volledige foto-balk, geen tekst-overlay
   ============================================================ */
.hero {
  position: relative;
  width: 100%;
  height: 55vh;   /* zelfde look & feel als de osteopathie- en bikefit-hero */
  min-height: 380px;
  max-height: 620px;
  overflow: hidden;
}

/* ---- Foto-panelen naast elkaar, dekken hero volledig ---- */
.hero-photos {
  display: flex;
  width: 100%;
  height: 100%;
  gap: 0;
}

.hero-photo {
  display: block;
  flex: 1;
  height: 100%;
  background-color: var(--teal-dark);   /* fallback zolang foto ontbreekt */
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  /* Subtiele scheiding: rechter rand */
  border-right: 2px solid rgba(255,255,255,0.25);
}
.hero-photo:last-child { border-right: none; }

/* Aangeklikt paneel lichtjes uitlichten */
.hero-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background 0.25s ease;
  z-index: 1;
}
.hero-photo:hover::before { background: rgba(255,255,255,0.12); }

/* Gradient onderaan elk paneel voor leesbaarheid van label */
.hero-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    rgba(0,0,0,0.58) 0%,
    rgba(0,0,0,0.10) 45%,
    transparent 65%);
}

/* Praktijknaam-label onderaan elk paneel */
.hero-photo-label {
  position: absolute;
  bottom: 18px;
  left: 0;
  right: 0;
  text-align: center;
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  z-index: 2;
}

/* Echte foto's als achtergrond */
.photo-osteo   { background-image: url('images/hero_osteo_grayscale.png'); }
.photo-kine    { background-image: url('images/hero_kine_grayscale.png'); }
.photo-bikefit { background-image: url('images/hero_bikefit_grayscale.png'); }

/* ============================================================
   MAIN CONTENT
   ============================================================ */
main {
  flex: 1;
  padding: 56px 5% 64px;
}

.section-intro {
  text-align: center;
  margin-bottom: 40px;
}

.section-intro h2 {
  font-family: 'Lora', serif;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 600;
  color: var(--dark);
}

/* ============================================================
   CARDS
   ============================================================ */
.cards {
  display: flex;
  gap: 24px;
  max-width: 1140px;
  margin: 0 auto;
  justify-content: center;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.card-color-bar {
  height: 5px;
  background: var(--teal-dark);
  flex-shrink: 0;
}

.card-body {
  padding: 28px 24px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-logo {
  height: 60px;
  width: auto;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 18px;
}

.card .card-sub {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 8px;
}

.card h3 {
  font-family: 'Lora', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--dark);
  text-align: left;
  margin-bottom: 12px;
}

.card p {
  font-size: 15px;
  color: #555;
  line-height: 1.65;
  flex: 1;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 18px 0 22px;
}

.tag {
  background: var(--light-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 4px 11px;
  font-size: 12px;
  color: var(--teal-dark);
  font-weight: 500;
}

/* Aanklikbare tags (osteo + kine) lichten op bij hover */
a.tag {
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

a.tag:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
}

.card-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card-cta {
  display: inline-block;
  background: var(--teal);
  color: var(--white);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.4px;
  padding: 13px 22px;
  border-radius: 6px;
  text-align: center;
  transition: opacity 0.18s ease, background 0.18s ease;
}

.card-cta:hover { opacity: 0.88; }

/* ============================================================
   TEAM
   ============================================================ */
.team-bar {
  background: var(--light-bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 52px 5%;
  text-align: center;
  margin-top: 60px;
}

.team-bar h2 {
  font-family: 'Lora', serif;
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 600;
  margin-bottom: 40px;
  color: var(--dark);
}

.team-members {
  display: flex;
  gap: 52px;
  justify-content: center;
  flex-wrap: wrap;
}

.team-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

/*
  Team avatar: cirkelvormige foto.
  Grootte: 180px. object-fit: cover zorgt voor nette bijsnijding.
*/
.team-avatar {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;  /* gezicht zichtbaar houden */
  border: 4px solid var(--white);
  box-shadow: var(--shadow-md);
  display: block;
}

.team-member .name {
  font-weight: 700;
  font-size: 16px;
  color: var(--dark);
}

.team-member .role {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background-color: var(--dark);
  color: #aaa;
  padding: 46px 5% 22px;
  margin-top: 60px;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  max-width: 1140px;
  margin: 0 auto 30px;
}

.footer-col h4 {
  color: var(--white);
  font-family: Arial, sans-serif;
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 14px;
}

.footer-col p,
.footer-col a {
  display: block;
  font-size: 13px;
  line-height: 2;
  color: #aaa;
}

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

.footer-col p a {
  display: inline;
}

.footer-note {
  color: #8a8a8a;
  font-size: 12px;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}

.footer-social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
}

.footer-social a:hover { background: var(--teal); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 18px;
  text-align: center;
  font-size: 12.5px;
}

footer a { color: var(--teal); }
footer a:hover { text-decoration: underline; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* ---- ≤ 900px : tablet ---- */
@media (max-width: 900px) {
  .hero { height: 340px; }

  .cards {
    flex-direction: column;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }

  .team-members { gap: 36px; }
}

/* ---- ≤ 650px : grote mobiel ---- */
@media (max-width: 650px) {
  .hero { height: auto; min-height: 260px; }

  /* Op mobiel: foto's gestapeld i.p.v. naast elkaar */
  .hero-photos {
    flex-direction: column;
    height: auto;
  }

  .hero-photo {
    /* flex-basis van de basisregel (flex:1) wint het anders van height,
       waardoor de panelen tot 0px inklappen in een kolom-flexbox */
    flex: none;
    height: 180px;
    border-right: none;
    border-bottom: 2px solid rgba(255,255,255,0.25);
  }
  .hero-photo:last-child { border-bottom: none; }

  .hero-eyebrow {
    position: relative;
    top: auto; left: auto;
    transform: none;
    display: block;
    text-align: center;
    background: var(--teal-dark);
    border-radius: 0;
    padding: 10px 5%;
    font-size: 10px;
  }

  .team-avatar { width: 140px; height: 140px; }

  .team-members { gap: 28px; }

  main { padding: 40px 4% 50px; }

  footer { font-size: 12px; line-height: 1.9; }
}