/* ===== CSS VARIABLES ===== */
:root {
  --bg: #f9f9f9;
  --black: #0b0b0b;
  --white: #f4f4f4;
  --muted: #94a3b8;
  --accent: #F5C33B;
  --rbblauw: #0A588F;
  --rbblauw2: #084570;
  --header-bg: rgba(2, 6, 23, 0.55);
  --font-family: 'Poppins', sans-serif;
}

/* ===== GLOBAL STYLES ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: var(--font-family);
}

body {
  background: var(--bg);
}

/* ===== LAYOUT COMPONENTS ===== */
section {
  margin-bottom: 64px;
  padding: 16px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== TYPOGRAPHY ===== */
.section-title {
  font-size: 36px;
  font-weight: bold;
  color: var(--black);
  margin-bottom: 14px;
}

.section-text {
  font-size: 20px;
  font-weight: 400;
  color: var(--black);
  line-height: 1.5;
}

/* ===== SHARED COMPONENTS ===== */

/* Home pagina - Waarom en Offerte */
.waarom,
.vrijblijvende-offerte {
  background: var(--rbblauw);
  display: flex;
  align-items: center;
  justify-content: center;
}

.waarom-container,
.vrijblijvende-offerte-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.waarom-container,
.vrijblijvende-offerte-container {
  display: flex;
  padding: 48px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  text-align: center;
}

.waarom-title,
.vrijblijvende-offerte-title {
  font-size: 36px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 24px;
}

/* Shared link hover effects */
.alle-projecten-link::after,
.offerte-link::after,
.project-actions-link::after,
.footer-contact a::after,
.footer-sitemap a::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 8px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s ease;
}

.alle-projecten-link:hover::after,
.alle-projecten-link.active::after,
.offerte-link:hover::after,
.offerte-link.active::after,
.project-actions-link:hover::after,
.project-actions-link.active::after,
.footer-contact a:hover::after,
.footer-contact a.active::after,
.footer-sitemap a:hover::after,
.footer-sitemap a.active::after {
  transform: scaleX(1);
}

/* ===== HEADER & NAVIGATION ===== */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  border-bottom: none;
}

.site-header .container {
  max-width: 100%;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ===== HERO SECTION ===== */
.hero {
  margin-top: 0px;
  min-height: 632px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(180deg, rgba(2, 6, 23, .35), rgba(2, 6, 23, .55)),
    url("/images/hero-achtergrond.jpg") center/cover no-repeat;
}

.hero-title {
  color: var(--white);
  font-size: 48px;
  text-align: center;
  font-weight: 700;
}

/* ===== HOME PAGE SECTIONS ===== */

/* Diensten */
.diensten,
.recente-projecten {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* About Section */
.about {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.about-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 48px;
}

.about-image {
  width: 600px;
  height: 350px;
  object-fit: cover;
  border-top-right-radius: 24px;
  border-bottom-left-radius: 24px;
  overflow: hidden;
}

.about-content {
  max-width: 600px;
}

.about-text {
  font-size: 20px;
  font-weight: 500;
  color: var(--black);
}

/* Waarom Section */
.waarom-items-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 100px;
}

.waarom-items {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.waarom .waarom-items svg {
  width: 100px;
  height: 100px;
  color: var(--black);
  stroke-width: 1.5;
  margin-bottom: 16px;
  border-radius: 50%;
  padding: 3px 14px;
  transition: .3s ease;
  background-color: var(--white);
}

.waarom .waarom-items svg:hover {
  background: var(--accent);
  color: var(--black);
}

.waarom-text {
  font-size: 18px;
  font-weight: 500;
  color: var(--white);
  position: relative;
}

/* Offerte Section */
.vrijblijvende-offerte-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 64px;
}

.vrijblijvende-offerte-text {
  font-size: 18px;
  font-weight: 500;
  color: var(--white);
  position: relative;
}

/* ===== BUTTONS & LINKS ===== */
.alle-projecten-link {
  position: relative;
  color: var(--white);
  background: var(--rbblauw);
  padding: 10px 20px;
  border-top-right-radius: 24px;
  border-bottom-left-radius: 24px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  margin-top: 24px;
  margin-left: auto;
  display: block;
  width: fit-content;
}

.offerte-link {
  position: relative;
  color: var(--black);
  background: var(--white);
  padding: 10px 20px;
  border-top-right-radius: 24px;
  border-bottom-left-radius: 24px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  margin-left: auto;
  display: block;
  width: fit-content;
}


/* ===== MEDIA QUERIES ===== */

@media (max-width: 768px) {

  .waarom-items-container {
    flex-direction: column;
    gap: 48px;
  }

  .vrijblijvende-offerte-content {
    flex-direction: column;
    gap: 32px;
  }

  .about-image {
    display: none;
  }

  .about-container {
    flex-direction: column;
    gap: 24px;
  }

  .about-content {
    max-width: 100%;
  }
}

@media (max-width: 428px) {
  .hero-title {
    color: var(--white);
    font-size: 36px;
    text-align: center;
    font-weight: 700;
  }

  .about-image {
    display: none;
  }

  .about-container {
    flex-direction: column;
    gap: 24px;
  }

  .about-content {
    max-width: 100%;
  }

  .vrijblijvende-offerte {
    display: flex;
  }

  .vrijblijvende-offerte-container {
    text-align: left;
    padding: 0;
    padding-top: 48px;
    padding-bottom: 48px;
  }
  .vrijblijvende-offerte-title {
    font-size: 28px;
  }
  .vrijblijvende-offerte-content {
    align-items: flex-start;
  }
  .offerte-link {
    margin-left: 0;
  }
}