/* ========================================
   SpaarElektra - Aqua+ Style (Black/Red)
   ======================================== */

/* Reset & Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

:root {
    --primary: #000000;
    --accent: #e10410;
    --accent-dark: #b8030d;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #d9d2d4;
    --bg-dark: #1a1a1a;
    --white: #ffffff;
}

body {
    font-family: "open-sans", -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "pill-gothic-900mg", 'Barlow', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 700;
}

/* ========================================
   HEADER - Identical to Aqua+ layout
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0;
    transition: background 0.3s ease, box-shadow 0.3s ease;
    background: transparent;
}

.header.scrolled {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 26px 50px;
    display: flex;
    align-items: center;
    gap: 40px;
}

.logo {
    display: block;
    line-height: 0;
    flex-shrink: 0;
}

.logo-img {
    height: 65px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: filter 0.3s ease;
}

.header.scrolled .logo-img {
    filter: none;
}

/* Navigation */
.nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

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

.nav-item a {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    font-size: 19px;
    padding: 12px 18px;
    display: block;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.header.scrolled .nav-item a {
    color: var(--text-dark);
}

.nav-item a:hover {
    color: var(--accent);
}

.dropdown-arrow {
    font-size: 12px;
    margin-left: 4px;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 280px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    border-radius: 4px;
    padding: 8px 0;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    padding: 12px 24px;
    color: var(--text-dark);
    font-size: 15px;
    text-shadow: none;
}

.dropdown-menu li a:hover {
    background: #f5f5f5;
    color: var(--accent);
}

/* Header Actions */
.header-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-shrink: 0;
}

.contact-btn {
    display: inline-block;
    padding: 14px 32px;
    background: var(--accent);
    color: var(--white);
    text-decoration: none;
    font-weight: 800;
    font-size: 18px;
    border: 2px solid var(--accent);
    border-radius: 4px;
    transition: all 0.3s ease;
}

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

.search-btn {
    background: none;
    border: 2px solid var(--white);
    color: var(--white);
    padding: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    width: 50px;
    height: 50px;
}

.header.scrolled .search-btn {
    border-color: var(--text-dark);
    color: var(--text-dark);
}

.search-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    align-items: center;
    gap: 10px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px 0;
    z-index: 1001;
}

.menu-label {
    color: var(--white);
    font-size: 17px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.header.scrolled .menu-label {
    color: var(--text-dark);
}

.header.menu-open .menu-label {
    color: var(--text-dark);
}

.hamburger-icon {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 30px;
}

.hamburger-icon span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--white);
    transition: all 0.3s ease;
}

.header.scrolled .hamburger-icon span {
    background: var(--text-dark);
}

.header.menu-open .hamburger-icon span {
    background: var(--text-dark);
}

/* Hamburger to X animation */
.header.menu-open .hamburger-icon span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.header.menu-open .hamburger-icon span:nth-child(2) {
    opacity: 0;
}

.header.menu-open .hamburger-icon span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Nav Overlay */
.header.menu-open {
    background: var(--white) !important;
    box-shadow: none !important;
}

.header.menu-open .logo-img {
    filter: none !important;
}

.header.menu-open .nav {
    display: block !important;
    position: fixed;
    top: 69px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-dark);
    z-index: 999;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    animation: slideDown 0.3s ease;
    padding-bottom: 40px;
}

.header.menu-open .nav::-webkit-scrollbar {
    display: none;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

/* Closing animation - plays slideUp before nav hides */
.header.menu-closing .nav {
    display: block !important;
    position: fixed;
    top: 69px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-dark);
    z-index: 999;
    animation: slideUp 0.3s ease forwards;
    pointer-events: none;
}

.header.menu-open .nav-menu {
    flex-direction: column;
    gap: 0;
    padding: 0;
    display: flex;
    width: 100%;
    align-items: stretch;
}

.header.menu-open .nav-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    width: 100%;
    margin: 0 24px;
    width: calc(100% - 48px);
}

.header.menu-open .nav-item a {
    display: block;
    width: 100%;
    padding: 22px 24px;
    color: var(--white) !important;
    font-size: 20px;
    font-weight: 600;
    background: transparent;
    text-shadow: none !important;
    text-decoration: none;
    box-sizing: border-box;
}

.header.menu-open .nav-item a:hover {
    background: rgba(255, 255, 255, 0.08);
}

.header.menu-open .nav-item.dropdown .dropdown-menu {
    display: none !important;
}

.header.menu-open .nav-item.dropdown > a .dropdown-arrow {
    float: right;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    font-size: 14px;
    margin-top: -4px;
}

/* Nav actions (inside nav - for mobile menu) */
.nav-actions {
    display: none;
}

.header.menu-open .nav-actions {
    display: flex;
    padding: 30px 24px;
    gap: 12px;
}

.header.menu-open .nav-actions .contact-btn {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
    padding: 14px 28px;
    font-size: 16px;
    border-radius: 4px;
}

.header.menu-open .nav-actions .search-btn {
    border-color: var(--white);
    color: var(--white);
    width: 48px;
    height: 48px;
}

/* header-actions stays hidden on mobile (nav-actions used instead) */

/* ========================================
   HERO SECTION - Origineel (niet aanpassen)
   ======================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    width: 100%;
    padding: 0 60px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.hero-text-wrapper {
    max-width: 920px;
    text-align: left;
}

.hero-title {
    font-family: "pill-gothic-900mg", 'Barlow', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: clamp(24px, 4vw, 96px); /* aqua: 4vw op alle formaten */
    margin-bottom: 25px;
    white-space: nowrap;
    font-weight: 700;
    line-height: 1.2;
    color: var(--white);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
    animation: fadeInLeft 1s ease-out;
    letter-spacing: -1px;
}


.hero-title span { display: block; }

.hero-description {
    font-size: clamp(17px, 1.7vw, 23px);
    margin-bottom: 35px;
    line-height: 1.7;
    color: var(--white);
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
    animation: fadeInLeft 1s ease-out 0.2s backwards;
    font-weight: 400;
    max-width: 780px;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--accent);
    color: var(--white);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 800;
    transition: all 0.3s ease;
    font-size: clamp(16px, 2vw, 18px);
    animation: fadeInUp 1s ease-out 0.4s backwards;
    box-shadow: 0 4px 15px rgba(225, 4, 16, 0.4);
}

.cta-button:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(184, 3, 13, 0.6);
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: var(--white);
    width: 30px;
    border-radius: 6px;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    animation: fadeIn 2s ease-out;
    cursor: pointer;
}

.scroll-indicator span {
    width: 24px;
    height: 40px;
    border: 2px solid var(--white);
    border-radius: 12px;
    position: relative;
    display: block;
}

.scroll-indicator span::before {
    content: '';
    width: 4px;
    height: 8px;
    background: var(--white);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollDown 2s infinite;
}

.scroll-indicator p {
    color: var(--white);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scrollDown {
    0% { opacity: 0; top: 8px; }
    50% { opacity: 1; }
    100% { opacity: 0; top: 20px; }
}

/* ========================================
   PROJECTS SECTION - Dark with carousel
   ======================================== */
.projects {
    background: var(--bg-dark);
    padding: 0;
    position: relative;
}

/* Filter bar */
.projects-filter {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 50px 40px 40px;
    flex-wrap: wrap;
}

.filter-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 16px;
    margin-right: 8px;
}

.filter-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    padding: 4px 0;
    position: relative;
    transition: color 0.3s ease;
    font-family: inherit;
}

.filter-btn:hover {
    color: var(--white);
}

.filter-btn.active {
    color: var(--white);
    text-decoration: underline;
    text-underline-offset: 6px;
    text-decoration-thickness: 2px;
}

/* Carousel */
.projects-carousel {
    position: relative;
    padding: 0 0 60px;
    overflow: hidden;
}

.carousel-nav {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 10;
}

.carousel-arrow {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid var(--white);
    color: var(--white);
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.carousel-arrow:hover {
    background: var(--accent);
    border-color: var(--accent);
}

.carousel-arrow:disabled {
    opacity: 0.3;
    cursor: default;
}

.carousel-track {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 0 40px;
}

.carousel-row {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-right: 100px;
}

.carousel-row::-webkit-scrollbar {
    display: none;
}

.carousel-row.row-offset {
    padding-left: 80px;
}

/* Project Cards */
.project-card {
    position: relative;
    flex-shrink: 0;
    width: calc((100vw - 180px) / 3.15);
    min-width: 280px;
    aspect-ratio: 5 / 4;
    border-radius: 0;
    overflow: hidden;
    display: block;
    text-decoration: none;
    cursor: pointer;
}

.project-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image {
    transform: scale(1.05);
}

.project-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.6);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    z-index: 2;
    backdrop-filter: blur(4px);
}

.project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 24px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 60%, transparent 100%);
    z-index: 2;
}

.project-info h3 {
    color: var(--white);
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 6px;
}

.project-info p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Carousel dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding-top: 30px;
}

.carousel-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.carousel-dots .dot.active {
    background: var(--white);
    width: 28px;
    border-radius: 5px;
}

/* Company Statement (within projects section) */
.company-statement {
    text-align: center;
    padding: 120px 40px;
    background: var(--accent);
    position: relative;
    overflow: hidden;
}

.company-statement::before {
    content: '';
    position: absolute;
    left: -80px;
    bottom: -80px;
    width: 400px;
    height: 400px;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='185' y='0' width='30' height='400' fill='rgba(255,255,255,0.12)'/%3E%3Crect x='0' y='185' width='400' height='30' fill='rgba(255,255,255,0.12)'/%3E%3Crect x='185' y='0' width='30' height='400' fill='rgba(255,255,255,0.12)' transform='rotate(45 200 200)'/%3E%3Crect x='0' y='185' width='400' height='30' fill='rgba(255,255,255,0.12)' transform='rotate(45 200 200)'/%3E%3Crect x='185' y='0' width='30' height='400' fill='rgba(255,255,255,0.12)' transform='rotate(22.5 200 200)'/%3E%3Crect x='0' y='185' width='400' height='30' fill='rgba(255,255,255,0.12)' transform='rotate(22.5 200 200)'/%3E%3Crect x='185' y='0' width='30' height='400' fill='rgba(255,255,255,0.12)' transform='rotate(67.5 200 200)'/%3E%3Crect x='0' y='185' width='400' height='30' fill='rgba(255,255,255,0.12)' transform='rotate(67.5 200 200)'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 1;
    pointer-events: none;
}

.company-statement h2 {
    color: var(--white);
    font-size: clamp(24px, 3.5vw, 42px);
    font-weight: 600;
    line-height: 1.4;
    max-width: 800px;
    margin: 0 auto 40px;
    position: relative;
    z-index: 1;
}

.statement-btn {
    display: inline-block;
    padding: 14px 36px;
    border: 2px solid var(--white);
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.statement-btn:hover {
    background: var(--white);
    color: var(--accent);
}

/* ========================================
   SERVICES SHOWCASE - Warm gray bg
   ======================================== */
.services-showcase {
    background: var(--bg-light);
    padding: 0;
}

.services-showcase-inner {
    max-width: 1440px;
    margin: 0 auto;
}

.services-showcase-header {
    display: flex;
    gap: 60px;
    padding: 80px 40px 50px;
    align-items: flex-start;
}

.services-showcase-title {
    flex: 1;
    /* aqua: 40px/900/lh1.14 op desktop, 28px op mobiel */
    font-size: clamp(28px, 2.78vw, 40px);
    font-weight: 900;
    color: var(--accent);
    line-height: 1.14;
}

.services-showcase-description {
    flex: 1;
    /* aqua: pill-gothic-600mg 22px, lh 1.75, #6b7275 */
    font-family: "pill-gothic-600mg", "open-sans", sans-serif;
    font-size: clamp(17px, 1.53vw, 22px);
    color: #6b7275;
    line-height: 1.75;
    padding-top: 8px;
}

/* Services Slider */
.services-slider-wrapper {
    position: relative;
    padding: 0 0 80px;
    overflow: hidden;
}

.services-slider-nav {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 10;
}

.services-nav-btn {
    width: 50px;
    height: 50px;
    background: var(--accent);
    border: none;
    color: var(--white);
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.services-nav-btn:hover {
    background: var(--accent-dark);
}

#servicesSlider {
    display: flex;
    gap: 24px;
    padding: 0 40px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-right: 120px;
}

#servicesSlider::-webkit-scrollbar {
    display: none;
}

.service-slide {
    flex-shrink: 0;
    width: 400px; /* aqua: vast 400x400 vierkant */
    min-width: 260px;
    text-decoration: none;
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 0;
}

.service-slide-image {
    width: 100%;
    aspect-ratio: 1 / 1; /* aqua: vierkant */
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.service-slide:hover .service-slide-image {
    transform: scale(1.05);
}

.service-slide-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 60%, transparent 100%);
}

.service-slide-info h3 {
    color: var(--white);
    font-size: 20px; /* aqua: 20px */
    font-weight: 700;
    margin-bottom: 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.service-slide-info p {
    display: none;
}

/* Services dots */
.services-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding-top: 30px;
}

.services-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.services-dots .dot.active {
    background: var(--accent);
    width: 28px;
    border-radius: 5px;
}

/* ========================================
   FOOTER - Aqua+ style
   ======================================== */
.footer {
    background: var(--bg-dark);
    color: var(--white);
    padding: 0;
}

.footer-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 64px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-top-left {
    flex: 1;
}

.emergency-label {
    font-family: "pill-gothic-900mg", 'Barlow', sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.2px;
    margin-bottom: 4px;
}

.emergency-number {
    font-size: 40px;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    display: block;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.emergency-number:hover {
    color: var(--accent);
}

/* Footer bel-knop (CTA met nummer) */
.footer-call-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--accent);
    color: var(--white);
    text-decoration: none;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.3px;
    padding: 16px 30px;
    border-radius: 6px;
    transition: background 0.3s ease, transform 0.3s ease;
}

.footer-call-btn svg {
    flex-shrink: 0;
}

.footer-call-btn:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
}

/* Footer social (LinkedIn met logo) */
.footer-social {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s ease;
}

.footer-social svg {
    flex-shrink: 0;
}

.footer-social:hover {
    color: var(--white);
}

.footer-top-right {
    display: flex;
    align-items: center;
}

.footer-logo {
    height: 88px;
    width: auto;
    opacity: 0.92;
    filter: brightness(0) invert(1);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 40px;
    padding: 50px 0;
}

.footer-section h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 4px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: underline;
    font-size: 15px;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--white);
}

.footer-mail {
    margin-top: 10px;
}

.footer-contact-btn {
    display: inline-block;
    padding: 14px 32px;
    background: var(--accent);
    border: 2px solid var(--accent);
    color: var(--white) !important;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 15px;
    margin-top: 20px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.footer-contact-btn:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    color: var(--white) !important;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom-links {
    display: flex;
    gap: 12px;
    align-items: center;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 14px;
}

.footer-bottom-links a:hover {
    color: var(--white);
}

.footer-bottom-links span {
    color: rgba(255, 255, 255, 0.3);
    font-size: 14px;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

/* Scroll animation */
.animate-in {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.animate-in.visible {
    opacity: 1;
    transform: translateY(0);
}

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

/* Ultra-wide screens (2K+) */
@media (min-width: 1920px) {
    .header-inner {
        max-width: 1800px;
        padding: 30px 5vw;
    }

    .logo-img {
        height: 75px;
    }

    .nav-item a {
        font-size: 20px;
        padding: 14px 22px;
    }

    .hero-content {
        padding: 0 8vw 100px;
    }

    .hero-text-wrapper {
        max-width: 1150px;
    }

    .hero-title {
        font-size: 4vw; /* aqua: 76.8px op 1920 */
    }

    .hero-description {
        font-size: clamp(20px, 1.4vw, 26px);
        max-width: 900px;
    }

    .projects-filter {
        padding: 60px 5vw 40px;
    }

    .carousel-track {
        padding: 0 5vw;
    }

    .carousel-row.row-offset {
        padding-left: 8vw;
    }

    .company-statement h2 {
        font-size: clamp(28px, 2.5vw, 44px);
    }

    .services-showcase-header {
        padding: 80px 5vw 50px;
    }

    .services-showcase-title {
        font-size: clamp(40px, 2.78vw, 56px);
    }

    #servicesSlider {
        padding: 0 5vw;
    }

    .footer-inner {
        padding: 0 5vw;
    }
}

/* Tablet */
@media (max-width: 1024px) {
    .header-inner {
        padding: 18px 24px;
    }

    .hero-content {
        padding: 0 24px 100px;
    }

    .projects-filter {
        padding: 40px 24px 30px;
    }

    .carousel-track {
        padding: 0 24px;
    }

    .project-card {
        width: calc((100vw - 120px) / 2.3);
        min-width: 260px;
    }

    .carousel-row.row-offset {
        padding-left: 60px;
    }

    .company-statement {
        padding: 80px 24px;
    }

    .services-showcase-header {
        flex-direction: column;
        gap: 20px;
        padding: 60px 24px 40px;
    }

    #servicesSlider {
        padding: 0 24px;
    }

    .service-slide {
        width: min(400px, calc((100vw - 100px) / 2.3));
        min-width: 240px;
    }

    .footer-inner {
        padding: 0 24px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .header-inner {
        padding: 14px 20px;
        justify-content: space-between;
    }

    .nav {
        display: none;
    }

    .header-actions {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .logo-img {
        height: 42px;
    }

    .hero {
        min-height: 500px;
    }

    .hero-content {
        padding: 0 20px 80px;
    }

    .hero-title {
        font-size: clamp(22px, 4vw, 40px);
    }

    .hero-description {
        font-size: 15px;
        line-height: 1.6;
        max-width: 100%;
    }

    .cta-button {
        padding: 12px 28px;
        font-size: 15px;
    }

    .projects-filter {
        padding: 24px 16px;
        gap: 8px;
        flex-wrap: wrap;
    }

    .filter-label {
        width: 100%;
        margin-bottom: 4px;
        font-size: 14px;
    }

    .filter-btn {
        font-size: 14px;
        padding: 6px 0;
    }

    .carousel-track {
        padding: 0 16px;
    }

    .carousel-row.row-offset {
        padding-left: 40px;
    }

    .project-card {
        width: 75vw;
        max-width: 340px;
    }

    .carousel-nav {
        right: 16px;
    }

    .carousel-arrow {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .company-statement {
        padding: 50px 20px;
    }

    .company-statement h2 {
        font-size: 22px;
    }

    .services-showcase-header {
        padding: 40px 16px 24px;
    }

    .services-showcase-title {
        font-size: 28px; /* aqua mobiel */
    }

    .services-showcase-description {
        font-size: 15px;
    }

    #servicesSlider {
        padding: 0 16px;
        gap: 16px;
        padding-right: 80px;
    }

    .service-slide {
        width: min(300px, 84vw); /* aqua mobiel: 300x300 */
        max-width: 300px;
        min-width: 0;
    }

    .services-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .services-slider-nav {
        right: 16px;
    }

    .footer-inner {
        padding: 0 16px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-top {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .emergency-number {
        font-size: 28px;
    }

    .scroll-indicator {
        bottom: 20px;
    }
}

/* Small phones */
@media (max-width: 480px) {
    .hero-title {
        font-size: clamp(19px, 5.5vw, 24px);
    }

    .hero-text-wrapper {
        max-width: 100%;
    }

    .project-card {
        width: 80vw;
        max-width: 300px;
    }

    .service-slide {
        width: min(300px, 84vw);
        max-width: 300px;
    }

    .company-statement h2 {
        font-size: 20px;
    }

    .footer-logo {
        height: 60px;
    }
}

/* ========================================
   Certificeringen-sectie (homepage)
   ======================================== */
.certs {
    background: #f6f6f6;
    padding: 84px 0;
}

.certs-inner {
    width: 82%;
    max-width: 1180px;
    margin: 0 auto;
    text-align: center;
}

.certs-eyebrow {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
    margin-bottom: 12px;
}

.certs-title {
    font-family: "pill-gothic-900mg", 'Barlow', sans-serif;
    font-size: clamp(28px, 3.2vw, 42px);
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: -0.6px;
    margin: 0 0 16px;
}

.certs-intro {
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-light);
    max-width: 640px;
    margin: 0 auto 48px;
}

.certs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.cert-badge {
    background: var(--white);
    border: 1px solid #e7e7e7;
    border-radius: 8px;
    padding: 40px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cert-badge:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.10);
}

.cert-seal {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.cert-seal svg {
    width: 46px;
    height: 46px;
    color: #9aa1ab;
}

.cert-seal-abbr {
    font-family: "pill-gothic-900mg", 'Barlow', sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--ink, #1a1a1a);
    letter-spacing: -0.5px;
}

/* echte certificaat-logo's */
.cert-logo {
    height: 66px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
}

.cert-name {
    font-size: 14px;
    line-height: 1.4;
    color: var(--text-light);
}

@media (max-width: 1024px) {
    .certs-inner { width: 88%; }
    .certs-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
    .certs { padding: 60px 0; }
}

@media (max-width: 560px) {
    .certs-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
    .cert-badge { padding: 28px 16px; }
    .cert-seal-abbr { font-size: 21px; }
    .cert-seal svg { width: 40px; height: 40px; }
}

/* Statusmelding onder formulieren (contact + diensten) */
.form-status {
    margin-top: 16px;
    font-size: 15px;
    font-weight: 600;
    color: #1a7f37;
}

.form-status:empty { display: none; }

.form-status.is-error { color: var(--accent); }

/* Klantlogo-balk homepage ("Zij gingen u voor") */
.hp-clients {
    background: var(--white);
    padding: 90px 0;
}

.hp-clients-inner {
    width: 82%;
    max-width: 1180px;
    margin: 0 auto;
    text-align: center;
}

.hp-clients-eyebrow {
    font-family: "pill-gothic-900mg", sans-serif;
    font-size: 18px;
    font-weight: 900;
    color: var(--accent);
    margin-bottom: 10px;
}

.hp-clients-title {
    font-family: "pill-gothic-900mg", sans-serif;
    font-size: clamp(26px, 2.78vw, 40px);
    font-weight: 900;
    color: var(--text-dark);
    line-height: 1.14;
    margin-bottom: 48px;
}

.hp-clients-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 28px;
    align-items: center;
}

.hp-client {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 12px;
}

.hp-client img {
    max-width: 100%;
    max-height: 64px;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.65;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.hp-client img:hover {
    filter: grayscale(0);
    opacity: 1;
}

@media (max-width: 900px) {
    .hp-clients { padding: 60px 0; }
    .hp-clients-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
}

@media (max-width: 480px) {
    .hp-clients-grid { grid-template-columns: repeat(2, 1fr); }
    .hp-client img { max-height: 52px; }
}


/* ========================================
   Homepage - Bijdrage aan het milieu (Trees for All)
   ======================================== */
.hp-milieu {
    max-width: 1180px;
    margin: 0 auto 96px;
    padding: 0 50px;
}
.hp-milieu-inner {
    background: #ffffff;
    border-radius: 14px;
    padding: 44px 56px;
    margin: 56px auto 0;
    text-align: left;
    box-shadow: 0 2px 18px rgba(0, 0, 0, 0.06);
}
.hp-milieu-heading {
    font-family: "pill-gothic-900mg", 'Barlow', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: clamp(30px, 3.4vw, 44px);
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.14;
}
.hp-milieu-lead {
    font-size: 19px;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 36px;
    max-width: 680px;
}
.hp-milieu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.hp-milieu-card {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}
.hp-milieu-card-text { flex: 1; }
.hp-milieu-card-text h4 {
    font-family: "pill-gothic-900mg", 'Barlow', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 22px;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 8px;
}
.hp-milieu-card-text p {
    font-size: 17px;
    line-height: 1.65;
    color: var(--text-light);
    margin-bottom: 10px;
}
.hp-milieu-link {
    color: var(--accent);
    font-weight: 700;
    text-decoration: none;
}
.hp-milieu-link:hover { color: var(--accent-dark); }
.hp-milieu-badge { flex-shrink: 0; }
.hp-milieu-badge img { width: 108px; height: auto; display: block; }
.hp-milieu-badge--ev {
    width: 108px;
    height: 108px;
    border-radius: 50%;
    background: #eef7f0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hp-milieu-badge--ev svg { width: 64px; height: 64px; display: block; }

@media (max-width: 860px) {
    .hp-milieu-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 768px) {
    .hp-milieu { padding: 0 20px; margin-bottom: 64px; }
    .hp-milieu-inner { text-align: center; padding: 40px 28px; }
    .hp-milieu-lead { margin-left: auto; margin-right: auto; }
    .hp-milieu-card { flex-direction: column; align-items: center; text-align: center; gap: 16px; }
    .hp-milieu-badge img, .hp-milieu-badge--ev { margin: 0 auto; }
}
