@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* --- General Setup & Typography --- */
:root {
    --text-color: #e0e0e0;
    --background-color: #0f0f0f;
    --card-background: #1a1a1a;
    --border-color: #333;
    --primary-font: 'Inter', 'Helvetica', sans-serif;
    --accent-color: #fff;
}

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

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

body.loading {
    overflow: hidden;
}

/* --- Loading Animation --- */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--background-color);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    width: 60px;
    height: 60px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--accent-color);
    border-radius: 50%;
    animation: spin 1s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* --- Fade-in Animations --- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.fade-in-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease, transform 1s ease;
}

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

.stagger-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.stagger-item.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Scroll / motion: toegankelijkheid (scroll-experience skill) */
@media (prefers-reduced-motion: reduce) {
    .fade-in,
    .fade-in-up,
    .stagger-item {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .loading-screen {
        transition: opacity 0.2s ease, visibility 0.2s ease;
    }

    .loader {
        animation: none;
        border-color: rgba(255, 255, 255, 0.35);
    }
}

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

h1,
h2,
h3,
h4 {
    font-weight: 500;
    letter-spacing: 1px;
}

p {
    color: #b0b0b0;
    margin-bottom: 1rem;
}

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

a:hover {
    color: #fff;
}

.section {
    padding: 80px 0;
}

/* Two-column-section has its own padding, so if it also has .section class, use two-column-section padding */
.two-column-section.section {
    padding: 0;
}

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

/* --- Header --- */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 40px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1002;
    background: rgba(15, 15, 15, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transform: translateY(0);
    transition: transform 0.4s ease, background 0.4s ease;
}

.main-header.scrolled {
    background: rgba(15, 15, 15, 0.95);
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #fff 0%, #a0a0a0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    display: inline-block;
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.8;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 35px;
}

.main-nav a {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    font-weight: 500;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.4s ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
    width: 100%;
}

.main-nav a:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 4px;
    border-radius: 4px;
}

/* --- Dropdown Menu --- */
.main-nav li {
    position: relative;
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown>a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.nav-dropdown>a::after {
    display: none;
}

.nav-dropdown-arrow {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    transition: transform 0.3s ease;
    margin-left: 5px;
}

.nav-dropdown.active .nav-dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 15px;
    background: rgba(26, 26, 26, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    min-width: 220px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-10px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    z-index: 1001;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.nav-dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu li {
    list-style: none;
    margin: 0;
    display: block;
    width: 100%;
}

.dropdown-menu a {
    display: block;
    padding: 14px 24px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(224, 224, 224, 0.8);
    transition: all 0.3s ease;
    position: relative;
    border-left: 2px solid transparent;
}

.dropdown-menu a::after {
    display: none;
}

.dropdown-menu a:hover {
    background-color: rgba(255, 255, 255, 0.08);
    color: #fff;
    padding-left: 28px;
    border-left-color: var(--accent-color);
}

/* Mobile dropdown styles */
.mobile-nav .nav-dropdown {
    width: 100%;
}

.mobile-nav .nav-dropdown>a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    text-align: center;
    gap: 8px;
    /* Gap between text and arrow */
}

.mobile-nav .dropdown-menu {
    position: static;
    transform: none;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    margin-top: 15px;
    margin-left: 20px;
    margin-right: 20px;
    width: auto;
    padding: 0;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
    text-align: center;
}

.mobile-nav .nav-dropdown.active .dropdown-menu {
    max-height: 400px;
    padding: 5px 0;
    transform: none;
}

.mobile-nav .dropdown-menu li {
    text-align: center;
    width: 100%;
    padding: 0;
    margin: 0;
}

.mobile-nav .dropdown-menu a {
    display: block;
    padding: 16px 20px;
    font-size: 0.9rem;
    text-align: center;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.6);
}

.mobile-nav .dropdown-menu a:last-child {
    border-bottom: none;
}

.mobile-nav .dropdown-menu a:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: #fff;
    letter-spacing: 2px;
}

/* --- Mobile Menu Toggle Button --- */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1003;
    position: relative;
}

.hamburger-line {
    width: 100%;
    height: 2px;
    background-color: var(--accent-color);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* --- Mobile Menu Overlay --- */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(15, 15, 15, 0.98);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.4s;
    overflow-y: auto;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 100px 20px 40px;
    text-align: center;
}

.mobile-nav ul {
    list-style: none;
    margin-bottom: 40px;
    width: 100%;
    max-width: 400px;
}

.mobile-nav li {
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.mobile-menu-overlay.active .mobile-nav li {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu-overlay.active .mobile-nav > ul > li:nth-child(1) {
    transition-delay: 0.1s;
}

.mobile-menu-overlay.active .mobile-nav > ul > li:nth-child(2) {
    transition-delay: 0.13s;
}

.mobile-menu-overlay.active .mobile-nav > ul > li:nth-child(3) {
    transition-delay: 0.16s;
}

.mobile-menu-overlay.active .mobile-nav > ul > li:nth-child(4) {
    transition-delay: 0.19s;
}

.mobile-menu-overlay.active .mobile-nav > ul > li:nth-child(5) {
    transition-delay: 0.22s;
}

.mobile-menu-overlay.active .mobile-nav > ul > li:nth-child(6) {
    transition-delay: 0.25s;
}

.mobile-nav-link {
    font-size: 1.5rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-color);
    text-decoration: none;
    display: block;
    padding: 15px 0;
    position: relative;
    transition: color 0.3s ease;
}

.mobile-nav-link::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60px;
    height: 2px;
    background: var(--accent-color);
    transition: transform 0.3s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link:focus {
    color: var(--accent-color);
}

.mobile-nav-link:hover::after,
.mobile-nav-link:focus::after {
    transform: translateX(-50%) scaleX(1);
}

.mobile-nav-link:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 4px;
    border-radius: 4px;
}

.mobile-cta {
    margin-top: 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease 0.35s, transform 0.4s ease 0.35s;
}

.mobile-menu-overlay.active .mobile-cta {
    opacity: 1;
    transform: translateY(0);
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border: 1px solid var(--border-color);
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 4px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--accent-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: -1;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn:hover {
    color: #111;
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

.btn-light {
    background-color: #fff;
    color: #111;
    border-color: #fff;
}

.btn-light::before {
    background: #111;
}

.btn-light:hover {
    color: #fff;
    border-color: #fff;
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.hero-images {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    z-index: 0;
}

.hero-image-left,
.hero-image-right {
    height: 100%;
    overflow: hidden;
    position: relative;
}

.hero-image-left {
    width: 55%;
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%);
}

.hero-image-right {
    width: 55%;
    margin-left: -10%;
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%);
}

.hero-image-left img,
.hero-image-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-image-left img {
    filter: brightness(0.85);
}

.hero-image-right img {
    filter: brightness(0.8);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.45));
    z-index: 1;
    pointer-events: none;
}

.hero-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, transparent 0%, rgba(0, 0, 0, 0.2) 100%);
    pointer-events: none;
}

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

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-top: 10px;
    margin-bottom: 40px;
    max-width: 700px;
    line-height: 1.2;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.5s;
}

.hero .subtitle {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.85rem;
    font-weight: 500;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.3s;
}

.hero .btn {
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.7s;
}

.hero-discover-more {
    position: absolute;
    bottom: 40px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 1.2s;
    z-index: 10;
    text-align: center;
    margin: 0 auto;
}

.hero-discover-more:hover {
    color: var(--accent-color, #fff);
    transform: translateY(5px);
}

.hero-discover-more svg {
    animation: bounce-down 2s infinite ease-in-out;
    transition: transform 0.3s ease;
}

.hero-discover-more:hover svg {
    transform: translateY(3px);
}

@keyframes bounce-down {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(8px);
    }
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Intro & Stats Section --- */
.intro-section h2 {
    font-size: 2.8rem;
    max-width: 900px;
    margin: 0 auto 30px;
    font-weight: 600;
    line-height: 1.3;
}

.intro-section p {
    max-width: 750px;
    margin: 0 auto;
    font-size: 1.15rem;
    line-height: 1.8;
    color: #a0a0a0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    margin-top: 80px;
}

.stat-item {
    border-top: 2px solid var(--border-color);
    padding-top: 25px;
    transition: transform 0.4s ease, border-color 0.4s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.stat-item .number {
    font-size: 4rem;
    font-weight: 700;
    background: linear-gradient(135deg, #fff 0%, #888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-item .number.stat-number--word {
    font-size: 2.75rem;
    line-height: 1.15;
}

.stat-item .category {
    font-weight: 600;
    letter-spacing: 2px;
    margin: 15px 0;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.stats-cta {
    margin-top: 50px;
}

/* --- Projects Section Header --- */
.projects-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
}

.projects-section-title {
    text-align: left;
}

.projects-section-title .subtitle {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.projects-section-title h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.2;
}

.projects-view-all {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background-color: #000;
    color: #fff;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.projects-view-all:hover {
    background-color: #333;
    transform: translateY(-2px);
}

.projects-view-all::after {
    content: '→';
    font-size: 1rem;
}

/* --- Projects Grid --- */
/* Note: These styles are scoped to .projects-section (home page) to avoid conflicts with projects.css */
.projects-section .projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.projects-section .project-card {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: 20px;
    overflow: hidden;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    cursor: pointer;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    text-decoration: none;
}

.projects-section .project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.projects-section .project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.3) 60%, transparent 100%);
    z-index: 1;
    transition: opacity 0.5s ease;
}

.projects-section .project-card:hover::before {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 60%, transparent 100%);
}

.projects-section .project-card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.projects-section .project-card:hover img {
    transform: scale(1.1);
}

.projects-section .project-card .content {
    position: relative;
    z-index: 2;
    transform: translateY(0);
    transition: transform 0.5s ease;
}

.projects-section .project-card:hover .content {
    transform: translateY(0);
}

.projects-section .project-card h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.projects-section .project-card .details {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0.9;
}

.projects-section .project-card .details p {
    margin: 0;
    font-weight: 500;
}

.completion-date {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}

.completion-date .status {
    font-size: 0.75rem;
    font-weight: 500;
    opacity: 0.8;
}

.completion-date .year {
    font-size: 1rem;
    font-weight: 600;
    margin-top: 2px;
}

/* --- Two Column Sections --- */
.two-column-section {
    padding: 80px 0;
}

/* If section also has .section class, use two-column-section padding instead */
.two-column-section.section {
    padding: 80px 0;
}

.section-title-center {
    text-align: center;
    margin-bottom: 80px;
}

.section-title-center h2 {
    font-size: 2.8rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.2;
}

.section-title-left {
    margin-bottom: 60px;
}

.section-title-left h2 {
    font-size: 2.8rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.2;
    text-align: left;
}

.two-column-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 80px;
}

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

/* Reverse order for desktop - image on right */
@media (min-width: 769px) {
    .two-column-content.reverse {
        direction: rtl;
    }

    .two-column-content.reverse>* {
        direction: ltr;
    }
}

.column-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 15px;
}

/* Frank's Portrait Styling */
.frank-portrait {
    background: linear-gradient(135deg, rgba(40, 40, 40, 0.6) 0%, rgba(20, 20, 20, 0.8) 100%);
    border-radius: 20px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.frank-portrait::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at bottom center, rgba(255, 255, 255, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.frank-portrait img {
    width: auto;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    object-position: bottom center;
    border-radius: 0;
    position: relative;
    z-index: 1;
}

.column-text {
    padding: 0 20px;
}

.column-text .subtitle {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.column-text h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 25px;
    line-height: 1.3;
}

.column-text p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #a0a0a0;
}

.column-text p:last-of-type {
    margin-bottom: 30px;
}

.column-text strong {
    color: var(--text-color);
    font-weight: 600;
}

/* --- CTA Section --- */
.cta-section {
    padding: 100px 0;
}

.cta-section-inner {
    background: linear-gradient(135deg, rgba(40, 40, 40, 0.8), rgba(20, 20, 20, 0.9));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 25px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    padding: 80px 40px;
}

.cta-section-inner h2 {
    font-size: 2.5rem;
    font-weight: 600;
}

.cta-section-inner p {
    max-width: 650px;
    margin: 25px auto 40px;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* CTA-knoppen: zin in normale hoofdletters (geen geforceerde uppercase op .btn) */
.cta-section .btn {
    text-transform: none;
    letter-spacing: 0.04em;
}

/* Frank Accent in CTA */
.cta-section-inner {
    position: relative;
    overflow: hidden;
}

.cta-frank-accent {
    position: absolute;
    bottom: 0;
    right: 30px;
    display: flex;
    align-items: flex-end;
    gap: 15px;
    pointer-events: none;
}

.cta-frank-accent img {
    width: 240px;
    height: auto;
    object-fit: contain;
    object-position: bottom;
    opacity: 0.9;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}

.cta-frank-label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 50px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    font-style: italic;
    white-space: nowrap;
}

.cta-frank-label svg {
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.5);
    animation: point-right 1.5s ease-in-out infinite;
}

@keyframes point-right {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(5px);
    }
}

/* Hide Frank accent on smaller screens */
@media (max-width: 900px) {
    .cta-frank-accent {
        display: none;
    }
}

/* --- Footer --- */
.main-footer {
    border-top: 1px solid var(--border-color);
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 50px;
}

.footer-grid h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

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

.footer-grid li {
    margin-bottom: 12px;
    transition: transform 0.3s ease;
}

.footer-grid li:hover {
    transform: translateX(5px);
}

.footer-grid p {
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-form input {
    width: 100%;
    padding: 14px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-color);
    margin-bottom: 12px;
    transition: border-color 0.3s ease, background-color 0.3s ease;
    font-family: var(--primary-font);
}

.footer-form input:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
    border-color: var(--accent-color);
    background-color: rgba(255, 255, 255, 0.08);
}

.footer-form .btn {
    width: 100%;
    text-align: center;
    border-radius: 8px;
}

/* --- Responsive Adjustments --- */
@media (max-width: 1024px) {
    .hero-images {
        flex-direction: column;
    }

    .hero-image-left,
    .hero-image-right {
        width: 100%;
        height: 50%;
        margin-left: 0;
    }
    
    .hero-image-left {
        clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
    }
    
    .hero-image-right {
        margin-top: -10%;
        clip-path: polygon(0 15%, 100% 0, 100% 100%, 0 100%);
    }
    .main-header {
        padding: 20px 30px;
    }

    .main-nav ul {
        gap: 25px;
    }

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

    .stats-grid {
        gap: 40px;
    }

    .two-column-content {
        gap: 60px;
    }
}

@media (max-width: 768px) {
    .main-header {
        padding: 20px;
        justify-content: space-between;
    }

    .main-nav {
        display: none;
    }

    .header-btn {
        display: none;
    }

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

    .logo {
        font-size: 1.5rem;
    }

    .hero {
        height: 100vh;
        padding: 0 20px;
        padding-bottom: 100px;
        min-height: 600px;
    }

    .hero h1 {
        font-size: 2rem;
        margin-bottom: 30px;
        line-height: 1.3;
    }

    .hero .subtitle {
        font-size: 0.75rem;
        letter-spacing: 2px;
    }

    .hero .btn {
        font-size: 0.8rem;
        padding: 10px 24px;
    }

    .hero-discover-more {
        bottom: 20px;
        font-size: 0.75rem;
    }

    .section {
        padding: 30px 0;
    }

    .intro-section h2 {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }

    .intro-section p {
        font-size: 1rem;
        line-height: 1.7;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-top: 50px;
    }

    .stat-item .number {
        font-size: 3rem;
    }

    .stat-item .number.stat-number--word {
        font-size: 2.25rem;
    }

    .stat-item .category {
        font-size: 0.85rem;
    }

    .projects-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        margin-bottom: 30px;
    }

    .projects-section-title h2 {
        font-size: 2rem;
    }

    .projects-view-all {
        width: 100%;
        justify-content: center;
    }

    .projects-section .projects-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .projects-section .project-card {
        aspect-ratio: 4 / 3;
        padding: 25px;
    }

    .projects-section .project-card h3 {
        font-size: 1.2rem;
    }

    .two-column-section {
        padding: 30px 0;
    }

    /* If section also has .section class, use two-column-section padding on mobile */
    .two-column-section.section {
        padding: 30px 0;
    }

    .section-title-center {
        margin-bottom: 50px;
    }

    .section-title-center h2,
    .section-title-left h2 {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .two-column-content {
        grid-template-columns: 1fr !important;
        gap: 30px;
        margin-bottom: 50px;
    }

    /* Reset reverse direction on mobile - always normal flow */
    .two-column-content.reverse {
        direction: ltr !important;
        grid-template-columns: 1fr !important;
    }

    .two-column-content.reverse>* {
        direction: ltr !important;
    }

    .column-text {
        padding: 0;
        text-align: center;
    }

    .column-text h3 {
        font-size: 1.5rem;
    }

    .column-text p {
        font-size: 0.95rem;
    }

    .column-image img {
        height: 250px;
        border-radius: 10px;
    }

    /* Hide image in consultation section on mobile */
    .consultation-section .column-image {
        display: none;
    }

    .cta-section {
        padding: 60px 0;
    }

    .cta-section-inner {
        padding: 50px 20px;
        border-radius: 15px;
    }

    .cta-section-inner h2 {
        font-size: 2rem;
    }

    .cta-section-inner p {
        font-size: 1rem;
        margin: 20px auto 30px;
    }

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

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

    .footer-grid h4 {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }

    .footer-form {
        max-width: 100%;
    }

    .container {
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .main-header {
        padding: 15px;
    }

    .logo {
        font-size: 1.3rem;
    }

    .hero {
        padding-bottom: 90px;
        min-height: 550px;
    }

    .hero h1 {
        font-size: 1.75rem;
        margin-bottom: 25px;
    }

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

    .hero-discover-more {
        bottom: 15px;
        font-size: 0.7rem;
    }

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

    .section-title-center h2,
    .section-title-left h2 {
        font-size: 1.5rem;
    }

    .stat-item .number {
        font-size: 2.5rem;
    }

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

    .projects-section .project-card {
        padding: 20px;
    }

    .projects-section .project-card h3 {
        font-size: 1.1rem;
    }

    .column-image img {
        height: 200px;
    }

    .cta-section-inner h2 {
        font-size: 1.75rem;
    }

    .mobile-nav-link {
        font-size: 1.25rem;
    }
}



/* --- Services Overview Section --- */
.services-overview {
    padding: 100px 0;
}

.services-overview .section-title-center {
    margin-bottom: 60px;
}

.services-overview .section-title-center h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.services-overview .section-title-center .subtitle {
    font-size: 0.9rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.services-tiles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-tile {
    position: relative;
    aspect-ratio: 3/4;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-decoration: none;
    color: #fff;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.service-tile:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.service-tile-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.service-tile-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-tile:hover .service-tile-bg img {
    transform: scale(1.1);
}

.service-tile::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
    z-index: 1;
}

.service-tile-content {
    position: relative;
    z-index: 2;
    padding: 30px;
}

.service-tile-content h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.service-tile-content p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-tile-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.service-tile:hover .service-tile-link {
    opacity: 1;
    transform: translateY(0);
}

/* Services Overview Mobile */
@media (max-width: 900px) {
    .services-tiles {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .service-tile {
        aspect-ratio: 16/9;
    }

    .service-tile-content h3 {
        font-size: 1.5rem;
    }

    .service-tile-link {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 480px) {
    .services-overview {
        padding: 60px 0;
    }

    .service-tile {
        aspect-ratio: 4/3;
    }

    .service-tile-content {
        padding: 20px;
    }

    .service-tile-content h3 {
        font-size: 1.3rem;
    }

    .service-tile-content p {
        font-size: 0.85rem;
    }
}

/* Verberg tegelbeschrijving op telefoon (titel + link blijven) */
@media (max-width: 767px) {
    .services-overview .service-tile-content p {
        display: none;
    }

    .services-overview .service-tile-content h3 {
        margin-bottom: 12px;
    }
}