/* About Page Styles */

/* About Intro Section (Careers Page Replica) */
.about-intro {
    background: #111111;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 0;
}

.about-intro-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 3rem;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 6rem;
    align-items: center;
}

.about-intro-left h1 {
    font-family: 'PP Editorial New', serif;
    font-weight: 200;
    font-size: 3.5rem;
    line-height: 1.2;
    color: #EFEAE8;
}

.about-intro-right p {
    font-family: 'PP Editorial New', serif;
    font-weight: 200;
    font-size: 2.375rem;
    line-height: 1.4;
    color: #989898;
}

/* Team Section */
.team-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 20rem;
    position: relative;
    overflow: hidden;
}

.team-container {
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 4rem;
    width: 100%;
    position: relative;
}

.team-names {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0rem .5rem;
    text-align: center;
    line-height: 1.6;
}

.team-member {
    font-family: 'PP Editorial New', serif;
    font-weight: 200;
    font-size: 1.125rem;
    color: #989898;
    cursor: pointer;
    transition: color 0.3s ease;
    white-space: nowrap;
    position: relative;
    z-index: 1;
}

.team-member:hover {
    color: #EFEAE8;
}

/* Photo Display */
.team-photo-wrapper {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.team-photo-wrapper.active {
    opacity: 1;
}

.team-photo {
    position: relative;
}

.team-photo img {
    width: 220px !important;
    height: 300px !important;
    object-fit: cover;
    display: block;
    border-radius: 0;
}

.team-info {
    text-align: center;
    background: transparent;
    padding: 1rem 0 0 0;
    margin-top: 0;
}

.team-names:has(.team-member:hover) .team-member:not(:hover) {
    opacity: 0.2;
}

.team-member {
    transition: color 0.3s ease, opacity 0.3s ease;
}

.team-role {
    font-family: 'PP Telegraf', serif;
    font-weight: 400;
    font-size: 0.8rem;
    color: #EFEAE8;
    margin: 0;
}

.team-location {
    font-family: 'PP Telegraf', serif;
    font-weight: 400;
    font-size: 0.8rem;
    color: #989898;
    margin: 0;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .about-intro {
        padding: 4rem 0;
        min-height: 100dvh;
    }

    .about-intro-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 0 1.5rem;
    }

    .about-intro-left h1 {
        font-size: 1.5rem;
    }

    .about-intro-right p {
        font-size: 1.5rem;
    }

    .team-section {
        padding: 4rem 0;
    }

    .team-container {
        padding: 0 1.5rem;
    }

    .team-names {
        gap: 0rem .5rem;
    }

    .team-member {
        font-size: 1rem;
    }

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

    .team-info {
        bottom: 15px;
        padding: 0.6rem 1rem;
    }

    .team-role {
        font-size: 1rem;
    }

    .team-location {
        font-size: 0.875rem;
    }
}

/* Tablet Styles */
@media (min-width: 769px) and (max-width: 1024px) {
    .about-intro-container {
        grid-template-columns: 1fr 1.5fr;
        gap: 4rem;
        padding: 0 2rem;
    }

    .about-intro-left h1 {
        font-size: 2.375rem;
    }

    .about-intro-right p {
        font-size: 2.375rem;
    }

    .team-container {
        padding: 0 2rem;
    }

    .team-member {
        font-size: 1.125rem;
    }

    .team-photo img {
        width: 280px;
        height: 350px;
    }
}

/* Large Desktop Styles */
@media (min-width: 1400px) {
    .about-intro-container {
        gap: 8rem;
    }

    .about-intro-left h1 {
        font-size: 2.375rem;
    }

    .about-intro-right p {
        font-size: 2.375rem;
    }

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

    .team-photo img {
        width: 360px;
        height: 450px;
    }
}