/* Timeline Navigation Styles */
/* Hidden navigation dots */
.timeline-nav-container {
    display: none; /* Hide the entire navigation dots container */
}

.timeline-nav-minimized {
    width: 40px;
    overflow: hidden;
}

.timeline-nav-toggle {
    width: 30px;
    height: 30px;
    background-color: #ba9b37;
    color: #241a10;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    margin-bottom: 10px;
    font-weight: bold;
    border: none;
    transition: all 0.3s ease;
}

.timeline-nav-toggle:hover {
    background-color: #d4af37;
}

.timeline-nav-dots {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    position: relative;
    padding: 10px 0;
}

.timeline-nav-dots::before {
    content: '';
    position: absolute;
    height: 100%;
    width: 2px;
    background-color: rgba(186, 155, 55, 0.5);
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
}

.timeline-nav-dot {
    width: 12px;
    height: 12px;
    background-color: #ba9b37;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.timeline-nav-dot:hover, 
.timeline-nav-dot.active {
    background-color: #d4af37;
    transform: scale(1.3);
}

.timeline-nav-label {
    position: absolute;
    right: 20px;
    background-color: #241a10;
    color: #d4af37;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-family: 'Cinzel', serif;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    pointer-events: none;
    border: 1px solid #ba9b37;
}

.timeline-nav-dot:hover .timeline-nav-label {
    opacity: 1;
    transform: translateX(0);
}

.timeline-breadcrumb {
    position: fixed;
    bottom: 20px; /* Move to bottom instead of top */
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(36, 26, 16, 0.7);
    color: #d4af37;
    padding: 6px 12px;
    border-radius: 30px;
    font-family: 'Cinzel', serif;
    font-size: 0.8rem;
    z-index: 40;
    border: 1px solid rgba(186, 155, 55, 0.6);
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    opacity: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.timeline-breadcrumb.visible {
    opacity: 1;
}

.breadcrumb-year {
    font-weight: bold;
    margin-left: 8px;
}

.era-jump-container {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 50;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 80vh;
    overflow-y: auto;
    padding: 10px;
    background-color: rgba(36, 26, 16, 0.4);
    border-radius: 8px;
    border-left: 2px solid #ba9b37;
}

.era-jump-button {
    background-color: rgba(36, 26, 16, 0.6);
    color: #d4af37;
    border: 1px solid rgba(186, 155, 55, 0.7);
    padding: 6px 10px;
    border-radius: 4px;
    font-family: 'Cinzel', serif;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    white-space: nowrap;
    margin-bottom: 2px;
    letter-spacing: 0.5px;
}

.era-jump-button:hover {
    background-color: rgba(186, 155, 55, 0.3);
    transform: translateX(5px);
}

.era-jump-button.theoretical {
    border-color: #d4af37;
    border-style: dashed;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .timeline-breadcrumb {
        width: 90%;
        font-size: 0.75rem;
        bottom: 15px;
        padding: 5px 10px;
    }
    
    .era-jump-container {
        left: 10px;
        padding: 8px;
        max-height: 60vh;
    }
    
    .era-jump-button {
        font-size: 0.7rem;
        padding: 5px 7px;
    }
}

/* Hide era jumps on very small screens */
@media (max-width: 480px) {
    .era-jump-container {
        display: none;
    }
}
