/* style/about.css */

:root {
    --page-about-primary-color: #FFD700;
    --page-about-secondary-color: #1A1A1A;
    --page-about-text-light: #F0F0F0;
    --page-about-text-dark: #333333;
    --page-about-background-light: #FFFFFF;
    --page-about-background-dark: #222222;
    --page-about-border-color: #E0E0E0;
    --page-about-accent-color: #007bff; /* For links/buttons */
}

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

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

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

/* Hero Section */
.page-about-hero {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 80px 0;
    background: linear-gradient(135deg, var(--page-about-primary-color), var(--page-about-secondary-color));
    color: var(--page-about-text-light);
    text-align: center;
}

.page-about-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}

.page-about-hero-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    margin-bottom: 40px;
    object-fit: cover;
}

.page-about-hero-content h1 {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: var(--page-about-text-light);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-about-hero-content p {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--page-about-text-light);
}

.page-about-cta-button {
    display: inline-block;
    background-color: var(--page-about-primary-color);
    color: var(--page-about-secondary-color);
    padding: 15px 40px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: 2px solid var(--page-about-primary-color);
}

.page-about-cta-button:hover {
    background-color: #FFC107; /* Slightly darker gold */
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* General Section Styling */
.page-about-section {
    padding: 60px 0;
    border-bottom: 1px solid var(--page-about-border-color);
}

.page-about-section:last-of-type {
    border-bottom: none;
}

.page-about-section h2 {
    font-size: 2.5em;
    color: var(--page-about-secondary-color);
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.page-about-section h2::after {
    content: '';
    width: 80px;
    height: 4px;
    background-color: var(--page-about-primary-color);
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.page-about-section h3 {
    font-size: 1.8em;
    color: var(--page-about-primary-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-about-content-block {
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
}

.page-about-content-block p {
    font-size: 1.1em;
    margin-bottom: 15px;
    color: var(--page-about-text-dark);
}

.page-about-image-right {
    width: 100%;
    max-width: 500px;
    height: auto;
    float: right;
    margin: 0 0 20px 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

.page-about-image-left {
    width: 100%;
    max-width: 500px;
    height: auto;
    float: left;
    margin: 0 30px 20px 0;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

.page-about-image-full-width {
    width: 100%;
    height: auto;
    margin: 40px 0;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    object-fit: cover;
}

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

.page-about-value-item {
    background-color: var(--page-about-background-light);
    border: 1px solid var(--page-about-border-color);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about-value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-about-value-item h3 {
    color: var(--page-about-secondary-color);
    font-size: 1.5em;
    margin-top: 0;
    margin-bottom: 15px;
}

/* FAQ Section */
.page-about-faq {
    background-color: var(--page-about-background-dark);
    color: var(--page-about-text-light);
}

.page-about-faq h2 {
    color: var(--page-about-primary-color);
}

.page-about-faq h3 {
    color: var(--page-about-text-light);
}

.page-about-faq-list {
    margin-top: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: var(--page-about-secondary-color);
    color: var(--page-about-text-light);
    border: 1px solid #333;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #333;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.2em;
    color: var(--page-about-text-light);
}

.faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: var(--page-about-primary-color);
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 25px;
    background: #3a3a3a;
    color: var(--page-about-text-light);
}

.faq-item.active .faq-answer {
    max-height: 500px; /* Sufficient height for content */
    padding: 18px 25px;
    border-top: 1px solid #444;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
    color: #FFC107;
}

.page-about-faq-image {
    margin-top: 60px;
}

/* Final CTA Section */
.page-about-cta-final {
    background-color: var(--page-about-primary-color);
    color: var(--page-about-secondary-color);
    padding: 80px 0;
}

.page-about-cta-final h2 {
    color: var(--page-about-secondary-color);
    margin-bottom: 25px;
}

.page-about-cta-final h2::after {
    background-color: var(--page-about-secondary-color);
}

.page-about-cta-final p {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: var(--page-about-secondary-color);
}

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

.page-about-cta-primary {
    background-color: var(--page-about-secondary-color);
    color: var(--page-about-primary-color);
    border: 2px solid var(--page-about-secondary-color);
}

.page-about-cta-primary:hover {
    background-color: #000000;
    border-color: #000000;
    color: #FFC107;
}

.page-about-cta-secondary {
    background-color: transparent;
    color: var(--page-about-secondary-color);
    border: 2px solid var(--page-about-secondary-color);
}

.page-about-cta-secondary:hover {
    background-color: var(--page-about-secondary-color);
    color: var(--page-about-primary-color);
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-about-hero-content h1 {
        font-size: 2.5em;
    }
    .page-about-section h2 {
        font-size: 2em;
    }
    .page-about-section h3 {
        font-size: 1.6em;
    }
    .page-about-image-right, .page-about-image-left {
        float: none;
        margin: 20px auto;
    }
    .page-about-values-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-about-hero {
        padding: 60px 0;
    }
    .page-about-hero-content h1 {
        font-size: 2em;
    }
    .page-about-hero-content p {
        font-size: 1em;
    }
    .page-about-cta-button {
        padding: 12px 30px;
        font-size: 1em;
    }
    .page-about-section {
        padding: 40px 0;
    }
    .page-about-section h2 {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-about-section h3 {
        font-size: 1.4em;
    }
    .page-about-content-block p {
        font-size: 1em;
    }
    .faq-question {
        padding: 15px 20px;
    }
    .faq-question h3 {
        font-size: 1.1em;
    }
    .faq-answer {
        padding: 15px 20px;
    }
    .page-about-cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .page-about-hero-content h1 {
        font-size: 1.8em;
    }
    .page-about-hero-image {
        border-radius: 5px;
    }
    .page-about-section h2 {
        font-size: 1.5em;
    }
    .page-about-section h3 {
        font-size: 1.2em;
    }
    .page-about-cta-button {
        width: 100%;
        max-width: 300px;
    }
}