/* style/about.css */
.page-about {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark grey for general text on light background */
    background-color: #f8f8f8;
}

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

/* Hero Section */
.page-about__hero-section {
    position: relative;
    background-color: #0A2463; /* Dark blue background */
    color: #FFFFFF; /* White text for contrast */
    padding: 100px 0;
    text-align: center;
    overflow: hidden;
}

.page-about__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #FFD700; /* Gold for emphasis on dark blue */
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-about__hero-description {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #E0E0E0; /* Lighter white for readability on dark blue */
}

.page-about__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Subtle background image */
    z-index: 0;
}

.page-about__hero-section > .page-about__container {
    position: relative;
    z-index: 1;
}

/* Buttons */
.page-about__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1.1em;
    margin: 0 10px;
}

.page-about__btn--primary {
    background-color: #FFD700; /* Gold button */
    color: #0A2463; /* Dark blue text on gold */
}

.page-about__btn--primary:hover {
    background-color: #e6c200; /* Slightly darker gold on hover */
    transform: translateY(-2px);
}

.page-about__btn--secondary {
    background-color: #0A2463; /* Dark blue button */
    color: #FFD700; /* Gold text on dark blue */
    border: 2px solid #FFD700;
}

.page-about__btn--secondary:hover {
    background-color: #1a3c7a; /* Slightly lighter blue on hover */
    transform: translateY(-2px);
}

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

.page-about__btn--tertiary:hover {
    background-color: #FFD700;
    color: #0A2463;
    transform: translateY(-2px);
}

/* Content Sections */
.page-about__content-section {
    padding: 60px 0;
    text-align: center;
}

.page-about__content-section:nth-of-type(odd) {
    background-color: #FFFFFF;
}

.page-about__content-section:nth-of-type(even) {
    background-color: #f0f4f7; /* Light greyish blue for contrast */
}

.page-about__section-title {
    font-size: 2.5em;
    color: #0A2463; /* Dark blue for titles on light background */
    margin-bottom: 40px;
    font-weight: bold;
}

.page-about__story-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: left;
}

@media (min-width: 768px) {
    .page-about__story-grid {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
    .page-about__story-text {
        order: 1; /* Text first on larger screens */
    }
    .page-about__story-image {
        order: 2; /* Image second on larger screens */
    }
}

.page-about__story-text p {
    margin-bottom: 15px;
    font-size: 1.1em;
    color: #555555;
}

.page-about__image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-about__image--full-width {
    margin-top: 40px;
    width: 100%;
    object-fit: cover;
    max-height: 400px;
}

/* 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-item {
    background-color: #FFFFFF;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease;
    border-top: 5px solid #FFD700; /* Gold accent */
}

.page-about__value-item:hover {
    transform: translateY(-10px);
}

.page-about__value-title {
    font-size: 1.5em;
    color: #0A2463; /* Dark blue title on light background */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-about__value-description {
    color: #666666;
    font-size: 1em;
}

/* CTA Section */
.page-about__cta-section {
    position: relative;
    padding: 80px 0;
    text-align: center;
    color: #FFFFFF;
    overflow: hidden;
}

.page-about__cta-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    filter: brightness(0.4); /* Darken background image */
}

.page-about__cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 36, 99, 0.6); /* Dark blue overlay */
    z-index: 1;
}

.page-about__cta-content {
    position: relative;
    z-index: 2;
}

.page-about__cta-title {
    font-size: 3em;
    margin-bottom: 20px;
    color: #FFD700; /* Gold title on dark background */
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-about__cta-description {
    font-size: 1.3em;
    max-width: 900px;
    margin: 0 auto 40px;
    color: #E0E0E0; /* Lighter white for readability on dark background */
}

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

/* Responsible Gaming Section */
.page-about__responsible-gaming {
    background-color: #FFFFFF;
    padding-bottom: 80px;
}

.page-about__responsible-gaming p {
    max-width: 900px;
    margin: 0 auto 20px;
    font-size: 1.1em;
    color: #555555;
}

.page-about__link {
    color: #0A2463; /* Dark blue link on light background */
    text-decoration: underline;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-about__link:hover {
    color: #FFD700; /* Gold on hover */
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-about__hero-title {
        font-size: 3em;
    }
    .page-about__cta-title {
        font-size: 2.5em;
    }
}

@media (max-width: 768px) {
    .page-about__hero-title {
        font-size: 2.5em;
    }
    .page-about__hero-description {
        font-size: 1.1em;
    }
    .page-about__section-title {
        font-size: 2em;
    }
    .page-about__cta-title {
        font-size: 2em;
    }
    .page-about__cta-description {
        font-size: 1.1em;
    }
    .page-about__btn {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-about__values-grid {
        grid-template-columns: 1fr;
    }
    .page-about__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-about__btn {
        width: 80%; /* Make buttons full width on small screens */
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .page-about__hero-title {
        font-size: 2em;
    }
    .page-about__hero-section,
    .page-about__content-section,
    .page-about__cta-section {
        padding: 50px 0;
    }
    .page-about__btn {
        width: 100%;
    }
}