/* ===================================
   ZELF REGELEN PAGINA - VERKEERSSCHOOL KASSEM
   =================================== */

/* === HERO === */
.zelf-regelen-hero {
    padding: 7rem 0 5rem;
    background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 100%);
    text-align: center;
    color: var(--gray-900);
    position: relative;
    overflow: hidden;
}

.zelf-regelen-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30%;
    height: 100%;
    background: url('../../img/autoTroc.png') no-repeat left bottom;
    background-size: contain;
    z-index: 1;
    pointer-events: none;
}

.zelf-regelen-hero .container {
    position: relative;
    z-index: 10;
}

.breadcrumb {
    margin-bottom: 1.5rem;
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 0.9rem;
}

.breadcrumb a { 
    color: var(--gray-500); 
    text-decoration: none; 
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--primary-blue);
}

.zelf-regelen-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-blue-dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-700);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

/* === INTRO SECTION === */
.section-intro {
    padding: 4rem 0;
    background: var(--white);
}

.intro-card {
    max-width: 900px;
    margin: -4rem auto 0;
    background: var(--white);
    padding: 3rem 4rem;
    border-radius: 32px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    border: 2px solid var(--primary-blue-light);
    display: flex;
    gap: 2rem;
    align-items: center;
    position: relative;
    z-index: 20;
}

.intro-icon {
    font-size: 4rem;
    flex-shrink: 0;
}

.intro-content h2 {
    font-size: 1.75rem;
    color: var(--primary-blue-dark);
    margin-bottom: 1rem;
    font-weight: 800;
}

.intro-content p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--gray-700);
    margin: 0;
}

/* === STEPS SECTION === */
.section-steps {
    padding: 6rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.step-card {
    max-width: 1000px;
    margin: 0 auto 3rem;
    background: var(--white);
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    border: 2px solid var(--gray-100);
    transition: all 0.3s ease;
}

.step-card:hover {
    box-shadow: 0 15px 50px rgba(0, 147, 200, 0.12);
    border-color: var(--primary-blue-light);
}

.step-card.featured {
    border: 3px solid var(--primary-blue);
    box-shadow: 0 15px 50px rgba(0, 147, 200, 0.15);
}

.step-header {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 3rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    position: relative;
}

.step-card.featured .step-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
    color: var(--white);
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--white);
    color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 800;
    flex-shrink: 0;
    box-shadow: 0 8px 24px rgba(0, 147, 200, 0.2);
}

.step-card.featured .step-number {
    background: var(--white);
    color: var(--primary-blue-dark);
}

.step-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-blue-dark);
    margin: 0;
    flex: 1;
}

.step-card.featured .step-header h2 {
    color: var(--white);
}

.featured-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: #ffcc00;
    color: #003d5b;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
}

.step-body {
    padding: 3rem;
}

.step-intro {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--gray-700);
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 16px;
    border-left: 4px solid var(--primary-blue);
}

.steps-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

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

.step-bullet {
    background: var(--primary-blue);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
    min-width: 80px;
    text-align: center;
}

.step-text {
    flex: 1;
}

.step-text p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--gray-800);
    margin: 0;
}

.cbr-link {
    color: var(--primary-blue);
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 2px solid var(--primary-blue-light);
}

.cbr-link:hover {
    color: var(--primary-blue-dark);
    border-bottom-color: var(--primary-blue-dark);
}

.rijschool-nummer {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 1.5rem;
    background: #fef3c7;
    border-radius: 16px;
    border: 2px solid #fbbf24;
}

.nummer-label {
    font-size: 0.9rem;
    color: #92400e;
    font-weight: 600;
    text-transform: uppercase;
}

.nummer-value {
    font-size: 2rem;
    font-weight: 800;
    color: #78350f;
    letter-spacing: 0.1em;
    font-family: 'Courier New', monospace;
}

.nummer-detail {
    font-size: 0.9rem;
    color: #92400e;
    font-style: italic;
}

.btn-action {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 2.5rem;
    background: var(--primary-blue);
    color: var(--white);
    border-radius: 16px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.0625rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 147, 200, 0.25);
}

.btn-action:hover {
    background: var(--primary-blue-dark);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 147, 200, 0.35);
}

.btn-action svg {
    transition: transform 0.3s ease;
}

.btn-action:hover svg {
    transform: translateX(3px) translateY(-3px);
}

/* === HELP SECTION === */
.section-help {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.help-card {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    padding: 4rem;
    border-radius: 32px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 147, 200, 0.12);
    border: 2px solid var(--primary-blue-light);
}

.help-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.help-content h2 {
    font-size: 2.25rem;
    color: var(--primary-blue-dark);
    margin-bottom: 1rem;
    font-weight: 800;
}

.help-content p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--gray-700);
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

.help-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 2.5rem;
    background: var(--primary-blue);
    color: var(--white);
    border-radius: 16px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.0625rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 147, 200, 0.25);
}

.btn-primary:hover {
    background: var(--primary-blue-dark);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 147, 200, 0.35);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 2.5rem;
    background: var(--white);
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    border-radius: 16px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.0625rem;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 147, 200, 0.25);
}

/* === TIPS SECTION === */
.section-tips {
    padding: 6rem 0;
    background: var(--white);
}

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

.section-header.centered h2 {
    font-size: 2.5rem;
    color: var(--primary-blue-dark);
    font-weight: 800;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.tip-card {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    padding: 2.5rem;
    border-radius: 24px;
    text-align: center;
    border: 2px solid var(--gray-100);
    transition: all 0.3s ease;
}

.tip-card:hover {
    border-color: var(--primary-blue-light);
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 147, 200, 0.12);
    background: var(--white);
}

.tip-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.tip-card h3 {
    font-size: 1.125rem;
    color: var(--primary-blue-dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

.tip-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray-600);
    margin: 0;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .tips-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* Verberg auto op mobiel */
    .zelf-regelen-hero::after {
        display: none;
    }
    
    .zelf-regelen-hero h1 {
        font-size: 2.25rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .intro-card {
        flex-direction: column;
        padding: 2rem;
        margin-top: -2rem;
        text-align: center;
    }
    
    .intro-icon {
        font-size: 3rem;
    }
    
    .intro-content h2 {
        font-size: 1.5rem;
    }
    
    .intro-content p {
        font-size: 1rem;
    }
    
    .step-header {
        flex-direction: column;
        padding: 2rem;
        text-align: center;
    }
    
    .step-number {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .step-header h2 {
        font-size: 1.5rem;
    }
    
    .featured-badge {
        top: 1rem;
        right: 1rem;
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }
    
    .step-body {
        padding: 2rem;
    }
    
    .step-intro {
        font-size: 1rem;
        padding: 1rem;
    }
    
    .step-item {
        flex-direction: column;
        gap: 1rem;
    }
    
    .step-bullet {
        min-width: auto;
        width: 100%;
    }
    
    .step-text p {
        font-size: 1rem;
    }
    
    .rijschool-nummer {
        padding: 1.25rem;
    }
    
    .nummer-value {
        font-size: 1.5rem;
    }
    
    .btn-action {
        width: 100%;
        justify-content: center;
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .help-card {
        padding: 2.5rem 2rem;
    }
    
    .help-icon {
        font-size: 3rem;
    }
    
    .help-content h2 {
        font-size: 1.75rem;
    }
    
    .help-content p {
        font-size: 1rem;
    }
    
    .help-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .tips-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .tip-card {
        padding: 2rem;
    }
    
    .section-header.centered h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .zelf-regelen-hero h1 {
        font-size: 1.875rem;
    }
    
    .intro-card {
        padding: 1.5rem;
    }
    
    .step-header {
        padding: 1.5rem;
    }
    
    .step-body {
        padding: 1.5rem;
    }
    
    .help-card {
        padding: 2rem 1.5rem;
    }
}