/* CSS Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Variables */
:root {
    --primary-color: #4d5a58;
    --secondary-color: #3d4a48;
    --accent-color: #4d5a58;
    --text-color: rgb(109, 109, 109);
    --heading-color: rgb(73, 90, 88);
    --light-text: rgb(109, 109, 109);
    --background: #fff;
    --light-bg: #e5e5e5;
    --header-bg: #e5e5e5;
    --font-family: 'Open Sans', sans-serif;
    --heading-font: 'Open Sans', sans-serif;
}

/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background);
}

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

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

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

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 400;
    color: var(--heading-color);
    line-height: 1.1;
}

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

/* Header & Navigation */
header {
    background-color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    max-width: 100%;
    margin: 0 auto;
}

.logo-wrapper {
    width: 100%;
    background-color: white;
    display: flex;
    justify-content: center;
    padding: 20px 0 10px;
}

.logo a {
    display: block;
}

.logo img {
    height: 80px;
    width: auto;
}

/* Navigation with side lines */
.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px 25px;
    background-color: white;
}

.nav-line {
    flex: 1;
    height: 1px;
    background-color: #d0d0d0;
}

/* Navigation */
nav {
    padding: 0 30px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 15px;
    align-items: center;
}

nav a {
    color: var(--text-color);
    font-weight: 400;
    font-size: 0.85rem;
    padding: 10px 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

nav a:hover {
    color: var(--secondary-color);
}

nav a.btn-nav {
    background-color: var(--primary-color);
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
}

nav a.btn-nav:hover {
    background-color: var(--secondary-color);
    color: white;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    transition: transform 0.3s ease;
}

/* Hero Section */
.hero {
    background-color: var(--header-bg);
    color: var(--text-color);
    padding: 40px 20px;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 5px;
    font-weight: 700;
    color: #3d4846;
}

.hero h2 {
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 15px;
    color: #3d4846;
}

.hero .subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #3d4846;
}

.hero .welcome-text {
    font-size: 1rem;
    color: #3d4846;
    max-width: 100%;
    margin: 0 auto;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
}

/* Page Header with Intro */
.page-header-intro {
    background-color: #f0f0f0;
    padding: 40px 20px;
    text-align: center;
}

.page-header-intro h1 {
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--text-color);
    margin-bottom: 15px;
}

.page-header-intro .intro-text {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--light-text);
}

/* Main Content */
main {
    min-height: calc(100vh - 300px);
}

/* Content Sections */
.section {
    padding: 0;
    overflow: hidden;
}

.section:nth-child(even) {
    background-color: var(--light-bg);
}

.section.no-bg {
    background-color: transparent;
}

.section h2 {
    font-size: 30px;
    margin-bottom: 20px;
}

.section p {
    color: var(--light-text);
    max-width: 800px;
    margin-bottom: 20px;
}

/* Two Column Layout - Full Width */
.section > .container {
    max-width: 100%;
    padding: 0;
}

.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
    min-height: 400px;
}

.two-column .content {
    padding: 60px 40px;
    padding-left: max(40px, calc((100vw - 1200px) / 2 + 20px));
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.two-column.reverse .content {
    order: 2;
    padding-left: 40px;
    padding-right: max(40px, calc((100vw - 1200px) / 2 + 20px));
}

.two-column .image {
    position: relative;
    overflow: hidden;
    min-height: 400px;
}

.two-column .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.two-column.reverse {
    grid-template-columns: 1fr 1fr;
}

.two-column.reverse .image {
    order: -1;
}

.two-column img {
    box-shadow: none;
}

/* Welcome Section */
.welcome {
    padding: 60px 20px;
}

.welcome-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.welcome h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.welcome p {
    color: var(--light-text);
    line-height: 1.8;
}

.welcome img {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.welcome-image-centered {
    display: flex;
    justify-content: center;
}

.welcome-image-centered img {
    max-width: 800px;
    width: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Contact Info */
.contact-info {
    padding: 60px 20px;
}

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

.contact-details h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.contact-details p {
    margin-bottom: 15px;
    color: var(--light-text);
}

.contact-details strong {
    color: var(--text-color);
    display: inline-block;
    min-width: 100px;
}

.contact-details a {
    color: var(--accent-color);
}

.contact-image img {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Desktop Contact Layout - New 65/35 Design */
.contact-desktop-section {
    padding: 60px 20px;
}

.contact-desktop-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-desktop-grid {
    display: grid;
    grid-template-columns: 65% 35%;
    gap: 40px;
    align-items: start;
}

.contact-left-column h2 {
    font-size: 2rem;
    color: var(--heading-color);
    margin-bottom: 20px;
    font-weight: 600;
}

.contact-left-column p {
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 15px;
}

.contact-left-column .cta-text {
    margin-bottom: 30px;
}

.contact-left-image {
    margin-top: 20px;
}

.contact-left-image img {
    width: 100%;
    height: auto;
}

.contact-right-image {
    margin-bottom: 30px;
}

.contact-right-image img {
    width: 100%;
    height: auto;
}

.contact-right-details h3 {
    font-size: 1.2rem;
    color: var(--heading-color);
    font-weight: 600;
    margin-bottom: 5px;
}

.contact-right-details p {
    color: var(--text-color);
    margin-bottom: 3px;
    line-height: 1.5;
}

.contact-right-details .label {
    font-weight: 600;
    color: var(--heading-color);
    margin-top: 20px;
    margin-bottom: 5px;
}

.contact-right-details a {
    color: var(--accent-color);
}

.contact-right-details .contact-social {
    margin-top: 20px;
}

.contact-right-details .linkedin-link-blue {
    display: inline-block;
    transition: opacity 0.3s ease;
}

.contact-right-details .linkedin-link-blue:hover {
    opacity: 0.8;
}

.contact-right-details .linkedin-link-blue svg {
    width: 40px;
    height: 40px;
}

/* Testimonial */
.testimonial {
    background-color: var(--light-bg);
    padding: 40px;
    margin-top: 40px;
    font-style: italic;
    color: var(--light-text);
    border-left: 4px solid var(--accent-color);
}

/* Quote Banner */
.quote-banner {
    background-color: var(--primary-color);
    padding: 60px 20px;
    text-align: center;
}

.quote-banner p {
    color: white;
    font-size: 1.5rem;
    font-style: italic;
    font-weight: 300;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Footer */
footer {
    background-color: white;
    color: var(--text-color);
    padding: 30px 20px;
    text-align: center;
}

footer p {
    opacity: 0.9;
}

/* Contact section visibility defaults */
.contact-mobile {
    display: none;
}

.contact-desktop-section {
    display: block;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        padding: 0;
        position: relative;
    }

    .logo-wrapper {
        padding: 15px 0 10px;
    }

    .logo img {
        height: 50px;
    }

    .nav-wrapper {
        width: 100%;
    }

    .nav-line {
        display: none;
    }

    .menu-toggle {
        display: flex;
        position: absolute;
        right: 20px;
        top: 15px;
    }

    nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--header-bg);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        display: none;
        padding: 0;
    }

    nav.active {
        display: block;
    }

    nav ul {
        flex-direction: column;
        padding: 20px;
        gap: 0;
    }

    nav li {
        border-bottom: 1px solid #ccc;
        width: 100%;
        text-align: center;
    }

    nav li:last-child {
        border-bottom: none;
    }

    nav a {
        display: block;
        padding: 15px 0;
    }

    nav a.btn-nav {
        background-color: transparent;
        color: var(--text-color);
        padding: 15px 0;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero h2 {
        font-size: 1.4rem;
    }

    .hero .subtitle {
        font-size: 1.1rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .welcome-content,
    .two-column,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .two-column .content {
        padding: 40px 20px;
    }

    .two-column.reverse .content {
        padding: 40px 20px;
    }

    .two-column .image {
        min-height: 280px;
        height: 280px;
    }

    .two-column .image img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .two-column.reverse .content {
        padding: 40px 20px;
    }

    .two-column.reverse {
        direction: ltr;
    }

    .section h2 {
        font-size: 1.5rem;
    }

    /* Page header intro mobile */
    .page-header-intro {
        padding: 30px 20px;
    }

    .page-header-intro h1 {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }

    .page-header-intro .intro-text {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    /* Two-column mobile - image on top, text below */
    .two-column {
        display: flex;
        flex-direction: column;
    }

    .two-column .image {
        order: 1;
    }

    .two-column .content {
        order: 2;
    }

    .two-column.reverse .image {
        order: 1;
    }

    .two-column.reverse .content {
        order: 2;
    }

    /* Quote banner mobile */
    .quote-banner {
        padding: 40px 20px;
    }

    .quote-banner p {
        font-size: 1.1rem;
        line-height: 1.7;
    }

    /* Contact page mobile layout */
    .contact-desktop,
    .contact-desktop-section {
        display: none;
    }

    .contact-mobile {
        display: block;
        padding: 40px 0;
    }

    .contact-mobile-intro {
        text-align: left;
        padding: 30px 20px;
    }

    .contact-mobile-intro h2 {
        font-size: 1.8rem;
        color: var(--heading-color);
        margin-bottom: 15px;
    }

    .contact-mobile-intro p {
        color: var(--text-color);
        line-height: 1.7;
        margin-bottom: 10px;
    }

    .contact-mobile-intro .cta-text {
        font-weight: 400;
        color: var(--text-color);
        margin-top: 15px;
    }

    .contact-mobile-image {
        width: 100%;
        overflow: hidden;
    }

    .contact-mobile-image img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    .contact-mobile-image.with-padding {
        padding: 0 20px;
        margin-bottom: 20px;
    }

    .contact-mobile-image.full-bleed {
        padding: 0;
    }

    .contact-mobile-details {
        padding: 30px 20px;
        text-align: left;
    }

    .contact-mobile-details h3 {
        font-size: 1.3rem;
        color: var(--heading-color);
        margin-bottom: 5px;
        font-weight: 600;
    }

    .contact-mobile-details .contact-name {
        font-size: 1rem;
        color: var(--text-color);
        margin-bottom: 5px;
    }

    .contact-mobile-details .label {
        font-weight: 600;
        color: var(--heading-color);
        margin-top: 20px;
        margin-bottom: 5px;
    }

    .contact-mobile-details p {
        color: var(--text-color);
        margin-bottom: 3px;
        line-height: 1.5;
    }

    .contact-mobile-details a {
        color: var(--accent-color);
    }

    .contact-social {
        margin-top: 25px;
    }

    .linkedin-link {
        display: inline-block;
        color: var(--primary-color);
        transition: color 0.3s ease;
    }

    .linkedin-link:hover {
        color: var(--secondary-color);
    }

    .linkedin-link svg {
        width: 32px;
        height: 32px;
    }

    .linkedin-link-blue {
        display: inline-block;
        transition: opacity 0.3s ease;
    }

    .linkedin-link-blue:hover {
        opacity: 0.8;
    }

    .linkedin-link-blue svg {
        width: 40px;
        height: 40px;
    }

    /* Hide "Laten we samenwerken" section on mobile */
    .section.no-bg {
        display: none;
    }
}

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

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

/* Scroll animations */
.two-column .content,
.two-column .image {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.two-column .content {
    animation-delay: 0.2s;
}

.two-column .image {
    animation-delay: 0.4s;
}

.page-header-intro h1,
.page-header-intro .intro-text {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.page-header-intro h1 {
    animation-delay: 0.1s;
}

.page-header-intro .intro-text {
    animation-delay: 0.3s;
}

.quote-banner p {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
    animation-delay: 0.5s;
}

/* Hero animations */
.hero h1,
.hero h2,
.hero .subtitle,
.hero .welcome-text {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.hero h1 {
    animation-delay: 0.1s;
}

.hero h2 {
    animation-delay: 0.25s;
}

.hero .subtitle {
    animation-delay: 0.4s;
}

.hero .welcome-text {
    animation-delay: 0.55s;
}

/* Welcome section animation */
.welcome-image-centered {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.7s;
}

.welcome-image-centered img {
    transition: transform 0.5s ease;
}

.welcome-image-centered:hover img {
    transform: scale(1.02);
}

/* Contact info animations */
.contact-details,
.contact-image {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.contact-details {
    animation-delay: 0.2s;
}

.contact-image {
    animation-delay: 0.4s;
}

.contact-image img {
    transition: transform 0.5s ease;
}

.contact-image:hover img {
    transform: scale(1.03);
}

/* Hover effects */
.two-column .image img {
    transition: transform 0.5s ease;
}

.two-column .image:hover img {
    transform: scale(1.03);
}

@media (max-width: 480px) {
    /* Ensure contact mobile layout stays visible */
    .contact-desktop {
        display: none !important;
    }

    .contact-mobile {
        display: block !important;
    }

    .hero {
        padding: 40px 15px;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .hero h2 {
        font-size: 1.2rem;
    }

    .hero .subtitle {
        font-size: 1rem;
    }

    .section {
        padding: 0;
    }

    .two-column .content {
        padding: 30px 15px;
    }

    .two-column .image {
        min-height: 250px;
    }

    .page-header-intro {
        padding: 25px 15px;
    }

    .page-header-intro h1 {
        font-size: 1.5rem;
    }

    .page-header-intro .intro-text {
        font-size: 0.9rem;
    }

    .quote-banner {
        padding: 30px 15px;
    }

    .quote-banner p {
        font-size: 1rem;
    }

    .contact-info {
        padding: 40px 15px;
    }

    .contact-details strong {
        display: block;
        margin-bottom: 5px;
    }

    .contact-details h2 {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    .contact-details p span[style*="margin-left"] {
        margin-left: 0 !important;
    }

    /* Hide "Laten we samenwerken" section on mobile */
    .section.no-bg {
        display: none;
    }
}
