/* style/about.css */

/* Variables */
:root {
    --primary-color: #FF8C1A;
    --secondary-color: #FFA53A;
    --background-color: #0D0E12;
    --card-bg-color: #17191F;
    --text-main-color: #FFF3E6;
    --button-gradient: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
    --border-color: #A84F0C;
    --glow-color: #FFB04D;
    --deep-orange-color: #D96800;
}

.page-about {
    background-color: var(--background-color);
    color: var(--text-main-color);
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

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

/* Hero Section */
.page-about__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    background-color: var(--background-color);
    overflow: hidden;
}

.page-about__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 675px;
    filter: brightness(0.7);
}

.page-about__hero-content {
    position: relative;
    text-align: center;
    padding: 40px 20px;
    max-width: 900px;
    margin-top: -150px; /* Overlap slightly for visual flow */
    background: var(--card-bg-color);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    z-index: 10;
    transform: translateY(0%);
}

.page-about__hero-title {
    font-size: clamp(2em, 4vw, 3.2em);
    color: var(--text-main-color);
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.page-about__hero-description {
    font-size: 1.1em;
    color: var(--text-main-color);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-about__hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* General Section Styling */
.page-about__section-title {
    font-size: 2.5em;
    color: var(--primary-color);
    text-align: center;
    margin-top: 60px;
    margin-bottom: 40px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.page-about__text-block {
    margin-bottom: 20px;
    font-size: 1.05em;
    color: var(--text-main-color);
}

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

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

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

.page-about__value-icon {
    width: 100%;
    height: auto;
    max-width: 150px;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius: 8px;
}

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

.page-about__value-description {
    font-size: 1em;
    color: var(--text-main-color);
}

/* Why Choose Section */
.page-about__feature-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-about__feature-item {
    background-color: var(--card-bg-color);
    padding: 30px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-about__feature-title {
    font-size: 1.8em;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-about__feature-description {
    font-size: 1.05em;
    color: var(--text-main-color);
}

/* CTA Section */
.page-about__cta-section {
    background: var(--primary-color);
    padding: 80px 20px;
    text-align: center;
    margin-top: 60px;
    color: #ffffff;
}

.page-about__cta-title {
    font-size: 2.8em;
    color: #ffffff;
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-about__cta-description {
    font-size: 1.2em;
    color: #ffffff;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-about__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* 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;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-about__btn-primary {
    background: var(--button-gradient);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

.page-about__btn-secondary {
    background: #ffffff;
    color: var(--deep-orange-color);
    border: 2px solid var(--deep-orange-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-about__btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    background-color: #f0f0f0;
}

/* FAQ Section */
.page-about__faq-list {
    margin-top: 40px;
}

.page-about__faq-item {
    background-color: var(--card-bg-color);
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    color: var(--text-main-color);
}

.page-about__faq-item summary {
    list-style: none; /* Hide default marker */
}

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

.page-about__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    color: var(--secondary-color);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
}

.page-about__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

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

.page-about__faq-item[open] .page-about__faq-toggle {
    content: '−'; /* Change to minus when open (handled by JS for non-native details) */
}

.page-about__faq-answer {
    padding: 20px 25px;
    font-size: 1.05em;
    color: var(--text-main-color);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.page-about__faq-answer p {
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-about__hero-content {
        margin-top: -100px;
        padding: 30px 20px;
    }
    .page-about__hero-title {
        font-size: clamp(1.8em, 5vw, 2.8em);
    }
    .page-about__section-title {
        font-size: 2em;
    }
    .page-about__cta-title {
        font-size: 2.2em;
    }
    .page-about__value-card {
        padding: 25px;
    }
    .page-about__feature-item {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .page-about__container {
        padding: 0 15px;
    }
    .page-about__hero-section {
        padding-bottom: 40px;
    }
    .page-about__hero-image {
        max-height: 400px;
    }
    .page-about__hero-content {
        margin-top: -80px;
        padding: 25px 15px;
    }
    .page-about__hero-title {
        font-size: clamp(1.6em, 6vw, 2.5em);
    }
    .page-about__hero-description {
        font-size: 1em;
    }
    .page-about__hero-buttons,
    .page-about__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-about__btn-primary,
    .page-about__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-about__section-title {
        font-size: 1.8em;
        margin-top: 40px;
        margin-bottom: 30px;
    }
    .page-about__cta-title {
        font-size: 1.8em;
    }
    .page-about__cta-description {
        font-size: 1em;
    }
    .page-about__value-card {
        padding: 20px;
    }
    .page-about__value-title {
        font-size: 1.3em;
    }
    .page-about__feature-title {
        font-size: 1.5em;
    }
    .page-about__faq-question {
        padding: 15px 20px;
        font-size: 1.1em;
    }
    .page-about__faq-answer {
        padding: 15px 20px;
        font-size: 1em;
    }

    /* Mobile image responsiveness */
    .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__values-section,
    .page-about__why-choose-section,
    .page-about__cta-section,
    .page-about__faq-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-about__hero-section {
        padding-top: 10px !important; /* body handles --header-offset */
    }
}

/* Ensure contrast */
.page-about h1, .page-about h2, .page-about h3, .page-about h4, .page-about h5, .page-about h6,
.page-about p, .page-about li, .page-about a {
    color: var(--text-main-color);
}

.page-about__cta-section h2, .page-about__cta-section p {
    color: #ffffff;
}

.page-about__btn-primary {
    color: #ffffff;
}

.page-about__btn-secondary {
    color: var(--deep-orange-color);
}