/* style/about.css */
.page-about {
    font-family: 'Arial', sans-serif;
    color: #FFF5E1; /* Text Main */
    background: #B71C1C; /* Body Background */
}

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

/* Hero Section */
.page-about__hero-section {
    position: relative;
    padding-top: 10px; /* Small top margin, not --header-offset */
    margin-bottom: 40px;
    text-align: center;
    overflow: hidden; /* Ensure image doesn't overflow */
}

.page-about__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 600px; /* Limit height for hero image */
    border-radius: 10px;
}

.page-about__hero-content {
    background: linear-gradient(180deg, #7A0E0E 0%, rgba(193, 31, 23, 0.8) 100%); /* Deep Red to Main Color */
    padding: 30px 20px;
    margin-top: -50px; /* Overlap slightly for design */
    position: relative;
    z-index: 1;
    border-radius: 10px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-about__main-title {
    font-size: 3.2em;
    font-weight: 700;
    color: #FFCC66; /* Glow */
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-about__hero-description {
    font-size: 1.2em;
    line-height: 1.6;
    color: #FFF5E1; /* Text Main */
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.page-about__btn-primary {
    display: inline-block;
    padding: 15px 35px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    color: #333333; /* Dark text for gold button */
    background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button Gold */
    border-radius: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    margin: 0 10px;
}

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

.page-about__btn-secondary {
    display: inline-block;
    padding: 15px 35px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    color: #FFF5E1; /* Text Main */
    background: transparent;
    border: 2px solid #F2B544; /* Border */
    border-radius: 30px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    cursor: pointer;
    margin: 0 10px;
}

.page-about__btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.page-about__btn-large {
    min-width: 200px;
}

/* Section Common */
.page-about__section-title {
    font-size: 2.5em;
    color: #FFCC66; /* Glow */
    text-align: center;
    margin-bottom: 40px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-about__section-title--gold {
    color: #F4D34D; /* Gold */
}

.page-about__text-block {
    font-size: 1.1em;
    line-height: 1.7;
    margin-bottom: 20px;
    text-align: justify;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Introduction Section */
.page-about__introduction-section {
    padding: 60px 0;
    margin-bottom: 40px;
}

.page-about__dark-section {
    background: #7A0E0E; /* Deep Red */
    color: #FFF5E1; /* Text Main */
}

.page-about__image-content {
    width: 100%;
    height: auto;
    display: block;
    margin: 40px auto 0;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    max-width: 800px;
}

/* Values Section */
.page-about__values-section {
    padding: 60px 0;
    margin-bottom: 40px;
    background: #D32F2F; /* Card BG */
}

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

.page-about__value-card {
    background: rgba(255, 255, 255, 0.1); /* Slightly transparent white on dark red for contrast */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    border: 1px solid #F2B544; /* Border */
    color: #FFF5E1; /* Text Main */
}

.page-about__value-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.page-about__value-icon {
    width: 100%;
    height: auto;
    max-width: 200px; /* Min size 200px for all images */
    min-width: 200px; /* Ensure it meets min size requirement */
    margin: 0 auto 20px;
    display: block;
    border-radius: 8px;
}

.page-about__card-title {
    font-size: 1.6em;
    color: #F4D34D; /* Gold */
    margin-bottom: 15px;
}

.page-about__card-text {
    font-size: 1em;
    line-height: 1.6;
    color: #FFF5E1; /* Text Main */
}

/* CTA Section */
.page-about__cta-section {
    padding: 60px 0;
    text-align: center;
    margin-bottom: 40px;
}

.page-about__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

/* FAQ Section */
.page-about__faq-section {
    padding: 60px 0;
    background: #B71C1C; /* Body Background */
}

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

details.page-about__faq-item {
    margin-bottom: 15px;
    border-radius: 10px;
    border: 1px solid #F2B544; /* Border */
    overflow: hidden;
    background: #D32F2F; /* Card BG */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    color: #FFF5E1; /* Text Main */
}

details.page-about__faq-item summary.page-about__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.3s ease;
    font-size: 1.2em;
    font-weight: 600;
    color: #FFCC66; /* Glow */
}

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

details.page-about__faq-item summary.page-about__faq-question:hover {
    background: #C91F17; /* Main Color */
}

.page-about__faq-qtext {
    flex: 1;
    font-size: 1em; /* Adjusted for summary font-size */
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    color: inherit; /* Inherit from summary */
}

.page-about__faq-toggle {
    font-size: 28px; /* Larger for visibility */
    font-weight: bold;
    color: #F4D34D; /* Gold */
    flex-shrink: 0;
    margin-left: 15px;
    width: 30px;
    text-align: center;
}

details.page-about__faq-item .page-about__faq-answer {
    padding: 0 25px 25px;
    background: #7A0E0E; /* Deep Red */
    border-radius: 0 0 10px 10px;
    color: #FFF5E1; /* Text Main */
    font-size: 1.05em;
    line-height: 1.7;
}

/* Responsive Styles for Mobile */
@media (max-width: 768px) {
    .page-about__container {
        padding: 0 15px;
    }

    .page-about__hero-section {
        margin-bottom: 20px;
        padding-top: 10px !important; /* Fixed header spacing */
    }

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

    .page-about__hero-content {
        padding: 20px 15px;
        margin-top: -30px;
    }

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

    .page-about__hero-description {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .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 20px;
        margin: 5px 0;
        font-size: 1em;
    }

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

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

    .page-about__text-block {
        font-size: 1em;
        margin-bottom: 15px;
    }

    .page-about__introduction-section,
    .page-about__values-section,
    .page-about__cta-section,
    .page-about__faq-section {
        padding: 40px 0;
        margin-bottom: 20px;
    }

    .page-about__image-content {
        margin-top: 30px;
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-about__values-grid {
        grid-template-columns: 1fr;
    }

    .page-about__value-card {
        padding: 20px;
    }

    .page-about__value-icon {
        max-width: 200px !important;
        min-width: 200px !important;
        width: 100% !important;
        height: auto !important;
        margin-bottom: 15px;
    }

    .page-about__card-title {
        font-size: 1.4em;
    }

    details.page-about__faq-item summary.page-about__faq-question {
        padding: 15px 20px;
        font-size: 1.1em;
    }

    .page-about__faq-qtext {
        font-size: 1em;
    }

    .page-about__faq-toggle {
        font-size: 24px;
        width: 25px;
    }

    details.page-about__faq-item .page-about__faq-answer {
        padding: 0 20px 20px;
        font-size: 1em;
    }

    /* General image responsive styles */
    .page-about img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }
    .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;
    }
}