/* About Page Styles - Following UI/UX Style Guide */
/* ================================================ */

/* Note: Global CSS variables are available through main.css import chain */

/* Hero Section */
.about-hero {
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    padding: var(--spacing-xxl) 0;
    margin-bottom: var(--spacing-xxl);
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="0.5" fill="%23000" opacity="0.02"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin-bottom: var(--spacing-lg);
    line-height: 1.2;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.hero-subtitle {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    margin-bottom: 0;
    line-height: 1.5;
    font-weight: var(--font-weight-normal);
}

/* Main Content Area */
.about-main {
    padding: 0 var(--spacing-lg) var(--spacing-xxl);
}

/* Content Chunks (Ma - Spacious Design) */
.content-chunk {
    margin-bottom: var(--spacing-xxl);
    padding: var(--spacing-xxl);
    background-color: var(--bg-secondary);
    border-radius: var(--border-radius-xl);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-subtle);
    transition: all 0.3s ease;
    position: relative;
}

.content-chunk:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

/* Section Headers */
.section-header {
    display: flex;
    align-items: center;
    margin-bottom: var(--spacing-xl);
    padding-bottom: var(--spacing-lg);
    border-bottom: 2px solid var(--border-color);
}

.section-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--cta-primary), var(--cta-primary-hover));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: var(--spacing-lg);
    box-shadow: var(--shadow-md);
    flex-shrink: 0;
}

.section-icon i {
    font-size: 1.5rem;
    color: white;
}

.section-title {
    font-size: 2rem;
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    margin: 0;
    line-height: 1.3;
}

/* Content Styling */
.section-content {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-primary);
}

.lead-text {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-medium);
    color: var(--text-primary);
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-lg);
}

.feature-item {
    display: flex;
    align-items: flex-start;
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background-color: var(--bg-secondary);
    box-shadow: var(--shadow-subtle);
    transform: translateY(-1px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--cta-primary), var(--cta-primary-hover));
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: var(--spacing-md);
    flex-shrink: 0;
    box-shadow: var(--shadow-subtle);
}

.feature-icon i {
    font-size: 1.25rem;
    color: white;
}

.feature-content {
    flex: 1;
}

.feature-title {
    font-size: 1.125rem;
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
    line-height: 1.3;
}

.feature-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

/* Technology Highlights */
.tech-highlights {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.tech-item {
    display: flex;
    align-items: center;
    padding: var(--spacing-md);
    background-color: var(--bg-primary);
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
}

.tech-item:hover {
    background-color: var(--bg-secondary);
    box-shadow: var(--shadow-subtle);
}

.tech-item i {
    font-size: 1.25rem;
    color: var(--cta-primary);
    margin-right: var(--spacing-md);
    width: 24px;
    text-align: center;
}

.tech-item span {
    font-weight: var(--font-weight-medium);
    color: var(--text-primary);
}

/* Team Values */
.team-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

.value-item {
    text-align: center;
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.value-item:hover {
    background-color: var(--bg-secondary);
    box-shadow: var(--shadow-subtle);
    transform: translateY(-2px);
}

.value-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--cta-primary), var(--cta-primary-hover));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-lg);
    box-shadow: var(--shadow-md);
}

.value-icon i {
    font-size: 1.75rem;
    color: white;
}

.value-content h4 {
    font-size: 1.25rem;
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.value-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

/* Contact Section */
.contact-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    justify-content: center;
    margin-top: var(--spacing-xl);
}

.contact-btn {
    padding: var(--spacing-md) var(--spacing-xl);
    font-weight: var(--font-weight-medium);
    border-radius: var(--border-radius-md);
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-subtle);
    min-width: 160px;
}

.contact-btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-hero {
        padding: var(--spacing-xl) 0;
        margin-bottom: var(--spacing-xl);
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .about-main {
        padding: 0 var(--spacing-md) var(--spacing-xl);
    }
    
    .content-chunk {
        padding: var(--spacing-xl) var(--spacing-lg);
        margin-bottom: var(--spacing-xl);
    }
    
    .section-header {
        flex-direction: column;
        text-align: center;
        margin-bottom: var(--spacing-lg);
    }
    
    .section-icon {
        margin-right: 0;
        margin-bottom: var(--spacing-md);
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .feature-item {
        padding: var(--spacing-md);
    }
    
    .tech-highlights {
        margin-top: var(--spacing-md);
    }
    
    .team-values {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .value-item {
        padding: var(--spacing-lg);
    }
    
    .contact-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-btn {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 0 var(--spacing-md);
    }
    
    .section-header {
        margin-bottom: var(--spacing-md);
        padding-bottom: var(--spacing-md);
    }
    
    .section-icon {
        width: 48px;
        height: 48px;
    }
    
    .section-icon i {
        font-size: 1.25rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .feature-icon {
        width: 40px;
        height: 40px;
    }
    
    .feature-icon i {
        font-size: 1rem;
    }
    
    .value-icon {
        width: 56px;
        height: 56px;
    }
    
    .value-icon i {
        font-size: 1.5rem;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .content-chunk {
        border: 2px solid var(--border-color);
    }
    
    .feature-item,
    .tech-item,
    .value-item {
        border: 2px solid var(--border-color);
    }
    
    .section-icon,
    .feature-icon,
    .value-icon {
        border: 2px solid var(--cta-primary-hover);
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .content-chunk,
    .feature-item,
    .tech-item,
    .value-item,
    .contact-btn {
        transition: none;
    }
    
    .content-chunk:hover,
    .feature-item:hover,
    .value-item:hover,
    .contact-btn:hover {
        transform: none;
    }
}

/* Print styles */
@media print {
    .about-hero {
        background: none !important;
        padding: var(--spacing-lg) 0;
    }
    
    .content-chunk {
        box-shadow: none;
        border: 1px solid #ccc;
        break-inside: avoid;
        margin-bottom: var(--spacing-lg);
    }
    
    .section-icon,
    .feature-icon,
    .value-icon {
        background: #f5f5f5 !important;
        box-shadow: none;
    }
    
    .section-icon i,
    .feature-icon i,
    .value-icon i {
        color: #333 !important;
    }
}