/* ========================================
   NH Dakwerken - Over Ons Page
   Hergebruikt variabelen & nav uit main.css
   ======================================== */

/* ========== ABOUT HERO SECTION ========== */
.about-hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 80px 60px;
    position: relative;
    overflow: hidden;
    background: url('../images/Achtergrondtest.png') center center / cover no-repeat;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 0;
}

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

.about-hero-title {
    display: inline;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--nh-white);
    background: var(--nh-black);
    padding: 8px 20px;
    border-radius: 12px;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

.about-hero-card {
    margin-top: 32px;
    background: rgba(13, 13, 13, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.about-hero-card p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.about-hero-card p + p {
    margin-top: 20px;
}

/* ========== TEAM SECTION ========== */
.team-section {
    background: var(--nh-black);
    padding: 80px 60px;
}

.team-container {
    max-width: 1100px;
    margin: 0 auto;
}

.team-header {
    text-align: center;
    margin-bottom: 72px;
}

.team-tagline {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--nh-green);
    margin-bottom: 8px;
}

.team-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--nh-white);
    margin-bottom: 12px;
}

.team-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Team Member Rows — Alternating Layout */
.team-member-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    margin-bottom: 80px;
}

.team-member-row:last-child {
    margin-bottom: 0;
}

.team-member-row--reverse {
    direction: rtl;
}

.team-member-row--reverse > * {
    direction: ltr;
}

/* Photo Side */
.team-member-photo {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    transform: rotate(8deg) scale(0.9);
    opacity: 0;
    filter: grayscale(100%);
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1),
                opacity 0.6s ease,
                filter 0.8s ease;
}

.team-member-row.revealed .team-member-photo {
    transform: rotate(0deg) scale(1);
    opacity: 1;
    filter: grayscale(0%);
}

/* Alternate rotation direction for reversed rows */
.team-member-row--reverse .team-member-photo {
    transform: rotate(-8deg) scale(0.9);
}

.team-member-row--reverse.revealed .team-member-photo {
    transform: rotate(0deg) scale(1);
}

.team-member-photo img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
    border-radius: 16px;
}

/* Content Side — fade + slide up */
.team-member-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease 0.3s,
                transform 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.3s;
}

.team-member-row.revealed .team-member-content {
    opacity: 1;
    transform: translateY(0);
}

.team-member-label {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: var(--nh-green);
    color: var(--nh-white);
    padding: 8px 20px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
}


.team-member-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.team-tag {
    display: inline-block;
    padding: 5px 14px;
    background: rgba(136, 184, 40, 0.15);
    color: var(--nh-green);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.team-member-tagline {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--nh-white);
    line-height: 1.3;
}

.team-member-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

/* ========== HIRING CTA SECTION ========== */
.hiring-cta-section {
    position: relative;
    padding: 100px 60px;
    background: url('../images/Achtergrondtest.png') center center / cover no-repeat;
    overflow: hidden;
}

.hiring-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(13, 13, 13, 0.9) 100%);
    z-index: 0;
}

.hiring-cta-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.hiring-cta-badge {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(136, 184, 40, 0.15);
    color: var(--nh-green);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.hiring-cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--nh-white);
    margin-bottom: 16px;
}

.hiring-cta-desc {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 36px;
}

.hiring-cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* ========== CTA SECTION ========== */
.cta-section {
    position: relative;
    padding: 100px 60px;
    background: url('../images/Achtergrondtest.png') center center / cover no-repeat;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(13, 13, 13, 0.9) 100%);
    z-index: 0;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--nh-white);
    margin-bottom: 16px;
}

.cta-description {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 36px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.btn-cta {
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-cta-primary {
    background: var(--nh-green);
    color: var(--nh-white);
    border: 1px solid var(--nh-green);
}

.btn-cta-primary:hover {
    background: var(--nh-green-dark);
    border-color: var(--nh-green-dark);
    transform: translateY(-2px);
}

.btn-cta-secondary {
    background: transparent;
    color: var(--nh-white);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
    /* About Hero */
    .about-hero {
        min-height: auto;
        padding: 60px 24px;
    }

    .about-hero-title {
        font-size: 1.6rem;
        padding: 6px 14px;
        border-radius: 8px;
    }

    .about-hero-card {
        margin-top: 24px;
        padding: 24px;
    }

    .about-hero-card p {
        font-size: 0.95rem;
    }

    /* Team Section */
    .team-section {
        padding: 60px 24px;
    }

    .team-title {
        font-size: 1.75rem;
    }

    .team-header {
        margin-bottom: 48px;
    }

    .team-member-row {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 56px;
    }

    .team-member-row--reverse {
        direction: ltr;
    }

    .team-member-photo img {
        height: 300px;
    }

    .team-member-tagline {
        font-size: 1.25rem;
    }

    .team-member-desc {
        font-size: 0.9rem;
    }

    /* Hiring CTA */
    .hiring-cta-section {
        padding: 60px 24px;
    }

    .hiring-cta-title {
        font-size: 1.75rem;
    }

    .hiring-cta-desc {
        font-size: 0.95rem;
    }

    .hiring-cta-buttons {
        flex-direction: column;
    }

    .hiring-cta-buttons .btn-cta {
        width: 100%;
        text-align: center;
    }

    /* CTA Section */
    .cta-section {
        padding: 60px 24px;
    }

    .cta-title {
        font-size: 1.75rem;
    }

    .cta-description {
        font-size: 0.95rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn-cta {
        width: 100%;
        text-align: center;
    }
}
