/* About Page Specific Styles */

/* Story Section */
.story {
    background: var(--background-light);
}

.story-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.story-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-color);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: var(--space-12);
}

.timeline-item:nth-child(odd) .timeline-content {
    padding-right: calc(50% + var(--space-8));
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
    padding-left: calc(50% + var(--space-8));
}

.timeline-marker {
    position: absolute;
    left: 50%;
    top: 0;
    width: 16px;
    height: 16px;
    background: var(--primary-color);
    border: 4px solid white;
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: var(--shadow-md);
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: var(--space-3);
}

/* Team Profiles */
.team-profiles {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-12);
}

.profile-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--space-8);
    background: white;
    padding: var(--space-8);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.profile-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.profile-initial {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: white;
}

.profile-role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: var(--space-4);
}

.profile-bio {
    margin-bottom: var(--space-6);
    line-height: 1.7;
}

.profile-skills h4 {
    color: var(--text-primary);
    margin-bottom: var(--space-3);
    font-size: var(--font-size-base);
}

.profile-skills ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-2);
}

.profile-skills li {
    padding: var(--space-2) var(--space-3);
    background: var(--background-light);
    border-radius: var(--radius-md);
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

/* Values Section */
.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-8);
}

.value-item {
    text-align: center;
    padding: var(--space-8);
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.value-icon {
    font-size: var(--font-size-4xl);
    margin-bottom: var(--space-4);
}

/* Mission & Vision */
.mission-vision {
    background: var(--background-light);
}

.mv-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-12);
}

.mv-item {
    background: white;
    padding: var(--space-8);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.mv-item h2 {
    color: var(--primary-color);
    margin-bottom: var(--space-6);
}

/* Responsive Design */
@media (max-width: 768px) {
    .story-timeline::before {
        left: 20px;
    }

    .timeline-marker {
        left: 20px;
    }

    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        padding-left: var(--space-12);
        padding-right: 0;
        text-align: left;
    }

    .profile-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .profile-skills ul {
        grid-template-columns: 1fr;
    }

    .values-grid,
    .mv-grid {
        grid-template-columns: 1fr;
    }
}

/* Dark Mode Styles */
[data-theme="dark"] .story {
    background: var(--background);
}

[data-theme="dark"] .story-content {
    background: var(--background-light);
    border: 1px solid var(--border-color);
    padding: var(--space-8);
    border-radius: var(--radius-xl);
}

[data-theme="dark"] .timeline-item {
    color: var(--text-primary);
}

[data-theme="dark"] .timeline-content {
    background: var(--background-light);
    border: 1px solid var(--border-color);
}

[data-theme="dark"] .timeline-content h3 {
    color: var(--text-primary);
}

[data-theme="dark"] .timeline-content p {
    color: var(--text-secondary);
}

[data-theme="dark"] .timeline-marker {
    border-color: var(--background-light);
}

[data-theme="dark"] .profile-card {
    background: var(--background-light);
    border: 1px solid var(--border-color);
}

[data-theme="dark"] .profile-info h3 {
    color: var(--text-primary);
}

[data-theme="dark"] .profile-role {
    color: var(--primary-color);
}

[data-theme="dark"] .profile-bio {
    color: var(--text-secondary);
}

[data-theme="dark"] .profile-skills h4 {
    color: var(--text-primary);
}

[data-theme="dark"] .profile-skills li {
    background: var(--background-primary);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

[data-theme="dark"] .values {
    background: var(--background);
}

[data-theme="dark"] .value-item {
    background: var(--background-light);
    border: 1px solid var(--border-color);
}

[data-theme="dark"] .value-item h3 {
    color: var(--text-primary);
}

[data-theme="dark"] .value-item p {
    color: var(--text-secondary);
}

[data-theme="dark"] .value-icon {
    color: var(--primary-color);
}

[data-theme="dark"] .mission-vision {
    background: var(--background);
}

[data-theme="dark"] .mv-item {
    background: var(--background-light);
    border: 1px solid var(--border-color);
}

[data-theme="dark"] .mv-item h2 {
    color: var(--primary-color);
}

[data-theme="dark"] .mv-item p {
    color: var(--text-secondary);
}
