/* About Us Page Styles */

/* Page Header */
.top-bar {
    position: relative;
    overflow: hidden;
}

.top-bar img {
    width: 100%;
    height: auto;
    max-height: 450px;
    display: block;
    object-fit: cover;
}

.text-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--color-text-inverse);
    font-size: var(--font-size-5xl);
    z-index: 1;
    text-align: center;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.centered-text {
    margin: 0;
}

/* Content Layout */
.text-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    max-width: var(--container-max);
    margin: 0 auto;
    padding: var(--space-2xl) var(--container-padding);
}

/* Story Section */
.story {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.story img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    width: 100%;
    height: auto;
}

/* Vision Section */
.vision {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.vision img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    width: 100%;
    height: auto;
}

/* About Text Box */
.about-text {
    padding: var(--space-xl);
    background: linear-gradient(135deg, var(--color-accent-light) 0%, var(--color-surface-alt) 100%);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.about-text h1 {
    font-size: var(--font-size-2xl);
    color: var(--color-primary);
    margin-bottom: var(--space-md);
}

.about-text p {
    color: var(--color-text);
    line-height: 1.8;
    margin: 0;
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    .text-container {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
}

@media screen and (max-width: 768px) {
    .text-overlay {
        font-size: var(--font-size-3xl);
    }

    .top-bar {
        height: 40vh;
        min-height: 250px;
    }

    .top-bar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .text-container {
        padding: var(--space-lg) var(--space-md);
    }

    .story,
    .vision {
        gap: var(--space-lg);
    }

    .about-text {
        padding: var(--space-lg);
    }

    .about-text h1 {
        font-size: var(--font-size-xl);
    }

    .about-text p {
        font-size: var(--font-size-sm);
        line-height: 1.6;
    }
}

@media screen and (max-width: 480px) {
    .text-overlay {
        font-size: var(--font-size-2xl);
    }

    .top-bar {
        height: 35vh;
        min-height: 200px;
    }
}
