/**
 * Makarnam Penne - Hikaye Sayfası Stilleri
 */

/* Timeline */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--color-gray-200);
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: 4rem;
    position: relative;
    margin-bottom: 3rem;
    width: 50%;
}

.timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-left: 4rem;
    padding-right: 0;
    margin-left: 50%;
}

.timeline-content {
    max-width: 400px;
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-card);
}

.timeline-year {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: var(--color-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    z-index: 1;
}

/* Team Section enhanced */
.team-member {
    text-align: center;
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-8px);
}

.team-member-img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.5rem;
    border: 4px solid var(--color-secondary);
    transition: border-color 0.3s ease;
}

.team-member:hover .team-member-img {
    border-color: var(--color-primary);
}

.team-member h3 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.team-member .role {
    color: var(--color-secondary);
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.team-member .bio {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Quote section */
.quote-section {
    background: var(--color-primary);
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.quote-section::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 2rem;
    font-size: 15rem;
    font-family: var(--font-serif);
    color: rgba(255, 255, 255, 0.05);
    line-height: 1;
}

.quote-text {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-style: italic;
    color: #fff;
    max-width: 800px;
    margin: 0 auto 1.5rem;
    position: relative;
    z-index: 1;
}

.quote-author {
    color: var(--color-secondary);
    font-weight: 600;
}

/* Partners logos */
.partners-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.partner-logo {
    height: 50px;
    opacity: 0.5;
    filter: grayscale(1);
    transition: all 0.3s ease;
}

.partner-logo:hover {
    opacity: 1;
    filter: grayscale(0);
}

@media (max-width: 768px) {
    .timeline::before {
        left: 20px;
    }

    .timeline-item,
    .timeline-item:nth-child(even) {
        width: 100%;
        padding-left: 4rem;
        padding-right: 0;
        margin-left: 0;
    }

    .timeline-year {
        left: 20px;
        transform: translateX(-50%);
        width: 40px;
        height: 40px;
        font-size: 0.7rem;
    }

    .quote-text {
        font-size: 1.25rem;
    }
}