/* style/about.css */

/* Custom Colors */
:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --card-bg: #11271B;
    --background-dark: #08160F;
    --text-main: #F2FFF6;
    --text-secondary: #A7D9B8;
    --border-color: #2E7A4E;
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green: #0A4B2C;
}

.page-about {
    font-family: 'Arial', sans-serif;
    color: var(--text-main); /* Default text color for the page */
    background-color: var(--background-dark); /* Default background for the page */
}

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

.page-about__section-title {
    font-size: 3.2em;
    font-weight: 700;
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.4);
}

.page-about__section-description {
    font-size: 1.1em;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.page-about__text-block p {
    font-size: 1.05em;
    line-height: 1.8;
    margin-bottom: 1.5em;
    color: var(--text-main);
}

.page-about__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: 10px; /* Small decorative top padding */
    padding-bottom: 80px;
}

.page-about__hero-image {
    width: 100%;
    height: 675px; /* Fixed height for hero image, will be covered by object-fit */
    object-fit: cover;
    position: relative;
    z-index: 1;
    display: block;
}

.page-about__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 40px 20px;
    background: rgba(8, 22, 15, 0.8); /* Semi-transparent dark background for text */
    border-radius: 10px;
    margin-top: -100px; /* Pull content slightly over the image for visual flow */
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.page-about__main-title {
    font-size: clamp(2.5em, 5vw, 3.8em);
    font-weight: 800;
    color: var(--gold-color);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 0 15px rgba(242, 193, 78, 0.6);
}

.page-about__subtitle {
    font-size: clamp(1.1em, 2vw, 1.4em);
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.7;
}

.page-about__btn-primary,
.page-about__btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Break long words */
    max-width: 100%; /* Ensure button doesn't exceed container */
}

.page-about__btn-primary {
    background: var(--button-gradient);
    color: var(--text-main);
    border: none;
    box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-about__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

.page-about__btn-secondary {
    background: none;
    color: var(--gold-color);
    border: 2px solid var(--gold-color);
    margin-left: 20px;
}

.page-about__btn-secondary:hover {
    background: var(--gold-color);
    color: var(--background-dark);
    transform: translateY(-3px);
}

.page-about__intro-section,
.page-about__vision-mission-section,
.page-about__values-section,
.page-about__products-section,
.page-about__promotions-section,
.page-about__responsibility-section,
.page-about__cta-section,
.page-about__faq-section {
    padding: 80px 0;
    position: relative;
}

.page-about__vision-mission-section .page-about__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.page-about__card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.page-about__light-text-card {
    color: var(--text-main);
}

.page-about__card-title {
    font-size: 1.8em;
    color: var(--gold-color);
    margin-bottom: 20px;
    font-weight: 700;
}

.page-about__card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

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

.page-about__value-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

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

.page-about__products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-about__product-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.page-about__product-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

.page-about__product-title {
    font-size: 1.6em;
    color: var(--gold-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.page-about__product-card p {
    flex-grow: 1;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

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

.page-about__promo-item,
.page-about__responsibility-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-about__promo-title,
.page-about__responsibility-title {
    font-size: 1.7em;
    color: var(--gold-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.page-about__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.page-about__faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 900px;
    margin: 0 auto;
}

.page-about__faq-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    color: var(--text-main);
}

.page-about__faq-item details > summary {
    list-style: none;
}

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

.page-about__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.25em;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    background-color: var(--deep-green);
    border-bottom: 1px solid var(--divider-color);
    transition: background-color 0.3s ease;
}

.page-about__faq-question:hover {
    background-color: rgba(16, 75, 44, 0.8);
}

.page-about__faq-qtext {
    flex-grow: 1;
    color: var(--gold-color);
}

.page-about__faq-toggle {
    font-size: 1.8em;
    line-height: 1;
    margin-left: 15px;
    color: var(--glow-color);
}

.page-about__faq-answer {
    padding: 20px 25px;
    font-size: 1.05em;
    line-height: 1.7;
    color: var(--text-secondary);
    background-color: var(--card-bg);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-about__hero-image {
        height: 500px;
    }
    .page-about__hero-content {
        margin-top: -80px;
        padding: 30px;
    }
    .page-about__section-title {
        font-size: 2.8em;
    }
}

@media (max-width: 768px) {
    .page-about__hero-image {
        height: 400px;
    }
    .page-about__hero-content {
        margin-top: -60px;
        padding: 20px;
    }
    .page-about__main-title {
        font-size: clamp(2em, 8vw, 2.8em);
    }
    .page-about__subtitle {
        font-size: clamp(1em, 3vw, 1.2em);
    }
    .page-about__section-title {
        font-size: 2.2em;
        margin-bottom: 30px;
    }
    .page-about__section-description {
        font-size: 1em;
        margin-bottom: 40px;
    }
    .page-about__intro-section,
    .page-about__vision-mission-section,
    .page-about__values-section,
    .page-about__products-section,
    .page-about__promotions-section,
    .page-about__responsibility-section,
    .page-about__cta-section,
    .page-about__faq-section {
        padding: 50px 0;
    }

    .page-about__grid,
    .page-about__values-grid,
    .page-about__products-grid,
    .page-about__promo-grid,
    .page-about__responsibility-grid {
        grid-template-columns: 1fr;
    }

    .page-about__card,
    .page-about__value-item,
    .page-about__product-card,
    .page-about__promo-item,
    .page-about__responsibility-item {
        padding: 20px;
    }
    
    .page-about__card-image,
    .page-about__product-image {
        height: 150px;
    }

    .page-about__btn-primary,
    .page-about__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        margin: 10px 0 0 0 !important;
        padding: 12px 20px;
    }

    .page-about__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

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

    /* Mobile image responsive adaptation */
    .page-about img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-about__section,
    .page-about__card,
    .page-about__container,
    .page-about__hero-section,
    .page-about__intro-section,
    .page-about__vision-mission-section,
    .page-about__values-section,
    .page-about__products-section,
    .page-about__promotions-section,
    .page-about__responsibility-section,
    .page-about__cta-section,
    .page-about__faq-section,
    .page-about__cta-buttons,
    .page-about__button-group,
    .page-about__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Ensure no horizontal scroll */
    }
    
    /* Ensure content area images are not too small */
    .page-about__card-image, .page-about__product-image {
        min-width: 200px !important;
        min-height: 150px !important; /* Adjust if needed, but keep > 200px */
    }

    .page-about__hero-section {
        padding-top: 10px !important; /* body already handles header offset */
    }
}

@media (max-width: 480px) {
    .page-about__section-title {
        font-size: 1.8em;
    }
    .page-about__main-title {
        font-size: clamp(1.8em, 9vw, 2.5em);
    }
    .page-about__subtitle {
        font-size: 0.95em;
    }
    .page-about__hero-content {
        margin-top: -40px;
        padding: 15px;
    }
}