:root {
    --bg-dark: #12141c;
    --bg-darker: #0d0f16;
    --bg-light: #ffffff;
    --text-light: #ffffff;
    --text-muted-light: rgba(255, 255, 255, 0.6);
    --text-dark: #12141c;
    --text-muted-dark: #5c6270;
    --accent: #E2E8F0;
    --font-main: 'Outfit', sans-serif;
    --nav-height: 100px;
    --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-medium: 0.4s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--bg-dark);
}

/* Typography */
h1,
h2,
h3,
h4,
h5 {
    font-weight: 300;
    line-height: 1.2;
}

.section-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: 1rem;
    font-weight: 300;
}

.section-subtitle {
    font-size: 1.1rem;
    max-width: 600px;
    font-weight: 300;
}

.section-subtitle.center {
    margin: 0 auto;
}

p {
    font-size: 1rem;
    font-weight: 300;
}

.mt-main {
    margin-top: 4rem;
}

/* Base Utility Classes */
.dark-bg {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.dark-bg .section-subtitle,
.dark-bg p {
    color: var(--text-muted-light);
}

.light-bg {
    background-color: var(--bg-light);
    color: var(--text-dark);
}

.light-bg .section-subtitle,
.light-bg p {
    color: var(--text-muted-dark);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

.container-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
}

.align-center {
    align-items: center;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 100;
    transition: background-color var(--transition-medium);
}

nav.scrolled {
    background-color: rgba(18, 20, 28, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: var(--text-light);
}

.logo h1 {
    font-size: 1.7rem;
    letter-spacing: 6px;
    font-weight: 300;
    line-height: 1;
}

.logo span {
    font-size: 0.58rem;
    letter-spacing: 3.5px;
    color: var(--text-muted-light);
    padding-top: 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.menu-btn {
    background: none;
    border: none;
    color: var(--text-light);
    font-family: var(--font-main);
    font-size: 0.8rem;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hamburger span {
    width: 24px;
    height: 1px;
    background-color: var(--text-light);
    transition: var(--transition-medium);
}

/* Menu Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(18, 20, 28, 0.98);
    backdrop-filter: blur(10px);
    z-index: 99;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-medium);
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.nav-links {
    list-style: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.nav-links li {
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition-medium);
}

.menu-overlay.active .nav-links li {
    transform: translateY(0);
    opacity: 1;
}

.menu-overlay.active .nav-links li:nth-child(1) {
    transition-delay: 0.1s;
}

.menu-overlay.active .nav-links li:nth-child(2) {
    transition-delay: 0.2s;
}

.menu-overlay.active .nav-links li:nth-child(3) {
    transition-delay: 0.3s;
}

.menu-overlay.active .nav-links li:nth-child(4) {
    transition-delay: 0.4s;
}

.menu-overlay.active .nav-links li:nth-child(5) {
    transition-delay: 0.5s;
}

.menu-overlay.active .nav-links li:nth-child(6) {
    transition-delay: 0.6s;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 300;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--text-muted-light);
}

/* Hamburger Active State */
.menu-btn.active {
    z-index: 101;
    /* Ensure button stays above overlay */
}

.menu-btn.active .hamburger span:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
}

.menu-btn.active .hamburger span:nth-child(2) {
    opacity: 0;
}

.menu-btn.active .hamburger span:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg);
}

/* Sections */
section {
    padding: 6rem 0;
}

.split-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.text-center-section {
    text-align: center;
}

/* Hero Section */
#hero {
    padding-top: calc(var(--nav-height) + 4rem);
}

.hero-title {
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    line-height: 1.1;
}

.hero-subtitle {
    margin-bottom: 3rem;
    font-size: 1.1rem;
    max-width: 500px;
}

.img-wrapper {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.image-box img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

/* Services Section */
.grid-services {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem 3rem;
    text-align: left;
}

.service-card {
    padding: 2rem;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.icon-wrapper {
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Waarom Norvex Section */
.fixed-aspect {
    aspect-ratio: 4/5;
    overflow: hidden;
    border-radius: 8px;
    background: #0a0f1a;
}

.fixed-aspect img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transform: scale(1.05);
}

.stats-list {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.stat-item h3 {
    font-size: 3.5rem;
    font-weight: 200;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.stat-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

/* Onze Aanpak Section */
.steps-list {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.step-item {
    display: flex;
    gap: 2rem;
}

.step-number {
    font-size: 2rem;
    font-weight: 200;
    color: #e0e0e0;
}

.step-item h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2.5fr;
    gap: 6rem;
    align-items: start;
}

.info-group {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.info-group svg {
    color: var(--text-muted-light);
}

.info-group h5 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.input-group {
    position: relative;
    display: flex;
    flex-direction: column;
}

.input-group label {
    font-size: 0.9rem;
    color: var(--text-muted-light);
    margin-bottom: 0.5rem;
}

.input-group input,
.input-group textarea {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem 0;
    color: var(--text-light);
    font-family: var(--font-main);
    font-size: 1rem;
    resize: none;
}

.input-group input:focus,
.input-group textarea:focus {
    outline: none;
    border-bottom-color: var(--text-light);
}

.input-group input::placeholder,
.input-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

/* Form Submit Button & Feedback */
.form-actions {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.submit-btn {
    align-self: flex-start;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--text-light);
    font-family: var(--font-main);
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 1rem 2.5rem;
    border-radius: 2px;
    cursor: pointer;
    transition: background var(--transition-medium), border-color var(--transition-medium);
}

.submit-btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.6);
}

.submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.form-feedback {
    font-size: 0.9rem;
    padding: 0.75rem 0;
    font-weight: 300;
}

.form-feedback--success {
    color: #6ee7b7;
}

.form-feedback--error {
    color: #fca5a5;
}

footer {
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

footer p {
    font-size: 0.9rem;
}

.privacy-link {
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--text-muted-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.privacy-link:hover {
    color: var(--text-light);
}

/* Animations initially hidden */
.animate-fade-in {
    opacity: 0;
    transition: opacity var(--transition-slow);
}

.animate-slide-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.animate-fade-in.is-visible {
    opacity: 1;
}

.animate-slide-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Disclaimer Note */
.disclaimer-note {
    margin-top: 2rem;
    font-size: 0.82rem !important;
    font-style: italic;
    color: rgba(255, 255, 255, 0.35) !important;
    line-height: 1.5;
}

/* Over Ons Section */
.over-ons-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    text-align: left;
}

.over-ons-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.over-ons-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.07);
}

.over-ons-icon {
    margin-bottom: 1.5rem;
    color: var(--text-muted-light);
}

.over-ons-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* Responsive */
@media (max-width: 900px) {
    .container-split {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .grid-services {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .content.list-content {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .split-section {
        min-height: auto;
    }

    #waarom .image-box {
        grid-row: 2;
    }

    #aanpak .image-box {
        grid-row: 2;
    }

    .over-ons-grid {
        grid-template-columns: 1fr;
    }
}