/* style/about.css */

/* Base Styles */
.page-about {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default for dark body background */
    background-color: #000000; /* Matching body background */
}

.page-about__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

.page-about__section {
    padding: 60px 0;
    text-align: center;
}

.page-about__section-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-about__section-text {
    font-size: 1.1em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-about__grid-row {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-top: 30px;
}

.page-about__grid-item {
    flex: 1;
    min-width: 300px;
    max-width: 48%;
    text-align: left;
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
}

.page-about__item-title {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: #26A9E0;
}

.page-about__item-text {
    font-size: 1em;
    line-height: 1.7;
    color: #f0f0f0;
}

/* Color Contrast */
.page-about__dark-bg {
    background-color: #000000;
    color: #ffffff;
}

.page-about__light-bg {
    background-color: #0d0d0d; /* Slightly lighter dark for contrast */
    color: #f0f0f0;
}

/* Hero Section */
.page-about__hero-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0; /* Handled by body padding-top from shared.css */
    min-height: 80vh;
    position: relative;
    overflow: hidden;
    text-align: left;
}

.page-about__hero-content {
    position: relative;
    z-index: 2;
    max-width: 50%;
    padding: 40px;
    box-sizing: border-box;
}

.page-about__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #ffffff;
    line-height: 1.2;
    font-weight: bold;
}

.page-about__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-about__hero-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.page-about__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Subtle overlay */
}

.page-about__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.page-about__btn-primary,
.page-about__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-about__btn-primary {
    background-color: #26A9E0;
    color: #ffffff;
    border: 2px solid #26A9E0;
}

.page-about__btn-primary:hover {
    background-color: #1e87c4;
    border-color: #1e87c4;
}

.page-about__btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.page-about__btn-secondary:hover {
    background-color: #ffffff;
    color: #26A9E0;
}

/* Why Choose Us Section */
.page-about__why-choose-us .page-about__section-title {
    color: #ffffff;
}

.page-about__why-choose-us .page-about__section-text {
    color: #f0f0f0;
}

.page-about__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-about__feature-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 30px;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    color: #f0f0f0;
}

.page-about__feature-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px;
    min-height: 200px;
}

.page-about__card-title {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #26A9E0;
}

.page-about__card-text {
    font-size: 1em;
    line-height: 1.7;
}

/* Social Responsibility Section */
.page-about__social-responsibility .page-about__section-title {
    color: #f0f0f0;
}

.page-about__social-responsibility .page-about__section-text {
    color: #cccccc;
}

/* Community Section */
.page-about__community .page-about__section-title {
    color: #ffffff;
}

.page-about__community .page-about__section-text {
    color: #f0f0f0;
}

/* FAQ Section */
.page-about__faq-section .page-about__section-title {
    color: #f0f0f0;
}

.page-about__faq-section .page-about__section-text {
    color: #cccccc;
}

.page-about__faq-list {
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.page-about__faq-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-about__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #26A9E0;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.03);
    transition: background-color 0.3s ease;
}

.page-about__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.08);
}

.page-about__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-about__faq-item.active .page-about__faq-toggle {
    transform: rotate(45deg);
}

.page-about__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #f0f0f0;
}

.page-about__faq-item.active .page-about__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 15px 25px;
}

/* Contact Us Section */
.page-about__contact-us .page-about__section-title {
    color: #ffffff;
}

.page-about__contact-us .page-about__section-text {
    color: #f0f0f0;
}

.page-about__contact-info {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-top: 40px;
}

.page-about__info-item {
    flex: 1;
    min-width: 300px;
    max-width: 48%;
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 10px;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    color: #f0f0f0;
}

.page-about__info-item .page-about__item-title {
    color: #26A9E0;
}

.page-about__info-item .page-about__item-text {
    margin-bottom: 10px;
}

/* Conclusion Section */
.page-about__conclusion .page-about__section-title {
    color: #f0f0f0;
}

.page-about__conclusion .page-about__section-text {
    color: #cccccc;
}

/* Global Image Styles for Content Area */
.page-about img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px; /* Apply consistent border-radius */
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-about__hero-title {
        font-size: 3em;
    }
    .page-about__hero-description {
        font-size: 1.2em;
    }
    .page-about__hero-content {
        max-width: 60%;
    }
    .page-about__section-title {
        font-size: 2em;
    }
    .page-about__grid-item, .page-about__info-item {
        max-width: 45%;
    }
    .page-about__features-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    /* HERO 主图区域 */
    .page-about__hero-section {
        flex-direction: column;
        text-align: center;
        min-height: auto;
        padding: 40px 0 !important; /* Ensure some padding */
    }

    .page-about__hero-content {
        max-width: 100%;
        padding: 20px;
        order: 2; /* Content below image */
    }

    .page-about__hero-title {
        font-size: 2.2em !important;
        margin-bottom: 15px !important;
    }

    .page-about__hero-description {
        font-size: 1em !important;
        margin-bottom: 20px !important;
    }

    .page-about__hero-image-container {
        position: relative;
        width: 100%;
        height: 250px;
        order: 1;
        margin-bottom: 20px;
    }

    .page-about__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover;
        opacity: 0.5;
    }

    /* 通用内容区域和图片 */
    .page-about {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-about__container {
        padding: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-about__section {
        padding: 40px 0;
    }

    .page-about__section-title {
        font-size: 1.8em !important;
    }

    .page-about__section-text {
        font-size: 0.95em !important;
        margin-bottom: 30px !important;
    }

    .page-about__grid-row {
        flex-direction: column;
        gap: 20px;
    }

    .page-about__grid-item, .page-about__info-item {
        max-width: 100% !important;
        width: 100% !important;
        padding: 20px !important;
        box-sizing: border-box !important;
    }

    /* 产品展示图区域 (features grid) */
    .page-about__features-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .page-about__feature-card {
        padding: 20px !important;
        box-sizing: border-box !important;
    }

    .page-about__feature-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-height: 200px !important;
    }

    /* 按钮与按钮容器 */
    .page-about__cta-buttons {
        flex-direction: column !important;
        gap: 15px !important;
        align-items: center;
    }

    .page-about__btn-primary,
    .page-about__btn-secondary,
    .page-about a[class*="button"],
    .page-about a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* 其他内容模块 - FAQ */
    .page-about__faq-question {
        font-size: 1.1em !important;
        padding: 15px 20px !important;
    }

    .page-about__faq-answer {
        padding: 0 20px !important;
    }

    .page-about__faq-item.active .page-about__faq-answer {
        padding: 15px 20px !important;
    }

    .page-about__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 15px;
    }

    /* 其他内容模块 - Contact Info */
    .page-about__contact-info {
        flex-direction: column;
        gap: 20px;
    }
}