/* style/about.css */

/* Base styles for the About Us page */
.page-about {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light background */
    background: var(--background-color, #ffffff); /* Inherit from shared or default white */
}

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

.page-about__section {
    padding: 60px 0;
    text-align: center;
}

.page-about__section-title {
    font-size: 36px;
    color: #26A9E0; /* Primary color for titles */
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-about__section-description {
    font-size: 18px;
    color: #555555;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section */
.page-about__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
    background: linear-gradient(135deg, #e0f2f7, #ffffff); /* Light gradient background */
}

.page-about__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-about__hero-image {
    width: 100%;
    margin-bottom: 30px;
}

.page-about__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.page-about__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.page-about__main-title {
    font-size: 48px;
    color: #26A9E0; /* Primary color for main title */
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.1);
}

.page-about__hero-description {
    font-size: 20px;
    color: #555555;
    margin-bottom: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-about__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: #EA7C07; /* Login color for CTA button */
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-about__cta-button:hover {
    background: #d46b06;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* General Content Grid */
.page-about__content-grid {
    display: flex;
    align-items: center;
    gap: 40px;
    text-align: left;
    margin-top: 40px;
}

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

.page-about__text-block {
    flex: 1;
    padding: 20px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-about__text-block h3 {
    color: #26A9E0;
    font-size: 24px;
    margin-bottom: 15px;
}

.page-about__text-block p {
    margin-bottom: 15px;
    color: #444444;
}

.page-about__text-block p:last-child {
    margin-bottom: 0;
}

.page-about__image-block {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

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

.page-about__game-card {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding-bottom: 20px; /* Add padding to bottom for text */
}

.page-about__game-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.page-about__game-card img {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
    border-bottom: 1px solid #eee;
}

.page-about__game-title {
    font-size: 22px;
    color: #26A9E0;
    margin: 20px 15px 10px;
    font-weight: bold;
}

.page-about__game-title a {
    color: #26A9E0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-about__game-title a:hover {
    color: #1a7bb2;
    text-decoration: underline;
}

.page-about__game-card p {
    font-size: 15px;
    color: #666666;
    padding: 0 15px;
    margin-bottom: 15px;
}

/* Promotions Section */
.page-about__section--promotions {
    background: #26A9E0; /* Primary brand color for dark section */
    color: #ffffff; /* White text for contrast */
}

.page-about__section--promotions .page-about__section-title,
.page-about__section--promotions .page-about__section-description {
    color: #ffffff;
}