/* About Page Specific Styles */

/* Hero Section */
.about-hero {
    background-color: var(--color-primary);
    color: white;
    padding: var(--space-24) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(91, 143, 185, 0.95) 0%, rgba(30, 41, 59, 0.9) 100%);
    z-index: 1;
}

.about-hero__content {
    position: relative;
    z-index: 2;
}

.about-hero h1 {
    color: white;
    font-size: var(--text-3xl);
    margin-bottom: var(--space-4);
    font-weight: 700;
}

.about-hero__subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--text-xl);
    font-weight: 400;
    margin: 0;
}

/* Section Base */
.about-section {
    padding: var(--space-20) 0;
}

.about-section--highlight {
    background-color: var(--color-bg);
}

.about-section--alt {
    background-color: var(--color-bg-alt);
}

/* Grid Layout */
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-12);
    align-items: center;
}

@media (min-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-16);
    }
}

.about-grid--reverse {
    direction: rtl;
}

.about-grid--reverse > * {
    direction: ltr;
}

/* Content Styling */
.about-content h2 {
    color: var(--color-text);
    margin-bottom: var(--space-6);
    font-size: var(--text-2xl);
}

.about-content p {
    color: var(--color-text-secondary);
    line-height: var(--leading-relaxed);
    margin-bottom: 0;
}

/* Image Styling */
.about-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.about-image:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Text Center Variants */
.about-text-center {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text-center--narrow {
    max-width: 700px;
}

.about-text-center h2 {
    color: var(--color-text);
    margin-bottom: var(--space-6);
    font-size: var(--text-2xl);
}

.about-text-center p {
    color: var(--color-text-secondary);
    line-height: var(--leading-relaxed);
    margin-bottom: 0;
    font-size: var(--text-md);
}

/* CTA Section */
.about-cta {
    background-color: var(--color-primary);
    color: white;
    padding: var(--space-24) 0;
    text-align: center;
    position: relative;
}

.about-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(91, 143, 185, 0.95) 0%, rgba(74, 114, 148, 0.95) 100%);
}

.about-cta__content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.about-cta h2 {
    color: white;
    margin-bottom: var(--space-6);
    font-size: var(--text-2xl);
}

.about-cta p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-8);
    line-height: var(--leading-relaxed);
    font-size: var(--text-md);
}

.about-cta__button {
    background-color: white;
    color: var(--color-primary)!important;
    border-color: white;
    font-size: var(--text-base);
    padding: var(--space-4) var(--space-8);
}

.about-cta__button:hover {
    background-color: var(--color-bg-alt);
    border-color: var(--color-bg-alt);
    color: var(--color-primary-hover);
}

/* Responsive Adjustments */
@media (max-width: 767px) {
    .about-hero {
        padding: var(--space-16) 0;
    }
    
    .about-hero h1 {
        font-size: var(--text-2xl);
    }
    
    .about-hero__subtitle {
        font-size: var(--text-lg);
    }
    
    .about-section {
        padding: var(--space-12) 0;
    }
    
    .about-grid {
        gap: var(--space-8);
    }
    
    .about-content h2,
    .about-text-center h2 {
        font-size: var(--text-xl);
    }
    
    .about-cta {
        padding: var(--space-16) var(--space-4);
    }
}

/* Focus Visible Enhancements */
.about-image:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 4px;
}

/* Print Styles */
@media print {
    .about-hero,
    .about-cta {
        background: white;
        color: black;
        padding: var(--space-8) 0;
    }
    
    .about-hero h1,
    .about-cta h2 {
        color: black;
    }
    
    .about-hero__subtitle,
    .about-cta p {
        color: #333;
    }
    
    .about-image {
        box-shadow: none;
        border: 1px solid var(--color-border);
    }
}