/* Timeline Page CSS */
#timeline {
    display: flex;
    flex-wrap: wrap;
    padding: 100px 20px 50px;
    background: linear-gradient(to bottom, #1a1a2e 0%, #16213e 100%);
    min-height: 100vh;
    justify-content: center;
    gap: 20px;
}

.tl-item {
    position: relative;
    width: 300px;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: transform 0.3s;
}

.tl-item:hover {
    transform: translateY(-10px);
}

.tl-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.tl-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5);
    transition: all 0.3s;
}

.tl-item:hover .tl-bg img {
    filter: brightness(0.7);
    transform: scale(1.05);
}

.tl-year {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.tl-year p {
    font-size: 4rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
    margin: 0;
}

.tl-content {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.tl-content .btn {
    background: #64a19d;
    border: none;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s;
}

.tl-content .btn:hover {
    background: #4e8480;
    transform: scale(1.05);
}
