/*
 * Sunsgoods Theme — About Us Page Styles
 *
 * @package Sunsgoods
 */

/* =========================================================================
 * About page wrapper
 * ========================================================================= */
.about-page {
    max-width: 100%;
    overflow-x: hidden;
}

/* =========================================================================
 * Shared section title
 * ========================================================================= */
.about-section-title {
    font-family: 'oxygen-bold', 'Roboto-Regular', Arial, sans-serif;
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    color: #222;
    margin: 0 0 40px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* =========================================================================
 * Sub Navigation
 * ========================================================================= */
.about-subnav {
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    padding: 18px 0;
    text-align: center;
}

.about-subnav__inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.about-subnav__link {
    color: #222;
    text-decoration: underline;
    font-family: 'oxygen-bold', 'Roboto-Regular', Arial, sans-serif;
    font-size: 13px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: color 0.3s;
    white-space: nowrap;
}

.about-subnav__link:hover {
    color: #b8860b;
}

.about-subnav__sep {
    color: #666;
    font-size: 13px;
    margin: 0 4px;
    user-select: none;
}

/* =========================================================================
 * Brand Profile Section
 * ========================================================================= */
.about-profile {
    padding: 50px 0 60px;
    background: #fff;
}

.about-profile__container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
}

.about-profile__intro {
    font-family: 'oxygen-regular', 'Roboto-Regular', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.8;
    color: #444;
    margin: 0 0 35px;
}

.about-profile__video {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    margin: 0 0 40px;
    background: #000;
    border-radius: 4px;
    overflow: hidden;
}

.about-profile__video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.about-profile__body,
.about-profile__quality,
.about-profile__cooperation {
    font-family: 'oxygen-regular', 'Roboto-Regular', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.8;
    color: #444;
    margin: 0 0 28px;
}

.about-profile__body p,
.about-profile__quality p,
.about-profile__cooperation p {
    margin: 0 0 16px;
}

.about-profile__body p:last-child,
.about-profile__quality p:last-child,
.about-profile__cooperation p:last-child {
    margin-bottom: 0;
}

/* =========================================================================
 * History Timeline
 * ========================================================================= */
.about-history {
    padding: 60px 0;
    background: #fff;
}

.about-history__container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
}

.about-history__list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about-history__item {
    display: flex;
    align-items: center;
    gap: 30px;
    background: #f5f5f5;
    border-radius: 4px;
    padding: 30px;
}

.about-history__left {
    flex: 0 0 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.about-history__year {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 28px;
    font-weight: 700;
    color: #333;
}

.about-history__img {
    width: 160px;
    height: 135px;
    overflow: hidden;
}

.about-history__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-history__brief {
    flex: 1;
    font-family: 'Times New Roman', 'oxygen-regular', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: #555;
}

/* =========================================================================
 * Reusable 4-column grid (advantages, workshop, process, cert, exhibition, showroom)
 * ========================================================================= */
.about-advantages,
.about-workshop,
.about-process,
.about-certificate,
.about-exhibition,
.about-showroom {
    padding: 60px 0;
    background: #fff;
}

.about-advantages__container,
.about-workshop__container,
.about-process__container,
.about-certificate__container,
.about-exhibition__container,
.about-showroom__container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
}

.about-grid {
    display: grid;
    gap: 20px;
}

.about-grid--4 {
    grid-template-columns: repeat(4, 1fr);
}

.about-grid--2 {
    grid-template-columns: repeat(2, 1fr);
}

.about-grid__item {
    text-align: center;
}

.about-grid__item img {
    width: 100%;
    height: auto;
    display: block;
}

.about-grid__img {
    overflow: hidden;
    border-radius: 4px;
    margin-bottom: 10px;
}

.about-grid__img img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s;
}

.about-grid__item:hover .about-grid__img img {
    transform: scale(1.03);
}

.about-grid__info {
    font-family: 'Times New Roman', 'oxygen-regular', Arial, sans-serif;
    font-size: 14px;
    color: #444;
    padding: 8px 4px;
    line-height: 1.5;
}

.about-grid__info--step {
    font-size: 16px;
    text-align: center;
}

.about-grid__step-num {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 20px;
    font-weight: 700;
    margin-right: 4px;
    color: #333;
}

/* =========================================================================
 * A Perfect Quality
 * ========================================================================= */
.about-quality {
    padding: 60px 0;
    background: #fff;
}

.about-quality__container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
}

.about-quality__row {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    align-items: stretch;
}

/*
 * The second quality row uses DOM order [text, pic] so the natural
 * flex direction already produces "text on the left, image on the
 * right". No `row-reverse` needed.
 */

.about-quality__pic {
    flex: 1;
    overflow: hidden;
    border-radius: 4px;
}

.about-quality__pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-quality__badge {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.about-quality__badge img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.about-quality__badge-text {
    font-family: 'Times New Roman', 'oxygen-regular', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #444;
    text-align: center;
}

.about-quality__text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-family: 'Times New Roman', 'oxygen-regular', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #444;
}

.about-quality__text p {
    margin: 0 0 16px;
}

.about-quality__text p:last-child {
    margin-bottom: 0;
}

/* =========================================================================
 * Dealer CTA Banner
 * ========================================================================= */
.about-dealer {
    position: relative;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.about-dealer__overlay {
    background: rgba(0, 0, 0, 0.25);
    height: 750px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-dealer__container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
    text-align: center;
}

.about-dealer__heading {
    font-family: 'oxygen-bold', 'Roboto-Regular', Arial, sans-serif;
    font-size: 36px;
    font-weight: 700;
    font-style: italic;
    color: #fff;
    margin: 0 0 30px;
    letter-spacing: 1px;
}

.about-dealer__btn {
    display: inline-block;
    padding: 14px 40px;
    background: #222;
    color: #fff;
    font-family: 'oxygen-bold', 'Roboto-Regular', Arial, sans-serif;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 30px;
    transition: background 0.3s, transform 0.2s;
}

.about-dealer__btn:hover {
    background: #444;
    transform: translateY(-1px);
}

/* =========================================================================
 * After-Sale Service
 * ========================================================================= */
.about-service {
    padding: 60px 0;
    background: #fff;
}

.about-service__container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
}

.about-service__layout {
    display: flex;
    gap: 40px;
    align-items: stretch;
}

.about-service__content {
    flex: 1;
}

.about-service__subtitle {
    font-family: 'Times New Roman', 'oxygen-regular', Arial, sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin: 0 0 30px;
    line-height: 1.5;
}

.about-service__items {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about-service__item-title {
    font-family: 'Times New Roman', 'oxygen-regular', Arial, sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #222;
    margin: 0 0 8px;
}

.about-service__item-text {
    font-family: 'Times New Roman', 'oxygen-regular', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    margin: 0;
}

.about-service__pic {
    flex: 0 0 400px;
    overflow: hidden;
    border-radius: 4px;
}

.about-service__pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* =========================================================================
 * Responsive
 * ========================================================================= */
@media (max-width: 960px) {
    .about-grid--4,
    .about-grid--2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-quality__row,
    .about-quality__row--reverse {
        flex-direction: column;
    }

    .about-service__layout {
        flex-direction: column;
    }

    .about-service__pic {
        flex: none;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .about-section-title {
        font-size: 22px;
        margin-bottom: 25px;
    }

    .about-subnav__inner {
        padding: 0 20px;
        gap: 4px;
    }

    .about-subnav__link {
        font-size: 11px;
    }

    .about-subnav__sep {
        font-size: 11px;
    }

    .about-profile {
        padding: 30px 0 40px;
    }

    .about-profile__container {
        padding: 0 20px;
    }

    .about-profile__intro {
        font-size: 14px;
        margin-bottom: 25px;
    }

    .about-profile__video {
        margin-bottom: 30px;
    }

    .about-profile__body,
    .about-profile__quality,
    .about-profile__cooperation {
        font-size: 14px;
    }

    .about-dealer__overlay {
        height: 400px;
    }

    .about-dealer__heading {
        font-size: 26px;
    }

    .about-history,
    .about-advantages,
    .about-workshop,
    .about-process,
    .about-certificate,
    .about-exhibition,
    .about-showroom,
    .about-quality,
    .about-service {
        padding: 40px 0;
    }

    .about-history__container,
    .about-advantages__container,
    .about-workshop__container,
    .about-process__container,
    .about-certificate__container,
    .about-exhibition__container,
    .about-showroom__container,
    .about-quality__container,
    .about-service__container {
        padding: 0 20px;
    }

    .about-history__item {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .about-history__left {
        flex: none;
    }
}

@media (max-width: 480px) {
    .about-subnav__inner {
        flex-direction: column;
        gap: 8px;
    }

    .about-subnav__sep {
        display: none;
    }

    .about-section-title {
        font-size: 20px;
    }

    .about-grid--4,
    .about-grid--2 {
        grid-template-columns: 1fr;
    }
}
