/**
 * Services Shared CSS
 * Gedeelde styling voor alle diensten pagina's
 * Premium, clean en professioneel design
 */

/* ===========================
   CARD STYLING
   =========================== */

.simple-card {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 16px;
    padding: 2rem;
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.06),
        0 2px 8px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.simple-card:hover {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow:
        0 12px 32px rgba(0, 0, 0, 0.1),
        0 6px 16px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transform: translateY(-4px);
    border-color: rgba(0, 123, 255, 0.3);
}

/* Dark section cards */
.simple-card-dark,
.skewed-section-dark .simple-card,
.skewed-section-dark-alt .simple-card,
.section-dark .simple-card,
.section-dark-alt .simple-card {
    background: rgba(255, 255, 255, 0.10) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 16px;
    padding: 2rem;
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.2),
        0 2px 8px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.simple-card-dark:hover,
.skewed-section-dark .simple-card:hover,
.skewed-section-dark-alt .simple-card:hover,
.section-dark .simple-card:hover,
.section-dark-alt .simple-card:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    box-shadow:
        0 12px 32px rgba(0, 0, 0, 0.3),
        0 6px 16px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
    transform: translateY(-4px);
}

/* Chique service card - voor speciale call-outs */
.chique-service-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.08),
        0 4px 12px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.chique-service-card:hover {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow:
        0 16px 48px rgba(0, 0, 0, 0.12),
        0 8px 24px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    transform: translateY(-6px);
    border-color: rgba(0, 123, 255, 0.25);
}

/* Chique service card in dark sections */
.skewed-section-dark .chique-service-card,
.skewed-section-dark-alt .chique-service-card,
.section-dark .chique-service-card,
.section-dark-alt .chique-service-card {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(255, 255, 255, 0.25);
}

.skewed-section-dark .chique-service-card:hover,
.skewed-section-dark-alt .chique-service-card:hover,
.section-dark .chique-service-card:hover,
.section-dark-alt .chique-service-card:hover {
    background: rgba(255, 255, 255, 0.18) !important;
    border-color: rgba(255, 255, 255, 0.35);
}

/* ===========================
   ICONS
   =========================== */

.service-icon-simple {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: #ffffff;
    margin: 0 auto;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.25);
    transition: all 0.3s ease;
}

.service-icon-simple i {
    font-size: 1.75rem;
}

.service-icon-simple:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.35);
}

.service-icon-large {
    width: 80px;
    height: 80px;
    font-size: 2rem;
}

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

.enhanced-btn {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border: none;
    border-radius: 28px;
    padding: 14px 32px;
    font-weight: 600;
    text-decoration: none;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 14px rgba(40, 167, 69, 0.3);
    position: relative;
    overflow: hidden;
}

.enhanced-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.enhanced-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(40, 167, 69, 0.4);
    color: #ffffff;
    text-decoration: none;
}

.enhanced-btn:hover::before {
    left: 100%;
}

.hover-lift {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

/* ===========================
   STEPPENPLAN
   =========================== */

.steps-container {
    padding-left: 0;
}

.step-item {
    display: flex;
    align-items: start;
    margin-bottom: 2rem;
    gap: 1.5rem;
}

.step-number {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 700;
    font-size: 1.25rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
    transition: all 0.3s ease;
}

.step-item:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 6px 18px rgba(0, 123, 255, 0.4);
}

.step-content {
    flex: 1;
}

.step-content h5 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.step-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #9ca3af;
    margin: 0;
}

/* ===========================
   RESULTS BOX
   =========================== */

.results-box {
    background: linear-gradient(135deg, rgba(248, 250, 255, 0.85) 0%, rgba(240, 245, 255, 0.80) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 2px solid rgba(0, 123, 255, 0.2);
    border-radius: 18px;
    padding: 2rem;
    box-shadow:
        0 8px 24px rgba(0, 123, 255, 0.1),
        0 4px 12px rgba(0, 123, 255, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
    position: relative;
}

.results-box:hover {
    background: linear-gradient(135deg, rgba(248, 250, 255, 0.90) 0%, rgba(240, 245, 255, 0.85) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow:
        0 12px 36px rgba(0, 123, 255, 0.15),
        0 6px 18px rgba(0, 123, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
    border-color: rgba(0, 123, 255, 0.3);
}

/* Results box in dark sections */
.skewed-section-dark .results-box,
.skewed-section-dark-alt .results-box,
.section-dark .results-box,
.section-dark-alt .results-box {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.10) 100%) !important;
    border-color: rgba(255, 255, 255, 0.25);
}

.skewed-section-dark .results-box:hover,
.skewed-section-dark-alt .results-box:hover,
.section-dark .results-box:hover,
.section-dark-alt .results-box:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.15) 100%) !important;
    border-color: rgba(255, 255, 255, 0.35);
}

.results-box h5 {
    color: #1a2857;
    font-weight: 700;
}

.metric-item {
    padding: 1.25rem 0;
    text-align: center;
}

.metric-value {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.metric-label {
    color: #6c757d;
    font-size: 0.95rem;
    font-weight: 500;
}

/* ===========================
   STATISTICS & HIGHLIGHTS
   =========================== */

.stat-highlight {
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.05) 0%, rgba(0, 123, 255, 0.02) 100%);
    border: 1px solid rgba(0, 123, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.stat-highlight:hover {
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.08) 0%, rgba(0, 123, 255, 0.04) 100%);
    border-color: rgba(0, 123, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.15);
}

.stat-number {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #6c757d;
    font-size: 0.9rem;
    font-weight: 500;
}

/* ===========================
   PROBLEM & CATEGORY ITEMS
   =========================== */

.problem-item,
.gebrek-category,
.punto-category,
.specialisatie-category,
.reason-item,
.termijn-item,
.problem-category {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(0, 123, 255, 0.08);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.problem-item:hover,
.gebrek-category:hover,
.punto-category:hover,
.specialisatie-category:hover,
.reason-item:hover,
.termijn-item:hover,
.problem-category:hover {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 123, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 123, 255, 0.12);
}

/* ===========================
   SCROLL REVEAL ANIMATIONS
   =========================== */

.scroll-reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-reveal-up.revealed {
    opacity: 1;
    transform: translateY(0);
}

.scroll-reveal-up[data-delay="100"] { transition-delay: 0.1s; }
.scroll-reveal-up[data-delay="200"] { transition-delay: 0.2s; }
.scroll-reveal-up[data-delay="300"] { transition-delay: 0.3s; }
.scroll-reveal-up[data-delay="400"] { transition-delay: 0.4s; }
.scroll-reveal-up[data-delay="500"] { transition-delay: 0.5s; }

/* ===========================
   ENHANCED GLASS EFFECTS
   =========================== */

.enhanced-glass-light {
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.enhanced-glass-dark {
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    background: rgba(26, 40, 87, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* ===========================
   CTA SPECIAL STYLING
   =========================== */

.cta-special {
    position: relative;
    overflow: hidden;
}

.cta-special::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.03) 0%, rgba(0, 123, 255, 0.01) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cta-special:hover::before {
    opacity: 1;
}

/* ===========================
   INFO & TIPS BOXES
   =========================== */

.info-box {
    background: linear-gradient(135deg, rgba(248, 250, 255, 0.9) 0%, rgba(240, 245, 255, 0.8) 100%);
    border: 1px solid rgba(0, 123, 255, 0.15);
    border-left: 4px solid #007bff;
    border-radius: 8px;
    padding: 1.5rem;
}

.tips-box {
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.05) 0%, rgba(0, 123, 255, 0.08) 100%);
    border: 1px solid rgba(0, 123, 255, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
}

.tip-item {
    padding: 0.75rem 0;
    transition: all 0.2s ease;
}

.tip-item:hover {
    transform: translateX(6px);
}

/* ===========================
   TIMELINE ELEMENTS
   =========================== */

.timeline-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* ===========================
   BENEFIT TAGS
   =========================== */

.benefit-tag,
.service-benefits .badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.1) 0%, rgba(0, 123, 255, 0.05) 100%);
    color: #007bff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    margin: 0.25rem 0.5rem 0.25rem 0;
    border: 1px solid rgba(0, 123, 255, 0.2);
    transition: all 0.3s ease;
}

.benefit-tag:hover,
.service-benefits .badge:hover {
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.15) 0%, rgba(0, 123, 255, 0.08) 100%);
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(0, 123, 255, 0.2);
}

/* ===========================
   METRIC BOXES
   =========================== */

.metric-box {
    padding: 2rem 1.5rem;
    transition: all 0.3s ease;
}

.metric-box:hover {
    transform: translateY(-4px);
}

.metric-number {
    font-size: 3rem;
    font-weight: 800;
    color: #007bff;
    line-height: 1;
    margin-bottom: 0.75rem;
}

.metric-label {
    color: #6c757d;
    font-size: 1.05rem;
    font-weight: 500;
}

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

@media (max-width: 992px) {
    .simple-card,
    .simple-card-dark,
    .chique-service-card {
        padding: 1.5rem;
    }

    .service-icon-simple {
        width: 56px;
        height: 56px;
    }

    .service-icon-simple i {
        font-size: 1.5rem;
    }

    .step-number {
        width: 44px;
        height: 44px;
        font-size: 1.125rem;
    }

    .metric-value {
        font-size: 2.25rem;
    }

    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .simple-card,
    .simple-card-dark,
    .chique-service-card {
        padding: 1.25rem;
        margin-bottom: 1.5rem;
    }

    .service-icon-simple {
        width: 52px;
        height: 52px;
    }

    .service-icon-simple i {
        font-size: 1.35rem;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .step-content h5 {
        font-size: 1rem;
    }

    .step-content p {
        font-size: 0.9rem;
    }

    .metric-value {
        font-size: 2rem;
    }

    .stat-number {
        font-size: 1.75rem;
    }

    .metric-box {
        padding: 1.5rem 1rem;
    }

    .results-box {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .service-icon-simple {
        width: 48px;
        height: 48px;
    }

    .service-icon-simple i {
        font-size: 1.25rem;
    }

    .step-number {
        width: 36px;
        height: 36px;
        font-size: 0.95rem;
    }
}

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

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

    .scroll-reveal-up {
        opacity: 1;
        transform: none;
    }
}

/* Focus states for keyboard navigation */
.simple-card:focus-within,
.simple-card-dark:focus-within,
.chique-service-card:focus-within {
    outline: 3px solid rgba(0, 123, 255, 0.5);
    outline-offset: 2px;
}

.enhanced-btn:focus,
.hover-lift:focus {
    outline: 3px solid rgba(40, 167, 69, 0.5);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .simple-card,
    .simple-card-dark,
    .chique-service-card {
        border-width: 2px;
        border-color: currentColor;
    }

    .enhanced-btn {
        border: 2px solid currentColor;
    }
}

/* ===========================
   PRINT STYLES
   =========================== */

@media print {
    .simple-card,
    .simple-card-dark,
    .chique-service-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
        background: white;
    }

    .enhanced-btn,
    .hover-lift {
        box-shadow: none;
    }
}
