/* Hakkımızda Sayfası Özel CSS - Başkent Psikoloji Akademisi */

/* Timeline Styles */
.timeline-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.timeline-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(220, 20, 60, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(220, 20, 60, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, #dc143c, #ff1744, #dc143c);
    transform: translateX(-50%);
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(220, 20, 60, 0.3);
}

.timeline-item {
    position: relative;
    margin-bottom: 4rem;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-year {
    background: linear-gradient(45deg, #dc143c, #ff1744);
    color: #ffffff;
    padding: 1rem 1.5rem;
    border-radius: 25px;
    font-weight: bold;
    font-size: 1.1rem;
    box-shadow: 0 8px 25px rgba(220, 20, 60, 0.4);
    border: 3px solid #ffffff;
    min-width: 80px;
    text-align: center;
    position: relative;
}

.timeline-year::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 20px;
    height: 3px;
    background: #dc143c;
    transform: translateY(-50%);
}

.timeline-item:nth-child(odd) .timeline-year::before {
    right: -23px;
}

.timeline-item:nth-child(even) .timeline-year::before {
    left: -23px;
}

.timeline-content {
    width: calc(50% - 60px);
    padding: 0 2rem;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: auto;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: auto;
}

.timeline-card {
    background: linear-gradient(135deg, #2a2a2a 0%, #1f1f1f 100%);
    border: 1px solid #333;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.timeline-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(45deg, #dc143c, #ff1744);
}

.timeline-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(220, 20, 60, 0.2);
    border-color: #dc143c;
}

.timeline-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #dc143c, #ff1744);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(220, 20, 60, 0.3);
}

.timeline-card h4 {
    color: #ffffff;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.timeline-card p {
    color: #cccccc;
    line-height: 1.6;
    margin: 0;
    font-size: 1rem;
}

/* Arrow for timeline cards */
.timeline-item:nth-child(odd) .timeline-card::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -15px;
    width: 0;
    height: 0;
    border: 15px solid transparent;
    border-left-color: #2a2a2a;
    transform: translateY(-50%);
}

.timeline-item:nth-child(even) .timeline-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: -15px;
    width: 0;
    height: 0;
    border: 15px solid transparent;
    border-right-color: #2a2a2a;
    transform: translateY(-50%);
}

/* Statistics Section */
.stats {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #000000 100%);
    padding: 4rem 0;
    position: relative;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(220, 20, 60, 0.1) 0%, transparent 70%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #2a2a2a 0%, #1f1f1f 100%);
    border: 1px solid #333;
    border-radius: 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(45deg, #dc143c, #ff1744);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.stat-item:hover::before {
    transform: scaleX(1);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(220, 20, 60, 0.2);
    border-color: #dc143c;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: #dc143c;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, #dc143c, #ff1744);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 1.1rem;
    color: #cccccc;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .timeline::before {
        left: 30px;
        transform: none;
    }
    
    .timeline-item {
        flex-direction: row !important;
        margin-bottom: 3rem;
    }
    
    .timeline-marker {
        left: 30px;
        transform: none;
    }
    
    .timeline-year {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
        min-width: 60px;
    }
    
    .timeline-year::before {
        display: none;
    }
    
    .timeline-content {
        width: calc(100% - 120px);
        margin-left: 90px !important;
        margin-right: 0 !important;
        padding: 0 1rem;
    }
    
    .timeline-card::after {
        display: none;
    }
    
    .timeline-card {
        padding: 1.5rem;
    }
    
    .timeline-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .timeline-card h4 {
        font-size: 1.2rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-item {
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-label {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .timeline-section {
        padding: 2rem 0;
    }
    
    .timeline {
        padding: 1rem 0;
    }
    
    .timeline-content {
        width: calc(100% - 100px);
        margin-left: 70px !important;
    }
    
    .timeline-card {
        padding: 1rem;
    }
    
    .timeline-card h4 {
        font-size: 1.1rem;
    }
    
    .timeline-card p {
        font-size: 0.9rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

/* Animation on scroll */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.timeline-item {
    animation: fadeInUp 0.6s ease-out;
}

.timeline-item:nth-child(2) { animation-delay: 0.1s; }
.timeline-item:nth-child(3) { animation-delay: 0.2s; }
.timeline-item:nth-child(4) { animation-delay: 0.3s; }
.timeline-item:nth-child(5) { animation-delay: 0.4s; }
.timeline-item:nth-child(6) { animation-delay: 0.5s; }
