/* style/about.css */
.page-about {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #FFF5E1; /* Text Main color, assuming dark body background */
    background-color: #B71C1C; /* Background color for main content, will be overridden by shared.css body bg if present */
}

/* General container for content sections */
.page-about__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box;
}

.page-about__container--center {
    text-align: center;
}

.page-about__section-title {
    font-size: 2.5em;
    color: #F4D34D; /* Gold color for titles */
    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: 4px;
    background-color: #FFD86A;
    border-radius: 2px;
}

.page-about__intro-text {
    text-align: center;
    font-size: 1.1em;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #FFF5E1;
}

/* Hero Section */
.page-about__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, shared.css handles body padding */
    padding-bottom: 80px;
    overflow: hidden;
    background-color: #7A0E0E; /* Deep Red for hero section background */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-about__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 500px; /* Limit hero image height */
    filter: brightness(0.7); /* Slightly darken image to make text pop, NOT for color change */
}

.page-about__hero-content {
    text-align: center;
    padding: 30px 20px;
    max-width: 900px;
    z-index: 1;
    color: #FFF5E1;
}

.page-about__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
    font-weight: bold;
    color: #F4D34D; /* Gold color for H1 */
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-about__description {
    font-size: 1.15em;
    margin-bottom: 30px;
    color: #FFF5E1;
}

/* Buttons */
.page-about__btn-primary,
.page-about__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons don't overflow */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Allow text to break words */
}

.page-about__btn-primary {
    background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Custom button color */
    color: #7A0E0E; /* Deep Red for text on gold button */
    border: 2px solid #FFD86A;
    box-shadow: 0 4px 15px rgba(255, 216, 106, 0.4);
}

.page-about__btn-primary:hover {
    background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
    box-shadow: 0 6px 20px rgba(255, 216, 106, 0.6);
}

.page-about__btn-secondary {
    background: #7A0E0E; /* Deep Red */
    color: #F4D34D; /* Gold text */
    border: 2px solid #F4D34D;
    margin-left: 20px;
}

.page-about__btn-secondary:hover {
    background: #C91F17; /* Primary Red */
    color: #FFF5E1; /* Text Main */
    border-color: #FFF5E1;
}

/* Content wrappers with image and text */
.page-about__content-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
}

.page-about__content-wrapper--reverse {
    flex-direction: row-reverse;
}

.page-about__content-wrapper img {
    flex: 0 0 50%;
    max-width: 50%;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    display: block;
    height: auto;
}

.page-about__text-block {
    flex: 1;
    color: #FFF5E1; /* Text Main color */
    font-size: 1.05em;
}

.page-about__text-block p {
    margin-bottom: 15px;
}

.page-about__dark-section {
    background-color: #7A0E0E; /* Deep Red for dark sections */
    padding: 60px 0;
}
.page-about__dark-section .page-about__section-title {
    color: #F4D34D;
}
.page-about__dark-section .page-about__text-block {
    color: #FFF5E1;
}

/* Products Grid */
.page-about__products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.page-about__product-card {
    background-color: #D32F2F; /* Card BG color */
    border: 1px solid #F2B544; /* Border color */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-about__product-card img {
    width: 100%;
    height: 220px; /* Fixed height for product images */
    object-fit: cover;
    margin-bottom: 15px;
    display: block;
}

.page-about__product-title {
    font-size: 1.4em;
    color: #FFD86A; /* Gold color */
    margin-bottom: 10px;
    padding: 0 15px;
}

.page-about__product-description {
    font-size: 0.95em;
    color: #FFF5E1;
    margin-bottom: 20px;
    padding: 0 15px;
    flex-grow: 1;
}

/* CTA Section */
.page-about__cta-section {
    background-color: #C91F17; /* Primary Red */
    padding: 80px 20px;
    text-align: center;
    color: #FFF5E1;
}

.page-about__cta-section .page-about__section-title {
    color: #FFF5E1;
}

.page-about__cta-section .page-about__description {
    color: #FFF5E1;
    margin-bottom: 40px;
}

.page-about__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    width: 100%; /* Ensure container takes full width */
    max-width: 800px; /* Limit max width for desktop */
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

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

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

.page-about__faq-item {
    background-color: #D32F2F; /* Card BG */
    border: 1px solid #F2B544; /* Border color */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #FFF5E1;
}

.page-about__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.15em;
    font-weight: bold;
    cursor: pointer;
    background-color: #D32F2F; /* Card BG */
    color: #FFD86A; /* Gold color */
    position: relative;
    list-style: none; /* Hide default marker for details/summary */
}

.page-about__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker for webkit */
}
.page-about__faq-question::marker {
    display: none; /* Hide default marker for standard */
}

.page-about__faq-qtext {
    flex-grow: 1;
}

.page-about__faq-toggle {
    font-size: 1.5em;
    margin-left: 15px;
    color: #FFD86A;
}

.page-about__faq-answer {
    padding: 0 25px 20px;
    font-size: 1em;
    color: #FFF5E1;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-about__faq-item[open] .page-about__faq-answer {
    max-height: 1000px; /* Sufficiently large for content */
    padding-top: 10px;
}

/* --- Responsive Styles --- */
/* Media query for tablets and smaller desktops */
@media (max-width: 1024px) {
    .page-about__container {
        padding: 30px 15px;
    }

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

    .page-about__main-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }

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

    .page-about__content-wrapper img {
        max-width: 80%;
        flex: none;
    }

    .page-about__text-block {
        flex: none;
        width: 100%;
    }

    .page-about__products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .page-about__product-card img {
        
    }
}

/* Media query for mobile devices */
@media (max-width: 768px) {
    /* HERO Section */
    .page-about__hero-section {
        padding-top: 10px !important; /* Small top padding, shared.css handles body padding */
        padding-bottom: 40px;
    }

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

    .page-about__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
        margin-bottom: 15px;
    }

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

    /* Buttons */
    .page-about__btn-primary,
    .page-about__btn-secondary {
        padding: 12px 20px;
        font-size: 1em;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin: 0 0 15px 0 !important; /* Remove left margin, add bottom margin */
    }

    .page-about__cta-buttons {
        flex-direction: column !important; /* Stack buttons vertically */
        gap: 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden; /* Prevent horizontal scroll */
    }

    /* General Images and Containers */
    .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,
    .page-about__content-wrapper,
    .page-about__products-grid {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden; /* Prevent horizontal scroll */
    }

    /* Product Grid */
    .page-about__products-grid {
        grid-template-columns: 1fr; /* Single column for mobile */
        gap: 20px;
    }
    
    .page-about__product-card img {
        height: auto; /* Allow height to adjust */
        min-height: 200px; /* Ensure minimum size */
    }

    /* FAQ Section */
    .page-about__faq-question {
        padding: 15px 20px;
        font-size: 1em;
    }

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