/* style/about.css */

/* Variables for consistent styling */
:root {
    --page-about-primary-color: #FFD700; /* Bright Gold */
    --page-about-secondary-color: #1E90FF; /* Deep Sky Blue */
    --page-about-dark-background: #1a1a1a; /* Very Dark Grey for background */
    --page-about-light-text: #f0f0f0; /* Light Grey for text on dark background */
    --page-about-dark-text: #333333; /* Dark Grey for text on bright background */
    --page-about-accent-color: #00CED1; /* Dark Turquoise, for subtle highlights if needed */
    --page-about-border-radius: 8px;
    --page-about-spacing-unit: 20px;
}

.page-about {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--page-about-light-text); /* Default text color on dark backgrounds */
    background-color: var(--page-about-dark-background); /* Default page background */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.page-about a {
    color: var(--page-about-secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-about a:hover {
    color: var(--page-about-primary-color);
    text-decoration: underline;
}

/* --- Utility Classes --- */
.page-about__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--page-about-spacing-unit);
}

.page-about__section {
    padding: calc(2 * var(--page-about-spacing-unit)) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-about__section:last-of-type {
    border-bottom: none;
}

.page-about__section-title {
    font-size: 2.5em;
    color: var(--page-about-primary-color);
    text-align: center;
    margin-bottom: calc(2 * var(--page-about-spacing-unit));
    position: relative;
    padding-bottom: var(--page-about-spacing-unit);
}

.page-about__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--page-about-secondary-color);
    border-radius: 2px;
}

.page-about__sub-title {
    font-size: 1.8em;
    color: var(--page-about-secondary-color);
    margin-top: calc(1.5 * var(--page-about-spacing-unit));
    margin-bottom: var(--page-about-spacing-unit);
}

.page-about__card-title {
    font-size: 1.5em;
    color: var(--page-about-primary-color);
    margin-top: var(--page-about-spacing-unit);
    margin-bottom: calc(0.5 * var(--page-about-spacing-unit));
}

.page-about__list-title {
    font-size: 1.2em;
    color: var(--page-about-primary-color);
    margin-bottom: calc(0.5 * var(--page-about-spacing-unit));
}

.page-about p {
    margin-bottom: var(--page-about-spacing-unit);
}

.page-about ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: var(--page-about-spacing-unit);
}

.page-about ul li {
    position: relative;
    padding-left: calc(1.5 * var(--page-about-spacing-unit));
    margin-bottom: calc(0.5 * var(--page-about-spacing-unit));
}

.page-about ul li::before {
    content: '★'; /* Star icon, could be a custom SVG for better styling */
    color: var(--page-about-primary-color);
    position: absolute;
    left: 0;
    top: 0;
    font-size: 0.9em;
}

/* --- Hero Section --- */
.page-about__hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1E90FF, #00CED1); /* Adjusted for better contrast with text */
    color: var(--page-about-light-text);
    padding: calc(4 * var(--page-about-spacing-unit)) var(--page-about-spacing-unit);
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 400px; /* Ensure hero section has a decent height */
}

.page-about__hero-content {
    max-width: 800px;
    z-index: 1;
    position: relative; /* Bring content to front */
}

.page-about__hero-title {
    font-size: 3.5em;
    margin-bottom: var(--page-about-spacing-unit);
    color: var(--page-about-primary-color);
    line-height: 1.2;
}

.page-about__hero-description {
    font-size: 1.3em;
    margin-bottom: calc(2 * var(--page-about-spacing-unit));
    opacity: 0.9;
}

.page-about__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.page-about__hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2; /* Subtle background image */
}

/* --- CTA Button --- */
.page-about__cta-button {
    display: inline-block;
    background-color: var(--page-about-primary-color);
    color: var(--page-about-dark-text); /* Dark text on bright button */
    padding: calc(0.8 * var(--page-about-spacing-unit)) calc(2 * var(--page-about-spacing-unit));
    border-radius: var(--page-about-border-radius);
    font-size: 1.1em;
    font-weight: bold;
    text-transform: uppercase;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-about__cta-button:hover {
    background-color: #FFC107; /* Slightly darker gold on hover */
    transform: translateY(-3px);
    text-decoration: none;
}

.page-about__cta-button--small {
    font-size: 0.9em;
    padding: calc(0.6 * var(--page-about-spacing-unit)) calc(1.5 * var(--page-about-spacing-unit));
}

/* --- Content Grids & Flex --- */
.page-about__content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: calc(2 * var(--page-about-spacing-unit));
}

@media (min-width: 768px) {
    .page-about__content-grid {
        grid-template-columns: 1fr 1fr;
    }
    .page-about__content-grid--reverse {
        grid-template-columns: 1fr 1fr;
        grid-template-areas: "image text"; /* Reverse order for larger screens */
    }
    .page-about__content-grid--reverse .page-about__text-block {
        grid-area: text;
    }
    .page-about__content-grid--reverse .page-about__image-block {
        grid-area: image;
    }
}

.page-about__content-flex {
    display: flex;
    flex-direction: column;
    gap: calc(2 * var(--page-about-spacing-unit));
}

@media (min-width: 768px) {
    .page-about__content-flex {
        flex-direction: row;
        align-items: flex-start;
    }
    .page-about__content-flex > div {
        flex: 1;
    }
}

.page-about__values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--page-about-spacing-unit);
    margin-top: calc(2 * var(--page-about-spacing-unit));
}

.page-about__value-card {
    background-color: #2a2a2a; /* Slightly lighter dark background for cards */
    padding: calc(1.5 * var(--page-about-spacing-unit));
    border-radius: var(--page-about-border-radius);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.page-about__value-card img {
    max-width: 100%;
    height: auto;
    border-radius: var(--page-about-border-radius);
    margin-bottom: var(--page-about-spacing-unit);
    min-width: 200px; /* Ensure minimum size */
    min-height: 200px; /* Ensure minimum size */
    object-fit: cover;
}

.page-about__image-block img {
    max-width: 100%;
    height: auto;
    border-radius: var(--page-about-border-radius);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    min-width: 200px; /* Ensure minimum size */
    min-height: 200px; /* Ensure minimum size */
    object-fit: cover;
}

.page-about__feature-list {
    list-style: none;
    padding-left: 0;
}

.page-about__feature-list li {
    background-color: #2a2a2a;
    padding: var(--page-about-spacing-unit);
    border-radius: var(--page-about-border-radius);
    margin-bottom: var(--page-about-spacing-unit);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.page-about__feature-list li::before {
    content: '✓';
    color: var(--page-about-secondary-color);
    font-weight: bold;
    margin-right: calc(0.5 * var(--page-about-spacing-unit));
    font-size: 1.2em;
}

/* Contact Section */
.page-about__contact-info {
    background-color: #2a2a2a;
    padding: calc(1.5 * var(--page-about-spacing-unit));
    border-radius: var(--page-about-border-radius);
    margin-top: calc(2 * var(--page-about-spacing-unit));
    text-align: center;
}

.page-about__contact-info p {
    margin-bottom: calc(0.5 * var(--page-about-spacing-unit));
}

.page-about__contact-info a {
    font-weight: bold;
}

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

.page-about__section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .page-about__hero-title {
        font-size: 2.8em;
    }
    .page-about__section-title {
        font-size: 2em;
    }
    .page-about__sub-title {
        font-size: 1.5em;
    }
}

@media (max-width: 767px) {
    .page-about__hero {
        padding: calc(2 * var(--page-about-spacing-unit));
    }
    .page-about__hero-title {
        font-size: 2em;
    }
    .page-about__hero-description {
        font-size: 1em;
    }
    .page-about__section-title {
        font-size: 1.8em;
    }
    .page-about__content-flex {
        flex-direction: column;
    }
    .page-about__content-grid--reverse {
        grid-template-columns: 1fr;
        grid-template-areas: none; /* Reset for small screens */
    }
}

@media (max-width: 480px) {
    .page-about__hero-title {
        font-size: 1.5em;
    }
    .page-about__section-title {
        font-size: 1.5em;
    }
    .page-about__cta-button {
        font-size: 0.9em;
        padding: calc(0.6 * var(--page-about-spacing-unit)) calc(1.2 * var(--page-about-spacing-unit));
    }
}