/* 'TARİHÇE' PAGE - PREMIUM TIMELINE DESIGN */
:root {
    --primary: #1a5276;
    --secondary: #e68d08;
    --accent: #2ecc71;
    --dark: #2c3e50;
    --light: #f8f9fa;
    --white: #ffffff;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* 1. HERO SECTION */
.history-hero {
    height: 50vh;
    min-height: 400px;
    background: linear-gradient(rgba(26, 82, 118, 0.7), rgba(44, 62, 80, 0.65)),
        url('../image/history_bg.png') center/cover no-repeat fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 50% 100%, 0 90%);
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 900;
    letter-spacing: -1px;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* 2. TIMELINE DESIGN */
.timeline-section {
    padding: 100px 0;
    background: #fff;
    position: relative;
}

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

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #f0f0f0;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
    width: 100%;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 20px;
    width: 24px;
    height: 24px;
    background: var(--secondary);
    border: 5px solid white;
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 0 10px rgba(230, 141, 8, 0.1);
    z-index: 2;
}

.timeline-content {
    width: 45%;
    background: white;
    padding: 35px;
    border-radius: 30px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    position: relative;
}

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

.timeline-content:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.timeline-year {
    display: inline-block;
    padding: 6px 20px;
    background: var(--primary);
    color: white;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.timeline-content h3 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 15px;
}

.timeline-content p {
    color: #666;
    line-height: 1.7;
    margin: 0;
}

/* 3. CULTURE CARDS */
.culture-section {
    padding: 100px 0;
    background: var(--light);
}

.culture-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.culture-card {
    background: white;
    padding: 50px 40px;
    border-radius: 40px;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.culture-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(26, 82, 118, 0.1);
}

.culture-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 30px;
    transform: rotate(-5deg);
    transition: var(--transition);
}

.culture-card:hover .culture-icon {
    transform: rotate(0deg) scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
    .timeline-line {
        left: 30px;
    }

    .timeline-dot {
        left: 30px;
        transform: none;
    }

    .timeline-content {
        width: calc(100% - 80px);
        margin-left: 80px !important;
    }
}