/* style/about.css */
/* 页面完整样式代码 - 注意：所有选择器必须使用BEM命名规则（双下划线__连接） */

.page-about {
    color: #ffffff; /* Default text color for dark body background */
    background-color: #121212; /* Ensure consistency with body background */
}

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

/* Hero Section */
.page-about__hero-section {
    position: relative;
    padding: 100px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

.page-about__dark-bg {
    background-color: #121212; /* Dark background from body */
    color: #ffffff; /* Light text for dark background */
}

.page-about__light-bg {
    background-color: #ffffff; /* Light background */
    color: #333333; /* Dark text for light background */
}

.page-about__hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)); /* Dark overlay for text readability */
    z-index: 1;
}

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

.page-about__hero-section .page-about__container {
    position: relative;
    z-index: 2;
    padding-top: 50px; /* Additional spacing below header offset */
    padding-bottom: 50px;
}

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

.page-about__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    color: #f0f0f0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-about__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-about__btn-primary,
.page-about__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    box-sizing: border-box; /* Crucial for responsive buttons */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text breaking */
    text-align: center;
}

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

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

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

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

/* General Section Styles */
.page-about__intro-section,
.page-about__why-choose-section,
.page-about__values-section,
.page-about__responsibility-section,
.page-about__products-section,
.page-about__faq-section,
.page-about__contact-cta-section {
    padding: 80px 0;
}

.page-about__section-title {
    font-size: 2.5em;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: inherit; /* Inherit color from section background */
}

.page-about__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px auto;
    color: inherit;
}

/* Content Grid */
.page-about__content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.page-about__content-grid--reverse {
    grid-template-columns: 1fr 1fr;
}
.page-about__content-grid--reverse .page-about__text-block {
    order: 2;
}
.page-about__content-grid--reverse .page-about__image-content {
    order: 1;
}

.page-about__text-block p {
    font-size: 1.1em;
    line-height: 1.7;
    margin-bottom: 20px;
    color: inherit;
}
.page-about__text-block p:last-child {
    margin-bottom: 0;
}

.page-about__text-block p a {
    color: #26A9E0;
    text-decoration: none;
}

.page-about__text-block p a:hover {
    text-decoration: underline;
}

.page-about__image-content {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    object-fit: cover;
}

.page-about__image-full-width {
    margin-top: 60px;
}

/* Features Grid */
.page-about__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.page-about__feature-card {
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    background-color: #ffffff; /* Light background for card */
    color: #333333; /* Dark text for light background */
}

.page-about__feature-title {
    font-size: 1.5em;
    font-weight: 600;
    margin-bottom: 15px;
    color: #26A9E0; /* Brand color for titles */
}

.page-about__feature-description {
    font-size: 1em;
    line-height: 1.6;
    color: #555555;
}

/* Values Section */
.page-about__values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
    text-align: center;
}

.page-about__value-item {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    color: #333333;
}

.page-about__value-icon {
    width: 200px; /* Minimum size for images */
    height: 150px; /* Minimum size for images */
    object-fit: contain;
    margin-bottom: 20px;
}

.page-about__value-title {
    font-size: 1.4em;
    font-weight: 600;
    margin-bottom: 10px;
    color: #26A9E0;
}

.page-about__value-description {
    font-size: 1em;
    line-height: 1.6;
    color: #555555;
}

/* Products Section */
.page-about__products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.page-about__product-card {
    background-color: #f9f9f9;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    color: #333333;
    display: flex;
    flex-direction: column;
}

.page-about__product-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency, will be responsive */
    object-fit: cover;
    display: block;
}

.page-about__product-card > h3,
.page-about__product-card > p {
    padding: 0 20px;
}

.page-about__product-title {
    font-size: 1.4em;
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 10px;
    color: #26A9E0;
}

.page-about__product-title a {
    color: #26A9E0;
    text-decoration: none;
}

.page-about__product-title a:hover {
    text-decoration: underline;
}

.page-about__product-description {
    font-size: 1em;
    line-height: 1.6;
    color: #555555;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* FAQ Section */
.page-about__faq-list {
    max-width: 900px;
    margin: 60px auto 0 auto;
}

.page-about__faq-item {
    background-color: #222222; /* Darker background for FAQ items on dark section */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.page-about__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: #26A9E0; /* Brand color for question background */
    color: #ffffff;
    font-size: 1.2em;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.page-about__faq-question:hover {
    background-color: #1c8ac2;
}

.page-about__faq-title {
    margin: 0;
    font-size: 1.2em;
    color: #ffffff;
}

.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;
    background-color: #1a1a1a; /* Even darker background for answer */
    color: #f0f0f0;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-about__faq-item.active .page-about__faq-answer {
    max-height: 1000px !important; /* Important to override any other max-height */
    padding: 20px 25px;
}

.page-about__faq-answer p {
    margin: 0;
    line-height: 1.7;
    color: #f0f0f0;
}
.page-about__faq-answer a {
    color: #26A9E0;
    text-decoration: none;
}
.page-about__faq-answer a:hover {
    text-decoration: underline;
}

/* Contact CTA Section */
.page-about__contact-cta-section {
    padding: 80px 0;
    text-align: center;
    background-color: #ffffff;
    color: #333333;
}

.page-about__contact-cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-about__hero-title {
        font-size: 2.8em;
    }
    .page-about__section-title {
        font-size: 2em;
    }
    .page-about__content-grid {
        grid-template-columns: 1fr;
    }
    .page-about__content-grid--reverse .page-about__text-block {
        order: initial;
    }
    .page-about__content-grid--reverse .page-about__image-content {
        order: initial;
    }
    .page-about__image-content {
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    .page-about {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-about__hero-section {
        padding: 80px 0;
        padding-top: var(--header-offset, 120px) !important; /* Mobile header offset */
    }

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

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

    .page-about__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-about__btn-primary,
    .page-about__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-about__intro-section,
    .page-about__why-choose-section,
    .page-about__values-section,
    .page-about__responsibility-section,
    .page-about__products-section,
    .page-about__faq-section,
    .page-about__contact-cta-section {
        padding: 50px 0;
    }

    .page-about__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-about__section-description {
        font-size: 0.95em;
        margin-bottom: 40px;
    }

    .page-about__content-grid {
        gap: 30px;
    }

    .page-about__text-block p {
        font-size: 1em;
    }

    /* Images responsiveness for mobile */
    .page-about img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        object-fit: cover; /* Maintain aspect ratio */
    }

    .page-about__image-content {
        margin-bottom: 30px; /* Add margin after image when stacked */
    }

    .page-about__image-full-width {
        margin-top: 30px;
    }

    /* Ensure all image containers are responsive */
    .page-about__container,
    .page-about__hero-section,
    .page-about__intro-section,
    .page-about__why-choose-section,
    .page-about__values-section,
    .page-about__responsibility-section,
    .page-about__products-section,
    .page-about__faq-section,
    .page-about__contact-cta-section,
    .page-about__content-grid,
    .page-about__features-grid,
    .page-about__values-grid,
    .page-about__products-grid,
    .page-about__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden !important; /* Prevent horizontal scroll */
    }

    .page-about__value-icon {
        width: 150px;
        height: 112px;
    }

    .page-about__product-image {
        height: 180px;
    }

    .page-about__faq-question {
        padding: 15px 20px;
        font-size: 1.1em;
    }

    .page-about__faq-answer {
        padding: 15px 20px;
    }

    .page-about__faq-answer p {
        font-size: 0.95em;
    }
}