/* style/about.css */
.page-about {
    color: #333333;
    line-height: 1.6;
    font-family: Arial, sans-serif;
}

.page-about__hero-section {
    position: relative;
    padding-top: var(--header-offset, 120px);
    background-color: #1A2E59;
    color: #FFFFFF;
    text-align: center;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
}

.page-about__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    height: auto;
    margin-top: 30px;
}

.page-about__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-about__hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    z-index: 1;
}

.page-about__main-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #FFD700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.page-about__intro-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-about__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
    white-space: nowrap;
}

.page-about__btn--primary {
    background-color: #FFD700;
    color: #1A2E59;
    border: 2px solid #FFD700;
}

.page-about__btn--primary:hover {
    background-color: #e6c200;
    color: #0f1c3a;
    transform: translateY(-3px);
}

.page-about__btn--secondary {
    background-color: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
}

.page-about__btn--secondary:hover {
    background-color: #FFD700;
    color: #1A2E59;
    transform: translateY(-3px);
}

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

.page-about__mission-vision-section,
.page-about__our-story-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.page-about__our-story-section {
    background-color: #FFFFFF;
}

.page-about__mission-vision-section .page-about__container,
.page-about__our-story-section .page-about__container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.page-about__mission-vision-section .page-about__image-block,
.page-about__our-story-section .page-about__image-block {
    flex: 1;
    min-width: 300px;
}

.page-about__mission-vision-section .page-about__text-content,
.page-about__our-story-section .page-about__text-content {
    flex: 2;
    min-width: 300px;
}

.page-about__image-block img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    min-height: 200px;
}

.page-about__section-title {
    font-size: 2.5em;
    color: #1A2E59;
    margin-bottom: 30px;
    font-weight: bold;
    line-height: 1.3;
}

.page-about__section-title--center {
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-about__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #555555;
}

.page-about__values-section {
    padding: 80px 0;
    background-color: #1A2E59;
    color: #FFFFFF;
}

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

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

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

.page-about__card-icon {
    width: 200px;
    height: 150px;
    object-fit: contain;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-about__card-title {
    font-size: 1.6em;
    color: #FFD700;
    margin-bottom: 15px;
}

.page-about__card-description {
    font-size: 1em;
    color: #f0f0f0;
}

.page-about__responsible-gaming-section {
    padding: 80px 0;
    background-color: #f0f2f5;
    text-align: center;
}

.page-about__responsible-gaming-section .page-about__section-title {
    color: #1A2E59;
}

.page-about__responsible-gaming-section .page-about__paragraph {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
}

.page-about__btn--outline {
    background-color: transparent;
    color: #1A2E59;
    border: 2px solid #1A2E59;
    padding: 12px 25px;
    font-size: 1em;
}

.page-about__btn--outline:hover {
    background-color: #1A2E59;
    color: #FFD700;
}

.page-about__cta-section {
    background: linear-gradient(135deg, #1A2E59, #3A5A90);
    padding: 80px 20px;
    text-align: center;
    color: #FFFFFF;
}

.page-about__cta-content {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-about__section-title--light {
    color: #FFD700;
    font-size: 2.8em;
    margin-bottom: 20px;
}

.page-about__paragraph--light {
    color: #f0f0f0;
    font-size: 1.2em;
    margin-bottom: 40px;
}

.page-about__btn--cta {
    background-color: #FFD700;
    color: #1A2E59;
    border: 2px solid #FFD700;
    padding: 18px 40px;
    font-size: 1.3em;
    border-radius: 50px;
}

.page-about__btn--cta:hover {
    background-color: #e6c200;
    color: #0f1c3a;
    transform: scale(1.05);
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
    .page-about__main-title {
        font-size: 2.8em;
    }

    .page-about__intro-description {
        font-size: 1.2em;
    }

    .page-about__section-title {
        font-size: 2.2em;
    }

    .page-about__mission-vision-section .page-about__container,
    .page-about__our-story-section .page-about__container {
        flex-direction: column;
        text-align: center;
    }

    .page-about__mission-vision-section .page-about__image-block,
    .page-about__our-story-section .page-about__image-block {
        order: 1; /* Image first on smaller screens */
    }

    .page-about__mission-vision-section .page-about__text-content,
    .page-about__our-story-section .page-about__text-content {
        order: 2;
    }
}

@media (max-width: 768px) {
    .page-about__hero-section {
        min-height: 60vh;
        padding: var(--header-offset, 100px) 15px 40px;
    }

    .page-about__main-title {
        font-size: 2.2em;
    }

    .page-about__intro-description {
        font-size: 1.1em;
    }

    .page-about__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-about__btn {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .page-about__container {
        padding: 30px 15px;
    }

    .page-about__mission-vision-section,
    .page-about__our-story-section,
    .page-about__values-section,
    .page-about__responsible-gaming-section,
    .page-about__cta-section {
        padding: 50px 0;
    }

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

    .page-about__paragraph {
        font-size: 1em;
    }

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

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

    .page-about__section-title--light {
        font-size: 2.2em;
    }

    .page-about__paragraph--light {
        font-size: 1.1em;
    }

    .page-about__btn--cta {
        padding: 15px 30px;
        font-size: 1.2em;
    }

    /* Critical: Mobile content area images */
    .page-about img {
        max-width: 100%;
        height: auto;
        min-width: 200px; /* Ensure minimum size */
        min-height: 200px; /* Ensure minimum size */
    }
}

@media (max-width: 480px) {
    .page-about__main-title {
        font-size: 1.8em;
    }

    .page-about__intro-description {
        font-size: 0.95em;
    }

    .page-about__section-title {
        font-size: 1.6em;
    }

    .page-about__section-title--light {
        font-size: 1.8em;
    }
}