/* =============================================
   TEAM PAGES - Specific Styles
   ============================================= */

/* Page Hero with Team Photo Background */
.page-hero {
    position: relative;
    padding: 180px 0 100px;
    min-height: 400px;
    display: flex;
    align-items: center;
    background: var(--gray-800);
    overflow: hidden;
}

@media (min-width: 768px) {
    .page-hero {
        min-height: 600px;
        padding: 200px 0 120px;
    }
}

.page-hero-green,
.page-hero-blue {
    background: var(--gray-800);
}

.page-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.page-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 13%;
}

/* Dark overlay for text readability */
.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.5) 50%,
        rgba(0, 0, 0, 0.7) 100%
    );
    z-index: 1;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    width: 100%;
}

.page-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    margin-bottom: var(--space-md);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.page-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
}

.page-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
}

.page-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: var(--space-md);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
    font-size: 0.875rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition-fast);
}

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

.breadcrumb-sep {
    color: rgba(255, 255, 255, 0.5);
}

.breadcrumb-current {
    color: var(--white);
    font-weight: 600;
}

/* Team Choice Section */
.team-choice-section {
    padding: var(--space-4xl) 0;
    background: var(--gray-50);
}

.team-choice-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
}

@media (min-width: 768px) {
    .team-choice-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.team-choice-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--space-3xl) var(--space-xl);
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    text-align: center;
    transition: var(--transition-base);
    border: 3px solid transparent;
}

.team-choice-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.team-choice-lager:hover {
    border-color: var(--sjb-blue);
}

.team-choice-kleuter:hover {
    border-color: var(--sjb-green);
}

.team-choice-illustration {
    width: 150px;
    height: 150px;
    margin-bottom: var(--space-xl);
}

.team-icon {
    width: 100%;
    height: 100%;
}

.team-choice-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: var(--space-md);
}

.team-choice-desc {
    color: var(--gray-600);
    margin-bottom: var(--space-lg);
    line-height: 1.6;
}

.team-choice-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--sjb-blue);
    transition: var(--transition-fast);
}

.team-choice-kleuter .team-choice-link {
    color: var(--sjb-green);
}

.team-choice-link svg {
    width: 20px;
    height: 20px;
    transition: var(--transition-fast);
}

.team-choice-card:hover .team-choice-link svg {
    transform: translateX(5px);
}

/* Featured Quote */
.team-quote-section {
    padding: var(--space-4xl) 0;
    background: var(--white);
}

.featured-quote {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: var(--space-3xl);
}

.quote-mark {
    width: 40px;
    height: 40px;
    color: var(--sjb-yellow);
    opacity: 0.5;
}

.quote-mark-open {
    position: absolute;
    top: 0;
    left: 0;
}

.quote-mark-close {
    position: absolute;
    bottom: 0;
    right: 0;
    transform: rotate(180deg);
}

.quote-text {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 500;
    color: var(--gray-700);
    line-height: 1.5;
    margin-bottom: var(--space-lg);
}

.quote-footer {
    color: var(--gray-500);
}

.quote-author {
    font-style: normal;
    font-weight: 600;
}

/* Team Intro */
.team-intro {
    padding: var(--space-3xl) 0;
    background: var(--white);
}

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

.intro-text {
    font-size: 1.125rem;
    color: var(--gray-600);
    line-height: 1.7;
}

/* Teacher Quotes Section */
.teacher-quotes-section {
    padding: var(--space-4xl) 0;
    background: linear-gradient(135deg, #F0F4FF 0%, var(--white) 100%);
}

.teacher-quotes-green {
    background: linear-gradient(135deg, #E8F5E9 0%, var(--white) 100%);
}

.section-title-small {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-800);
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.quotes-carousel {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}

.quote-slide {
    display: none;
    animation: fadeIn 0.5s ease;
}

.quote-slide.active {
    display: block;
}

.teacher-quote-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.quote-avatar {
    width: 100px;
    height: 100px;
    margin: 0 auto var(--space-lg);
    border-radius: var(--radius-full);
    overflow: hidden;
    border: 4px solid var(--sjb-blue-light);
}

.teacher-quotes-green .quote-avatar {
    border-color: var(--sjb-green-light);
}

.quote-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.quote-content p {
    font-size: 1.125rem;
    color: var(--gray-600);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: var(--space-lg);
}

.quote-author-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.author-name {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--gray-800);
}

.author-role {
    font-size: 0.875rem;
    color: var(--sjb-blue);
}

.teacher-quotes-green .author-role {
    color: var(--sjb-green);
}

/* Carousel Controls */
.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.carousel-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-full);
    color: var(--gray-600);
    transition: var(--transition-fast);
}

.carousel-btn:hover {
    background: var(--sjb-blue);
    border-color: var(--sjb-blue);
    color: var(--white);
}

.teacher-quotes-green .carousel-btn:hover {
    background: var(--sjb-green);
    border-color: var(--sjb-green);
}

.carousel-btn svg {
    width: 20px;
    height: 20px;
}

.carousel-dots {
    display: flex;
    gap: var(--space-sm);
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: var(--radius-full);
    background: var(--gray-300);
    transition: var(--transition-fast);
}

.carousel-dot.active,
.carousel-dot:hover {
    background: var(--sjb-blue);
}

.teacher-quotes-green .carousel-dot.active,
.teacher-quotes-green .carousel-dot:hover {
    background: var(--sjb-green);
}

/* Team Grid Section */
.team-grid-section {
    padding: var(--space-4xl) 0;
    background: var(--white);
}

.team-category {
    margin-bottom: var(--space-3xl);
}

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

.category-title {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-md);
    border-bottom: 2px solid var(--gray-200);
}

.category-icon {
    font-size: 1.5rem;
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

@media (min-width: 640px) {
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.team-grid-featured {
    grid-template-columns: 1fr;
    max-width: 400px;
}

/* Teacher Card */
.teacher-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

.teacher-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.teacher-card-featured {
    display: flex;
    flex-direction: column;
}

@media (min-width: 640px) {
    .teacher-card-featured {
        flex-direction: row;
        max-width: none;
    }
    
    .team-grid-featured {
        max-width: none;
    }
    
    .teacher-card-featured .teacher-image {
        width: 200px;
        flex-shrink: 0;
    }
    
    .teacher-card-featured .teacher-info {
        padding: var(--space-xl);
    }
}

.teacher-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}

.teacher-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.teacher-card:hover .teacher-image img {
    transform: scale(1.05);
}

.teacher-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-md);
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    transform: translateY(100%);
    transition: var(--transition-base);
}

.teacher-card:hover .teacher-overlay {
    transform: translateY(0);
}

.teacher-fun-fact {
    display: block;
    font-size: 0.8rem;
    color: var(--white);
    text-align: center;
}

.teacher-class-badge {
    position: absolute;
    top: var(--space-sm);
    right: var(--space-sm);
    padding: var(--space-xs) var(--space-sm);
    background: var(--sjb-blue);
    color: var(--white);
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: var(--radius-sm);
}

.teacher-class-badge-green {
    background: var(--sjb-green);
}

.teacher-info {
    padding: var(--space-lg);
    text-align: center;
}

.teacher-name {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: var(--space-xs);
}

.teacher-role {
    font-size: 0.85rem;
    color: var(--sjb-blue);
}

.teacher-card-green .teacher-role {
    color: var(--sjb-green);
}

.teacher-bio {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin-top: var(--space-md);
    line-height: 1.5;
}

/* Fun Facts Section */
.kleuter-funfacts {
    padding: var(--space-4xl) 0;
    background: linear-gradient(135deg, var(--sjb-green-light) 0%, #E8F5E9 100%);
}

.funfacts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

@media (min-width: 768px) {
    .funfacts-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.funfact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--space-xl);
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.funfact-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-sm);
}

.funfact-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--sjb-green);
}

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

/* CTA Section */
.team-cta-section {
    padding: var(--space-4xl) 0;
    background: var(--gray-50);
}

.team-cta-green {
    background: var(--gray-50);
}

.cta-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(135deg, var(--sjb-blue) 0%, var(--sjb-blue-dark) 100%);
    border-radius: var(--radius-xl);
    padding: var(--space-3xl);
    overflow: hidden;
    position: relative;
}

.team-cta-green .cta-card {
    background: linear-gradient(135deg, var(--sjb-green) 0%, var(--sjb-green-dark) 100%);
}

@media (min-width: 768px) {
    .cta-card {
        flex-direction: row;
        justify-content: space-between;
    }
}

.cta-content {
    text-align: center;
    color: var(--white);
    z-index: 1;
}

@media (min-width: 768px) {
    .cta-content {
        text-align: left;
        max-width: 500px;
    }
}

.cta-title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
}

.cta-text {
    opacity: 0.9;
    margin-bottom: var(--space-xl);
}

.btn-green {
    background: linear-gradient(135deg, var(--sjb-green) 0%, var(--sjb-green-dark) 100%);
}

.team-cta-green .btn-primary {
    background: var(--white);
    color: var(--sjb-green-dark);
}

.team-cta-green .btn-primary:hover {
    background: var(--sjb-yellow);
}

.cta-illustration {
    position: absolute;
    right: -50px;
    bottom: -50px;
    width: 300px;
    height: 200px;
    opacity: 0.2;
}

.cta-illustration img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Active nav state */
.nav-link.active {
    color: var(--sjb-blue);
    background: var(--gray-50);
}
