/* ============================================
   TIMELINE LOVE STORY THEME
   İlişki hikayesini zaman çizelgesi ile anlatan tema
   ============================================ */

/* Tema Renkleri */
:root {
    --timeline-primary: #667eea;
    --timeline-secondary: #764ba2;
    --timeline-accent: #f093fb;
    --timeline-light: #f5f7fa;
    --timeline-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Body Background */
body.timeline-theme {
    background: var(--timeline-light);
}

/* Hero Section */
.timeline-hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    background: var(--timeline-gradient);
    color: white;
    overflow: hidden;
}

.timeline-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 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,192L48,197.3C96,203,192,213,288,229.3C384,245,480,267,576,250.7C672,235,768,181,864,181.3C960,181,1056,235,1152,234.7C1248,235,1344,181,1392,154.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
}

.timeline-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.timeline-hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.timeline-hero p {
    font-size: 1.5rem;
    opacity: 0.95;
}

/* Timeline Section */
.timeline-section {
    padding: 5rem 0;
    position: relative;
}

.timeline-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
}

/* Timeline Line */
.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--timeline-primary), var(--timeline-secondary));
    transform: translateX(-50%);
}

.timeline-line::before {
    content: '❤️';
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    background: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.timeline-line::after {
    content: '∞';
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    background: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    color: var(--timeline-primary);
    font-weight: bold;
}

/* Timeline Items */
.timeline-items {
    position: relative;
    padding: 3rem 0;
}

.timeline-item {
    display: flex;
    margin-bottom: 4rem;
    position: relative;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

/* Left Side Items */
.timeline-item.left {
    justify-content: flex-start;
}

.timeline-item.left .timeline-content {
    margin-right: calc(50% + 40px);
    text-align: right;
}

.timeline-item.left .timeline-dot {
    right: calc(50% - 15px);
}

/* Right Side Items */
.timeline-item.right {
    justify-content: flex-end;
}

.timeline-item.right .timeline-content {
    margin-left: calc(50% + 40px);
    text-align: left;
}

.timeline-item.right .timeline-dot {
    left: calc(50% - 15px);
}

/* Timeline Dot */
.timeline-dot {
    position: absolute;
    top: 30px;
    width: 30px;
    height: 30px;
    background: white;
    border: 4px solid var(--timeline-primary);
    border-radius: 50%;
    z-index: 2;
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-dot {
    transform: scale(1.3);
    background: var(--timeline-primary);
    box-shadow: 0 0 0 8px rgba(102, 126, 234, 0.2);
}

/* Timeline Content */
.timeline-content {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    max-width: 500px;
}

.timeline-item:hover .timeline-content {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.timeline-date {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--timeline-gradient);
    color: white;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.timeline-title {
    font-size: 1.75rem;
    color: var(--timeline-primary);
    margin-bottom: 1rem;
}

.timeline-description {
    color: var(--dark-color);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.timeline-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 0.5rem;
    margin-top: 1rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.timeline-image:hover {
    transform: scale(1.05);
}

/* Milestone Badge */
.milestone-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--timeline-accent);
    color: white;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

/* Stats Section */
.stats-section {
    padding: 5rem 0;
    background: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--timeline-primary);
    font-family: var(--font-secondary);
}

.stat-label {
    font-size: 1rem;
    color: var(--dark-color);
    opacity: 0.8;
    margin-top: 0.5rem;
}

/* Footer */
.timeline-footer {
    background: var(--timeline-gradient);
    color: white;
    text-align: center;
    padding: 3rem 0;
}

.timeline-footer h2 {
    color: white;
    margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 992px) {
    .timeline-line {
        left: 30px;
    }

    .timeline-line::before,
    .timeline-line::after {
        left: 0;
        transform: translateX(-50%);
    }

    .timeline-item.left,
    .timeline-item.right {
        justify-content: flex-start;
    }

    .timeline-item.left .timeline-content,
    .timeline-item.right .timeline-content {
        margin-left: 70px;
        margin-right: 0;
        text-align: left;
        max-width: 100%;
    }

    .timeline-item.left .timeline-dot,
    .timeline-item.right .timeline-dot {
        left: 15px;
        right: auto;
    }
}

@media (max-width: 768px) {
    .timeline-hero h1 {
        font-size: 2.5rem;
    }

    .timeline-hero p {
        font-size: 1.25rem;
    }

    .timeline-title {
        font-size: 1.5rem;
    }

    .timeline-content {
        padding: 1.5rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .timeline-hero h1 {
        font-size: 2rem;
    }

    .timeline-hero p {
        font-size: 1rem;
    }

    .timeline-line {
        left: 20px;
    }

    .timeline-item.left .timeline-content,
    .timeline-item.right .timeline-content {
        margin-left: 50px;
    }

    .timeline-item.left .timeline-dot,
    .timeline-item.right .timeline-dot {
        left: 5px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 2.5rem;
    }
}