/* SEO-focused CSS optimizations */

/* Improve text readability for search engines */
body {
    font-size: 16px; /* Base font size for readability */
    line-height: 1.6; /* Optimal line height for readability */
}

/* Semantic heading hierarchy */
h1 { font-size: 2.5rem; font-weight: 700; }
h2 { font-size: 2rem; font-weight: 600; }
h3 { font-size: 1.5rem; font-weight: 600; }
h4 { font-size: 1.25rem; font-weight: 500; }
h5 { font-size: 1.1rem; font-weight: 500; }
h6 { font-size: 1rem; font-weight: 500; }

/* Breadcrumb navigation styling */
.breadcrumb {
    padding: 1rem 0;
    font-size: 0.9rem;
    color: #666;
}

.breadcrumb ol {
    list-style: none;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.breadcrumb li:not(:last-child)::after {
    content: '>';
    margin-left: 0.5rem;
    color: #999;
}

.breadcrumb a {
    color: #4FC3F7;
    text-decoration: none;
}

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

/* Focus indicators for accessibility and SEO */
a:focus, button:focus, input:focus, textarea:focus, select:focus {
    outline: 2px solid #4FC3F7;
    outline-offset: 2px;
}

/* Skip link removed as requested */

/* Structured data visibility (hidden but accessible to search engines) */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Image optimization for Core Web Vitals */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

img.lazy {
    opacity: 0;
    transition: opacity 0.3s;
}

img.lazy.loaded {
    opacity: 1;
}

/* SEO Context Section - moderne witte stijl passend bij website */
.seo-context-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.seo-context-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(79, 195, 247, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(156, 39, 176, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

.seo-context-card {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.seo-context-header {
    text-align: center;
    margin-bottom: 3rem;
}

.seo-context-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.seo-context-title svg {
    width: 28px;
    height: 28px;
    color: #4FC3F7;
}

.seo-context-subtitle {
    font-size: 1rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

.seo-context-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.seo-context-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.75rem;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.seo-context-item:hover {
    background: #ffffff;
    border-color: rgba(79, 195, 247, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(79, 195, 247, 0.15);
}

.seo-context-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    background: linear-gradient(135deg, rgba(79, 195, 247, 0.15) 0%, rgba(79, 195, 247, 0.05) 100%);
    border: 1px solid rgba(79, 195, 247, 0.2);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.seo-context-item:hover .seo-context-icon {
    background: linear-gradient(135deg, #4FC3F7 0%, #29B6F6 100%);
    border-color: transparent;
    box-shadow: 0 8px 24px rgba(79, 195, 247, 0.35);
}

.seo-context-icon svg {
    width: 26px;
    height: 26px;
    color: #4FC3F7;
    transition: color 0.3s ease;
}

.seo-context-item:hover .seo-context-icon svg {
    color: white;
}

.seo-context-content {
    flex: 1;
}

.seo-context-item-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 0.5rem;
}

.seo-context-text {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 900px) {
    .seo-context-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .seo-context-section {
        padding: 3.5rem 0;
    }
    
    .seo-context-card {
        padding: 0 1rem;
    }
    
    .seo-context-title {
        font-size: 1.4rem;
    }
    
    .seo-context-item {
        padding: 1.25rem;
    }
    
    .seo-context-icon {
        width: 48px;
        height: 48px;
        min-width: 48px;
    }
    
    .seo-context-icon svg {
        width: 22px;
        height: 22px;
    }
}

/* Print styles for SEO coverage */
@media print {
    .nav, .hamburger, .language-switcher {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
        color: #000;
        background: #fff;
    }
    
    a[href^="http"]:after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
    }
}