/* ===========================
   TWOCARE ADVISORY — COMPLETE REDESIGN
   Wit achtergrond · Donkerblauw accent · Geen goud
   =========================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Calibri:wght@300;400;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&display=swap');

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

:root {
  --navy:          #082A4E;
  --navy-dark:     #051d36;
  --navy-mid:      #0d3a66;
  --navy-light:    #1a5694;
  --lavender-bg:   #eceef6;
  --lavender-mid:  #dde0ee;
  --lavender-dark: #c8ccdf;
  --purple-btn:    #5356c7;
  --white:         #ffffff;
  --off-white:     #f8f9fc;
  --text-dark:     #082A4E;
  --text-body:     #3d5166;
  --text-muted:    #7a91a8;
  --border:        rgba(8, 42, 78, 0.1);
  --border-dashed: rgba(8, 42, 78, 0.15);
  --shadow:        0 4px 24px rgba(8, 42, 78, 0.1);
  --shadow-lg:     0 12px 48px rgba(8, 42, 78, 0.14);
  --radius:        4px;
  --radius-lg:     8px;
  --transition:    0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Calibri', 'Segoe UI', Tahoma, Geneva, sans-serif;
  background: var(--white);
  color: var(--text-dark);
  line-height: 1.65;
  overflow-x: hidden;
}

/* ===========================
   TYPOGRAPHY
   =========================== */

h1, h2, h3, h4 {
  font-family: 'Libre Baskerville', 'Playfair Display', Georgia, serif;
  line-height: 1.25;
  color: var(--navy);
  letter-spacing: 0.01em;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 700; }
h4 { font-size: 1rem; font-weight: 700; }

p {
  font-size: 1.02rem;
  color: var(--text-body);
  line-height: 1.8;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

/* ===========================
   SECTION LABELS (small caps)
   =========================== */

.section-label {
  display: block;
  font-family: 'Calibri', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.section-title {
  color: var(--navy);
  margin-bottom: 18px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-body);
  max-width: 680px;
  line-height: 1.85;
}

.section-divider {
  width: 40px;
  height: 2px;
  background: var(--navy);
  margin: 16px 0 28px;
}

.text-center { text-align: center; }
.text-center .section-subtitle { margin: 0 auto; }
.text-center .section-divider { margin: 16px auto 28px; }

/* ===========================
   NAVBAR
   =========================== */

.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: 100px;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6%;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: 0 2px 20px rgba(8,42,78,0.08);
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-logo img {
  height: 112px;
  width: auto;
  display: block;
  padding: 4px 0;
}

/* Fallback text mark (hidden when image loads) */
.nav-logo-mark {
  display: none;
}

.nav-logo-roman {
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 4px;
}

.nav-links a {
  font-family: 'Calibri', sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-body);
  padding: 6px 14px;
  border-radius: var(--radius);
  transition: var(--transition);
  letter-spacing: 0.01em;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--navy);
}

.nav-btn {
  background: var(--navy) !important;
  color: var(--white) !important;
  padding: 8px 22px !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
}

.nav-btn:hover {
  background: var(--navy-mid) !important;
  transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--navy);
  border-radius: 1px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  top: 82px; left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 12px 6% 20px;
  flex-direction: column;
  gap: 2px;
  z-index: 999;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 11px 14px;
  font-size: 0.95rem;
  color: var(--text-body);
  border-radius: var(--radius);
  transition: var(--transition);
}
.mobile-menu a:hover, .mobile-menu a.active {
  color: var(--navy);
  background: var(--lavender-bg);
}

/* ===========================
   BUTTONS
   =========================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  font-family: 'Calibri', sans-serif;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover {
  background: var(--navy-mid);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(8,42,78,0.25);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--navy);
}
.btn-white:hover {
  background: var(--lavender-bg);
  transform: translateY(-2px);
}

/* ===========================
   LAYOUT / CONTAINERS
   =========================== */

section { padding: 90px 6%; }

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

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ===========================
   PAGE HERO (inner pages)
   =========================== */

.page-hero {
  padding: 150px 6% 30px;
  background: var(--lavender-bg);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  display: none;
}
.page-hero::after {
  display: none;
  top: 0; bottom: 0;
  right: 18%;
  width: 1px;
  border-left: 1px dashed var(--border-dashed);
}

/* ===========================
   CARDS
   =========================== */

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  transition: var(--transition);
}

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

/* ===========================
   GEOMETRIC SHAPES (decorative)
   =========================== */

.shape-circle {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--navy);
  display: inline-block;
}

.shape-circle-outline {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 2px solid var(--lavender-dark);
  display: inline-block;
}

.shape-square {
  width: 36px; height: 36px;
  background: var(--lavender-mid);
  display: inline-block;
}

.shape-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--navy);
  display: inline-block;
}

.shape-line {
  width: 60px; height: 3px;
  background: var(--navy);
  transform: rotate(-35deg);
  display: inline-block;
}

/* ===========================
   HERO (homepage)
   =========================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 82px;
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(8,26,50,0.72) 0%,
    rgba(8,26,50,0.45) 45%,
    rgba(8,26,50,0.2) 100%
  ),
  url('https://images.unsplash.com/photo-1576091160399-112ba8d25d1d?w=1600&q=80') center/cover no-repeat;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 0 6%;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.12;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-family: 'Libre Baskerville', serif;
  font-style: italic;
  font-size: 1rem;
  color: rgba(255,255,255,0.82);
  letter-spacing: 0.03em;
  margin-bottom: 40px;
  line-height: 1.7;
  max-width: 480px;
}

/* ===========================
   SECTION: witte achtergrond
   =========================== */

.section-white { background: var(--white); }
.section-lavender { background: var(--lavender-bg); }
.section-navy {
  background: var(--navy);
  color: var(--white);
}
.section-navy h2, .section-navy h3, .section-navy h4 {
  color: var(--white);
}
.section-navy p { color: rgba(255,255,255,0.75); }
.section-navy .section-label { color: rgba(255,255,255,0.5); }
.section-navy .section-divider { background: rgba(255,255,255,0.3); }

/* ===========================
   DASHED BORDER COLUMNS (decorative)
   =========================== */

.dashed-col-wrapper {
  position: relative;
}
.dashed-col-wrapper::before,
.dashed-col-wrapper::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 1px;
  border-left: 1px dashed var(--border-dashed);
  pointer-events: none;
}
.dashed-col-wrapper::before { left: 16%; }
.dashed-col-wrapper::after  { right: 16%; }

/* ===========================
   WERKWIJZE ICONS (geometric style)
   =========================== */

.ww-icon {
  height: 78px;
  display: flex;
  align-items: flex-end;
  gap: 6px;
  margin-bottom: 24px;
}

/* ===========================
   TEAM CARDS
   =========================== */

.team-photo-card {
  background: var(--lavender-mid);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.team-photo-placeholder {
  width: 100%;
  padding-bottom: 115%;
  background: linear-gradient(160deg, var(--lavender-mid) 0%, var(--lavender-dark) 100%);
  position: relative;
  display: flex;
  align-items: flex-end;
}

.team-photo-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: rgba(8,42,78,0.08);
  backdrop-filter: blur(4px);
  padding: 16px 20px;
}

.team-photo-caption .tc-role {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-body);
  margin-bottom: 4px;
}

.team-photo-caption .tc-name {
  font-family: 'Libre Baskerville', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ===========================
   TESTIMONIAL
   =========================== */

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
}
.testimonial-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.t-quote-mark {
  font-family: Georgia, serif;
  font-size: 4rem;
  color: var(--lavender-dark);
  line-height: 0.7;
  margin-bottom: 16px;
}
.t-quote {
  font-size: 0.97rem;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 20px;
}
.t-author-name {
  font-family: 'Libre Baskerville', serif;
  font-weight: 700;
  color: var(--navy);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.t-author-role {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 3px;
}

/* ===========================
   CONTACT FORM
   =========================== */

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.form-group input,
.form-group textarea,
.form-group select {
  background: var(--white);
  border: 1px solid var(--lavender-dark);
  border-radius: var(--radius);
  padding: 12px 15px;
  font-size: 0.97rem;
  color: var(--text-dark);
  font-family: 'Calibri', sans-serif;
  outline: none;
  transition: var(--transition);
  width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
  font-style: italic;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(8, 42, 78, 0.08);
}

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

/* ===========================
   FOOTER
   =========================== */

footer {
  background: var(--navy-dark);
  padding: 64px 6% 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  max-width: 1160px;
  margin: 0 auto 48px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.45);
  margin-top: 16px;
  line-height: 1.8;
  max-width: 280px;
}

.footer-col h5 {
  font-family: 'Calibri', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 18px;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  transition: var(--transition);
}
.footer-col ul li a:hover { color: var(--white); }

.footer-bottom {
  max-width: 1160px;
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
}

.footer-logo-white {
  font-family: 'Libre Baskerville', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ===========================
   SCROLL ANIMATIONS
   =========================== */

.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: none; }
.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }

/* ===========================
   UTILITY
   =========================== */

.divider-line {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

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

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  section { padding: 64px 5%; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .dashed-col-wrapper::before,
  .dashed-col-wrapper::after { display: none; }
}
