/* style/about.css */

/* Base styles for the About Us page */
.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); /* Fixed header offset for desktop and mobile */
}

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

.page-about__section-title {
    font-size: 2.5em;
    color: #FFD700; /* Gold accent color for titles */
    text-align: center;
    margin-bottom: 40px;
    margin-top: 60px;
    font-weight: bold;
}

.page-about__subsection-title {
    font-size: 1.8em;
    color: #FFD700;
    margin-top: 30px;
    margin-bottom: 20px;
}

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

.page-about__link {
    color: #FFD700;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-about__link:hover {
    color: #e6c200;
    text-decoration: underline;
}

/* Buttons */
.page-about__button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    text-align: center;
    cursor: pointer;
    border: none;
}

.page-about__button--primary {
    background-color: #FFD700; /* Gold */
    color: #1A202C; /* Dark text for gold background */
}

.page-about__button--primary:hover {
    background-color: #e6c200; /* Darker gold */
    transform: translateY(-2px);
}

.page-about__button--secondary {
    background-color: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
    margin-left: 15px;
}

.page-about__button--secondary:hover {
    background-color: #FFD700;
    color: #1A202C;
    transform: translateY(-2px);
}

/* Hero Section */
.page-about__hero-section {
    background-color: #1A202C; /* Dark background for hero */
    padding: 80px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    position: relative;
    overflow: hidden; /* Ensure image doesn't overflow */
}

.page-about__hero-content {
    max-width: 900px;
    z-index: 1;
    position: relative;
}

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

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

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

.page-about__hero-image-wrapper {
    width: 100%;
    max-width: 1200px;
    margin-top: 40px;
    z-index: 0;
}

.page-about__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Story Section */
.page-about__story-section {
    padding: 60px 0;
    background-color: #0F1217; /* Matches body background */
}

.page-about__image-and-text-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
}

.page-about__image-and-text-grid .page-about__image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    min-width: 200px; /* Ensure images are not too small */
    min-height: 200px;
}

.page-about__list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.page-about__list-item {
    font-size: 1.1em;
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
    color: #f0f0f0;
}

.page-about__list-item::before {
    content: '★'; /* Star icon */
    color: #FFD700;
    position: absolute;
    left: 0;
    font-size: 1.2em;
    line-height: 1;
}

/* Mission Section */
.page-about__mission-section {
    padding: 60px 0;
    background-color: #1A202C; /* Primary dark color */
}

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

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

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

.page-about__value-icon {
    width: 100%; /* Ensure icon takes full width of its container */
    max-width: 250px; /* Max width for consistency */
    height: auto;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    min-width: 200px; /* Ensure images are not too small */
    min-height: 150px; /* Adjust min-height to allow for aspect ratio */
}

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

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

/* Why Choose Section */
.page-about__why-choose-section {
    padding: 60px 0;
    background-color: #0F1217; /* Matches body background */
}

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

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

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

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

.page-about__feature-description {
    color: #cccccc;
    margin-bottom: 20px;
}

.page-about__cta-banner {
    background-color: #1A202C;
    border-radius: 10px;
    padding: 40px;
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-about__banner-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    min-width: 200px; /* Ensure images are not too small */
    min-height: 100px; /* Adjust min-height to allow for aspect ratio */
}

.page-about__banner-content {
    max-width: 700px;
}

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

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

/* Responsible Gaming Section */
.page-about__responsible-gaming-section {
    padding: 60px 0;
    background-color: #1A202C;
    text-align: center;
}

/* Future Vision Section */
.page-about__future-vision-section {
    padding: 60px 0;
    background-color: #0F1217;
    text-align: center;
}

.page-about__future-vision-section .page-about__image {
    width: 100%;
    max-width: 900px;
    height: auto;
    margin-top: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    min-width: 200px; /* Ensure images are not too small */
    min-height: 112px; /* Adjust min-height to allow for aspect ratio */
}

/* Final CTA Section */
.page-about__final-cta-section {
    padding: 60px 0;
    background-color: #1A202C;
    text-align: center;
}

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

/* Simple scroll animation for sections */
.page-about__section--hidden {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}