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

:root {
    --navbar-height: 70px;
    --primary: #64748b;
    --primary-dark: #475569;
    --bg-dark: #2e3545;
    --bg-darker: #252d3a;
    --bg-card: #3a4254;
    --text-white: #ffffff;
    --text-gray: #d4dce8;
    --text-muted: #adb8c6;
    --border-color: #4a5568;
    --font-display: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
}

/* Accessibility - Focus States */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--navbar-height, 70px) + 20px);
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: var(--navbar-height, 70px);
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}

@media (min-width: 768px) {
    .container {
        padding: 0 40px;
    }
}
/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(46, 53, 69, 1);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 10000;
}

.logo-img {
    height: 45px;
    width: auto;
}

@media (max-width: 768px) {
    .logo-img {
        height: 38px;
    }
}

.nav-links {
    display: none;
    gap: 30px;
    list-style: none;
}

@media (min-width: 992px) {
    .nav-links {
        display: flex;
    }
}

.nav-link {
    color: var(--text-gray);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 8px 0;
    transition: color 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
}
/* Page Header */
.page-header {
    padding: 65px 15px 15px;
    background: linear-gradient(180deg, #2e3545 0%, var(--bg-dark) 100%);
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .page-header {
        padding: 80px 40px 25px;
    }
}

.page-header-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, rgba(100, 116, 139,0.08) 0%, transparent 60%);
    clip-path: polygon(30% 0, 100% 0, 100% 100%, 0% 100%);
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.85rem;
}

.breadcrumb a {
    color: var(--text-muted);
    transition: color 0.3s;
}

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

.breadcrumb span {
    color: var(--text-muted);
}

.breadcrumb .current {
    color: var(--primary);
}

.page-title {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 6vw, 3.5rem);
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.page-subtitle {
    color: var(--text-gray);
    font-size: 1.1rem;
    max-width: 600px;
    line-height: 1.8;
}

/* Footer */
.footer {
    padding: 60px 20px 30px;
    background: var(--bg-darker);
    border-top: 1px solid #3a4254;
}

@media (max-width: 480px) {
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
    margin-bottom: 50px;
}

@media (min-width: 640px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
        text-align: left;
    }
}

.footer-about .logo {
    margin-bottom: 15px;
}

.footer-about p {
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 0.85rem;
}

.footer-title {
    display: block;
    font-family: var(--font-display);
    font-size: 1.1rem;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-gray);
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    padding-top: 25px;
    border-top: 1px solid #3a4254;
}

.footer-copyright {
    color: #adb8c6;
    font-size: 0.85rem;
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    color: #adb8c6;
    font-size: 0.85rem;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    color: #666;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-social a:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

/* ==================== MODERN MOBILE MENU ==================== */

/* Hamburger Button */
.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    cursor: pointer;
    background: none;
    border: none;
    z-index: 10001;
    position: relative;
    padding: 0;
}

@media (min-width: 992px) {
    .menu-toggle {
        display: none;
    }
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--primary);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-radius: 3px;
    display: block;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    display: none;
    transform: translateX(20px);
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Menu Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 38, 52, 0.82);
    backdrop-filter: blur(8px);
    display: none;
    
    transition: all 0.4s ease;
    z-index: 10000;
}

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

/* Mobile Navigation Panel */
.mobile-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 85%;
    max-width: 380px;
    background: linear-gradient(135deg, #2e3545 0%, #3a4254 100%);
    box-shadow: -10px 0 40px rgba(30, 38, 52, 0.45);
    transform: translateX(100%);
    z-index: 10000;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.mobile-nav.active {
    transform: translateX(0);
}

/* Menu Header */
.mobile-nav-header {
    padding: 20px 25px;
    border-bottom: 1px solid rgba(100, 116, 139, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-nav-logo {
    height: 35px;
    width: auto;
}

.menu-close {
    width: 44px;
    height: 44px;
    background: var(--primary);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    line-height: 1;
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.menu-close:active {
    background: var(--primary-dark);
    transform: scale(0.95);
}

@media (min-width: 992px) and (hover: hover) {
    .menu-close:hover {
        background: var(--primary-dark);
        transform: rotate(90deg);
    }
}

/* Menu Links */
.mobile-nav-links {
    flex: 1;
    padding: 30px 25px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-nav .nav-link {
    color: var(--text-gray);
    font-size: 1.25rem;
    font-weight: 500;
    padding: 18px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: block;
    border-left: 3px solid transparent;
    -webkit-tap-highlight-color: transparent;
}

.mobile-nav .nav-link:active,
.mobile-nav .nav-link.active {
    color: white;
    background: rgba(100, 116, 139, 0.3);
    border-left-color: var(--primary);
}

@media (min-width: 992px) and (hover: hover) {
    .mobile-nav .nav-link:hover {
        color: white;
        background: var(--primary);
        border-left-color: var(--primary-dark);
    }
}

/* Menu Footer */
/* ==================== ANIMATIONS ==================== */

/* Fade In on Scroll */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .fade-in { 
        opacity: 1; 
        transform: none; 
        transition: none; 
    }
}

    /* Floating Action Buttons (stacked, bottom-right) */
.floating-actions {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.floating-actions a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.floating-actions a:hover {
    transform: scale(1.1);
}

/* Phone: desktop text (not clickable), mobile tel: link */
.phone-desktop {
    cursor: default;
}
.phone-mobile {
    display: none;
}
@media (max-width: 767px) {
    .phone-desktop {
        display: none;
    }
    .phone-mobile {
        display: flex;
    }
}

.fab-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
}

.fab-whatsapp:hover {
    box-shadow: 0 6px 22px rgba(37, 211, 102, 0.55);
}

.fab-whatsapp svg {
    width: 28px;
    height: 28px;
    fill: white;
}

@media (max-width: 768px) {
    .floating-actions {
        bottom: 20px;
        right: 20px;
        gap: 10px;
    }

    .floating-actions a {
        width: 50px;
        height: 50px;
    }

    .fab-whatsapp svg {
        width: 26px;
        height: 26px;
    }
}

/* Cookie Kennisgeving */
.cookie-banner {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 420px;
    width: calc(100% - 40px);
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid #56657a;
    border-radius: 12px;
    padding: 16px 20px;
    z-index: 10000;
    display: none;
    
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

@media (max-width: 480px) {
    .cookie-banner {
        bottom: 15px;
        max-width: none;
        width: calc(100% - 30px);
    }
}

.cookie-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cookie-icon {
    flex-shrink: 0;
    color: var(--primary);
}

.cookie-text {
    flex: 1;
}

.cookie-text p {
    color: #d4dce8;
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.5;
}

.cookie-text a {
    color: var(--primary);
    text-decoration: underline;
}

.cookie-close {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: rgba(100, 116, 139, 0.2);
    border: none;
    border-radius: 50%;
    color: #a0aab8;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.cookie-close:hover {
    background: var(--primary);
    color: white;
}
