/**
 * Locally hosted fonts, aligned with Tijhuis Tuinen.
 * Open Sans (body text), Montserrat (headings), Poppins (navigation). Latin subset.
 * This gives B&O Bestratingen the same typography as Tijhuis Tuinen.
 */

@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/open-sans-var.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/montserrat-var.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/poppins-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/poppins-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/poppins-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/poppins-700.woff2') format('woff2');
}

/* CSS Variables & Design Tokens */
:root {
  /* Typography */
  --font-default: 'Open Sans', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-heading: 'Montserrat', sans-serif;
  --font-nav: 'Poppins', sans-serif;
  --font-mono: 'Consolas', 'Monaco', 'Courier New', monospace;

  /* Brand Colors */
  --brand-green: #5b6b23;
  --brand-brown: #a36026;
  --brand-grey: #aeafb2;
  --primary: #5b6b23;
  --dark: #252525;

  /* Global Colors */
  --background-color: #ffffff;
  --default-color: #333;
  --heading-color: #252525;
  --accent-color: #6b7c3e;
  --surface-color: #ffffff;
  --contrast-color: #ffffff;
  --light-bg: #f9f9f9;
  --border: #e5e5e5;
  --text-light: #666;

  /* Nav Menu Colors */
  --nav-color: #252525;
  --nav-hover-color: #6b7c3e;
  --nav-mobile-background-color: #ffffff;
  --nav-dropdown-background-color: #ffffff;
  --nav-dropdown-color: #252525;
  --nav-dropdown-hover-color: #6b7c3e;

  /* Bootstrap color overrides */
  --bs-link-color: #6b7c3e;
  --bs-link-hover-color: #456918;
  --bs-primary: #6b7c3e;
  --bs-primary-rgb: 107, 124, 62;

  scroll-behavior: smooth;
}

/* Global Reset & Base Styles */

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

html {
  scroll-padding-top: 100px;
}

body {
  font-family: var(--font-default);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  color: var(--default-color);
  background-color: var(--background-color);
  padding-top: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
}

/* Navigation in Poppins, like Tijhuis Tuinen (covers desktop + mobile) */
#header .navmenu a {
  font-family: var(--font-nav);
}

code, pre {
  font-family: var(--font-mono);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s;
}

a:hover {
  color: var(--primary);
  text-decoration: underline;
}

/* Focus states */
*:focus {
  outline-color: var(--primary);
}

*:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

button:focus,
.btn:focus,
input:focus,
select:focus,
textarea:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 0.25rem rgba(91, 107, 35, 0.25) !important;
}

/* Smooth scroll behavior */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
/**
 * Header & Navigation
 */

#header {
  background: transparent;
  border-bottom: none;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: none;
  transition: all 0.3s ease;
  padding: 10px 0;
  --nav-color: #252525;
  --nav-hover-color: #6b7c3e;
}

/* Homepage: transparent navbar with white text on hero */
body.index-page #header {
  --nav-color: rgba(255, 255, 255, 0.7);
  --nav-hover-color: #ffffff;
}

/* After scroll on homepage: solid white navbar with dark text */
body.index-page.scrolled #header {
  background-color: #ffffff;
  border-bottom: 3px solid transparent;
  border-image: linear-gradient(to right, var(--brand-grey) 33.33%, var(--brand-brown) 33.33%, var(--brand-brown) 66.66%, var(--brand-green) 66.66%) 1;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  --nav-color: #252525;
  --nav-hover-color: #6b7c3e;
}

/* Non-homepage pages: always solid white */
body:not(.index-page) #header {
  background-color: #ffffff;
  border-bottom: 3px solid transparent;
  border-image: linear-gradient(to right, var(--brand-grey) 33.33%, var(--brand-brown) 33.33%, var(--brand-brown) 66.66%, var(--brand-green) 66.66%) 1;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Offset main content so fixed header doesn't overlap */
body:not(.index-page) main {
  padding-top: 170px;
}

body.index-page main {
  padding-top: 0;
}

/* Logo white box op homepage wanneer header nog transparant is */
body.index-page:not(.scrolled) #header .logo {
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  padding: 8px 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

body.index-page:not(.scrolled) #header .logo .logo-icon {
  display: none;
}

#header .logo {
  display: flex;
  align-items: center;
  gap: 0;
  transition: all 0.3s ease;
}

#header .logo .logo-icon {
  max-height: 52px;
  width: auto;
  margin-left: 10px;
  transform: rotate(90deg);
}

#header .logo .logo-text {
  max-height: 52px;
  width: auto;
}

/* Desktop Navigation */
@media (min-width: 992px) {
#header .navmenu {
    padding: 0;
  }

#header .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
    gap: 8px;
  }

#header .navmenu li {
    position: relative;
  }

#header .navmenu a,
#header .navmenu a:focus {
    color: var(--nav-color);
    padding: 10px 15px;
    font-size: 18px;
    font-weight: 400;
    display: flex;
    align-items: center;
    white-space: nowrap;
    transition: 0.3s;
    text-decoration: none;
  }

  /* No font-weight change on hover: bold text is wider and makes items shift. */
#header .navmenu li:hover > a,
#header .navmenu .active {
    color: var(--nav-hover-color);
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
    border-radius: 4px;
    position: relative;
  }

#header .navmenu .active::after {
    content: "";
    position: absolute;
    bottom: 2px;
    left: 15px;
    right: 15px;
    height: 3px;
    background-color: var(--accent-color);
    border-radius: 2px;
  }

#header .navmenu .dropdown ul {
    display: block;
    position: absolute;
    left: 0;
    top: 100%;
    margin: 0;
    padding: 10px 0;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    background: var(--nav-dropdown-background-color);
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    transition: 0.3s;
    border-radius: 4px;
    border-left: 3px solid var(--brand-green);
  }

#header .navmenu .dropdown:hover > ul {
    opacity: 1;
    visibility: visible;
  }

#header .navmenu .dropdown ul li {
    min-width: 200px;
  }

#header .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    font-weight: 400;
    color: var(--nav-dropdown-color);
  }

#header .navmenu .dropdown ul li:hover > a,
#header .navmenu .dropdown ul a:hover {
    color: var(--contrast-color);
    background-color: var(--primary);
  }

  .mobile-nav-toggle {
    display: none;
  }
}

/* Mobile Navigation */
@media (max-width: 991px) {
  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
  }

#header .navmenu {
    padding: 0;
    z-index: 9997;
  }

#header .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
  }

#header .navmenu a,
#header .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 10px 20px;
    font-size: 17px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
    text-decoration: none;
  }

#header .navmenu a:hover,
#header .navmenu .active {
    color: var(--nav-dropdown-hover-color);
    font-weight: 600;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
    border-radius: 4px;
    margin: 2px 10px;
  }

#header .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: color-mix(in srgb, var(--default-color), transparent 95%);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    border-radius: 4px;
  }

#header .navmenu .dropdown > .dropdown-active {
    display: block;
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    z-index: 9999;
  }

  .mobile-nav-active #header .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    transition: 0.3s;
  }

  .mobile-nav-active #header .navmenu > ul {
    display: block;
  }
}

/* Contact Button - Always visible */
#header .btn-getstarted,
#header .btn-getstarted:focus {
  color: var(--contrast-color);
  background: var(--primary);
  font-size: 16px;
  padding: 10px 28px;
  margin: 0;
  border-radius: 4px;
  transition: 0.3s;
  text-decoration: none;
  white-space: nowrap;
}

#header .btn-getstarted:hover,
#header .btn-getstarted:focus:hover {
  color: var(--contrast-color);
  background: var(--dark);
}

/* Mobile adjustments for Contact button */
@media (max-width: 991px) {
  #header .logo {
    order: 1;
  }

  #header .btn-getstarted {
    order: 2;
    margin: 0 15px 0 0;
    padding: 6px 20px;
  }

  #header .navmenu {
    order: 3;
  }
}
/**
 * Footer - B&O Bestratingen
 * Mooie footer die we behouden!
 */

footer {
  background: var(--dark);
  color: rgba(255,255,255,0.8);
  padding: 60px 20px 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

footer h3 {
  color: #fff;
  font-size: 18px;
  margin-bottom: 20px;
  font-weight: 600;
}

footer a {
  color: rgba(255,255,255,0.7);
  display: block;
  margin-bottom: 8px;
  transition: color 0.3s;
  text-decoration: none;
}

footer a:hover {
  color: var(--brand-brown);
  text-decoration: none;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 16px;
}

.contact-icon {
  color: var(--brand-brown);
  font-size: 18px;
  margin-right: 12px;
  margin-top: 2px;
  min-width: 20px;
}

.contact-item strong {
  color: #fff;
  display: block;
  margin-bottom: 4px;
}

/* Footer Form */
.footer-form-group {
  margin-bottom: 12px;
}

.footer-form-group input,
.footer-form-group textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 4px;
  background: rgba(255,255,255,0.05);
  color: #fff;
  font-size: 14px;
  transition: all 0.3s;
}

.footer-form-group input::placeholder,
.footer-form-group textarea::placeholder {
  color: rgba(255,255,255,0.5);
}

.footer-form-group input:focus,
.footer-form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(255,255,255,0.08);
}

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

.footer-form-btn {
  background: var(--primary);
  color: white;
  padding: 12px 28px;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  width: 100%;
}

.footer-form-btn:hover {
  background: var(--brand-brown);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 30px;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
}

.footer-bottom a {
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.3s;
  display: inline;
}

.footer-bottom a:hover {
  opacity: 0.8;
}

/* Social links */
.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

/* Footer credits */
.footer-credits {
  margin-top: 15px;
  font-size: 0.85rem;
}

.footer-credit-text {
  color: #999;
}

.footer-credit-link {
  color: var(--primary);
  text-decoration: none;
  opacity: 0.7;
}

.footer-credit-link:hover {
  opacity: 1;
}

/* Footer copyright */
.footer-copyright {
  margin: 0;
  color: #fff;
  font-size: 0.9rem;
}

/* Partnership Section */
.partnership-section {
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  margin: 50px 0;
  padding: 40px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

/* Main logo in partnership */
.partner-logo-main {
  display: inline-block;
  margin-bottom: -50px;
}

.partner-logo-main img {
  height: 180px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

/* Secondary logo */
.partner-logo-secondary img {
  height: 90px;
  max-width: 100%;
  object-fit: contain;
}

.partnership-title {
  margin: 0;
  color: #999;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.partnership-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}

.partner-logo {
  display: inline-block;
  opacity: 0.7;
  transition: opacity 0.3s, transform 0.3s;
}

.partner-logo:hover {
  opacity: 1;
  transform: scale(1.05);
}

.partner-logo.active {
  opacity: 1;
}

.partner-logo img {
  height: 70px;
  width: auto;
  filter: brightness(0) invert(1);
}

.partner-logo.partner-logo-main img {
  height: 180px;
}

.partnership-divider {
  color: rgba(255,255,255,0.3);
  font-size: 24px;
  font-weight: 300;
}
/**
 * Buttons
 */

.btn-primary {
  background: var(--primary);
  border: 2px solid var(--primary);
  color: #fff;
  padding: 12px 30px;
  border-radius: 4px;
  font-weight: 600;
  display: inline-block;
  transition: all 0.3s;
  text-decoration: none;
}

.btn-primary:hover {
  background: transparent;
  color: var(--primary);
  text-decoration: none;
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
  padding: 12px 30px;
  border-radius: 4px;
  font-weight: 600;
  display: inline-block;
  transition: all 0.3s;
  text-decoration: none;
}

.btn-secondary:hover {
  background: var(--brand-brown);
  border-color: var(--brand-brown);
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(163, 96, 38, 0.3);
}

/* Button on dark backgrounds (like hero) */
.hero .btn-secondary {
  border: 2px solid #fff;
  color: #fff;
}

.hero .btn-secondary:hover {
  background: #fff;
  color: var(--primary);
}
/**
 * Forms
 */

.form-control {
  border: 1px solid var(--border);
  padding: 12px 15px;
  border-radius: 4px;
  font-size: 14px;
  width: 100%;
  transition: border-color 0.3s;
}

.form-control:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(91, 107, 35, 0.1);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 35px;
}

.form-message {
  padding: 15px;
  border-radius: 4px;
  margin-top: 15px;
  display: none;
}

.form-message.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-message.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin: 30px 0;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* Contact form field styles */
.form-group {
  margin-bottom: 15px;
}

.form-input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
}

.form-select {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  background: white;
}

.form-textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  resize: vertical;
}

.success-message {
  display: none;
  padding: 12px;
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  border-radius: 4px;
  margin-bottom: 10px;
}

.error-message {
  display: none;
  padding: 12px;
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
  border-radius: 4px;
  margin-bottom: 10px;
}

.btn-submit {
  background: var(--primary);
  color: white;
  padding: 14px 32px;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-submit:hover {
  background: var(--brand-brown);
  transform: translateY(-2px);
}

.botcheck {
  display: none;
}
/**
 * Cards & Sections
 */

.service-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 15px rgba(0,0,0,0.1);
  padding: 30px;
  transition: transform 0.3s, box-shadow 0.3s;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 25px rgba(0,0,0,0.15);
}

.service-card img {
  border-radius: 6px;
  margin-bottom: 15px;
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-card h3 {
  color: var(--heading-color);
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.service-card p {
  flex-grow: 1;
  margin-bottom: 20px;
}

.service-card .btn-primary {
  align-self: flex-start;
  margin-top: auto;
}

.testimonial {
  background: var(--light-bg);
  border-left: 4px solid var(--brand-brown);
  padding: 20px;
  border-radius: 4px;
  margin: 20px 0;
}

.testimonial p {
  font-style: italic;
  margin-bottom: 15px;
  color: var(--text-light);
}

.testimonial .author {
  font-weight: 600;
  color: var(--heading-color);
}
/**
 * Hero Section - Fullscreen met subtiele overlay
 */

.hero {
  width: 100%;
  min-height: 100vh;
  position: relative;
  padding: 80px 0;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom,
      rgba(0,0,0,0) 0%,
      rgba(0,0,0,0.1) 40%,
      rgba(37,37,37,0.7) 75%,
      rgba(37,37,37,0.85) 100%
    );
  z-index: 1;
}

/* Subtle red accent line at the bottom */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-brown) 0%, var(--brand-brown) 30%, transparent 100%);
  z-index: 3;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  margin-bottom: 0;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

@media (max-width: 768px) {
  .hero {
    min-height: 100svh;
    padding: 100px 0 60px;
  }
}

/* ==========================================================================
   Homepage Hero Variant - Meer contrast, gecentreerde content
   ========================================================================== */

.hero--home::before {
  background:
    radial-gradient(ellipse at center,
      rgba(0,0,0,0.5) 0%,
      rgba(37,37,37,0.75) 70%,
      rgba(37,37,37,0.9) 100%
    );
}

/* Subtle red accent in the corner for the homepage */
.hero--home::after {
  height: 100%;
  width: 6px;
  right: auto;
  background: linear-gradient(to bottom, var(--brand-brown) 0%, var(--brand-brown) 40%, transparent 100%);
}

/* Services Hero Variant */
.hero--diensten {
  background-image: url('/assets/img/portfolio/background-gazon.avif');
}
/**
 * Preloader - Page Loading Spinner
 * Red version for B&O Bestratingen
 */

#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--background-color);
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: conic-gradient(
    transparent 0deg,
    var(--primary) 0deg 90deg,
    transparent 90deg 360deg
  );
  animation: animate-preloader 1.5s linear infinite;
  mask: radial-gradient(circle at center, transparent 24px, black 24px, black 30px, transparent 30px);
  -webkit-mask: radial-gradient(circle at center, transparent 24px, black 24px, black 30px, transparent 30px);
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}
/**
 * Page Animations and Transitions
 * Smooth page load and navigation animations
 */

/* Page slide-in animation on load */
body,
.main {
  animation: pageSlideIn 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
}

@keyframes pageSlideIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Ensure hero sections animate smoothly */
#hero,
.hero {
  animation: pageSlideIn 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* Force animation on all direct children of main for consistent feel */
.main > section:first-child {
  animation: pageSlideIn 0.6s cubic-bezier(0.25, 0.1, 0.25, 1) !important;
}

/* Page transition overlay - prevents white flash */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--background-color);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease-in-out;
}

body.page-transition-out::before {
  opacity: 1;
  pointer-events: auto;
}

/* Smooth scroll behavior */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* Respect user preference for reduced motion */
@media (prefers-reduced-motion: reduce) {
  body,
  .main {
    animation: none;
    transition: none;
  }
}
/**
 * Utility Classes & Responsive
 */

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

.mt-4 {
  margin-top: 2rem;
}

.mb-4 {
  margin-bottom: 2rem;
}

.py-5 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

@media (max-width: 768px) {
  .service-card {
    margin-bottom: 20px;
  }

  nav ul {
    gap: 15px;
  }
}
/* Hero Section Styles */
.hero--home {
    background-image: url('/assets/backdrop.avif');
}

/* Services Section Styles */
.services-description {
    max-width: 800px;
    margin: 0 auto 3rem;
}

.services-grid {
    display: grid;
    gap: 30px;
    width: 100%;
}

/* Mobile: 1 column */
@media (max-width: 576px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Tablet: 2 columns */
@media (min-width: 577px) and (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

/* Desktop: 3 columns */
@media (min-width: 993px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
}

/* Reviews Section Styles */
.reviews-section {
    background: var(--light-bg);
}

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

.review-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.review-author-meta {
    color: var(--text-light);
    margin-left: 10px;
}

/* Call to Action Section Styles */
.cta-description {
    max-width: 600px;
    margin: 0 auto 2rem;
}

.cta-footer {
    margin-top: 2rem;
    color: #888;
    font-size: 0.85rem;
}

.cta-footer a {
    color: var(--primary);
    text-decoration: none;
}

.cta-icon {
    margin-right: 8px;
}
/**
 * Page Content Styles
 * Shared styles for page templates, testimonials, contact info, etc.
 */

/* Page content wrapper */
.page-content-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

/* Bullet list (voordelen) */
.bullet-list {
  list-style: none;
  padding: 0;
}

.bullet-list li {
  padding: 10px 0;
  padding-left: 30px;
  position: relative;
}

.bullet-list .bi {
  position: absolute;
  left: 0;
  color: var(--primary);
}

/* Content list (used in service page body content) */
.content-list {
  margin: 15px 0 15px 40px;
}

/* Section layout variants */
.section-light {
  background-color: #f8f9fa;
}

.section-padded {
  padding: 80px 0;
}

.section-padded-sm {
  padding: 60px 0;
}

/* Lead text variants */
.lead-centered {
  max-width: 800px;
  margin: 20px auto 0;
}

.lead-centered-sm {
  max-width: 600px;
  margin: 20px auto;
}

.testimonial-quote {
  font-style: italic;
  color: #333;
  margin-bottom: 10px;
}

.testimonial-author {
  color: var(--dark);
}

.testimonial-source {
  font-size: 14px;
  color: var(--text-light);
  margin: 5px 0 0 0;
}

/* Contact info section */
.contact-intro {
  color: #4b5563;
  line-height: 1.7;
  margin-bottom: 30px;
}

.contact-heading {
  margin-bottom: 20px;
}

.contact-info-group {
  margin-bottom: 15px;
}

.contact-info-item {
  margin: 8px 0;
}

.contact-icon-inline {
  color: var(--brand-brown);
  margin-right: 8px;
}

/* Override Bootstrap link colors for content areas */
.contact-grid a,
.contact-grid a:link,
.contact-grid a:visited,
.contact-grid a:hover,
.page-content-wrapper a:not(.btn-primary):not(.btn-secondary) {
  color: var(--accent-color) !important;
}

/* CTA buttons group */
.cta-buttons {
  margin-top: 30px;
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}
