/* Online Zichtbaarheid Page Enhanced Styles */

/* Smooth Scroll Behavior */
html {
    scroll-behavior: smooth;
}

/* Mobile Responsive Typography */
@media (max-width: 768px) {
    .online-hero-section {
        padding: 60px 20px 50px !important;
    }

    .hero-title {
        font-size: 28px !important;
        line-height: 1.3 !important;
    }

    .hero-subtitle {
        font-size: 16px !important;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .stats-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .stat-card {
        min-height: auto !important;
    }

    .features-grid {
        grid-template-columns: 1fr !important;
    }

    .process-steps {
        grid-template-columns: 1fr !important;
    }

    .benefits-grid {
        grid-template-columns: 1fr !important;
    }

    .testimonials-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Tablet Responsive */
@media (min-width: 769px) and (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .stat-card {
        min-height: 300px !important;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .process-steps {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Hover Effects for Cards */
.stat-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.12) !important;
    border-color: #3498DB !important;
}

.feature-card {
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.12) !important;
    border-color: #3498DB !important;
}

.testimonial-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 45px rgba(0,0,0,0.12) !important;
}

.benefit-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.12) !important;
}

/* Button Hover Effects */
.hero-btn-primary:hover {
    background: #E67E22 !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(243, 156, 18, 0.4) !important;
}

.hero-btn-secondary:hover {
    background: rgba(255,255,255,0.15) !important;
    transform: translateY(-2px);
}

/* Trust Bar Animation */
.trust-bar {
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* FAQ Item Hover */
.faq-item {
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: #FFFFFF !important;
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

/* Contact Form Enhancements */
.contact-form-section input[type="text"],
.contact-form-section input[type="email"],
.contact-form-section input[type="tel"],
.contact-form-section input[type="url"],
.contact-form-section textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #E1E8ED;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.contact-form-section input[type="text"]:focus,
.contact-form-section input[type="email"]:focus,
.contact-form-section input[type="tel"]:focus,
.contact-form-section input[type="url"]:focus,
.contact-form-section textarea:focus {
    border-color: #3498DB;
    outline: none;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.contact-form-section input[type="submit"],
.contact-form-section button[type="submit"] {
    background: linear-gradient(135deg, #F39C12 0%, #E67E22 100%) !important;
    color: white !important;
    padding: 18px 50px;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 300px;
    margin: 10px auto 0;
    display: block;
}

.contact-form-section input[type="submit"]:hover,
.contact-form-section button[type="submit"]:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(243, 156, 18, 0.4) !important;
}

/* Sticky CTA for Mobile */
@media (max-width: 768px) {
    body.page-id-554 .sticky-mobile-cta {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, #F39C12 0%, #E67E22 100%);
        padding: 15px 20px;
        z-index: 999;
        box-shadow: 0 -5px 20px rgba(0,0,0,0.15);
        display: flex;
        gap: 10px;
        justify-content: center;
        animation: slideUp 0.4s ease-out;
    }

    .sticky-mobile-cta a {
        flex: 1;
        max-width: 45%;
        text-align: center;
        padding: 12px 15px;
        border-radius: 30px;
        text-decoration: none;
        font-weight: 600;
        font-size: 14px;
        transition: all 0.3s ease;
    }

    .sticky-mobile-cta a:first-child {
        background: white;
        color: #F39C12;
    }

    .sticky-mobile-cta a:last-child {
        background: transparent;
        color: white;
        border: 2px solid white;
    }

    @keyframes slideUp {
        from {
            opacity: 0;
            transform: translateY(100%);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Add padding to bottom of page content */
    body.page-id-554 .cta-section:last-child {
        padding-bottom: 100px !important;
    }
}

/* Loading Animation for Stats */
.stat-number {
    animation: countUp 1s ease-out;
}

/* Override page-specific stat number styling */
.page-id-554 .stat-number {
    color: #2C3E50 !important;
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: #2C3E50 !important;
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Icon Wrapper Animations */
.stat-icon-wrapper,
.feature-icon,
.benefit-icon {
    transition: transform 0.3s ease;
}

.stat-card:hover .stat-icon-wrapper,
.feature-card:hover .feature-icon,
.benefit-card:hover .benefit-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Process Step Hover */
.process-step {
    transition: all 0.3s ease;
}

.process-step:hover {
    background: rgba(255,255,255,0.1) !important;
    transform: translateY(-5px);
}

.step-number {
    transition: transform 0.3s ease;
}

.process-step:hover .step-number {
    transform: scale(1.15);
}

/* Accessibility Improvements */
.hero-btn:focus,
.wp-block-button__link:focus,
input:focus,
textarea:focus,
button:focus {
    outline: 3px solid #F39C12;
    outline-offset: 3px;
}

/* Skip to main content enhancement */
a[href="#gratis-seo-scan"] {
    scroll-margin-top: 100px;
}

/* Loading State */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.online-hero-section,
.online-stats-section,
.online-features-section {
    animation: fadeIn 0.6s ease-out;
}

/* Print Styles */
@media print {
    .hero-buttons,
    .cta-section,
    .contact-form-section,
    .sticky-mobile-cta {
        display: none !important;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .feature-card,
    .stat-card,
    .testimonial-card {
        border: 2px solid currentColor !important;
    }
}

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

/* Form Validation Styles */
.contact-form-section .wpcf7-not-valid {
    border-color: #E74C3C !important;
}

.contact-form-section .wpcf7-validation-errors {
    background: #FADBD8;
    border-left: 4px solid #E74C3C;
    padding: 15px;
    border-radius: 5px;
    margin-top: 20px;
    color: #C0392B;
}

.contact-form-section .wpcf7-mail-sent-ok {
    background: #D4EDDA;
    border-left: 4px solid #27AE60;
    padding: 15px;
    border-radius: 5px;
    margin-top: 20px;
    color: #155724;
}

/* SVG Icon Styling */
.stat-card svg,
.feature-card svg,
.benefit-card svg {
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

/* Gradient Overlay Animation */
.online-hero-section::before,
.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.1) 0%, transparent 50%);
    pointer-events: none;
}
