@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

/* ### DEBUG ### */
/* * {
  outline: 1px solid rgba(255,0,0,.15);
} */

/* ### GENERAL STYLINGS ### */

body {
  font-family: 'Inter', sans-serif;
  color: #212529;
  background: #fcfbf7;
}

:root {
  --color-accent: #b7b89f;
  --color-accent-dark: #8f9078;
  --color-ink: #212529;
  --color-muted: #5f666d;
  --color-soft: #f9f8f6;
  --color-soft-border: #e5e7eb;
  --color-footer: #222420;
  --section-space: 6rem;
  --section-space-sm: 3.5rem;
}

.shadow-md {
  box-shadow: none;
}

@media (max-width: 992px) { /* below lg */
  .section2-card-animation:hover,
  .navbar-logo:hover {
    transform: none;
  }
}

@media (min-width: 768px) {
  .shadow-md {
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15); /* Bootstrap shadow */
  }
}

/* ### HOME PAGE ### */

/* ----HEADER STYLINGS---- */

/* Logo */
.navbar-logo { 
    max-height: 64px; 
    width: auto;
    transition: transform 0.2s ease;
}

.navbar-logo:hover {
    transform: scale(1.04);
}

.navbar a {
    color: #212529;
    transition: all 0.2s;
  }
  
.navbar a:hover {
    color: var(--color-accent);
  }

@media (max-width: 576px) { 
        
    .navbar-logo { 
        max-height: 48px; 
    }

}


.section-spacing-sm {
  margin-bottom: 1.5rem;
}

.section-heading {
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.1;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(33, 37, 41, 0.12);
}

.section-heading-light {
  border-bottom-color: rgba(255, 255, 255, 0.18);
}

.section-intro {
  max-width: 60ch;
  margin-bottom: 2.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(33, 37, 41, 0.12);
  color: var(--color-muted);
}


/* ---- CAROUSEL STYLING ---- */

/* Carousel sizing */
.hero-carousel .hero-img {
    height: 500px;
    object-fit: cover;
  }
  
/* Caption readability */
.hero-carousel .carousel-caption {
  bottom: 2.5rem;
  max-width: 38rem;
  padding: 1.25rem 1.5rem;
  border-radius: 1.5rem;
  background: linear-gradient(135deg, rgba(15, 15, 15, 0.48), rgba(15, 15, 15, 0.14));
  backdrop-filter: blur(2px);
}

.hero-carousel .hero-title {
  font-size: clamp(1.75rem, 2.8vw, 3rem);
  font-weight: 750;
  margin-bottom: 0.5rem;
}

.hero-carousel .hero-subtitle {
  font-size: 1.05rem;
  margin: 0;
  opacity: 0.95;
}

/* Add a subtle dark overlay for text readability */
.hero-carousel .carousel-item {
  position: relative;
}

.hero-carousel .carousel-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.62), rgba(0,0,0,0.12));
  z-index: 1;
}

.hero-carousel .carousel-caption {
  z-index: 2;
}

.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
  width: 8%;
}

@media (max-width: 576px) {
  .hero-carousel .hero-img {
    height: 280px; 
  }
}



/* ---- REVIEWS STYLING ---- */

.reviews-section {
  margin-top: var(--section-space);
  background: var(--color-soft);
}

.reviews-header {
  max-width: 60ch;
  color: black;
}

.reviews-header .section-heading {
  margin-bottom: 0.5rem;
}

.stars {
  letter-spacing: .08em;
  font-size: 1rem;
  line-height: 1;
  color: var(--color-accent-dark);
}

/* Card */
.review-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-soft-border);
  border-radius: 1.25rem;
  padding: 1.5rem;
  background: #fff;
  box-shadow: 0 0.9rem 2rem rgba(33, 37, 41, 0.06);
}

.review-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: .75rem;
}

.review-date {
  font-size: .85rem;
  color: #6c757d;
}

.review-text {
  margin: 0 0 1rem 0;
  color: #212529;
  line-height: 1.6;
  min-height: 6.5rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  line-clamp: 4;
}

.review-read-more {
  align-self: flex-start;
  margin: 0 0 1rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-accent-dark);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: underline;
  text-underline-offset: 0.18rem;
}

.review-read-more:hover {
  color: var(--color-ink);
}

/* Author */
.review-author {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-top: auto;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 700;
  background: rgba(183, 184, 159, 0.2);
  color: #4f543f;
}

.review-author .name {
  font-weight: 600;
}

.review-author .meta {
  font-size: .9rem;
  color: #6c757d;
}

.review-modal {
  border: 1px solid var(--color-soft-border);
  border-radius: 1.5rem;
}

.review-modal-kicker {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent-dark);
}

.review-modal-text {
  color: var(--color-ink);
  line-height: 1.8;
}

@media (max-width: 576px) {
  .reviews-section {
    margin-top: var(--section-space-sm);
  }

  .review-card {
    padding: 1.25rem;
  }

  .review-text {
    min-height: auto;
    -webkit-line-clamp: 5;
    line-clamp: 5;
  }
}

@media (max-width: 768px) {
  #reviewsCarousel .carousel-control-prev,
  #reviewsCarousel .carousel-control-next {
    display: none;
  }
}



/* ### SECTIONS STYLING ### */

/* --- Section 1 --- */

.home-intro {
  overflow-x: hidden;
}

.intro-kicker {
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: .9rem;
  color: var(--color-accent-dark);
}

.intro-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.15;
  max-width: 16ch;
}

.intro-lead {
  font-size: 1.08rem;
  color: #343a40;
  line-height: 1.75;
}

.intro-text {
  color: #495057;
  max-width: 58ch;
  border-bottom-color: rgba(33, 37, 41, 0.12) !important;
}

.intro-actions {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
}

@media (max-width: 576px) {
  .home-intro {
    padding: 1.5rem 0 1rem;
  }

  .section1-img {
    display: none;
  }
}

/* --- Section 2 --- */

.doelgroepen {
  background: var(--color-soft);
}

.section2-card-animation {
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.section2-card-animation:hover {
  transform: translateY(-6px);
  background: var(--color-accent);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.12);
}

.section2-card {
  padding: 1.5rem 1.25rem !important;
}

.section2-card-icon-wrap {
  margin-bottom: 1rem;
}

.section2-card-body h5 {
  line-height: 1.25;
}

.section2-card-body p {
  color: inherit;
}

@media (max-width: 576px) {
  .section2-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem !important;
    text-align: left !important;
    min-height: auto;
  }

  .section2-card-icon-wrap {
    flex: 0 0 auto;
    margin-bottom: 0;
  }

  .section2-card-icon {
    font-size: 1.5rem !important;
  }

  .section2-card .bi {
    font-size: 1.5rem !important;
  }

  .section2-card-body {
    flex: 1 1 auto;
  }

  .section2-card-body h5 {
    margin-bottom: 0;
    font-size: 1rem;
  }
}

/* --- Section 3 --- */

.waarom {
  margin-top: var(--section-space);
  color: #fff;
}

.waarom-item {
  position: relative;
  height: 100%;
  padding: 1.25rem 1.25rem 1.25rem 3.25rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(2px);
  transition: transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.waarom-item::before {
  content: "";
  position: absolute;
  left: 1.25rem;
  top: 1.45rem;
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 999px;
  background: var(--color-accent);
  box-shadow: 0 0 0 6px rgba(183, 184, 159, 0.14);
}

.waarom-item:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

.waarom-item p {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.6;
}

@media (max-width: 576px) {
  .waarom {
    margin-top: var(--section-space-sm);
  }
}

/* --- Section 4 --- */

.werkgebied {
  margin-top: var(--section-space);
}

.werkgebied-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: flex-start;
}

.location-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.1rem;
  border: 1px solid var(--color-soft-border);
  border-radius: 999px;
  background: #fff;
  color: var(--color-ink);
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 500;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.location-chip:hover {
  transform: translateY(-2px);
  border-color: var(--color-accent);
  box-shadow: 0 0.8rem 1.8rem rgba(33, 37, 41, 0.08);
  color: var(--color-accent-dark);
}

@media (max-width: 576px) {
  .werkgebied {
    margin-top: var(--section-space-sm);
  }
}

/* --- Section 5 --- */

.offerte {
  margin: var(--section-space) 0;
}

.offerte-points {
  max-width: 42rem;
  padding: 1.5rem;
  border: 1px solid var(--color-soft-border);
  border-radius: 1.5rem;
  background: linear-gradient(180deg, #ffffff 0%, var(--color-soft) 100%);
  box-shadow: 0 1rem 2rem rgba(33, 37, 41, 0.05);
}

.offerte-kicker {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-ink);
}

.offerte-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.offerte-list li {
  position: relative;
  padding-left: 1.75rem;
  color: var(--color-muted);
  line-height: 1.6;
}

.offerte-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 999px;
  background: var(--color-accent);
  box-shadow: 0 0 0 5px rgba(183, 184, 159, 0.16);
}

@media (max-width: 576px) {
  .offerte {
    margin: var(--section-space-sm) 0;
  }

  .offerte-points {
    padding: 1.25rem;
  }
}

/* ---- FOOTER ---- */

.footer-site {
  background: linear-gradient(180deg, #292b26 0%, var(--color-footer) 100%);
}

.footer-heading {
  margin-bottom: 0;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
}

.footer-copy {
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.7;
}

.footer-link {
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: #fff;
}

.footer-divider {
  border-color: rgba(255, 255, 255, 0.12);
}

@media (max-width: 576px) {
  .section-heading {
    margin-bottom: 0.85rem;
    padding-bottom: 0.85rem;
  }

  .section-intro {
    margin-bottom: 1.5rem;
  }

  .hero-carousel .carousel-caption {
    bottom: 1.25rem;
    padding: 1rem;
  }

  .werkgebied-grid {
    gap: 0.75rem;
  }

  .location-chip {
    width: 100%;
    justify-content: flex-start;
  }
}
