/*
Theme Name:   Fasco Communicatie
Theme URI:    https://fascocommunicatie.nl
Author:       Fasco Communicatie
Description:  Custom single-page WordPress theme for Fasco Communicatie, built on Bootstrap 5 (via CDN) with a bespoke design system layered on top. Converted from the approved static HTML/CSS prototype.
Version:      1.0.0
Requires PHP: 8.0
Text Domain:  fasco
*/

/* =========================================================
   FASCO — Design system
   Design tokens (colors, radii, shadows) are centralised as
   CSS custom properties so every component below reuses the
   same palette instead of repeating hex values.
========================================================= */
:root{
  --ink:               #211D19;
  --ink-soft:          #6B655D;
  --ink-faint:         #948C81;

  --bg:                #FBF8F2;
  --bg-alt:            #F3ECE0;
  --surface:           #FFFFFF;
  --line:              #E7DECE;

  --accent:            #EA5A2A;
  --accent-dark:       #C84616;
  --accent-tint:       #FCE0CF;
  --accent-tint-2:     #F9D1B3;

  --secondary:         #277C6A;
  --secondary-tint:    #DAECE3;
  --secondary-tint-2:  #8DCEAD;

  --dark:              #201C18;

  --radius-lg: 30px;
  --radius-md: 20px;
  --radius-sm: 14px;

  --shadow-soft: 0 30px 60px -35px rgba(33, 29, 25, 0.25);
}

/* =========================================================
   Base / typography
   Bootstrap's reboot already normalises box-sizing and form
   elements, so only the project-specific type system lives here.
========================================================= */
html{ scroll-behavior: smooth; scroll-padding-top: 96px; }

body{
  font-family: "Inter", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-size: 1.05rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4,
.display-font{
  font-family: "Space Grotesk", "Inter", sans-serif;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

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

.container{ max-width: 1240px; }

/* Reusable section rhythm: every content section shares the same
   vertical padding and can alternate onto the tinted background. */
section.section{ padding: 6.5rem 0; position: relative; }
section#contact.section{ padding: 3rem 0; position: relative; }
@media (max-width: 767.98px){
  section.section{ padding: 4rem 0; }
}

.bg-alt{ background: var(--bg-alt); }
.bg-surface{ background: var(--surface); }

.text-accent{ color: var(--accent); }
.text-secondary{ color: var(--secondary); }
.text-soft{ color: var(--ink-soft); }
.text-faint{ color: var(--ink-faint); }

/* ---------- Kickers / eyebrow labels ---------- */
.kicker{
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  text-transform: uppercase;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--accent);
  margin-bottom: 1.1rem;
}
.kicker::before{
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}
.kicker-light{ color: var(--accent-tint-2); }
.kicker-light::before{ background: var(--accent-tint-2); }

/* ---------- Buttons ---------- */
.btn{
  border-radius: 999px;
  font-weight: 600;
  padding: .85rem 1.85rem;
  font-size: 1rem;
  border: 2px solid transparent;
  transition: transform .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
}
.btn:active{ transform: translateY(1px); }

.btn-dark-pill{
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.btn-dark-pill:hover{
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.btn-outline-pill{
  background: transparent;
  color: var(--secondary);
  border-color: var(--secondary);
}
.btn-outline-pill:hover{
  background: var(--secondary);
  color: #fff;
}

.btn-accent-pill{
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-accent-pill:hover{
  background: #fff;
  color: var(--accent-dark);
  border-color: #fff;
}

.btn-lg{ padding: 1rem 2.1rem; font-size: 1.02rem; }
.btn-sm{ padding: .58rem 1.3rem; font-size: .9rem; }

/* ---------- Header ---------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(251, 248, 242, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.navbar{ padding: 1.1rem 0; }
.navbar-brand{
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: .02em;
  color: var(--ink);
}
.brand-fas{ color: var(--accent); }
.brand-co{ color: var(--secondary); }
.nav-link{
  font-weight: 500;
  color: var(--ink) !important;
  padding: .5rem 1rem !important;
  position: relative;
}
.nav-link:hover{ color: var(--accent) !important; }
.navbar-toggler{
  border: none;
  box-shadow: none !important;
  padding: .25rem .5rem;
}
.navbar-toggler-icon{
  background-image: none;
  position: relative;
  width: 22px;
  height: 16px;
  border-top: 2px solid var(--ink);
}
.navbar-toggler-icon::before,
.navbar-toggler-icon::after{
  content:"";
  position:absolute;
  left:0; right:0;
  height:2px;
  background: var(--ink);
}
.navbar-toggler-icon::before{ top:0; }
.navbar-toggler-icon::after{ bottom:0; }

/* ---------- Decorative blobs ---------- */
.blob{
  position: absolute;
  z-index: 0;
  border-radius: 62% 38% 55% 45% / 45% 40% 60% 55%;
  pointer-events: none;
}

/* ---------- Hero ---------- */
.hero{ padding-top: 4.5rem; padding-bottom: 5rem; overflow: hidden; }
.hero-title{
  font-size: clamp(2.5rem, 4.4vw, 3.6rem);
  margin-bottom: 1.4rem;
}
.hero-lead{
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 34rem;
  margin-bottom: 2.1rem;
}
.hero-media{ position: relative; z-index: 1; }
.hero-media .blob-1{
  width: 340px; height: 340px;
  top: -40px; right: 20px;
  background: var(--accent-tint);
}
.hero-media .blob-2{
  width: 220px; height: 220px;
  bottom: -30px; left: -10px;
  background: var(--secondary-tint);
}
.hero-portrait{
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 4 / 4.7;
  object-fit: cover;
  display: block;
  margin: 0 auto;
  border-radius: 58% 42% 53% 47% / 44% 41% 59% 56%;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

/* ---------- Section headers ---------- */
.section-head{ max-width: 60rem; }
.section-head h2{ font-size: clamp(1.9rem, 3vw, 2.5rem); margin-bottom: 1.1rem; }
.section-head p{ color: var(--ink-soft); font-size: 1.08rem; }

/* ---------- Over Fasco ---------- */
.info-card{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 2rem;
  height: 100%;
}
.info-card p{ color: var(--ink-soft); }
.fasco-link{
  font-weight: 600;
  color: var(--ink);
  text-underline-offset: 4px;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
}
.fasco-link:hover{ color: var(--accent); }

.bio-card{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.75rem;
  position: relative;
  overflow: hidden;
}
.bio-card h3{ font-size: 1.3rem; margin-bottom: 1rem; }
.bio-card p{ color: var(--ink-soft); max-width: 60rem; }
.bio-card .note{ font-style: italic; color: var(--ink-faint); font-size: .95rem; }

/* ---------- Over Fasco: sfeerbeeld ---------- */
.detail-photo{
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}
.detail-photo .blob{ opacity: .7; }
.detail-photo .blob-photo-1{
  width: 170px; height: 170px;
  top: -28px; right: -24px;
  background: var(--secondary-tint);
}
.detail-photo .blob-photo-2{
  width: 130px; height: 130px;
  bottom: -22px; left: -20px;
  background: var(--accent-tint);
}
.detail-photo-img{
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 5 / 4.3;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

/* ---------- Over Fasco: video-teaser ---------- */
.video-teaser{
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  margin-top: 1.75rem;
  cursor: pointer;
  transition: transform .22s ease, box-shadow .22s ease;
}
.video-teaser:hover, .video-teaser:focus-visible{
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
  outline: none;
}
.video-thumb{
  position: relative;
  flex: none;
  width: 128px;
  aspect-ratio: 16 / 11;
  border-radius: var(--radius-md);
  background-color: var(--bg-alt);
  background-image: repeating-linear-gradient(45deg, var(--line) 0 10px, transparent 10px 20px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.video-play{
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px -6px rgba(234,90,42,.55);
}
.video-play svg{ width: 16px; height: 16px; margin-left: 2px; }
.video-teaser-text h3{ font-size: 1.05rem; margin-bottom: .25rem; }
.video-teaser-text p{ color: var(--ink-soft); margin-bottom: 0; font-size: .95rem; }
.video-teaser-text .note{ font-style: italic; color: var(--ink-faint); }

.video-modal-content{
  background: var(--dark);
  border: none;
  border-radius: var(--radius-lg);
  padding: .85rem;
  position: relative;
}
.video-modal-content .btn-close{
  position: absolute;
  top: -14px; right: -14px;
  width: 34px; height: 34px;
  border-radius: 50%;
  background-color: #fff;
  opacity: 1;
  background-size: 13px;
  box-shadow: var(--shadow-soft);
  z-index: 2;
}
.video-placeholder-frame{
  width: 100%; height: 100%;
  background-color: var(--bg-alt);
  background-image: repeating-linear-gradient(45deg, var(--line) 0 14px, transparent 14px 28px);
  border-radius: calc(var(--radius-lg) - .5rem);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--ink-soft);
  font-size: .95rem;
  padding: 1rem;
}
.video-placeholder-frame .note{ font-style: italic; color: var(--ink-faint); font-size: .85rem; }

/* ---------- Cards: diensten ---------- */
.icon-badge{
  width: 58px; height: 58px;
  border-radius: 18px;
  background: var(--accent-tint);
  color: var(--accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  flex: none;
}
.icon-badge svg{ width: 26px; height: 26px; }
.icon-badge.alt{ background: var(--secondary-tint); color: var(--secondary); border: 1px solid var(--secondary-tint-2); }

.service-card{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.4rem;
  height: 100%;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.service-card:hover{
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
  border-color: transparent;
}
.service-card h3{ font-size: 1.2rem; margin-bottom: .7rem; }
.service-card p{ color: var(--ink-soft); margin-bottom: 0; }
.service-card .note{ font-style: italic; color: var(--ink-faint); font-size: .95rem; }

/* Hele dienst-kaart is klikbaar en opent een pop-up met meer informatie */
.service-card-clickable{ cursor: pointer; }
.service-card-clickable:focus-visible{
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.service-more{
  display: inline-block;
  margin-top: .9rem;
  font-weight: 600;
  font-size: .9rem;
  color: var(--ink);
  text-underline-offset: 4px;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
}
.service-card-clickable:hover .service-more,
.service-card-clickable:focus-visible .service-more{ color: var(--accent); }

/* Pop-up (Bootstrap modal) per dienst, in stijl met de rest van de site */
.service-modal-content{
  background: var(--surface);
  border: none;
  border-radius: var(--radius-lg);
  padding: .85rem;
  position: relative;
}
.service-modal-content .btn-close{
  position: absolute;
  top: -14px; right: -14px;
  width: 34px; height: 34px;
  border-radius: 50%;
  background-color: #fff;
  opacity: 1;
  background-size: 13px;
  box-shadow: var(--shadow-soft);
  z-index: 2;
}
.service-modal-body{ padding: 2.6rem 2.6rem 2.2rem; }
.service-modal-body .icon-badge{ margin-bottom: 1.4rem; }
.service-modal-body h2{ font-size: 1.5rem; margin-bottom: .9rem; }
.service-modal-body .lead-text{
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.6;
  margin-bottom: 1.6rem;
}
.service-modal-list{
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: grid;
  gap: .85rem;
}
.service-modal-list li{
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  color: var(--ink);
  font-size: .95rem;
  line-height: 1.5;
}
.service-modal-list svg{
  flex: none;
  width: 20px; height: 20px;
  margin-top: .1rem;
  color: var(--secondary);
}
.service-modal-body .btn{ width: 100%; }
@media (min-width: 576px){
  .service-modal-body .btn{ width: auto; }
}
/* .btn-accent-pill's hover (wit) is bedoeld voor de donkere contact-sectie; op deze
   lichte pop-up zou dat onzichtbaar worden, dus hier juist donkerder op hover */
.service-modal-body .btn-accent-pill:hover{
  background: var(--accent-dark);
  color: #fff;
  border-color: var(--accent-dark);
}

/* ---------- Sectorfocus ---------- */
.sector-card{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.9rem;
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  height: 100%;
}
.sector-card .icon-badge{ margin-bottom: 0; width: 48px; height: 48px; border-radius: 14px; }
.sector-card .icon-badge svg{ width: 22px; height: 22px; }
.sector-card p{ margin-bottom: 0; font-weight: 500; color: var(--ink); }

/* ---------- USPs ---------- */
.usp-tags{ display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 2rem; }
.usp-tag{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .55rem 1.2rem;
  font-size: .9rem;
  font-weight: 600;
  color: var(--secondary);
}
.usp-tag::before{ content: "— "; color: var(--accent); }

/* ---------- Reviews ---------- */
.review-card{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.review-avatar{
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--accent-tint);
  color: var(--accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4rem;
}
.review-avatar.alt{ background: var(--secondary-tint); color: var(--secondary); }
.review-avatar svg{ width: 24px; height: 24px; }
.review-quote{
  color: var(--ink);
  font-style: italic;
  margin-bottom: 1.4rem;
  flex: 1;
}
.review-name{ font-weight: 700; font-size: .98rem; }
.review-role{ color: var(--ink-faint); font-size: .88rem; }
.review-note{ color: var(--ink-faint); font-size: .92rem; font-style: italic; margin-top: 2.2rem; }

/* ---------- Contact ---------- */
.section-contact{
  background: var(--dark);
  color: #fff;
  border-radius: var(--radius-lg);
  margin: 0 1rem;
  overflow: hidden;
  position: relative;
}
@media (min-width: 992px){
  .section-contact{ margin: 0 auto; max-width: 1300px; }
}
.section-contact h2{ color: #fff; font-size: clamp(1.9rem, 3.2vw, 2.6rem); margin-bottom: 1.2rem; }
.section-contact .lead-text{ color: rgba(255,255,255,.78); font-size: 1.02rem; line-height: 1.6; margin-bottom: 1.8rem; max-width: 34rem; }
.section-contact .blob{ opacity: .12; background: var(--accent); }
.section-contact .blob-c1{ width: 380px; height: 380px; top: -120px; right: -80px; }
.section-contact .blob-c2{ width: 260px; height: 260px; bottom: -100px; left: -60px; background:#fff; opacity:.06; }

.contact-links{
  display: flex;
  flex-direction: column;
  gap: .9rem;
}
.contact-link-item{
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 1.15rem 1.3rem;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius-md);
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}
.contact-link-item > span:last-child{ min-width: 0; }
.contact-link-item:hover, .contact-link-item:focus-visible{
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.3);
  transform: translateY(-2px);
  outline: none;
}
.contact-link-icon{
  flex: none;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: var(--accent-tint-2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-link-icon svg{ width: 21px; height: 21px; }
.contact-link-label{
  display: block;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .72rem;
  font-weight: 700;
  color: rgba(255,255,255,.5);
  margin-bottom: .2rem;
}
.contact-link-value{
  display: block;
  font-weight: 600;
  color: #fff;
  font-size: 1.02rem;
  overflow-wrap: anywhere;
}

/* ---------- Footer ---------- */
.site-footer{
  padding: 3rem 0;
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.footer-logo{
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink);
}
.footer-nav{ display: flex; gap: 1.6rem; flex-wrap: wrap; }
.footer-nav a{ color: var(--ink-soft); font-size: .95rem; font-weight: 500; }
.footer-nav a:hover{ color: var(--accent); }
.footer-copy{ color: var(--ink-faint); font-size: .88rem; }
