/* =======================================
   BASE & VARIABLES
   ======================================= */
:root {
    --primary-blue: #1A4568;
    --primary-light: #255d8a;
    --primary-dark: #0f2c45;

    --accent-green: #B8E88E;
    --accent-hover: #9ad46a;

    --bg-light: #ffffff;
    --bg-alt: #f8fafc;
    --surface: #ffffff;
    --surface-hover: #f1f5f9;

    --text-main: #1A4568;
    --text-muted: #64748b;
    --text-on-dark: #ffffff;

    --header-h: 80px;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --gradient-bg: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-alt) 100%);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 15px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-h);
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* =======================================
   LAYOUT
   ======================================= */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section {
    padding: 100px 0;
    position: relative;
}

/* =======================================
   HEADER & NAV
   ======================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-h);
    background-color: transparent;
    transition: all 0.3s ease;
    z-index: 1000;
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(26, 69, 104, 0.1);
}

.header-container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 40px;
    width: auto;
    border-radius: 4px;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: 1px;
}

.nav-list {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 30px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-on-dark);
    position: relative;
    padding: 5px 0;
}

.header.scrolled .nav-link {
    color: var(--text-main);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-green);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.btn-nav {
    background-color: var(--accent-green);
    color: var(--primary-dark) !important;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600;
}

.btn-nav::after {
    display: none;
}

.btn-nav:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(184, 232, 142, 0.3);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    transition: all 0.3s ease;
}

.header.scrolled .menu-toggle .bar {
    background-color: var(--primary-blue);
}

/* =======================================
   HERO
   ======================================= */
.hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: var(--header-h);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Parallax is applied via JS, but we scale it slightly to avoid edges */
.parallax-bg img {
    transform: scale(1.1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(5, 11, 18, 0.9) 0%, rgba(26, 69, 104, 0.7) 100%);
    mix-blend-mode: multiply;
}

.hero-text-wrapper {
    max-width: 800px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 20px;
    text-transform: uppercase;
    color: #ffffff;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.6);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #f1f5f9;
    margin-bottom: 40px;
    max-width: 850px;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
    line-height: 1.5;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--accent-green);
    color: var(--primary-dark);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(184, 232, 142, 0.2);
}

.btn-secondary {
    background-color: var(--primary-blue);
    color: #ffffff;
}

.btn-secondary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(26, 69, 104, 0.2);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.1rem;
}

/* =======================================
   REUSABLE COMPONENTS
   ======================================= */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.accent-line {
    width: 60px;
    height: 4px;
    background-color: var(--accent-green);
    margin: 0 auto;
    border-radius: 2px;
}

.accent-line.left {
    margin: 0 0 20px 0;
}

.section-description {
    color: var(--text-muted);
    margin: 20px auto 0;
    font-size: 1.1rem;
    max-width: 800px;
}

/* =======================================
   DIENSTEN
   ======================================= */
.diensten {
    background: var(--gradient-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 15px;
}

.service-card-img {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    cursor: pointer;
    background: #000;
}

.service-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease, opacity 0.3s ease;
    opacity: 0.9;
}

.service-card-img:hover .service-bg {
    transform: scale(1.1);
    opacity: 0.7;
}

.service-overlay-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 25px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    pointer-events: none;
}

.service-title-on-img {
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* =======================================
   OVER JOHAN
   ======================================= */
.about {
    background-color: var(--primary-dark);
    padding: 160px 0 200px;
}

.about-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.about-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 10;
}

.about-content {
    flex: 1;
}

/* Removed tagline styles */

.about .section-title {
    color: #ffffff;
}

.about-content p {
    margin-bottom: 20px;
    color: #cbd5e1;
    font-size: 1.05rem;
}

/* Removed stats styles */

.about-visual {
    flex: 1;
    position: relative;
}

.about-image-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 4/5;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.frame-decor {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 60%;
    height: 60%;
    border: 4px solid var(--accent-green);
    z-index: -1;
    border-radius: 8px;
}

/* Shape Dividers */
.shape-top,
.shape-bottom {
    position: absolute;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.shape-top {
    top: 0;
    transform: rotate(180deg);
}

.shape-bottom {
    bottom: 0;
}

.shape-fill {
    fill: var(--bg-light);
}

/* =======================================
   REVIEWS
   ======================================= */
/* Facebook Projects Section */
.projects-facebook {
    background-color: #ffffff;
    padding: 100px 0;
}

.facebook-feed-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 30px;
    margin-bottom: 50px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 20px 0;
}

.facebook-feed-grid::-webkit-scrollbar {
    display: none;
}

.fb-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    min-width: 300px;
    max-width: 500px;
    width: 90vw;
    display: block;
    scroll-snap-align: center;
    flex-shrink: 0;
}

.fb-card iframe {
    width: 100% !important;
    display: block;
}

.facebook-cta {
    text-align: center;
}

@media (max-width: 768px) {
    .fb-card {
        min-width: 280px;
        width: 85vw;
        max-width: 350px;
    }

    .facebook-feed-grid {
        gap: 15px;
        padding: 10px 0;
        margin-left: -5vw;
        margin-right: -5vw;
        padding-left: 7.5vw;
        padding-right: 7.5vw;
    }
}

.reviews {
    background: var(--bg-alt);
    padding: 100px 0;
}

.reviews-header-google {
    text-align: center;
    margin-bottom: 50px;
}

.reviews-header-google h3 {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.google-summary-stars {
    color: #ffb400;
    font-size: 2rem;
    margin-bottom: 5px;
}

.google-summary-text {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.google-brand-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 5px;
}

.google-brand-text .fa-google {
    color: #4285F4;
}

.reviews-slider-container {
    padding: 50px 0;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.reviews-grid {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 20px 10px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */
}

.reviews-grid::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}

.review-card {
    background: #ffffff;
    padding: 25px;
    border-radius: 10px;
    min-width: 320px;
    flex: 0 0 calc(33.333% - 14px);
    scroll-snap-align: start;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

@media (max-width: 992px) {
    .review-card {
        flex: 0 0 calc(50% - 10px);
    }
}

@media (max-width: 600px) {
    .review-card {
        flex: 0 0 100%;
    }
}

.review-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.review-user-info {
    display: flex;
    gap: 12px;
    align-items: center;
}

.user-avatar-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
    font-size: 1.1rem;
    overflow: hidden;
}

.user-name {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-main);
    display: block;
}

.review-date {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.google-icon-small {
    font-size: 1.1rem;
    color: #4285F4;
}

.review-stars-row {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 15px;
}

.review-stars-row .stars {
    color: #ffb400;
    font-size: 0.9rem;
}

.verified-icon {
    color: #4285f4;
    font-size: 0.8rem;
}

.review-text {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #334155;
    flex-grow: 1;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Slider Navigation Arrows */
.slider-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.slider-arrow {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.slider-arrow:hover {
    background: var(--bg-alt);
    transform: scale(1.1);
}

.slider-arrow i {
    color: var(--primary-blue);
    font-size: 1rem;
}

/* =======================================
   FAQ
   ======================================= */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-alt);
    border: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
}

.faq-category-title {
    color: var(--accent-green);
    font-size: 1.4rem;
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(184, 232, 142, 0.2);
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.faq-category-title:first-of-type {
    margin-top: 0;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 25px 30px;
    background: transparent;
    border: none;
    color: var(--text-main);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.02);
}

.faq-question i {
    color: var(--accent-green);
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    background: rgba(26, 69, 104, 0.03);
}

.faq-answer p {
    padding: 0 30px;
    color: var(--text-muted);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    padding: 0 30px 25px;
}

/* =======================================
   CONTACT
   ======================================= */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

.contact-desc {
    color: var(--text-muted);
    margin-bottom: 40px;
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: var(--bg-alt);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    font-size: 1.2rem;
    flex-shrink: 0;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.info-label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 5px;
}

.info-value {
    color: var(--text-muted);
}

.contact-form-container {
    background: var(--surface);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-main);
    font-family: var(--font-heading);
    font-weight: 500;
}

.input-group input,
.input-group select,
.input-group textarea {
    width: 100%;
    padding: 15px;
    background: var(--bg-alt);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    color: var(--text-main);
    font-family: var(--font-body);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
    outline: none;
    border-color: var(--accent-green);
    box-shadow: 0 0 0 2px rgba(184, 232, 142, 0.2);
}

.btn-block {
    width: 100%;
    justify-content: center;
    padding: 18px;
    font-size: 1.1rem;
    margin-top: 10px;
}

/* =======================================
   FOOTER
   ======================================= */
.footer {
    background-color: var(--primary-dark);
    color: var(--text-on-dark);
    padding-top: 80px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.footer-brand p {
    color: var(--accent-green);
}

.footer-logo-img {
    height: 50px;
    width: auto;
    margin-bottom: 20px;
}

.footer h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--text-on-dark);
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: 12px;
}

.footer ul li a {
    color: #cbd5e1;
}

.footer ul li a:hover {
    color: var(--accent-green);
}

.footer-bottom {
    background-color: #081624;
    padding: 25px 0;
}

.bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bottom-flex p {
    color: #94a3b8;
    font-size: 0.9rem;
}

.socials {
    display: flex;
    gap: 15px;
}

.socials a {
    width: 40px;
    height: 40px;
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--text-muted);
}

.socials a:hover {
    background: var(--accent-green);
    color: var(--primary-dark);
}

/* =======================================
   FLOATING WHATSAPP
   ======================================= */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--accent-green);
    color: var(--primary-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-btn:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 8px 25px rgba(184, 232, 142, 0.4);
    color: var(--primary-dark);
}

/* =======================================
   ANIMATIONS (JS classes)
   ======================================= */
.reveal {
    opacity: 0;
}

.fade-in-up {
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

/* =======================================
   RESPONSIVE
   ======================================= */
@media (max-width: 992px) {

    .about-wrapper,
    .contact-wrapper {
        flex-direction: column;
        grid-template-columns: 1fr;
    }

    .frame-decor {
        display: none;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav {
        position: fixed;
        top: var(--header-h);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-h));
        background-color: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        justify-content: center;
        transition: left 0.4s ease;
        padding: 40px;
    }

    .nav.active .nav-link {
        color: var(--text-main);
    }

    .nav.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 20px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .bottom-flex {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}