/**
 * Handleidingen Page Styles
 * Installation Guides Center
 *
 * @package Licentie-Child
 */

/* ========================================
   PAGE CONTAINER
   ======================================== */
.handleidingen-page {
    min-height: 60vh;
}

.handleidingen-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem 4rem;
}

/* ========================================
   HERO SECTION
   ======================================== */
.handleidingen-hero {
    text-align: center;
    padding: 3rem 0 2.5rem;
    margin-bottom: 2rem;
}

.handleidingen-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #dcfce7;
    color: #166534;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 1.25rem;
}

.handleidingen-hero-badge svg {
    width: 1rem;
    height: 1rem;
}

.handleidingen-hero h1 {
    font-size: 2.25rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 1rem;
    line-height: 1.2;
}

.handleidingen-hero p {
    font-size: 1.125rem;
    color: #64748b;
    margin: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   QUICK LINKS TO DOWNLOADS
   ======================================== */
.handleidingen-download-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding: 1rem 1.5rem;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 0.75rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.handleidingen-download-cta svg {
    width: 1.25rem;
    height: 1.25rem;
    color: #3b82f6;
}

.handleidingen-download-cta span {
    font-size: 0.9rem;
    color: #1e40af;
}

.handleidingen-download-cta a {
    color: #3b82f6;
    font-weight: 600;
    text-decoration: none;
}

.handleidingen-download-cta a:hover {
    text-decoration: underline;
}

/* ========================================
   CATEGORY NAVIGATION
   ======================================== */
.handleidingen-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 3rem;
}

.handleidingen-category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 1rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
    cursor: pointer;
}

.handleidingen-category-card:hover {
    border-color: #22c55e;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.15);
    transform: translateY(-2px);
}

.handleidingen-category-card.active {
    border-color: #22c55e;
    background: #f0fdf4;
}

.handleidingen-category-icon {
    width: 3rem;
    height: 3rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.handleidingen-category-icon svg {
    width: 2.5rem;
    height: 2.5rem;
}

.handleidingen-category-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: #0f172a;
    text-align: center;
}

.handleidingen-category-count {
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 0.25rem;
}

/* ========================================
   GUIDE SECTIONS
   ======================================== */
.handleidingen-section {
    margin-bottom: 3rem;
    scroll-margin-top: 100px;
}

.handleidingen-section-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #e2e8f0;
}

.handleidingen-section-icon {
    width: 2rem;
    height: 2rem;
}

.handleidingen-section-icon svg {
    width: 100%;
    height: 100%;
}

.handleidingen-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

/* ========================================
   GUIDE CARDS
   ======================================== */
.handleidingen-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.25rem;
}

.guide-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}

.guide-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.guide-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.guide-card-icon {
    width: 3rem;
    height: 3rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 0.5rem;
    padding: 0.5rem;
}

.guide-card-icon svg {
    max-width: 100%;
    max-height: 100%;
}

.guide-card-info {
    flex: 1;
    min-width: 0;
}

.guide-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.25rem;
    line-height: 1.3;
}

.guide-card-subtitle {
    font-size: 0.8rem;
    color: #64748b;
}

.guide-card-body {
    padding: 1.25rem;
}

.guide-card-description {
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.6;
    margin: 0 0 1.25rem;
}

/* ========================================
   INSTALLATION STEPS
   ======================================== */
.guide-steps {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem;
    counter-reset: step-counter;
}

.guide-steps li {
    position: relative;
    padding-left: 2.25rem;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    color: #475569;
    line-height: 1.5;
    counter-increment: step-counter;
}

.guide-steps li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 1.5rem;
    height: 1.5rem;
    background: #22c55e;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ========================================
   GUIDE CARD FOOTER
   ======================================== */
.guide-card-footer {
    padding: 1rem 1.25rem;
    border-top: 1px solid #e2e8f0;
    background: #fff;
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.guide-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    flex: 1;
    min-width: 140px;
}

.guide-btn svg {
    width: 1rem;
    height: 1rem;
}

.guide-btn-primary {
    background: #22c55e;
    color: #fff;
    border: none;
    border-bottom: 2px solid #16a34a;
}

.guide-btn-primary:hover {
    background: #16a34a;
    color: #fff;
}

.guide-btn-secondary {
    background: #fff;
    color: #3b82f6;
    border: 1px solid #3b82f6;
    border-bottom: 2px solid #1d4ed8;
}

.guide-btn-secondary:hover {
    background: #eff6ff;
    color: #1d4ed8;
}

/* Extended Guide Link */
.guide-extended-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem;
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
    border: 1px solid #c7d2fe;
    border-radius: 0.5rem;
    margin-top: 1rem;
}

.guide-extended-link a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #4f46e5;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.guide-extended-link a:hover {
    color: #4338ca;
}

.guide-extended-link a:hover svg {
    transform: translateX(2px);
}

.guide-extended-link svg {
    width: 1.125rem;
    height: 1.125rem;
    transition: transform 0.2s ease;
}

/* ========================================
   TIPS BOX
   ======================================== */
.guide-tips {
    background: #fefce8;
    border: 1px solid #fde047;
    border-radius: 0.5rem;
    padding: 0.875rem;
    margin-bottom: 1rem;
}

.guide-tips-title {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: #a16207;
    margin-bottom: 0.5rem;
}

.guide-tips-title svg {
    width: 1rem;
    height: 1rem;
}

.guide-tips ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.guide-tips li {
    font-size: 0.8rem;
    color: #854d0e;
    line-height: 1.5;
    padding-left: 1rem;
    position: relative;
    margin-bottom: 0.25rem;
}

.guide-tips li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #ca8a04;
}

/* ========================================
   INFO BOX
   ======================================== */
.handleidingen-info-box {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: #f0fdf4;
    border: 1px solid #86efac;
    border-radius: 0.75rem;
    margin-bottom: 2rem;
}

.handleidingen-info-box svg {
    width: 1.5rem;
    height: 1.5rem;
    flex-shrink: 0;
    color: #22c55e;
}

.handleidingen-info-box p {
    font-size: 0.9rem;
    color: #166534;
    margin: 0;
    line-height: 1.5;
}

.handleidingen-info-box a {
    color: #15803d;
    font-weight: 600;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 900px) {
    .handleidingen-hero h1 {
        font-size: 1.75rem;
    }

    .handleidingen-hero p {
        font-size: 1rem;
    }

    .handleidingen-categories {
        grid-template-columns: repeat(3, 1fr);
    }

    .handleidingen-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .handleidingen-container {
        padding: 0 1rem 3rem;
    }

    .handleidingen-hero {
        padding: 2rem 0 1.5rem;
    }

    .handleidingen-hero h1 {
        font-size: 1.5rem;
    }

    .handleidingen-categories {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .handleidingen-category-card {
        padding: 1rem 0.75rem;
    }

    .handleidingen-category-icon {
        width: 2.5rem;
        height: 2.5rem;
    }

    .handleidingen-section h2 {
        font-size: 1.25rem;
    }

    .guide-card-header {
        padding: 1rem;
    }

    .guide-card-body {
        padding: 1rem;
    }

    .guide-card-footer {
        padding: 0.875rem 1rem;
        flex-direction: column;
    }

    .guide-btn {
        width: 100%;
    }

    .handleidingen-download-cta {
        flex-direction: column;
        text-align: center;
    }
}
