/*
Theme Name: Leirion Modern
Theme URI: https://leirion.nl
Description: Custom WordPress theme voor Leirion massage praktijk - Een plek om te landen. Moderne redesign met flexibele afbeeldingen en verbeterde gebruikerservaring.
Version: 3.0.0
Author: Reuben Smits
Author URI: https://leirion.nl
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: leirion-modern
Tags: massage, wellness, custom, responsive, modern
*/

/* ==========================================
   CSS VARIABLES
   ========================================== */

:root {
    --primary-color: #495F97;
    --secondary-color: #FFF6EA;
    --text-dark: #2c3e50;
    --text-light: #34495e;
    --white: #ffffff;
}

/* ==========================================
   GLOBAL STYLES
   ========================================== */

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

body {
    font-family: 'Century Gothic', 'AppleGothic', 'Futura', sans-serif;
    color: #2c3e50;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Verbeter leesbaarheid van paragrafen */
p {
    color: #34495e;
    line-height: 1.8;
}

/* Session Info Container - Ensure text is white on dark background */
.session-info-container,
.session-info-container p,
.session-info-container h3,
.session-info-container div,
.session-info-container span {
    color: var(--white) !important;
}

/* ==========================================
   ACCESSIBILITY
   ========================================== */

/* Skip to content link for keyboard navigation */
.skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: var(--white);
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 0 0 4px 0;
    z-index: 10000;
    font-weight: 600;
}

.skip-to-content:focus {
    top: 0;
    outline: 3px solid #FFD700;
    outline-offset: 2px;
}

/* Enhanced focus indicators for keyboard navigation */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 3px solid #495F97;
    outline-offset: 2px;
}

/* High contrast focus for interactive elements */
.cta-button:focus,
.submit-button:focus {
    outline: 3px solid #FFD700;
    outline-offset: 3px;
}

/* ==========================================
   HEADER & NAVIGATION
   ========================================== */

.site-header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(73, 95, 151, 0.08);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-bottom: 1px solid rgba(73, 95, 151, 0.1);
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 30px rgba(73, 95, 151, 0.15);
    padding: 0;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: padding 0.3s ease;
}

.site-header.scrolled .header-container {
    padding: 12px 50px;
}

/* Logo Styling */
.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 1001;
    animation: fadeInDown 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    will-change: transform;
}

.logo-link:hover {
    transform: translateY(-2px);
}

.logo-svg,
.logo-image img,
.custom-logo-link img {
    height: 50px;
    width: auto;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(73, 95, 151, 0.1));
}

.site-header.scrolled .logo-svg,
.site-header.scrolled .logo-image img,
.site-header.scrolled .custom-logo-link img {
    height: 40px;
}

.logo-text {
    display: flex;
    align-items: center;
}

/* Navigation Menu */
.main-navigation {
    display: flex;
    align-items: center;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 10px;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-menu li {
    margin: 0;
    position: relative;
    animation: fadeInUp 0.5s ease backwards;
}

.nav-menu li:nth-child(1) { animation-delay: 0.1s; }
.nav-menu li:nth-child(2) { animation-delay: 0.15s; }
.nav-menu li:nth-child(3) { animation-delay: 0.2s; }
.nav-menu li:nth-child(4) { animation-delay: 0.25s; }
.nav-menu li:nth-child(5) { animation-delay: 0.3s; }
.nav-menu li:nth-child(6) { animation-delay: 0.35s; }

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    padding: 12px 20px;
    display: block;
    position: relative;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-radius: 8px;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 20px;
    right: 20px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), #6a7fb8);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-menu a:hover::before,
.nav-menu a.active::before,
.nav-menu .current-menu-item a::before,
.nav-menu .current_page_item a::before {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-menu a:hover,
.nav-menu .current-menu-item a,
.nav-menu .current_page_item a {
    color: var(--primary-color);
    background: rgba(73, 95, 151, 0.05);
}

.nav-menu a.active,
.nav-menu .current-menu-item a,
.nav-menu .current_page_item a {
    font-weight: 600;
}

/* Dropdown Menu */
.nav-menu .menu-item-has-children {
    position: relative;
}

.nav-menu .menu-item-has-children > a::after {
    content: '\25BC';
    font-size: 10px;
    margin-left: 6px;
    transition: transform 0.3s ease;
}

.nav-menu .menu-item-has-children:hover > a::after,
.nav-menu .menu-item-has-children.open > a::after {
    transform: rotate(180deg);
}

.nav-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 220px;
    list-style: none;
    padding: 10px 0;
    margin: 0;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 1000;
}

.nav-menu .menu-item-has-children:hover .sub-menu,
.nav-menu .menu-item-has-children.open .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-menu .sub-menu li {
    margin: 0;
    animation: none;
}

.nav-menu .sub-menu a {
    padding: 12px 24px;
    font-size: 15px;
    border-radius: 0;
    transition: all 0.3s ease;
}

.nav-menu .sub-menu a::before {
    display: none;
}

.nav-menu .sub-menu a:hover {
    background: rgba(73, 95, 151, 0.08);
    padding-left: 28px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1002;
    transition: transform 0.3s ease;
}

.mobile-menu-toggle:hover {
    transform: scale(1.1);
}

.menu-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
}

.menu-icon span {
    display: block;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

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

.mobile-menu-toggle.active .menu-icon span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

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

/* Menu Overlay */
.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-overlay.active {
    display: block;
    opacity: 1;
}

/* ==========================================
   HERO SECTION
   ========================================== */

.hero-section {
    min-height: 70vh;
    /* Ultra-smooth 7-stop gradient using Material Design color science */
    background: linear-gradient(135deg, 
        #495F97 0%,        /* Base primary */
        #516CA0 16.67%,    /* Step 1 */
        #5979AA 33.33%,    /* Step 2 */
        #6186B3 50%,       /* Step 3 */
        #6993BD 66.67%,    /* Step 4 */
        #71A0C6 83.33%,    /* Step 5 */
        #79ADD0 100%);     /* Step 6 */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    margin-top: 90px;
    z-index: 1;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23FFF6EA" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    opacity: 0.3;
    animation: wave 20s ease-in-out infinite;
    will-change: transform;
}

@keyframes wave {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-25%); }
}

.hero-content {
    text-align: center;
    color: var(--white);
    z-index: 1;
    animation: fadeInUp 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    padding: 0 20px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 30px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translate3d(0, -20px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.hero-content h1 {
    font-size: 56px;
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3), 0 4px 20px rgba(0, 0, 0, 0.2);
}

.hero-content p {
    font-size: 24px;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* ==========================================
   BUTTONS
   ========================================== */

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    font-size: 16px;
    will-change: transform;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    background: var(--white);
}

.cta-button-small {
    padding: 10px 30px;
    font-size: 14px;
    margin-top: 20px;
}

/* ==========================================
   SERVICES SECTION
   ========================================== */

.services-section {
    padding: 60px 40px;
    background: var(--secondary-color);
    position: relative;
    z-index: 2;
}

.services-section p {
    color: var(--text-dark);
}

.section-title {
    text-align: center;
    font-size: 42px;
    color: var(--primary-color);
    margin-bottom: 40px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

.services-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

/* Massage Card Animations */
.massage-card {
    opacity: 0;
    transform: translate3d(0, 50px, 0);
    animation: slideInUp 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    will-change: transform, opacity;
}

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.service-card {
    /* High contrast white background for WCAG AAA compliance */
    background: rgba(255, 255, 255, 0.95);
    /* Glassmorphism effect */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(73, 95, 151, 0.15);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
    will-change: transform;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.3), 
        transparent);
    transition: left 0.6s ease-out;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 50px rgba(73, 95, 151, 0.25);
    background: rgba(255, 255, 255, 1);
}

.service-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, 
        var(--primary-color) 0%, 
        #5a6fa7 30%,
        #6a7fb8 60%,
        #7a8fc8 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 40px;
    color: var(--white);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: pulse 3s ease-in-out infinite;
    will-change: transform;
}

/* Support for Font Awesome icons */
.service-icon i {
    color: var(--white);
    font-size: 36px;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(73, 95, 151, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(73, 95, 151, 0);
    }
}

.service-card:hover .service-icon {
    transform: rotate(360deg) scale(1.1);
    animation: none;
    box-shadow: 0 5px 20px rgba(73, 95, 151, 0.4);
}

.service-card h3 {
    color: var(--primary-color);
    font-size: 26px;
    margin-bottom: 15px;
    transition: color 0.3s ease;
    font-weight: 700;
}

.service-card:hover h3 {
    color: #6a7fb8;
}

.service-card p {
    /* High contrast text for WCAG AAA compliance (7:1+ ratio) */
    color: #2c3e50;
    line-height: 1.8;
    margin-bottom: 10px;
    font-size: 16px;
}

.service-excerpt,
.service-meta {
    margin-top: 20px;
}

.service-meta {
    padding-top: 20px;
    border-top: 2px solid var(--secondary-color);
}

.service-meta p {
    margin: 8px 0;
    font-size: 16px;
    /* High contrast for duration text - WCAG AAA compliant */
    color: #2c3e50;
    font-weight: 600;
}

.service-meta strong {
    color: var(--primary-color);
}

/* Loading skeleton animation */
@keyframes shimmer {
    0% {
        background-position: -468px 0;
    }
    100% {
        background-position: 468px 0;
    }
}

.skeleton {
    animation: shimmer 1.2s ease-in-out infinite;
    background: linear-gradient(to right, #f0f0f0 8%, #e0e0e0 18%, #f0f0f0 33%);
    background-size: 800px 104px;
    height: 20px;
    border-radius: 4px;
}

/* Stagger animation for cards */
.massage-card:nth-child(1) { animation-delay: 0.1s; }
.massage-card:nth-child(2) { animation-delay: 0.2s; }
.massage-card:nth-child(3) { animation-delay: 0.3s; }
.massage-card:nth-child(4) { animation-delay: 0.4s; }
.massage-card:nth-child(5) { animation-delay: 0.5s; }
.massage-card:nth-child(6) { animation-delay: 0.6s; }

/* ==========================================
   ABOUT SECTION
   ========================================== */

.about-section {
    padding: 60px 40px;
    background: var(--white);
    position: relative;
    z-index: 2;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    will-change: transform;
}

.about-image:hover {
    transform: scale(1.03);
}

.about-content h2 {
    color: var(--primary-color);
    font-size: 38px;
    margin-bottom: 20px;
}

.about-content h3 {
    color: var(--primary-color);
    font-size: 28px;
    margin-top: 30px;
    margin-bottom: 15px;
}

.about-content p {
    color: #2c3e50;
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.about-content ul {
    color: var(--text-light);
    line-height: 2;
    margin-left: 20px;
}

/* ==========================================
   CONTACT SECTION
   ========================================== */

.contact-section {
    padding: 60px 40px;
    background: linear-gradient(135deg, 
        var(--primary-color) 0%, 
        #5a6fa7 25%,
        #6a7fb8 50%,
        #7a8fc8 75%,
        #8a9fd8 100%);
    color: var(--white);
    position: relative;
    z-index: 2;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

/* Contact section text */
.contact-form p,
.contact-section p {
    color: #2c3e50;
}

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

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: 'Century Gothic', sans-serif;
    transition: border-color 0.3s ease;
    font-size: 16px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-button {
    width: 100%;
    padding: 15px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    will-change: transform;
}

.submit-button:hover {
    background: #3a4d7a;
    transform: translateY(-2px);
}

/* ==========================================
   FOOTER
   ========================================== */

.site-footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 40px 40px 25px;
}

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

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
    text-align: left;
}

.footer-column h3 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: 20px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.footer-column p {
    color: var(--secondary-color);
    line-height: 1.6;
    opacity: 0.95;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-menu a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
    opacity: 0.9;
}

.footer-menu a:hover {
    color: var(--secondary-color);
    opacity: 1;
}

.footer-column a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
    text-align: center;
    opacity: 0.8;
}

.footer-bottom p {
    color: var(--secondary-color);
}

.footer-links {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    padding: 0;
}

.footer-links a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 0.8;
}

.footer-info {
    margin: 20px 0;
    font-size: 16px;
}

.footer-info p {
    margin: 5px 0;
}

/* ==========================================
   ANIMATIONS
   ========================================== */

.fade-in {
    opacity: 0;
    transform: translate3d(0, 20px, 0);
    transition: opacity 1s cubic-bezier(0.34, 1.56, 0.64, 1), 
                transform 1s cubic-bezier(0.34, 1.56, 0.64, 1);
    will-change: transform, opacity;
}

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

.footer-social-icon {
    width: 20px;
    height: 20px;
    display: inline-block;
    vertical-align: middle;
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

@media (max-width: 968px) {
    .about-container {
        grid-template-columns: 1fr;
    }
    
    .meaning-container {
        grid-template-columns: 1fr !important;
    }
    
    .header-container {
        padding: 15px 30px;
    }
    
    .logo-svg,
    .logo-image img,
    .custom-logo-link img {
        height: 40px;
    }
    
    .nav-menu a {
        font-size: 15px;
        padding: 10px 15px;
    }
}

@media (max-width: 1024px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .header-container {
        padding: 15px 20px;
    }
    
    .main-navigation {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
        padding: 100px 30px 30px;
        transition: right 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
        overflow-y: auto;
    }
    
    .main-navigation.active {
        right: 0;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 5px;
        width: 100%;
    }
    
    .nav-menu li {
        width: 100%;
        opacity: 0;
        transform: translate3d(20px, 0, 0);
        animation: slideInFromRight 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    }
    
    .main-navigation.active .nav-menu li:nth-child(1) { animation-delay: 0.1s; }
    .main-navigation.active .nav-menu li:nth-child(2) { animation-delay: 0.15s; }
    .main-navigation.active .nav-menu li:nth-child(3) { animation-delay: 0.2s; }
    .main-navigation.active .nav-menu li:nth-child(4) { animation-delay: 0.25s; }
    .main-navigation.active .nav-menu li:nth-child(5) { animation-delay: 0.3s; }
    .main-navigation.active .nav-menu li:nth-child(6) { animation-delay: 0.35s; }
    
    .nav-menu a {
        width: 100%;
        padding: 15px 20px;
        font-size: 18px;
        border-radius: 10px;
    }
    
    .nav-menu a::before {
        left: 20px;
        right: auto;
        width: 4px;
        height: calc(100% - 16px);
        bottom: 8px;
        background: var(--primary-color);
        transform: scaleY(0);
        transform-origin: bottom;
    }
    
    .nav-menu a:hover::before,
    .nav-menu a.active::before {
        transform: scaleY(1);
    }
    
    /* Mobile Dropdown Menu - Always Expanded */
    .nav-menu .sub-menu {
        position: static;
        box-shadow: none;
        background: rgba(73, 95, 151, 0.05);
        border-radius: 8px;
        margin-top: 5px;
        padding: 5px 0;
        transform: none;
        max-height: none; /* Always visible */
        opacity: 1;       /* Always visible */
        visibility: visible; /* Always visible */
        overflow: visible;
        display: block;
    }
    
    .nav-menu .menu-item-has-children > a::after {
        display: none; /* Hide arrow since it's always open */
    }
    
    /* Remove toggle logic styles */
    .nav-menu .menu-item-has-children.open .sub-menu {
        max-height: none;
    }
    
    .nav-menu .sub-menu li {
        opacity: 1;
        transform: none;
        animation: none;
    }

    .nav-menu .sub-menu a {
        padding: 12px 20px 12px 30px;
        font-size: 16px;
        color: var(--text-dark); /* Ensure text is visible */
        display: block; /* Ensure full width clickability */
    }
    
    .logo-svg,
    .logo-image img,
    .custom-logo-link img {
        height: 35px;
    }
    
    .hero-section {
        margin-top: 70px;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }

    .hero-content p {
        font-size: 18px;
    }

    .quote-section {
        display: none !important;
    }

    .section-title {
        font-size: 32px;
    }

    .quote-title {
        font-size: 32px !important;
    }
    
    .about-content h2 {
        font-size: 28px;
    }
    
    body.menu-open {
        overflow: hidden;
    }

    /* ==========================================
       FORM ENHANCEMENTS
    ========================================== */

    .form-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    input[type="date"],
    input[type="tel"] {
        cursor: pointer;
    }

    input[type="date"]::-webkit-calendar-picker-indicator {
        cursor: pointer;
        border-radius: 4px;
        padding: 5px;
    }

    .cta-button-primary {
        background: var(--primary-color) !important;
        color: var(--white) !important;
    }

    .cta-button-primary:hover {
        background: #3a4d7a !important;
        color: var(--white) !important;
    }

    @media (max-width: 1024px) {
        .form-row {
            grid-template-columns: 1fr;
        }
    }

    /* Success Message */
    .success-message {
        background: #d4edda;
        border: 1px solid #c3e6cb;
        color: #155724;
        padding: 20px;
        border-radius: 10px;
        margin: 20px auto;
        max-width: 600px;
        text-align: center;
        animation: fadeInUp 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    }

    .success-message h3 {
        color: #155724;
        margin-bottom: 10px;
    }
}

@keyframes slideInFromRight {
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

/* ==========================================
   CONTENT CARDS FOR READABILITY
 media (max-width: 600px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-column {
        text-align: center;
    }
    
    .services-grid {
        gap: 30px;
    }
}

@  ========================================== */

.content-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    color: var(--text-dark);
}

.content-card h1,
.content-card h2,
.content-card h3,
.content-card h4,
.content-card h5,
.content-card h6 {
    color: var(--text-dark);
    margin-bottom: 20px;
}

.content-card p {
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 15px;
}

.content-card a {
    color: var(--primary-color);
}

.content-card a:hover {
    color: #3a4d7a;
}

/* Light card variant for different sections */
.content-card-light {
    background: rgba(255, 246, 234, 0.95);
}

/* Transparent card variant */
.content-card-transparent {
    background: rgba(255, 255, 255, 0.8);
}

/* Card on dark background */
.content-card-on-dark {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Responsive card padding */
@media (max-width: 768px) {
    .content-card {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    /* Contra-indicaties naar 1 kolom op mobiel */
    .contra-indicaties-grid {
        grid-template-columns: 1fr !important;
    }
}

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

/* Hero content card styling */
.hero-content .content-card {
    display: inline-block;
    padding: 40px 50px;
    margin: 20px auto;
}

/* About section cards */
.about-content {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(73, 95, 151, 0.1);
}

@media (max-width: 1024px) {
    .about-content {
        padding: 25px;
    }
}
/* Force hide quote section on mobile/tablet */
@media screen and (max-width: 1024px) {
    .quote-section {
        display: none !important;
    }
    section.quote-section {
        display: none !important;
    }
}
