/* Niche Pages Stylesheet */

/* Niche Hero */
.niche-hero {
    padding: 160px 0 100px;
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
    position: relative;
    overflow: hidden;
}

.niche-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(227, 27, 35, 0.1) 100%);
    pointer-events: none;
}

.niche-hero-content {
    max-width: 640px;
    position: relative;
    z-index: 1;
}

.niche-label {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(227, 27, 35, 0.2);
    color: var(--red-light);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.niche-hero h1 {
    color: var(--white);
    margin-bottom: 24px;
    font-size: clamp(2.25rem, 4vw, 3.25rem);
}

.niche-hero p {
    color: var(--gray-300);
    font-size: 1.25rem;
    line-height: 1.7;
    margin-bottom: 40px;
}

.niche-hero-visual {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
}

.floating-stats {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.floating-stat {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 24px 32px;
    text-align: center;
    animation: float 6s ease-in-out infinite;
}

.floating-stat:nth-child(2) {
    animation-delay: 1s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.fs-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    margin-bottom: 8px;
}

.fs-label {
    color: var(--gray-400);
    font-size: 0.875rem;
}

/* Niche Hero Image */
.niche-hero--with-image {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
}

.niche-hero--with-image::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 45%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    mask-image: linear-gradient(to left, rgba(0,0,0,0.8) 0%, transparent 100%);
    -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,0.8) 0%, transparent 100%);
}

.niche-hero--industrie::after {
    background-image: url('../images/kantoor .webp');
}

.niche-hero--energy::after {
    background-image: url('../images/vliegveld .webp');
}

.niche-hero--infra::after {
    background-image: url('../images/Het_ij.webp');
}

/* Niche Image Section */
.niche-image-section {
    padding: 0;
    position: relative;
    height: 400px;
    overflow: hidden;
}

.niche-image-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.niche-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(10, 22, 40, 0.3) 100%);
}

/* Challenge Section */
.niche-challenge {
    padding: var(--section-padding) 0;
    background: var(--white);
}

.challenge-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.challenge-content h2 {
    margin-bottom: 24px;
}

.challenge-content p {
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 16px;
}

.challenge-list {
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.challenge-list h3 {
    margin-bottom: 24px;
    color: var(--navy-dark);
}

.challenge-list ul {
    list-style: none;
}

.challenge-list li {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--gray-200);
    color: var(--gray-700);
    font-weight: 500;
}

.challenge-list li:last-child {
    border-bottom: none;
}

.challenge-list svg {
    color: var(--red-primary);
    flex-shrink: 0;
}

/* Solution Section */
.niche-solution {
    padding: var(--section-padding) 0;
    background: var(--gray-50);
}

.solution-steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.solution-step {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px;
    border: 1px solid var(--gray-200);
    transition: var(--transition-normal);
}

.solution-step:hover {
    border-color: var(--red-primary);
    box-shadow: var(--shadow-lg);
}

.solution-icon {
    width: 64px;
    height: 64px;
    background: var(--gray-50);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--red-primary);
    margin-bottom: 24px;
}

.solution-step h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.solution-step p {
    color: var(--gray-500);
    line-height: 1.7;
}

/* Roles Section */
.niche-roles {
    padding: var(--section-padding) 0;
    background: var(--white);
}

.roles-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.role-tag {
    padding: 12px 24px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-full);
    font-weight: 500;
    color: var(--gray-700);
    transition: var(--transition-fast);
}

.role-tag:hover {
    background: var(--navy-dark);
    color: var(--white);
    border-color: var(--navy-dark);
}

/* CTA Section */
.niche-cta {
    padding: var(--section-padding) 0;
    background: linear-gradient(135deg, var(--red-primary) 0%, var(--red-dark) 100%);
}

.cta-content {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: 16px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    margin-bottom: 32px;
}

.cta-content .btn {
    background: var(--white);
    color: var(--red-primary);
}

.cta-content .btn:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
}

/* Active nav state */
.nav-links a.active {
    color: var(--red-primary);
}

/* Responsive */
@media (max-width: 1024px) {
    .niche-hero-visual {
        display: none;
    }

    .challenge-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .solution-steps {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .niche-hero {
        padding: 120px 0 60px;
    }

    .niche-hero p {
        font-size: 1.1rem;
    }

    .challenge-list {
        padding: 32px 24px;
    }

    .solution-step {
        padding: 28px 24px;
    }
}
