/* style/about.css */

/* Base styles for the About Us page content */
.page-about {
    color: #ffffff; /* Light text for dark body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

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

.page-about__section-title {
    font-size: 2.8em;
    color: #FFD700; /* Auxiliary color for emphasis */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-about__button {
    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;
    text-align: center;
    cursor: pointer;
    min-width: 200px; /* Ensure buttons are large enough */
}

.page-about__button--primary {
    background-color: #FFD700; /* Auxiliary color */
    color: #0A1931; /* Primary color for text */
    border: 2px solid #FFD700;
}

.page-about__button--primary:hover {
    background-color: #e6c200;
    border-color: #e6c200;
}

.page-about__button--secondary {
    background-color: transparent;
    color: #FFD700; /* Auxiliary color */
    border: 2px solid #FFD700;
}

.page-about__button--secondary:hover {
    background-color: #FFD700;
    color: #0A1931;
}

/* Hero Section */
.page-about__hero-section {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    text-align: center;
    padding: 0; /* padding-top handled by .page-about */
}

.page-about__hero-container {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 600px; /* 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;
}

.page-about__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 60px 20px;
    background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for text readability */
    border-radius: 10px;
    margin: 20px; /* Add some margin for smaller screens */
}

.page-about__hero-title {
    font-size: 3.5em;
    color: #FFD700;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: bold;
}

.page-about__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-about__hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

/* Story Section */
.page-about__story-section {
    background-color: #0A1931; /* Primary color background */
    padding: 80px 0;
}

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

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

.page-about__story-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    min-width: 200px; /* Enforce min image size */
    min-height: 200px;
}

.page-about__story-cta {
    margin-top: 40px;
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

/* Mission & Values Section */
.page-about__mission-values-section {
    background-color: #1a2a44; /* Body background color for consistency */
    padding: 80px 0;
}

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

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

.page-about__value-card:hover {
    transform: translateY(-5px);
}

.page-about__value-icon {
    object-fit: contain;
    margin: 0 auto 20px auto;
    min-width: 200px; /* Enforce min image size for content images */
    min-height: 150px;
    width: 100%; /* Make it responsive within its container */
    max-width: 250px; /* Max size for value icons */
    height: auto;
}

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

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

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

.page-about__responsible-gaming-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.page-about__responsible-gaming-text p {
    margin-bottom: 20px;
    font-size: 1.1em;
    color: #e0e0e0;
}

.page-about__responsible-gaming-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    min-width: 200px; /* Enforce min image size */
    min-height: 200px;
}

/* CTA Section */
.page-about__cta-section {
    background-color: #1a2a44;
    padding: 80px 0;
    text-align: center;
}

.page-about__cta-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    color: #f0f0f0;
}

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

/* Responsive Design */
@media (max-width: 992px) {
    .page-about__hero-title {
        font-size: 2.8em;
    }
    .page-about__story-grid,
    .page-about__responsible-gaming-content {
        grid-template-columns: 1fr;
    }
    .page-about__story-image,
    .page-about__responsible-gaming-image {
        order: -1; /* Image appears above text on mobile */
    }
}

@media (max-width: 768px) {
    .page-about__hero-title {
        font-size: 2.2em;
    }
    .page-about__hero-description {
        font-size: 1.1em;
    }
    .page-about__section-title {
        font-size: 2em;
    }
    .page-about__button {
        width: 100%;
        min-width: unset;
    }
    .page-about__hero-actions,
    .page-about__cta-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-about__content-area {
        padding: 20px 15px;
    }
    /* Ensure content images are responsive and do not overflow */
    .page-about img {
        max-width: 100%;
        height: auto;
    }
    .page-about__value-icon {
        width: 100%; /* Ensure it's responsive */
        height: auto;
        min-width: 200px; /* Still enforce min size for content images */
        min-height: 150px;
    }
    /* Specific image rules for content area to prevent overflow */
    .page-about__story-image img,
    .page-about__responsible-gaming-image img,
    .page-about__value-card img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-about__hero-title {
        font-size: 1.8em;
    }
    .page-about__section-title {
        font-size: 1.8em;
    }
    .page-about__hero-content {
        padding: 30px 15px;
    }
}