/* Timeline Styles */
.whisky-timeline-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.timeline-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.timeline-filter {
    padding: 8px 16px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.timeline-filter:hover,
.timeline-filter.active {
    background: #1a1a1a;
    color: #f2ceb1;
    border-color: #1a1a1a;
}

.timeline-entries {
    position: relative;
    padding-left: 40px;
}

.timeline-entries::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #c5a059, #1a1a1a);
}

.timeline-year-marker {
    position: relative;
    margin: 30px 0 20px;
    padding: 10px 20px;
    background: #1a1a1a;
    color: #f2ceb1;
    font-size: 24px;
    font-weight: bold;
    border-radius: 4px;
    display: inline-block;
}

.timeline-year-marker::before {
    content: '';
    position: absolute;
    left: -32px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: #c5a059;
    border-radius: 50%;
    border: 3px solid #1a1a1a;
}

.timeline-entry {
    position: relative;
    margin-bottom: 30px;
    padding: 20px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.timeline-entry::before {
    content: '';
    position: absolute;
    left: -32px;
    top: 25px;
    width: 10px;
    height: 10px;
    background: #c5a059;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px #c5a059;
}

.timeline-entry.featured {
    border-color: #c5a059;
    box-shadow: 0 4px 12px rgba(197, 160, 89, 0.2);
}

.timeline-entry-marker {
    position: absolute;
    left: -55px;
    top: 20px;
    font-size: 20px;
}

.timeline-entry-content {
    position: relative;
}

.timeline-featured-badge {
    position: absolute;
    top: -10px;
    right: 10px;
    padding: 4px 10px;
    background: #c5a059;
    color: #1a1a1a;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 3px;
}

.timeline-entry-header {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 10px;
}

.timeline-entry-date {
    font-weight: bold;
    color: #1a1a1a;
}

.timeline-entry-location {
    color: #666;
    font-size: 14px;
}

.timeline-entry-title {
    margin: 0 0 10px;
    font-size: 20px;
    color: #1a1a1a;
}

.timeline-entry-excerpt {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.timeline-geography-link,
.timeline-whisky-link {
    display: inline-block;
    margin-right: 15px;
    margin-bottom: 10px;
    padding: 6px 12px;
    background: #f5f5f5;
    border-radius: 4px;
    font-size: 13px;
    text-decoration: none;
    color: #1a1a1a;
    transition: all 0.3s;
}

.timeline-geography-link:hover,
.timeline-whisky-link:hover {
    background: #c5a059;
    color: #1a1a1a;
}

.timeline-read-more {
    display: inline-block;
    padding: 8px 16px;
    background: #1a1a1a;
    color: #f2ceb1;
    text-decoration: none;
    border-radius: 4px;
    font-size: 13px;
    transition: all 0.3s;
}

.timeline-read-more:hover {
    background: #c5a059;
    color: #1a1a1a;
}

.timeline-load-more {
    display: block;
    width: 100%;
    max-width: 200px;
    margin: 30px auto;
    padding: 12px 24px;
    background: #1a1a1a;
    color: #f2ceb1;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.timeline-load-more:hover {
    background: #c5a059;
    color: #1a1a1a;
}

.timeline-load-more:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Bottle Timeline */
.whisky-bottle-timeline {
    margin: 30px 0;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
}

.whisky-bottle-timeline h3 {
    margin: 0 0 20px;
    font-size: 18px;
    color: #1a1a1a;
}

.bottle-timeline {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.bottle-timeline-event {
    flex: 1;
    min-width: 150px;
    padding: 15px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    text-align: center;
}

.bottle-timeline-event.linked {
    border-color: #c5a059;
    background: #fffbf5;
}

.bottle-timeline-date {
    display: block;
    font-weight: bold;
    color: #1a1a1a;
    margin-bottom: 5px;
}

.bottle-timeline-label {
    display: block;
    font-size: 13px;
    color: #666;
    text-decoration: none;
}

.bottle-timeline-event.linked .bottle-timeline-label {
    color: #c5a059;
}

.bottle-timeline-label:hover {
    text-decoration: underline;
}

/* Event type colors */
.timeline-entry.distillery-founded::before {
    background: #4CAF50;
    box-shadow: 0 0 0 2px #4CAF50;
}

.timeline-entry.bottle-released::before {
    background: #c5a059;
    box-shadow: 0 0 0 2px #c5a059;
}

.timeline-entry.historical-event::before {
    background: #9C27B0;
    box-shadow: 0 0 0 2px #9C27B0;
}

.timeline-entry.award-won::before {
    background: #FFD700;
    box-shadow: 0 0 0 2px #FFD700;
}

.timeline-entry.milestone::before {
    background: #2196F3;
    box-shadow: 0 0 0 2px #2196F3;
}

/* Responsive */
@media (max-width: 768px) {
    .timeline-entries {
        padding-left: 30px;
    }
    
    .timeline-entries::before {
        left: 10px;
    }
    
    .timeline-entry::before {
        left: -25px;
    }
    
    .timeline-entry-marker {
        left: -45px;
        font-size: 16px;
    }
    
    .timeline-year-marker::before {
        left: -25px;
    }
}
