/* ============================================================
   ABOUT-SECTION.CSS - About page (about.html) specific styles
   ============================================================ */

/* === HERO SECTION (About variant) === */
.hero-section {
    position: relative;
}

.hero-section-container {
    padding-bottom: 122px;
    display: flex;
    justify-content: space-between;
}

.hero-title {
    max-width: 450px;
}

.hero-title h1 {
    font-size: 100px;
    font-weight: 700;
    line-height: 100px;
}

.hero-title span {
    color: var(--outline-color);
}

.hero-info {
    max-width: 730px;
    position: relative;
}

.hero-right {
    position: absolute;
    top: 50%;
    left: calc(50% + 400px);
    z-index: -1;
}

.hero-info hr {
    width: 50px;
    border: none;
    height: 4px;
    background-color: var(--outline-color);
}

.hero-info p {
    margin-top: 40px;
}

/* === MAIN / DIRECTORS SECTION === */
.main-section {
    position: relative;
    background-color: var(--deep-jungle-green);
}

.main-section-container {
    padding-top: 140px;
    padding-bottom: 140px;
}

.about-section-main-left {
    position: absolute;
    left: calc(50% - 720px);
}

.main-section-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 48px;
    text-align: center;
    margin-bottom: 64px;
}

.main-section-cards-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.card-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    width: 350px;
    margin-bottom: 76px;
}

.card-inner, .card-active {
    padding-top: 32px;
    padding-right: 24px;
    padding-left: 24px;
    background-color: var(--sacramento-state-green);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 350px;
}

.director-photo {
    border: 2px solid rgb(196, 255, 254);
    border-radius: 50%;
    width: 96px;
    height: 96px;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.director-photo:hover {
    opacity: 0.7;
}

.card-inner a {
    margin-bottom: 16px;
    cursor: pointer;
}

.director-name {
    color: var(--rapture-blue);
    font-weight: 700;
    text-align: center;
}

.director-founder {
    font-size: 15px;
    font-weight: 500;
    line-height: 25px;
    text-align: center;
    font-style: italic;
}

.card-inner button {
    border: 2px solid transparent;
    border-radius: 50%;
    background-color: var(--outline-color);
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(27px);
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.card-wrapper button:hover {
    background-color: var(--rapture-blue);
    border-color: var(--deep-jungle-green);
}

.card-active h3 {
    color: var(--rapture-blue);
    font-weight: 700;
    text-align: center;
    margin-bottom: 8px;
}

.card-active p {
    font-size: 15px;
    line-height: 25px;
    text-align: center;
    margin-bottom: 24px;
    max-width: 254px;
}

.card-socials-wrapper {
    display: flex;
    align-items: center;
}

.card-socials-wrapper a:not(:last-child) {
    margin-right: 16px;
}

.card-socials-wrapper svg {
    transition: color 0.3s ease;
}

.card-socials-wrapper svg:hover {
    color: var(--outline-color);
}

.card-active button {
    border: 2px solid transparent;
    border-radius: 50%;
    background-color: var(--rapture-blue);
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(27px);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.card-active button:hover {
    background-color: var(--outline-color);
}

.about-section-main-right-bottom {
    position: absolute;
    top: 91%;
    left: calc(50% + 580px);
}

/* === CLIENTS SECTION === */
.clients-section {
    background-color: var(--sacramento-state-green);
    position: relative;
}

.clients-section-container {
    padding-top: 140px;
    padding-bottom: 120px;
}

.about-section-clients-section-left {
    position: absolute;
    left: calc(50% - 700px);
}

.clients-section-container h2 {
    font-size: 48px;
    font-weight: 700;
    line-height: 48px;
    text-align: center;
    margin-bottom: 64px;
}

.brands-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.brand-link {
    margin-bottom: 20px;
}

.brand-link:not(:last-child) {
    margin-right: 75px;
}

.brand-link img {
    opacity: 0.8;
    display: block;
    transition: opacity 0.3s ease;
}

.brand-link img:hover {
    opacity: 1;
}

/* ============================================================
   RESPONSIVE - ABOUT PAGE
   ============================================================ */

/* Tablet */
@media (max-width: 768px) {
    .hero-section-container {
        flex-direction: column;
        padding-bottom: 80px;
    }

    .hero-title {
        max-width: 100%;
        margin-bottom: 24px;
    }

    .hero-title h1 {
        font-size: 64px;
        line-height: 64px;
    }

    .hero-info {
        max-width: 100%;
    }

    .hero-right {
        display: none;
    }

    .main-section-container {
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .about-section-main-left,
    .about-section-main-right-bottom {
        display: none;
    }

    .main-section-title {
        font-size: 32px;
        line-height: 36px;
        margin-bottom: 48px;
    }

    .main-section-cards-wrapper {
        justify-content: center;
        gap: 32px;
    }

    .card-wrapper {
        width: 340px;
        margin-bottom: 48px;
    }

    .card-inner, .card-active {
        width: 340px;
    }

    .clients-section-container {
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .about-section-clients-section-left {
        display: none;
    }

    .clients-section-container h2 {
        font-size: 32px;
        line-height: 36px;
        margin-bottom: 48px;
    }

    .brands-wrapper {
        justify-content: center;
        gap: 32px;
    }

    .brand-link:not(:last-child) {
        margin-right: 0;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .hero-title h1 {
        font-size: 40px;
        line-height: 44px;
    }

    .hero-info p {
        font-size: 15px;
        line-height: 25px;
    }

    .main-section-container {
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .main-section-title {
        font-size: 24px;
        line-height: 28px;
        margin-bottom: 32px;
    }

    .card-wrapper {
        width: 100%;
        margin-bottom: 48px;
    }

    .card-inner, .card-active {
        width: 100%;
    }

    .clients-section-container {
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .clients-section-container h2 {
        font-size: 24px;
        line-height: 28px;
    }

    .brands-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }

    .brand-link {
        margin-bottom: 0;
    }
}
