/* style/about.css */

/* Biến CSS */
:root {
    --page-about-primary-color: #0A2239;
    --page-about-secondary-color: #FFD700;
    --page-about-text-dark: #222222;
    --page-about-text-light: #ffffff;
    --page-about-bg-light: #f8f8f8;
    --page-about-bg-dark: #0A2239;
}

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

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

.page-about__hero {
    background: linear-gradient(135deg, var(--page-about-primary-color), #2A4A6D);
    color: var(--page-about-text-light);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-about__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: var(--page-about-secondary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-about__hero-description {
    font-size: 1.3em;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}

.page-about__section {
    padding: 80px 0;
    border-bottom: 1px solid #eee;
}

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

.page-about__heading {
    font-size: 2.5em;
    color: var(--page-about-primary-color);
    margin-bottom: 30px;
    text-align: left;
    position: relative;
}

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

.page-about__heading::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--page-about-secondary-color);
    margin-top: 10px;
    margin-left: 0;
}

.page-about__heading--center::after {
    margin-left: auto;
    margin-right: auto;
}

.page-about__content-grid {
    display: flex;
    gap: 40px;
    align-items: center;
}

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

.page-about__text-content {
    flex: 1;
}

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

.page-about__image-wrapper {
    flex: 1;
    text-align: center;
}

.page-about__image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

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

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

.page-about__value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.page-about__value-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
    filter: drop-shadow(2px 2px 3px rgba(0, 0, 0, 0.2));
}

.page-about__sub-heading {
    font-size: 1.6em;
    color: var(--page-about-primary-color);
    margin-bottom: 15px;
}

.page-about__responsible-gambling {
    background-color: var(--page-about-primary-color);
    color: var(--page-about-text-light);
    text-align: center;
}

.page-about__responsible-gambling .page-about__heading {
    color: var(--page-about-secondary-color);
}

.page-about__responsible-gambling .page-about__heading::after {
    background-color: var(--page-about-text-light);
}

.page-about__text--center {
    font-size: 1.15em;
    max-width: 900px;
    margin: 0 auto 40px auto;
}

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

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

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

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

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

.page-about__btn--secondary:hover {
    background-color: var(--page-about-text-light);
    color: var(--page-about-primary-color);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-about__hero-title {
        font-size: 2.8em;
    }
    .page-about__heading {
        font-size: 2em;
    }
    .page-about__content-grid {
        flex-direction: column;
    }
    .page-about__content-grid--reverse {
        flex-direction: column;
    }
    .page-about__image-wrapper {
        order: -1; /* For reverse grid, image comes first on mobile */
        margin-bottom: 30px;
    }
    .page-about__content-grid--reverse .page-about__image-wrapper {
        order: 0;
        margin-bottom: 0;
        margin-top: 30px;
    }
    .page-about__values-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-about__hero {
        padding: 80px 0;
    }
    .page-about__hero-title {
        font-size: 2.2em;
    }
    .page-about__hero-description {
        font-size: 1em;
    }
    .page-about__section {
        padding: 60px 0;
    }
    .page-about__heading {
        font-size: 1.8em;
        margin-bottom: 20px;
    }
    .page-about__text-content p {
        font-size: 1em;
    }
    .page-about__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-about__btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .page-about__hero-title {
        font-size: 1.8em;
    }
    .page-about__heading {
        font-size: 1.5em;
    }
    .page-about__value-icon {
        width: 60px;
        height: 60px;
    }
    .page-about__sub-heading {
        font-size: 1.4em;
    }
    .page-about__text--center {
        font-size: 1em;
    }
}