/* style/about.css */

.page-about {
    background-color: #140C0C; /* Background */
    color: #FFF1E8; /* Text Main */
    font-family: sans-serif; /* Roboto-like */
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

.page-about__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    padding-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.page-about__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    position: relative;
}

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

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

.page-about__main-title {
    font-size: clamp(2.2rem, 4vw, 3.2rem); /* H1 font size with clamp */
    font-weight: 700;
    line-height: 1.2;
    color: #FFF1E8; /* Text Main */
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-about__intro-text {
    font-size: 1.15rem;
    max-width: 700px;
    margin: 0 auto;
    color: #FFF1E8; /* Text Main */
}

.page-about__section {
    padding: 60px 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-about__section:nth-child(even) { /* Alternate section background for visual rhythm */
    background-color: #2A1212; /* Card BG */
}

.page-about__content-block {
    flex: 1;
    min-width: 300px;
    max-width: 550px;
}

.page-about__image-wrapper {
    flex: 1;
    min-width: 300px;
    max-width: 550px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid #6A1E1E; /* Border */
}

.page-about__image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
    min-width: 200px; /* Ensure minimum size */
    min-height: 200px; /* Ensure minimum size */
}

.page-about__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 25px;
    color: #F3C54D; /* Gold */
}

.page-about__mission-vision .page-about__content-block,
.page-about__security-fairness .page-about__content-block {
    order: 1;
}

.page-about__mission-vision .page-about__image-wrapper,
.page-about__security-fairness .page-about__image-wrapper {
    order: 2;
}

.page-about__values .page-about__content-block {
    order: 2;
}

.page-about__values .page-about__image-wrapper {
    order: 1;
}

.page-about__values-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.page-about__value-item {
    background-color: #2A1212; /* Card BG */
    border-left: 4px solid #F3C54D; /* Gold */
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-about__value-item strong {
    color: #F3C54D; /* Gold */
    display: block;
    margin-bottom: 5px;
    font-size: 1.1em;
}

.page-about__link-button {
    display: inline-block;
    background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button color */
    color: #FFF1E8; /* Text Main */
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 20px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-about__link-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.page-about__cta-section {
    background: linear-gradient(135deg, #C61F1F 0%, #E53030 100%); /* Main/Auxiliary colors */
    padding: 80px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    position: relative;
    overflow: hidden;
}

.page-about__cta-content {
    max-width: 800px;
    z-index: 1;
}

.page-about__cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: #FFF1E8; /* Text Main */
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4);
}

.page-about__cta-description {
    font-size: 1.15rem;
    margin-bottom: 30px;
    color: #FFF1E8; /* Text Main */
    opacity: 0.9;
}

.page-about__cta-button {
    display: inline-block;
    background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button color */
    color: #FFF1E8; /* Text Main */
    padding: 15px 40px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    min-height: 44px; /* Touch target */
}

.page-about__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-about__cta-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.15; /* Subtly blend background image */
}

.page-about__cta-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    min-width: 200px;
    min-height: 200px;
}


/* Responsive adjustments */
@media (max-width: 849px) {
    .page-about__hero-content {
        margin-top: 20px;
    }

    .page-about__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }

    .page-about__intro-text {
        font-size: 1rem;
    }

    .page-about__section {
        flex-direction: column;
        text-align: center;
    }

    .page-about__section:nth-child(even) .page-about__content-block,
    .page-about__section:nth-child(even) .page-about__image-wrapper {
        order: unset; /* Reset order for mobile */
    }

    .page-about__values .page-about__content-block,
    .page-about__values .page-about__image-wrapper {
        order: unset; /* Reset order for mobile */
    }

    .page-about__content-block {
        max-width: 100%;
        min-width: unset;
    }

    .page-about__image-wrapper {
        max-width: 100%;
        min-width: unset;
    }

    .page-about__section-title {
        font-size: clamp(1.6rem, 5vw, 2.2rem);
        text-align: center;
    }

    .page-about__value-item {
        text-align: left; /* Keep text aligned left within list item */
    }

    .page-about__link-button,
    .page-about__cta-button {
        width: 100%;
        max-width: 300px; /* Limit button width on mobile */
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 549px) {
    .page-about__hero-content {
        padding: 0 15px;
    }

    .page-about__section {
        padding: 40px 15px;
        gap: 30px;
    }

    .page-about__main-title {
        font-size: clamp(1.6rem, 7vw, 2.2rem);
    }

    .page-about__intro-text {
        font-size: 0.95rem;
    }

    .page-about__section-title {
        font-size: clamp(1.4rem, 6vw, 1.8rem);
    }

    .page-about__cta-section {
        padding: 60px 15px;
    }

    .page-about__cta-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }

    .page-about__cta-description {
        font-size: 1rem;
    }
}

/* Ensure all content area images meet min size requirement */
.page-about__section img,
.page-about__cta-section img {
    min-width: 200px;
    min-height: 200px;
}

@media (max-width: 768px) {
    .page-about__section img,
    .page-about__cta-section img {
        max-width: 100%;
        height: auto;
    }
}