/* style/about.css */

:root {
    --primary-color: #F2C14E;
    --secondary-color: #FFD36B;
    --bg-dark-color: #0A0A0A;
    --card-bg-color: #111111;
    --text-main-color: #FFF6D6;
    --border-color: #3A2A12;
    --glow-color: #FFD36B;
    --button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
}

.page-about {
    font-family: Arial, sans-serif;
    color: var(--text-main-color);
    background-color: var(--bg-dark-color);
    line-height: 1.6;
}

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

.page-about__hero-section {
    padding-top: 10px; /* Small top padding, body handles main offset */
    padding-bottom: 40px;
    text-align: center;
    position: relative;
    background-color: var(--bg-dark-color);
    overflow: hidden;
}

.page-about__hero-image-wrapper {
    width: 100%;
    max-height: 600px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}

.page-about__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    min-height: 400px; /* Ensure minimum size */
}

.page-about__hero-content {
    padding: 0 20px;
    max-width: 900px;
    margin: 0 auto;
}

.page-about__main-title {
    font-size: clamp(2em, 4vw, 3em);
    color: var(--text-main-color);
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(255, 211, 107, 0.5);
}

.page-about__subtitle {
    font-size: clamp(1em, 1.5vw, 1.2em);
    color: var(--text-main-color);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-about__cta-button {
    display: inline-block;
    background: var(--button-gradient);
    color: var(--text-main-color);
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
    border: none;
}

.page-about__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
}

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

.page-about__section-title {
    font-size: clamp(1.8em, 3vw, 2.5em);
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-about__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

.page-about__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: var(--text-main-color);
    text-align: justify;
}

/* Values Section */
.page-about__values-section {
    background-color: var(--card-bg-color);
}

.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-color: var(--bg-dark-color);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

.page-about__value-card:hover {
    transform: translateY(-5px);
}

.page-about__value-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px var(--glow-color));
}

.page-about__value-title {
    font-size: 1.5em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-about__value-description {
    font-size: 0.95em;
    color: var(--text-main-color);
}

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

.page-about__product-card {
    background-color: var(--card-bg-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-about__product-card:hover {
    transform: translateY(-5px);
}

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

.page-about__product-title {
    font-size: 1.4em;
    color: var(--primary-color);
    margin: 20px 20px 10px;
}

.page-about__product-title a {
    color: inherit;
    text-decoration: none;
}

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

.page-about__product-description {
    font-size: 0.95em;
    color: var(--text-main-color);
    padding: 0 20px 20px;
    flex-grow: 1;
}

/* Why Choose Section */
.page-about__why-choose-section {
    background-color: var(--card-bg-color);
}

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

.page-about__feature-item {
    background-color: var(--bg-dark-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
}

.page-about__feature-title {
    font-size: 1.4em;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.page-about__feature-description {
    font-size: 0.95em;
    color: var(--text-main-color);
}

.page-about__cta-bottom {
    text-align: center;
    margin-top: 60px;
}

/* Contact & FAQ Section */
.page-about__contact-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    text-align: center;
}

.page-about__contact-item {
    font-size: 1.1em;
    margin-bottom: 10px;
    color: var(--text-main-color);
}

.page-about__contact-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.page-about__contact-item a:hover {
    text-decoration: underline;
}

.page-about__faq-heading {
    font-size: 1.8em;
    color: var(--primary-color);
    text-align: center;
    margin-top: 60px;
    margin-bottom: 30px;
}

.page-about__faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.page-about__faq-item {
    background-color: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-about__faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-main-color);
    font-weight: bold;
    font-size: 1.1em;
    background-color: var(--bg-dark-color);
    border-bottom: 1px solid var(--border-color);
}

.page-about__faq-item summary::-webkit-details-marker,
.page-about__faq-item summary::marker {
    display: none;
}

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

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

.page-about__faq-answer {
    padding: 20px;
    color: var(--text-main-color);
    background-color: var(--card-bg-color);
    font-size: 1em;
}

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

.page-about__faq-answer a {
    color: var(--secondary-color);
    text-decoration: none;
}

.page-about__faq-answer a:hover {
    text-decoration: underline;
}

/* General image responsiveness */
.page-about img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Mobile responsive styles */
@media (max-width: 1024px) {
    .page-about__hero-image-wrapper {
        max-height: 500px;
    }

    .page-about__hero-image {
        min-height: 300px;
    }

    .page-about__values-grid,
    .page-about__products-grid,
    .page-about__features-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

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

    /* 1. HERO 主图区域 */
    .page-about__hero-section {
        padding-top: 10px !important;
        padding-bottom: 30px;
    }

    .page-about__hero-image-wrapper {
        max-height: 300px;
        margin-bottom: 20px;
    }

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

    .page-about__main-title {
        font-size: 2em;
        margin-bottom: 15px;
    }

    .page-about__subtitle {
        font-size: 1em;
        margin-bottom: 25px;
    }

    /* 2. 产品展示图区域 */
    .page-about__products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 100% !important;
        width: 100% !important;
        overflow-x: hidden !important;
    }

    .page-about__product-card {
        max-width: 100% !important;
        width: 100% !important;
    }

    .page-about__product-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    /* 3. 通用图片与容器 */
    .page-about img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    
    .page-about__section,
    .page-about__value-card,
    .page-about__product-card,
    .page-about__feature-item,
    .page-about__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-about__values-grid,
    .page-about__features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 100% !important;
        width: 100% !important;
        overflow-x: hidden !important;
    }

    /* 4. 按钮与按钮容器 */
    .page-about__cta-button {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px;
        font-size: 1em;
    }

    .page-about__cta-bottom {
        padding: 0 15px;
        box-sizing: border-box;
    }

    /* 5. 其他内容模块 */
    .page-about__section {
        padding: 40px 0;
    }

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

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

    .page-about__contact-list {
        text-align: left;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-about__faq-heading {
        font-size: 1.5em;
        margin-top: 40px;
        margin-bottom: 20px;
    }

    .page-about__faq-item summary {
        font-size: 1em;
        padding: 15px;
    }

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