/* style/about.css */

/* General styles for .page-about scope */
.page-about {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #F2FFF6; /* Text Main */
    background-color: #08160F; /* Background */
}

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

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

.page-about__section-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive font size */
    font-weight: 700;
    color: #11A84E; /* Primary Color */
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.2;
}

.page-about__section-title--light {
    color: #F2FFF6; /* Text Main */
}

.page-about__text-block {
    font-size: 1.1rem;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 20px;
}

.page-about__text-block--light {
    color: #F2FFF6; /* Text Main */
}

/* Hero Section */
.page-about__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px 0 60px; /* Small top padding, then larger bottom */
    overflow: hidden;
    background-color: #08160F; /* Background */
}

.page-about__hero-image-wrapper {
    width: 100%;
    max-height: 600px; /* Limit height for aesthetic */
    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;
    z-index: 1; /* Ensure content is above image if any positioning issues */
}

.page-about__main-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem); /* Large, responsive H1 */
    font-weight: 800;
    color: #F2C14E; /* Gold Color */
    margin-bottom: 20px;
    line-height: 1.1;
}

.page-about__hero-description {
    font-size: 1.25rem;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 40px;
    max-width: 700px;
    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__cta-buttons--center {
    margin-top: 40px;
}

.page-about__btn-primary,
.page-about__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    min-width: 180px; /* Ensure buttons are not too small */
    text-align: center;
}

.page-about__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #ffffff;
    border: 2px solid transparent;
}

.page-about__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.page-about__btn-secondary {
    background: #11271B; /* Card BG */
    color: #11A84E; /* Primary Color */
    border: 2px solid #11A84E; /* Primary Color */
}

.page-about__btn-secondary:hover {
    background: #11A84E; /* Primary Color */
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.page-about__btn--small {
    padding: 10px 20px;
    font-size: 0.95rem;
    min-width: unset;
}

/* Content Grids */
.page-about__content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
}

.page-about__content-grid--reverse {
    grid-template-areas: "image text";
}

.page-about__content-grid--reverse .page-about__text-block {
    grid-area: text;
}

.page-about__content-grid--reverse .page-about__image-wrapper {
    grid-area: image;
}

.page-about__image-wrapper {
    text-align: center;
}

.page-about__image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    object-fit: cover;
    min-width: 200px; /* Ensure images are not too small */
    min-height: 200px;
}

/* Core Values Section */
.page-about__core-values {
    background-color: #08160F; /* Background */
}

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

.page-about__value-card {
    background-color: #11271B; /* Card BG */
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #2E7A4E; /* Border Color */
}

.page-about__value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.page-about__value-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #F2C14E; /* Gold Color */
    margin-bottom: 15px;
}

.page-about__value-description {
    font-size: 1rem;
    color: #A7D9B8; /* Text Secondary */
}

/* Products Section */
.page-about__products {
    background-color: #0A4B2C; /* Deep Green */
}

.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-color: #11271B; /* Card BG */
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid #2E7A4E; /* Border Color */
}

.page-about__product-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #11A84E; /* Primary Color */
    margin-bottom: 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.95rem;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 20px;
    flex-grow: 1;
}

/* FAQ Section */
.page-about__faq {
    background-color: #08160F; /* Background */
}

.page-about__faq-list {
    margin-top: 40px;
}

.page-about__faq-item {
    background-color: #11271B; /* Card BG */
    margin-bottom: 15px;
    border-radius: 12px;
    border: 1px solid #2E7A4E; /* Border Color */
    overflow: hidden;
    color: #F2FFF6; /* Text Main */
}

.page-about__faq-item summary {
    list-style: none; /* Hide default marker */
    cursor: pointer;
    padding: 20px 25px;
    font-size: 1.2rem;
    font-weight: 600;
    color: #F2C14E; /* Gold Color */
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.page-about__faq-item summary::-webkit-details-marker {
    display: none; /* Hide default marker for Webkit */
}

.page-about__faq-toggle {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    transition: transform 0.3s ease;
    color: #11A84E; /* Primary Color */
}

.page-about__faq-item[open] .page-about__faq-toggle {
    transform: rotate(45deg); /* Rotate plus to form an X */
}

.page-about__faq-answer {
    padding: 0 25px 20px;
    font-size: 1rem;
    color: #A7D9B8; /* Text Secondary */
}

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

/* Responsive adjustments */
@media (max-width: 992px) {
    .page-about__content-grid {
        grid-template-columns: 1fr;
    }
    .page-about__content-grid--reverse {
        grid-template-areas: unset; /* Reset grid area for stacking */
    }
    .page-about__content-grid--reverse .page-about__text-block {
        grid-area: unset;
    }
    .page-about__content-grid--reverse .page-about__image-wrapper {
        grid-area: unset;
        order: -1; /* Image appears above text on mobile */
    }
}

@media (max-width: 768px) {
    .page-about__section {
        padding: 40px 0;
    }
    .page-about__container {
        padding: 0 15px;
    }
    .page-about__section-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        margin-bottom: 30px;
    }
    .page-about__main-title {
        font-size: clamp(2rem, 8vw, 3.5rem);
    }
    .page-about__hero-description {
        font-size: 1.1rem;
    }
    .page-about__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0 15px;
    }
    .page-about__btn-primary,
    .page-about__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        font-size: 1rem;
    }
    .page-about__image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }
    .page-about__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-about__values-grid,
    .page-about__product-grid {
        grid-template-columns: 1fr;
    }
    .page-about__text-block {
        font-size: 1rem;
    }
    .page-about__faq-item summary {
        font-size: 1.1rem;
        padding: 15px 20px;
    }
    .page-about__faq-answer {
        padding: 0 20px 15px;
        font-size: 0.95rem;
    }
    .page-about__hero-section {
        padding-top: 10px !important; /* body already handles --header-offset */
    }
    .page-about__section,
    .page-about__card,
    .page-about__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-about__cta-buttons {
        flex-wrap: wrap !important;
        gap: 10px;
    }
    .page-about__cta-buttons {
        display: flex;
        flex-direction: column; /* Mobile vertical stacking for CTAs */
    }
}

/* Ensure content images are never too small */
.page-about__section img {
    min-width: 200px;
    min-height: 200px;
}