/* Praktijk De Goudvink — Main Stylesheet */

/* ── Custom Properties ─────────────────────────── */
:root {
  --cream:       #F8F4EE;
  --warm-white:  #FDFAF6;
  --blue-pale:   #D8EBF4;
  --blue-soft:   #A8C9DB;
  --blue:        #6FA5BF;
  --blue-deep:   #4A85A3;
  --gold:        #C09A5C;
  --gold-light:  #D4B27A;
  --text:        #1D1A17;
  --text-mid:    #68584F;
  --text-soft:   #9E8F87;
  --border:      #E2DACF;
  --border-lt:   #EBE4DA;

  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'Raleway', 'Trebuchet MS', sans-serif;
  --max-w: 1080px;
}

/* ── Reset ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
address { font-style: normal; }

/* ── Base ──────────────────────────────────────── */
body {
  background: var(--cream);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.75;
  min-height: 100vh;
}

::selection { background: var(--blue-soft); color: var(--text); }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

/* ── Layout ────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── Section label ─────────────────────────────── */
.label {
  display: block;
  font-size: 0.63rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: center;
  margin-bottom: 0.55rem;
}

/* ── Buttons ───────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.95rem 2.5rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--blue-deep);
  color: #fff;
  border-color: var(--blue-deep);
}
.btn-primary:hover {
  background: transparent;
  color: var(--blue-deep);
}

.btn-ghost {
  background: transparent;
  color: var(--blue-deep);
  border-color: var(--blue-deep);
}
.btn-ghost:hover {
  background: var(--blue-deep);
  color: #fff;
}

/* ── Ornament divider ──────────────────────────── */
.divider-wrap {
  padding: 0 2rem;
}

.divider {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  max-width: 280px;
  margin: 0 auto;
  color: var(--gold);
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: currentColor;
  opacity: 0.28;
}

.divider-icon {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  opacity: 0.45;
}

/* ───────────────────────────────────────────────
   HEADER
   ─────────────────────────────────────────────── */
.site-header {
  background: var(--warm-white);
  border-bottom: 1px solid var(--border);
  padding: 1.6rem 2rem;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.logo-icon {
  width: 38px;
  height: 28px;
  flex-shrink: 0;
  color: var(--blue-deep);
}

.logo-text-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.logo-name {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1;
  color: var(--text);
}

.logo-tagline {
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-soft);
  font-weight: 400;
}

/* ───────────────────────────────────────────────
   HERO
   ─────────────────────────────────────────────── */
.hero {
  background: var(--warm-white);
  padding: 7rem 2rem 6.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: -130px; right: -130px;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(111,165,191,0.14) 0%, transparent 65%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(192,154,92,0.09) 0%, transparent 65%);
  pointer-events: none;
}

.hero-deco {
  position: absolute;
  top: -30px; right: 0;
  width: 280px; height: 380px;
  opacity: 0.12;
  pointer-events: none;
  color: var(--blue);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
}

/* Staggered entrance */
.hero-badge   { animation: fadeUp 0.7s 0.1s  both ease-out; }
.hero h1      { animation: fadeUp 0.8s 0.25s both ease-out; }
.hero-text    { animation: fadeUp 0.8s 0.42s both ease-out; }
.hero-actions { animation: fadeUp 0.8s 0.58s both ease-out; }

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.63rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue-deep);
  background: rgba(74,133,163,0.07);
  border: 1px solid rgba(74,133,163,0.24);
  padding: 0.42rem 1.1rem;
  border-radius: 100px;
  margin-bottom: 2.25rem;
}

.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--blue-deep);
  border-radius: 50%;
  opacity: 0.6;
  flex-shrink: 0;
  animation: pulse 2.8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50%       { opacity: 1;    transform: scale(1.35); }
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.9rem, 6.5vw, 5.2rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 1.5rem;
  text-wrap: balance;
}

.hero h1 em {
  font-style: italic;
  color: var(--blue-deep);
  display: block;
}

.hero-text {
  font-size: 1rem;
  color: var(--text-mid);
  max-width: 530px;
  margin: 0 auto 2.75rem;
  line-height: 1.95;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ───────────────────────────────────────────────
   SERVICES
   ─────────────────────────────────────────────── */
.services {
  padding: 5.5rem 2rem 6rem;
  background: var(--cream);
}

.services .divider-wrap {
  margin-bottom: 3rem;
}

.services-heading {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 400;
  font-style: italic;
  color: var(--text);
  text-align: center;
  margin-bottom: 3.75rem;
  text-wrap: balance;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  max-width: 980px;
  margin: 0 auto;
}

.service-card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-top: 2.5px solid transparent;
  padding: 2.75rem 2rem;
  text-align: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-top-color 0.35s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.07);
  border-top-color: var(--gold);
}

.card-icon {
  width: 50px; height: 50px;
  margin: 0 auto 1.75rem;
  color: var(--blue);
}

.service-card h3 {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 400;
  font-style: italic;
  color: var(--text);
  margin-bottom: 0.85rem;
  line-height: 1.2;
}

.service-card > p {
  font-size: 0.85rem;
  color: var(--text-mid);
  line-height: 1.85;
  margin-bottom: 1.5rem;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
}

.tag {
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--blue-deep);
  background: rgba(74,133,163,0.07);
  border: 1px solid rgba(74,133,163,0.2);
  padding: 0.25rem 0.7rem;
  border-radius: 100px;
}

/* ───────────────────────────────────────────────
   CONTACT
   ─────────────────────────────────────────────── */
.contact {
  padding: 6rem 2rem;
  background: var(--warm-white);
  border-top: 1px solid var(--border);
}

.contact-heading {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 400;
  font-style: italic;
  color: var(--text);
  text-align: center;
  margin-bottom: 0.9rem;
  text-wrap: balance;
}

.contact-intro {
  text-align: center;
  font-size: 0.92rem;
  color: var(--text-mid);
  max-width: 450px;
  margin: 0 auto 3.5rem;
  line-height: 1.9;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 840px;
  margin: 0 auto 3rem;
}

.contact-item {
  text-align: center;
  padding: 2.25rem 1.25rem;
  border: 1px solid var(--border-lt);
  background: var(--cream);
  transition: border-color 0.3s ease;
}

.contact-item:hover {
  border-color: var(--blue-soft);
}

.contact-icon {
  width: 34px; height: 34px;
  margin: 0 auto 1rem;
  color: var(--blue);
}

.contact-item h4 {
  font-family: var(--sans);
  font-size: 0.6rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--text-soft);
  font-weight: 500;
  margin-bottom: 0.55rem;
}

.contact-item p,
.contact-item address,
.contact-item a {
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.65;
}

.contact-item a:hover { color: var(--blue-deep); }

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

/* ───────────────────────────────────────────────
   FOOTER
   ─────────────────────────────────────────────── */
.site-footer {
  padding: 2.5rem 2rem;
  background: var(--cream);
  border-top: 1px solid var(--border);
  text-align: center;
}

.site-footer p {
  font-size: 0.76rem;
  color: var(--text-soft);
  line-height: 2.1;
}

.site-footer a {
  color: var(--text-soft);
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.site-footer a:hover {
  color: var(--text-mid);
  border-bottom-color: var(--text-mid);
}

/* ───────────────────────────────────────────────
   ACCESSIBILITY — REDUCED MOTION
   ─────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ───────────────────────────────────────────────
   RESPONSIVE
   ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .services-grid,
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 5rem 1.5rem 4.5rem;
    min-height: 70vh;
  }

  .services {
    padding: 4.5rem 1.5rem 5rem;
  }

  .contact {
    padding: 4.5rem 1.5rem;
  }

  .services-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero::before,
  .hero::after,
  .hero-deco { display: none; }
}

@media (max-width: 440px) {
  .logo {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
  .logo-text-wrap { align-items: center; }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    display: block;
    width: 100%;
    max-width: 280px;
    text-align: center;
  }
}
