/* style/about.css */

/* Core page styles */
.page-about {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #FFF6D6; /* Text Main */
    background: #0A0A0A; /* Background */
}

/* Container for content centering */
.page-about__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

/* Section styling */
.page-about__hero-section,
.page-about__intro-section,
.page-about__history-mission-section,
.page-about__values-section,
.page-about__products-services-section,
.page-about__commitment-section,
.page-about__team-section,
.page-about__security-responsibility-section,
.page-about__vision-section,
.page-about__cta-section,
.page-about__faq-section {
    padding: 60px 0;
    position: relative;
    overflow: hidden; /* Prevent content overflow */
}

/* Fixed header offset (small top padding for first section) */
.page-about__hero-section {
    padding-top: 10px; /* Small top padding, not var(--header-offset) */
}

/* Hero Section */
.page-about__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-bottom: 80px;
}

.page-about__hero-image-wrapper {
    width: 100%;
    overflow: hidden;
    margin-bottom: 40px;
}

.page-about__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-about__hero-content {
    max-width: 900px;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-about__main-title {
    font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive H1 font size */
    color: #FFD36B; /* Glow */
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(255, 211, 107, 0.5);
}

.page-about__intro-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* CTA Buttons */
.page-about__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    width: 100%; /* Ensure container takes full width */
    max-width: 600px; /* Limit max width */
    margin: 0 auto; /* Center the buttons */
}

.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: all 0.3s ease;
    text-align: center;
    box-sizing: border-box; /* Include padding in width calculation */
    max-width: 100%; /* Ensure buttons don't overflow */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
}

.page-about__btn-primary {
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button color */
    color: #111111; /* Dark text for light button */
    border: none;
}

.page-about__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 211, 107, 0.4);
}

.page-about__btn-secondary {
    background: transparent;
    color: #FFD36B; /* Glow */
    border: 2px solid #FFD36B; /* Glow */
}

.page-about__btn-secondary:hover {
    background: #FFD36B; /* Glow */
    color: #111111; /* Dark text for light button */
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 211, 107, 0.4);
}

/* General Text and Titles */
.page-about__section-title {
    font-size: 2.5em;
    color: #F2C14E; /* Main color */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    text-shadow: 0 0 8px rgba(242, 193, 78, 0.3);
}

.page-about__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
    color: #FFF6D6; /* Text Main */
}

.page-about__text-block a {
    color: #FFD36B; /* Glow */
    text-decoration: none;
    font-weight: bold;
}

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

/* Two Column Layout */
.page-about__two-column-layout {
    display: flex;
    gap: 40px;
    align-items: center;
}

.page-about__content-block {
    flex: 1;
}

.page-about__image-block {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-about__image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    display: block; /* Ensure it behaves like a block element */
}

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

.page-about__value-card {
    background: #111111; /* Card BG */
    border: 1px solid #3A2A12; /* Border */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(242, 193, 78, 0.2);
}

.page-about__value-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px rgba(255, 211, 107, 0.5)); /* Subtle glow for icons */
}

.page-about__value-title {
    font-size: 1.5em;
    color: #FFD36B; /* Glow */
    margin-bottom: 15px;
}

.page-about__value-description {
    font-size: 1em;
    color: #FFF6D6; /* Text Main */
}

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

.page-about__product-card {
    background: #111111; /* Card BG */
    border: 1px solid #3A2A12; /* Border */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-about__product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(242, 193, 78, 0.2);
}

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

.page-about__product-title {
    font-size: 1.4em;
    color: #FFD36B; /* Glow */
    padding: 15px;
    margin-bottom: 5px;
}

.page-about__product-description {
    font-size: 1em;
    color: #FFF6D6; /* Text Main */
    padding: 0 15px 15px;
    flex-grow: 1; /* Allow description to take available space */
}

.page-about__product-link {
    display: block;
    text-align: center;
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button color */
    color: #111111; /* Dark text */
    padding: 10px 15px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease;
    margin-top: auto; /* Push link to bottom */
}

.page-about__product-link:hover {
    background: #FFD36B; /* Glow */
}

.page-about__additional-products {
    margin-top: 30px;
    text-align: center;
    font-style: italic;
}

/* Commitment Section */
.page-about__commitment-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.page-about__commitment-list li {
    background: #111111; /* Card BG */
    border-left: 5px solid #F2C14E; /* Main color */
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 5px;
    font-size: 1.1em;
    color: #FFF6D6; /* Text Main */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-about__commitment-list li strong {
    color: #FFD36B; /* Glow */
}

/* Team Section */
.page-about__team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: center;
}

.page-about__team-member {
    background: #111111; /* Card BG */
    border: 1px solid #3A2A12; /* Border */
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-about__team-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 3px solid #F2C14E; /* Main color */
    box-shadow: 0 0 15px rgba(242, 193, 78, 0.5);
}

.page-about__member-name {
    font-size: 1.4em;
    color: #FFD36B; /* Glow */
    margin-bottom: 5px;
}

.page-about__member-role {
    font-size: 1em;
    color: #F2C14E; /* Main color */
    font-style: italic;
    margin-bottom: 15px;
}

.page-about__member-description {
    font-size: 0.95em;
    color: #FFF6D6; /* Text Main */
}

/* CTA Section specific */
.page-about__cta-section {
    background: linear-gradient(135deg, #0A0A0A, #111111);
    border-top: 1px solid #3A2A12;
    border-bottom: 1px solid #3A2A12;
    padding: 80px 0;
    text-align: center;
}

.page-about__cta-inner {
    max-width: 800px;
}

/* FAQ Section */
.page-about__faq-list {
    margin-top: 40px;
}

.page-about__faq-item {
    background: #111111; /* Card BG */
    border: 1px solid #3A2A12; /* Border */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-about__faq-item[open] {
    background: #1a1a1a;
    border-color: #F2C14E; /* Main color */
}

.page-about__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #F2C14E; /* Main color */
    cursor: pointer;
    user-select: none;
    transition: color 0.3s ease;
}

.page-about__faq-item[open] .page-about__faq-question {
    color: #FFD36B; /* Glow */
}

.page-about__faq-question::-webkit-details-marker {
    display: none;
}

.page-about__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: #FFD36B; /* Glow */
    transition: transform 0.3s ease;
}

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

.page-about__faq-answer {
    padding: 0 25px 20px;
    font-size: 1.05em;
    color: #FFF6D6; /* Text Main */
}

.page-about__faq-answer p {
    margin-bottom: 10px;
}

.page-about__faq-answer p:last-child {
    margin-bottom: 0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-about__section-title {
        font-size: 2em;
    }

    .page-about__hero-section {
        padding-bottom: 60px;
    }

    .page-about__main-title {
        font-size: clamp(2em, 4.5vw, 3em);
    }

    .page-about__hero-content {
        padding: 0 15px;
    }

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

    .page-about__btn-primary,
    .page-about__btn-secondary {
        padding: 12px 25px;
        font-size: 1em;
    }

    .page-about__two-column-layout {
        flex-direction: column;
        gap: 30px;
    }

    .page-about__values-grid,
    .page-about__product-grid,
    .page-about__team-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 20px;
    }

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

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

    .page-about__team-photo {
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 768px) {
    /* HERO 主图区域 */
    .page-about__hero-section {
        padding-top: 10px !important; /* Small top padding, not var(--header-offset) */
        padding-bottom: 40px;
    }
    .page-about__hero-content {
        padding: 0 15px;
    }
    .page-about__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em) !important; /* Ensure H1 font size is not too large */
        margin-bottom: 15px;
    }
    .page-about__intro-description {
        font-size: 1em;
        margin-bottom: 20px;
    }

    /* 深色导语区 & 其他内容区 */
    .page-about__intro-section,
    .page-about__history-mission-section,
    .page-about__values-section,
.page-about__products-services-section,
.page-about__commitment-section,
.page-about__team-section,
.page-about__security-responsibility-section,
.page-about__vision-section,
.page-about__cta-section,
.page-about__faq-section {
        padding: 40px 0;
    }
    .page-about__container {
        padding-left: 15px;
        padding-right: 15px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden; /* Prevent horizontal scroll */
    }
    .page-about__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-about__text-block {
        font-size: 0.95em;
    }

    /* 通用图片与容器 */
    .page-about img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important;
    }
    .page-about__image-block {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-about__hero-image-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-about__product-image {
        height: 160px;
    }
    .page-about__value-icon {
        width: 80px;
        height: 80px;
    }
    .page-about__team-photo {
        width: 100px;
        height: 100px;
    }

    /* 按钮与按钮容器 */
    .page-about__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-about__btn-primary,
    .page-about__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 15px; /* Adjust padding for mobile */
        font-size: 1em;
    }

    /* Column layouts */
    .page-about__two-column-layout {
        flex-direction: column;
        gap: 20px;
    }
    .page-about__reverse-on-mobile {
        flex-direction: column-reverse; /* Reverse order for commitment section on mobile */
    }

    /* Grids */
    .page-about__values-grid,
    .page-about__product-grid,
    .page-about__team-grid {
        grid-template-columns: 1fr; /* Single column for all grids */
        gap: 20px;
    }
    .page-about__value-card,
    .page-about__product-card,
    .page-about__team-member {
        padding: 20px;
    }

    /* FAQ */
    .page-about__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-about__faq-answer {
        font-size: 0.95em;
        padding: 0 20px 15px;
    }
}

@media (max-width: 549px) {
    /* Further adjustments for very small screens if needed, e.g., font sizes */
    .page-about__main-title {
        font-size: clamp(1.6em, 8vw, 2.2em) !important;
    }
    .page-about__section-title {
        font-size: 1.6em;
    }
}