/* style/about.css */
.page-about {
    color: #ffffff; /* Light text for dark body background */
    background-color: transparent; /* Body background from shared.css */
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.page-about__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px; /* Minimum height for hero section */
}

.page-about__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    filter: brightness(0.6); /* Slightly darken image for text readability */
}

.page-about__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 2;
    color: #ffffff;
}

.page-about__hero-content {
    position: relative;
    z-index: 2;
    padding: 20px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent background for text readability */
}

.page-about__hero-title {
    font-size: 3em;
    margin-bottom: 20px;
    color: #FCBC45; /* Login button color for highlight */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-about__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 800px;
    line-height: 1.5;
}

.page-about__hero-button {
    display: inline-block;
    background-color: #FCBC45; /* Login button color */
    color: #000000; /* Dark text for light button */
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
}

.page-about__hero-button:hover {
    background-color: #e0a53b;
}

.page-about__story-section, 
.page-about__mission-section, 
.page-about__values-section, 
.page-about__security-section, 
.page-about__why-choose-section, 
.page-about__responsible-gaming-section, 
.page-about__cta-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.page-about__story-section, .page-about__values-section, .page-about__why-choose-section, .page-about__responsible-gaming-section {
    background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for sections */
    border-radius: 10px;
    margin-bottom: 40px;
}

.page-about__story-container, 
.page-about__mission-container, 
.page-about__values-container, 
.page-about__security-container, 
.page-about__why-choose-container, 
.page-about__responsible-gaming-container, 
.page-about__cta-container {
    max-width: 1000px;
    margin: 0 auto;
}

.page-about__story-title, 
.page-about__mission-title, 
.page-about__values-title, 
.page-about__security-title, 
.page-about__why-choose-title, 
.page-about__responsible-gaming-title, 
.page-about__cta-title {
    font-size: 2.5em;
    margin-bottom: 30px;
    color: #FCBC45;
}

.page-about__story-paragraph, 
.page-about__mission-paragraph, 
.page-about__security-paragraph, 
.page-about__why-choose-description, 
.page-about__responsible-gaming-paragraph, 
.page-about__cta-description {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #f0f0f0;
}

.page-about__story-image, 
.page-about__mission-image, 
.page-about__security-image, 
.page-about__responsible-gaming-image {
    width: 100%;
    height: auto;
    max-width: 600px; /* Constrain image width */
    border-radius: 10px;
    margin: 30px auto;
    display: block;
    object-fit: cover;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-about__mission-container, .page-about__security-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    text-align: left;
}

.page-about__mission-content, .page-about__security-content {
    flex: 1;
    min-width: 300px;
}

.page-about__mission-image, .page-about__security-image {
    flex: 1;
    max-width: 45%; /* Adjust width for side-by-side layout */
    margin: 0;
}

.page-about__mission-button, .page-about__security-button, .page-about__cta-button {
    display: inline-block;
    background-color: #FCBC45;
    color: #000000;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 20px;
    transition: background-color 0.3s ease;
}

.page-about__mission-button:hover, .page-about__security-button:hover, .page-about__cta-button:hover {
    background-color: #e0a53b;
}

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

.page-about__value-card, .page-about__why-choose-card {
    background-color: rgba(255, 255, 255, 0.1); /* Lighter card background */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__value-card:hover, .page-about__why-choose-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-about__value-icon {
    width: 200px;
    height: 200px;
    margin-bottom: 20px;
    object-fit: contain;
}

.page-about__value-heading, .page-about__why-choose-heading {
    font-size: 1.5em;
    color: #FCBC45;
    margin-bottom: 15px;
}

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

.page-about__responsible-gaming-link {
    display: inline-block;
    color: #FCBC45;
    text-decoration: none;
    font-weight: bold;
    margin-top: 20px;
    font-size: 1.1em;
    transition: color 0.3s ease;
}

.page-about__responsible-gaming-link:hover {
    color: #e0a53b;
}

.page-about__cta-section {
    background-color: #0d0d0d; /* Slightly different dark background */
    padding: 80px 20px;
    border-radius: 10px;
    margin-bottom: 40px;
}

.page-about__cta-title {
    color: #FCBC45;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .page-about__hero-title {
        font-size: 2.5em;
    }
    .page-about__story-title, 
    .page-about__mission-title, 
    .page-about__values-title, 
    .page-about__security-title, 
    .page-about__why-choose-title, 
    .page-about__responsible-gaming-title, 
    .page-about__cta-title {
        font-size: 2em;
    }
    .page-about__mission-container, .page-about__security-container {
        flex-direction: column;
        text-align: center;
    }
    .page-about__mission-image, .page-about__security-image {
        max-width: 100%;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .page-about {
        padding-top: var(--header-offset, 80px); /* Adjust for mobile header offset */
    }
    .page-about__hero-title {
        font-size: 2em;
    }
    .page-about__hero-description {
        font-size: 1em;
    }
    .page-about__hero-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-about__story-title, 
    .page-about__mission-title, 
    .page-about__values-title, 
    .page-about__security-title, 
    .page-about__why-choose-title, 
    .page-about__responsible-gaming-title, 
    .page-about__cta-title {
        font-size: 1.8em;
    }
    .page-about__story-paragraph, 
    .page-about__mission-paragraph, 
.page-about__security-paragraph, 
    .page-about__why-choose-description, 
    .page-about__responsible-gaming-paragraph, 
    .page-about__cta-description {
        font-size: 0.95em;
    }
    .page-about__values-grid, .page-about__why-choose-grid {
        grid-template-columns: 1fr;
    }
    .page-about__value-icon {
        width: 200px;
        height: 200px;
    }
    /* Ensure content area images are responsive and do not overflow */
    .page-about img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-about__hero-title {
        font-size: 1.8em;
    }
    .page-about__story-title, 
    .page-about__mission-title, 
    .page-about__values-title, 
    .page-about__security-title, 
    .page-about__why-choose-title, 
    .page-about__responsible-gaming-title, 
    .page-about__cta-title {
        font-size: 1.5em;
    }
    .page-about__story-section, 
    .page-about__mission-section, 
    .page-about__values-section, 
    .page-about__security-section, 
    .page-about__why-choose-section, 
    .page-about__responsible-gaming-section, 
    .page-about__cta-section {
        padding: 40px 15px;
    }
}