/* Hub / Landing page styles */

.hub-hero {
    background: linear-gradient(135deg, #0a1628 0%, #1e3a5f 50%, #2a4f7f 100%);
    color: #fff;
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}
.hub-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 30%, rgba(230,57,70,0.15) 0%, transparent 60%);
}
.hub-hero__content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}
.hub-hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}
.hub-hero p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.75);
    max-width: 560px;
    margin: 0 auto;
}

/* Service cards grid */
.hub-services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.hub-services .hub-service-card:nth-child(4),
.hub-services .hub-service-card:nth-child(5) {
    /* Laatste 2 kaarten gecentreerd */
}

.hub-service-card {
    display: flex;
    flex-direction: column;
    padding: 32px 28px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: #fff;
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.hub-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    opacity: 0;
    transition: var(--transition);
}
.hub-service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.hub-service-card:hover::before {
    opacity: 1;
}

.hub-service__icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.hub-service-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.hub-service-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    flex: 1;
}
.hub-service__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-top: 16px;
    transition: var(--transition);
}
.hub-service__cta i {
    transition: transform 0.2s ease;
}
.hub-service-card:hover .hub-service__cta i {
    transform: translateX(4px);
}

/* Per-service kleuren */
.hub-service--cursus::before { background: #3b82f6; }
.hub-service--cursus .hub-service__icon { background: rgba(59,130,246,0.1); color: #3b82f6; }
.hub-service--cursus .hub-service__cta { color: #3b82f6; }

.hub-service--winkel::before { background: #10b981; }
.hub-service--winkel .hub-service__icon { background: rgba(16,185,129,0.1); color: #10b981; }
.hub-service--winkel .hub-service__cta { color: #10b981; }

.hub-service--lease::before { background: #1e3a5f; }
.hub-service--lease .hub-service__icon { background: rgba(30,58,95,0.1); color: #1e3a5f; }
.hub-service--lease .hub-service__cta { color: #1e3a5f; }

.hub-service--inv::before { background: #2a9d8f; }
.hub-service--inv .hub-service__icon { background: rgba(42,157,143,0.1); color: #2a9d8f; }
.hub-service--inv .hub-service__cta { color: #2a9d8f; }

.hub-service--helpelkaar::before { background: #8b5cf6; }
.hub-service--helpelkaar .hub-service__icon { background: rgba(139,92,246,0.1); color: #8b5cf6; }
.hub-service--helpelkaar .hub-service__cta { color: #8b5cf6; }

@media (max-width: 900px) {
    .hub-services { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .hub-services { grid-template-columns: 1fr; }
    .hub-hero { padding: 60px 0 48px; }
}
