:root {
    --primary: #1a355b;
    --primary-light: #e3f2fc;
    --primary-hover: #12223a;
    --secondary: #e6520f;
    --secondary-light: #fdeee6;
    --secondary-hover: #c44309;
    --accent: #e2e8f0;
    --text-main: #1a355b;
    --text-muted: #4a5568;
    --bg-light: #f8f9f9;
    --bg-white: #ffffff;
    --shadow-sm: 0 4px 6px rgba(26, 53, 91, 0.05);
    --shadow-md: 0 10px 15px rgba(26, 53, 91, 0.08);
    --shadow-lg: 0 20px 25px rgba(26, 53, 91, 0.12);
    --radius-md: 12px;
    --radius-lg: 20px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Familjen Grotesk', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    color: var(--text-main);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

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

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

/* Nav */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
    transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
    z-index: 1000;
    padding: 20px 0;
}

.navbar.scrolled {
    background: rgba(26, 53, 91, 0.98); /* var(--primary) with opacity */
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    padding: 15px 5%;
}

.navbar.scrolled .nav-links {
    color: var(--text-main);
}

.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.logo img {
    height: 56px;
    object-fit: contain;
}

.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    color: var(--secondary);
    font-size: 26px;
    letter-spacing: -0.5px;
}

.navbar.scrolled .logo-text {
    color: var(--secondary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links {
    font-weight: 500;
    font-size: 15px;
    color: var(--bg-white);
    position: relative;
}

.navbar.scrolled .nav-links {
    color: var(--bg-white);
}

.nav-links::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 50%;
    background-color: var(--secondary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-links:not(.btn-outline):hover::after {
    width: 100%;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-white);
    min-width: 200px;
    box-shadow: var(--shadow-md);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    padding: 10px 0;
}

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

.dropdown-menu li {
    padding: 8px 20px;
}

.dropdown-menu li a {
    color: var(--text-main);
    display: block;
    font-size: 14px;
    transition: padding-left 0.3s ease, color 0.3s ease;
}

.dropdown-menu li a:hover {
    color: var(--secondary);
    padding-left: 8px;
}

.btn-outline {
    border: 2px solid var(--bg-white);
    padding: 8px 24px;
    border-radius: 30px;
    transition: all 0.3s ease;
    color: var(--bg-white) !important;
}

.navbar.scrolled .btn-outline {
    border-color: var(--secondary);
    color: var(--secondary) !important;
}

.navbar.scrolled .btn-outline:hover {
    background: var(--secondary);
    color: var(--bg-white) !important;
}

/* Hero */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(26, 53, 91, 0.75), rgba(26, 53, 91, 0.5)), url('fotos/Whisk_ba4de9621cae391aae64f1f214724c66dr.png') center/cover no-repeat;
    background-attachment: fixed; /* Parallax effect */
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
}

.hero-content {
    max-width: 800px;
    padding: 0 5%;
    margin: 0 auto;
    text-align: center;
    color: var(--bg-white);
}

.hero-logo {
    max-height: 160px;
    width: auto;
    margin: 0 auto 30px auto;
    animation: slideUp 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.hero h1 {
    font-size: 3.8rem;
    color: var(--secondary);
    margin-bottom: 20px;
    animation: slideUp 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    font-weight: 300;
    animation: slideUp 1s cubic-bezier(0.25, 1, 0.5, 1) 0.2s forwards;
    opacity: 0;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: slideUp 1s cubic-bezier(0.25, 1, 0.5, 1) 0.4s forwards;
    opacity: 0;
}

/* Buttons */
.btn {
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    display: inline-block;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,0.1);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
    z-index: -1;
}

.btn:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.btn:active {
    transform: scale(0.96);
}

.btn-primary {
    background: var(--secondary);
    color: var(--bg-white);
    border: none;
    box-shadow: 0 4px 15px rgba(230, 82, 15, 0.3);
}

.btn-primary:hover {
    background: var(--secondary-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(230, 82, 15, 0.4);
}

.btn-secondary {
    background: rgba(255,255,255,0.1);
    color: var(--bg-white);
    border: 2px solid var(--bg-white);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background: var(--bg-white);
    color: var(--primary);
}

/* Floating Contact Button */
.floating-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--secondary);
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 15px rgba(230, 82, 15, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
    animation: pulseOrange 2s infinite;
}

.floating-btn:hover {
    background: var(--secondary-hover);
    transform: scale(1.1) rotate(-10deg);
}

@keyframes pulseOrange {
    0% { box-shadow: 0 0 0 0 rgba(230, 82, 15, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(230, 82, 15, 0); }
    100% { box-shadow: 0 0 0 0 rgba(230, 82, 15, 0); }
}

/* Sub-sections common */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.8rem;
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background: var(--secondary);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* Visie */
.visie {
    padding: 120px 0;
    background: var(--bg-light);
}

.visie-content, .over-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.visie-text h2, .over-text h2 {
    font-size: 2.8rem;
    color: var(--primary);
    margin-bottom: 25px;
}

.visie-text p, .over-text p {
    margin-bottom: 20px;
    font-size: 1.15rem;
}

.visie-image img, .over-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    object-fit: cover;
    height: 500px;
    width: 100%;
    transition: transform 0.5s ease;
}

.visie-image:hover img, .over-image:hover img {
    transform: scale(1.02);
}

/* Interactive Stats */
.stats-container {
    display: flex;
    gap: 30px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--accent);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary);
    font-family: 'Outfit', sans-serif;
    line-height: 1;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* Diensten */
.diensten {
    padding: 120px 0;
    background: var(--bg-white);
}

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

.card {
    background: var(--bg-light);
    padding: 40px 30px;
    border-radius: var(--radius-md);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-top: 4px solid transparent;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, transparent, rgba(230, 82, 15, 0.03));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-lg);
    border-top-color: var(--secondary);
    background: var(--bg-white);
}

.card:hover::before {
    opacity: 1;
}

.card-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 25px;
    background: var(--primary-light);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.4s ease;
}

.card:hover .card-icon {
    background: var(--secondary);
    color: var(--bg-white);
    transform: rotateY(180deg);
}

.card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--primary);
}

/* Video */
.video-section {
    padding: 100px 0;
    background: var(--primary-light);
    position: relative;
    overflow: hidden;
}

.video-container {
    max-width: 1000px;
    position: relative;
    z-index: 2;
}

video {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 60px rgba(26, 53, 91, 0.2);
    display: block;
    transition: transform 0.5s ease;
}

video:hover {
    transform: scale(1.02);
}

/* Over */
.over {
    padding: 120px 0;
}

/* Galerij */
.galerij {
    padding: 120px 0;
    background: var(--bg-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    overflow: hidden;
    border-radius: var(--radius-md);
    height: 350px;
    position: relative;
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(26, 53, 91, 0.2);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-item:hover img {
    transform: scale(1.1) rotate(1deg);
}

/* Contact */
.contact {
    padding: 120px 0;
    background: var(--bg-white);
    position: relative;
    border-top: 1px solid var(--accent);
}

.contact-container {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.contact-info h2 {
    font-size: 2.8rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 40px;
    font-size: 1.15rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}

.info-item:hover {
    transform: translateX(10px);
}

.info-item i {
    font-size: 1.3rem;
    color: var(--secondary);
    background: var(--secondary-light);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.info-item:hover i {
    background: var(--secondary);
    color: var(--bg-white);
}

.info-item h4 {
    font-size: 1.1rem;
    margin-bottom: 2px;
    color: var(--primary);
}

.info-item p {
    margin-bottom: 0;
    font-size: 1rem;
}

.contact-form-wrapper {
    background: var(--bg-white);
    padding: 50px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.contact-form-wrapper::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 5px;
    background: var(--secondary);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: var(--primary);
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 16px;
    border: 1px solid var(--accent);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
    background: var(--bg-light);
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(230, 82, 15, 0.15);
    background: var(--bg-white);
}

.submit-btn {
    width: 100%;
    margin-top: 10px;
}

/* Footer */
footer {
    background: var(--primary);
    color: var(--bg-white);
    padding: 60px 0 30px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 40px;
    margin-bottom: 30px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-logo {
    height: 50px;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: var(--secondary);
    transition: width 0.3s ease;
}

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

.footer-links a:hover::after {
    width: 100%;
}

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

.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}
.reveal-left.appear {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}
.reveal-right.appear {
    opacity: 1;
    transform: translateX(0);
}

.reveal-up-stagger {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
.reveal-up-stagger.appear {
    opacity: 1;
    transform: translateY(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
.reveal-scale.appear {
    opacity: 1;
    transform: scale(1);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: var(--bg-white);
    margin: 4px 0;
    transition: 0.3s;
}

.navbar.scrolled .menu-toggle .bar {
    background-color: var(--primary);
}

/* Responsive */
@media (max-width: 992px) {
    .visie-content, .over-content, .contact-container {
        grid-template-columns: 1fr;
    }
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    .nav-menu {
        position: absolute;
        top: 100%;
        left: -100%;
        width: 100%;
        background: var(--bg-white);
        flex-direction: column;
        padding: 30px 0;
        transition: 0.5s ease;
        box-shadow: var(--shadow-md);
    }
    .nav-menu.active {
        left: 0;
    }
    .nav-links {
        color: var(--primary);
    }
    .navbar .btn-outline {
        border-color: var(--secondary);
        color: var(--secondary) !important;
    }
    .dropdown-menu {
        position: relative;
        box-shadow: none;
        background: var(--bg-light);
        display: none;
    }
    .dropdown:hover .dropdown-menu {
        display: block;
    }
    .cards-grid {
        grid-template-columns: 1fr;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .hero-buttons {
        flex-direction: column;
    }
    .footer-container {
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }
    .footer-brand {
        flex-direction: column;
    }
    .stats-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}
