/* style/about-us.css */
:root {
    --primary-color: #0A192F;
    --secondary-color: #FFD700;
    --accent-red: #DC143C;
    --text-light: #F0F2F5;
    --text-dark: #333333;
    --bg-light: #FFFFFF;
    --bg-dark-section: #1A2E47;
    --border-color: #3A4A60;
}

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

.page-about-us strong {
    color: var(--primary-color);
}

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

.page-about-us-section {
    padding: 60px 0;
    text-align: center;
}

.page-about-us-section:nth-of-type(even) {
    background-color: var(--bg-dark-section);
    color: var(--text-light);
}

.page-about-us-section:nth-of-type(even) h2,
.page-about-us-section:nth-of-type(even) h3 {
    color: var(--secondary-color);
}

.page-about-us-section:nth-of-type(even) strong {
    color: var(--secondary-color);
}

.page-about-us h1,
.page-about-us h2 {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-weight: bold;
}

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

.page-about-us p {
    font-size: 1.1em;
    margin-bottom: 15px;
}

.page-about-us-hero {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0;
    overflow: hidden;
    min-height: 500px;
}

.page-about-us-hero-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-about-us-hero-image {
    width: 100%;
    height: 100%;
    max-height: 600px; /* Limit height to prevent excessive scroll */
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.page-about-us-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 80%;
    max-width: 900px;
    padding: 40px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 10px;
    color: var(--text-light);
    margin: 80px 0;
}

.page-about-us-hero-content h1 {
    color: var(--secondary-color);
    font-size: 3.5em;
    margin-bottom: 20px;
}

.page-about-us-hero-content p {
    font-size: 1.2em;
    margin-bottom: 30px;
}

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

.page-about-us-cta-button:hover {
    background: #e6c200;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-about-us-vision-mission .page-about-us-container,
.page-about-us-history .page-about-us-container {
    display: flex;
    align-items: center;
    gap: 40px;
    text-align: left;
}

.page-about-us-vision-mission .page-about-us-content-block,
.page-about-us-history .page-about-us-content-block {
    flex: 1;
}

.page-about-us-vision-mission .page-about-us-image-content,
.page-about-us-history .page-about-us-image-content {
    flex: 1;
    max-width: 50%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-about-us-history .page-about-us-container {
    flex-direction: row-reverse; /* Swap image and text for variety */
}

.page-about-us-intro-text {
    max-width: 800px;
    margin: 20px auto 40px auto;
    font-size: 1.2em;
}

.page-about-us-value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: center;
}

.page-about-us-value-item {
    background-color: var(--bg-light);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 5px solid var(--secondary-color);
}

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

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

.page-about-us-value-item p {
    color: var(--text-dark);
    font-size: 1em;
}

.page-about-us-game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-about-us-game-card {
    background-color: var(--bg-light);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about-us-game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-about-us-game-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-about-us-game-card h3 {
    color: var(--primary-color);
    font-size: 1.6em;
    margin-top: 0;
    margin-bottom: 10px;
}

.page-about-us-game-card p {
    color: var(--text-dark);
    font-size: 1em;
    margin-bottom: 20px;
}

.page-about-us-game-link {
    display: inline-block;
    padding: 10px 25px;
    background: var(--primary-color);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 0.9em;
    transition: background-color 0.3s ease;
}

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

.page-about-us-outro-text {
    margin-top: 40px;
    font-size: 1.2em;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-about-us-feature-item {
    background-color: var(--bg-light);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: left;
    color: var(--text-dark);
}

.page-about-us-section:nth-of-type(even) .page-about-us-feature-item {
    background-color: var(--primary-color);
    color: var(--text-light);
    border-top: 5px solid var(--secondary-color);
}

.page-about-us-section:nth-of-type(even) .page-about-us-feature-item h3 {
    color: var(--secondary-color);
}

.page-about-us-feature-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    object-fit: contain;
}

.page-about-us-feature-item h3 {
    font-size: 1.5em;
    color: var(--primary-color);
    margin-top: 0;
}

.page-about-us-responsible-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-about-us-responsible-item {
    background-color: var(--bg-light);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: left;
    border-left: 5px solid var(--accent-red);
}

.page-about-us-responsible-item h3 {
    color: var(--accent-red);
    font-size: 1.5em;
    margin-top: 0;
}

.page-about-us-responsible-cta {
    background-color: var(--accent-red);
    margin-top: 40px;
    color: var(--text-light);
}

.page-about-us-responsible-cta:hover {
    background-color: #a00d2f;
    color: var(--text-light);
}

.page-about-us-faq-list {
    margin-top: 40px;
    text-align: left;
}

.page-about-us-faq-list .faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-about-us-faq-list .faq-item.active {
    border-color: var(--secondary-color);
}

.page-about-us-faq-list .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: var(--primary-color);
    color: var(--text-light);
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-about-us-faq-list .faq-question:hover {
    background-color: #1A2E47;
}

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

.page-about-us-faq-list .faq-toggle {
    font-size: 1.8em;
    font-weight: normal;
    line-height: 1;
    transition: transform 0.3s ease;
    color: var(--secondary-color);
}

.page-about-us-faq-list .faq-item.active .faq-toggle {
    transform: rotate(45deg);
    color: var(--accent-red);
}

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

.page-about-us-faq-list .faq-item.active .faq-answer {
    max-height: 500px; /* Sufficient height to accommodate content */
    padding: 25px;
    border-top: 1px solid var(--border-color);
}

.page-about-us-faq-list .faq-answer p {
    margin-bottom: 10px;
    font-size: 1em;
}

.page-about-us-faq-link {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 15px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9em;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-about-us-faq-link:hover {
    background-color: #e6c200;
}

.page-about-us-future .page-about-us-container {
    max-width: 900px;
}

.page-about-us-future p {
    font-size: 1.15em;
    margin-bottom: 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-about-us-hero-content {
        width: 90%;
        padding: 30px;
    }

    .page-about-us-hero-content h1 {
        font-size: 3em;
    }

    .page-about-us-hero-content p {
        font-size: 1.1em;
    }

    .page-about-us-hero-image {
        max-height: 500px;
    }

    .page-about-us-vision-mission .page-about-us-container,
    .page-about-us-history .page-about-us-container {
        flex-direction: column;
        text-align: center;
    }

    .page-about-us-vision-mission .page-about-us-image-content,
    .page-about-us-history .page-about-us-image-content {
        max-width: 80%;
        margin-bottom: 30px;
    }

    .page-about-us-history .page-about-us-container {
        flex-direction: column;
    }

    .page-about-us h1,
    .page-about-us h2 {
        font-size: 2.2em;
    }

    .page-about-us h3 {
        font-size: 1.6em;
    }
}

@media (max-width: 768px) {
    .page-about-us-hero-content {
        width: 95%;
        padding: 20px;
        margin: 60px 0;
    }

    .page-about-us-hero-content h1 {
        font-size: 2.5em;
    }

    .page-about-us-hero-content p {
        font-size: 1em;
    }

    .page-about-us-cta-button {
        padding: 12px 30px;
        font-size: 1em;
    }

    .page-about-us-hero-image {
        max-height: 400px;
    }

    .page-about-us-section {
        padding: 40px 0;
    }

    .page-about-us h1,
    .page-about-us h2 {
        font-size: 1.8em;
    }

    .page-about-us h3 {
        font-size: 1.4em;
    }

    .page-about-us p {
        font-size: 0.95em;
    }

    .page-about-us-value-grid,
    .page-about-us-game-grid,
    .page-about-us-feature-grid,
    .page-about-us-responsible-content {
        grid-template-columns: 1fr;
    }

    .page-about-us-vision-mission .page-about-us-image-content,
    .page-about-us-history .page-about-us-image-content {
        max-width: 100%;
    }

    .page-about-us-faq-list .faq-question {
        padding: 15px 20px;
        font-size: 1.1em;
    }

    .page-about-us-faq-list .faq-question h3 {
        font-size: 1.1em;
    }

    .page-about-us-faq-list .faq-toggle {
        font-size: 1.5em;
    }

    .page-about-us-faq-list .faq-answer {
        padding: 0 20px;
    }

    .page-about-us-faq-list .faq-item.active .faq-answer {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .page-about-us-hero-content h1 {
        font-size: 2em;
    }

    .page-about-us-hero-content p {
        font-size: 0.9em;
    }

    .page-about-us-cta-button {
        padding: 10px 25px;
        font-size: 0.9em;
    }

    .page-about-us-hero-image {
        max-height: 300px;
    }

    .page-about-us h1,
    .page-about-us h2 {
        font-size: 1.5em;
    }

    .page-about-us h3 {
        font-size: 1.2em;
    }
}