:root {
    --primary-color: #2563eb;
    --text-color: #ffffff;
    --background-color: #000000;
    --section-bg: #111111;
    --card-bg: #1a1a1a;
    --accent-color: #D4AF37;
    --transition: all 0.3s ease;
    --spacing-unit: 1rem;
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

html {
    scroll-behavior: smooth;
}

/* Header video or image */
header {
    min-height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 1;
}

header video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 0;
    object-fit: cover;
}

header .background-image {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/background.avif');
    background-size: cover;
    background-position: center;
    z-index: 0;
}

@media (max-width: 768px) {
    header video {
        display: none;
    }
    
    header .background-image {
        display: block;
        background-image: url('assets/background.avif');
        background-size: cover;
        background-position: 30% center;
    }
    
    header {
        background-attachment: scroll;
    }
}

@media (max-width: 480px) {
    header {
        background-position: 60% center;
    }
}

/* Fading logo */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 1rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    padding-top: 8rem;
}

.hero-logo {
    height: 70vh;
    width: auto;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeIn 3s ease-in forwards;
    animation-delay: 1s;
    display: block
}

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


@media (max-width: 768px) {
    .hero-logo {
        width: 80vw;
        height: auto;
    }

    .hero {
        padding-top: 6rem;
    }
}

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: rgba(81, 100, 87, 0.5);
    color: var(--text-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid rgba(212, 175, 55, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    transform: translateY(-5px);
}

/* Navigation */
nav {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.4rem 2rem;
    position: fixed;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    background: rgba(81, 100, 87, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 3.2rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    margin: 0;
    padding: 0;
    align-items: center;
    width: 100%;
    justify-content: flex-end;
}

.nav-link {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: var(--transition);
    opacity: 1;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: var(--text-color);
    transition: var(--transition);
}

.nav-link:hover {
    opacity: 1;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    opacity: 1;
}

.nav-link.active::after {
    width: 100%;
}

.nav-cta {
    display: flex;
    white-space: nowrap;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 1.4rem 2rem;
    text-decoration: none;
    color: rgb(75, 75, 75);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background-color: #ffffff;
    border-radius: 30px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    opacity: 1;
    border: 2px solid #ffffff;
    height: 100%;
    right: -2rem;
    margin-left: -1.6rem;
    height: 3.2rem;
    max-height: 3.2rem;
}

.nav-cta:hover {
    background-color: rgba(75, 75, 75, 0);
    color: #ffffff;
    border: 2px solid #ffffff;
}

.mobile-cta {
    display: none;
}

@media (max-width: 768px) {
    nav {
        padding: 0.4rem 1rem;
        height: 3.2rem;
        background: rgba(81, 100, 87, 0.5);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-radius: 50px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 40px;
        height: 24px;
        cursor: pointer;
        padding: 4px;
        position: relative;
        z-index: 1001;
    }

    .hamburger span {
        display: block;
        height: 2px;
        width: 100%;
        background-color: #ffffff;
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    .hamburger.active span:nth-child(1) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(2) {
        transform: rotate(-90deg);
    }

    .hamburger.active span:nth-child(3) {
        opacity: 0;
    }

    .nav-links {
        position: fixed;
        top: 4rem;
        left: 50%;
        width: 90%;
        height: auto;
        min-height: auto;
        transform: translateX(-50%) ;
        background: rgba(81, 100, 87, 0.5);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        transition: all 0.3s ease;
        visibility: hidden;
        padding: 0.2rem;
        border-radius: 20px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        opacity: 0;
    }

    .nav-links.active {
        visibility: visible;
        opacity: 1;
    }

    .nav-link {
        font-size: 1.1rem;
        padding: 0.3rem 0.1rem;
        text-decoration: none;
        transition: all 0.3s ease;
        text-align: center;
        border-radius: 10px;
        background: transparent;
    }

    .nav-cta {
        display: none;
    }
    
    .mobile-cta {
        display: flex;
        font-size: 0.85rem;
        padding: 0.8rem 1.8rem;
        background-color: #ffffff;
        color: rgb(75, 75, 75);
        border-radius: 30px;
        text-decoration: none;
        transition: all 0.3s ease;
        align-items: center;
        margin-left: auto;
        white-space: nowrap;
        font-weight: 600;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        border: 2px solid #ffffff;
        position: relative;
        right: -1.1rem;
        margin-left: 0;
        height: 3.2rem;
        line-height: 1;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .mobile-cta:hover {
        background-color: rgba(75, 75, 75, 0);
        color: #ffffff;
        border: 2px solid #ffffff;
    }
}

/* VISIE section */
#over-ons {
    background-color: #ffffff;
    color: rgb(75, 75, 75);
    padding: 8rem 0;
}

.over-ons-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    font-size: 1.1rem;
}

    .slogan-text {
        font-size: 1em;
        line-height: 1.6;
        color: rgb(75, 75, 75);
        font-weight: 400;
        letter-spacing: 0.01em;
        padding-left: 2rem;
        display: block;
        align-items: center;
        flex: 1;
        width: 100%;
    }

    .personal-approach {
        font-size: 1em;
        line-height: 1.6;
        color: rgb(75, 75, 75);
        font-weight: 400;
        letter-spacing: 0.01em;
        display: block;
        align-items: center;
    }

.slogan-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 4rem;
}

.slogan-title {
    flex: 0 0 auto;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: rgb(75, 75, 75);
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.slogan-title span:first-child {
    display: block;
    margin-bottom: 0.2rem;
    color: rgb(75, 75, 75);
}

.slogan-title .middle-text {
    display: block;
    margin-bottom: 0.2rem;
    color: rgb(75, 75, 75);
}

.slogan-title .highlight {
    display: block;
    color: rgb(124, 130, 118);
}




@media (max-width: 768px) {
    #over-ons {
        padding: 4rem 0;
    }

    .over-ons-container {
        padding: 0 2rem;
    }

    .slogan-row {
        flex-direction: column;
        gap: 3rem;
    }
    
    .slogan-title {
        text-align: center;
    }
    
    .slogan-text {
        text-align: center;
        padding-left: 0;
        letter-spacing: 0;
    }

    .personal-approach {
        text-align: center;
        margin-top: -2rem;
        letter-spacing: 0;
    }
}

@media (max-width: 480px) {
    .slogan-title {
        font-size: 2.3rem;
    }
}

/* AANBOD section */
#diensten {
    background-color: rgb(221, 223, 216);
    padding: 4rem 2rem;
}

.practices-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.practice-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.practice-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.practice-icon.manual {
    background-image: url('assets/KV_manualetherapie.svg');
}

.practice-icon.dry-needling {
    background-image: url('assets/KV_DryNeedling.svg');
}

.practice-icon.zwangerschap {
    background-image: url('assets/KV_Zwangerschapsbeigeleiding.svg');
}

.practice-icon.ortho {
    background-image: url('assets/KV_orthopedischeRevalidatie.svg');
}

.practice-icon.orofacial {
    background-image: url('assets/KV_OrofacialeTherapie.svg');
}

.practice-icon.sport {
    background-image: url('assets/KV_SportKine.svg');
}

.practice-name {
    color: rgb(124, 130, 118);
    font-size: 1rem;
    font-weight: 600;
}

.cta-container {
    text-align: center;
    margin-top: 4rem;
}

.treatment-cta {
    background-color: rgb(124, 130, 118);
    color: rgb(221, 223, 216);
    border: none;
    padding: 1rem 1.8rem;
    font-size: 1.1rem;
    font-weight: 400;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    line-height: 1;
    text-decoration: none;
    display: inline-block;
}

.treatment-cta:hover {
    background-color: rgb(255, 255, 255);
    color: rgb(124, 130, 118);
}

@media (max-width: 768px) {
    #diensten {
        padding: 4rem 1rem;
    }

    .practices-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem 1.5rem;
        padding: 0 1rem;
    }

    .practice-icon {
        width: 50px;
        height: 50px;
    }

    .practice-name {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .practices-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .practice-icon {
        width: 70px;
        height: 70px;
    }
}

/* PRAKTISCH section */
#praktisch {
    background-color: #ffffff;
    padding: 8rem 2rem;
}

.praktisch-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 35% 1fr;
    gap: 4rem;
    align-items: start;
}

.image-container {
    position: relative;
    width: 80%;
    margin: 0 auto;
}

.oval-image {
    width: 85%;
    height: 100%;
    object-fit: cover;
    border-radius: 300px 300px 300px 300px;
    min-height: 500px;
    aspect-ratio: 3/4;
}

.faq-container {
    padding-right: 2rem;
}

.faq-item {
    margin-bottom: 1.8rem;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 1rem 0;
    background: none;
    border: none;
    color: rgb(75, 75, 75);
    font-size: 1.1rem;
    font-weight: 400;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.plus-icon {
    margin-right: 1rem;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.question-text {
    flex: 1;
    border-bottom: 1px solid rgb(75, 75, 75);
    padding-bottom: 1px;
}

.faq-question.active .plus-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    color: rgb(75, 75, 75);
    line-height: 1.6;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.faq-answer.active {
    padding: 1rem 0 1rem 2.5rem;
    max-height: 300px;
    opacity: 1;
}

@media (max-width: 768px) {
    #praktisch {
        padding: 4rem 1rem;
    }

    .praktisch-container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .image-container {
        text-align: center;
    }
    
    .oval-image {
        width: 65%;
    }

    .oval-image {
        min-height: 400px;
    }

    .faq-container {
        padding-right: 0;
    }
}

/* CONTACT section */
#contact {
    background-color: rgb(124, 130, 118);
    padding: 4rem 1rem 0.3rem 1rem;
    color: rgb(221, 223, 216);
}

.contact-container {
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.5rem;
    align-items: center;
    text-align: center;
}

.contact-logo {
    width: 140px;
    justify-self: center;
    text-align: center;
}

.footer-logo {
    width: 65%;
    height: auto;
}

.contact-group {
    justify-self: center;
    text-align: center;
}

.contact-group h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.footer-text {
    text-align: center;
    font-size: 0.7rem;
    grid-column: 1 / -1;
    margin-top: 2.5rem;
}

.footer-text a {
    color: rgb(221, 223, 216);
    text-decoration: none;
}

.footer-text a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    #contact {
        padding: 2.5rem 1.5rem 0.3rem 1.5rem;
    }
    
    .footer-text {
        margin-top: 4rem;
    }
} 

@media (max-width: 480px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-logo {
        width: 230px;
    }

    .footer-text {
        font-size: 0.59rem;
    }
}

/* Contact Section effect */
.contact-group a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.contact-group a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: rgb(221, 223, 216);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.contact-group a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}