:root {
    --ut-primary: #0D293B;
    --ut-accent: #e2aa6a; /* Resimdeki altın sarısı */
    --ut-gray: #292a2c;
}

.ut-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 50px auto;
    font-family: inherit; /* Siteden inherit */
    color: var(--ut-primary);
}

/* --- Content Area --- */
.ut-content-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    margin-bottom: 60px;
    min-height: 200px;
    position: relative;
}

.ut-content-stage {
    flex: 1;
    position: relative;
    overflow: hidden;
    margin: 0 40px;
}

.ut-content-item {
    display: none;
    flex-direction: column;
    align-items: center;
    animation: fadeIn 0.5s ease;
}

.ut-content-item.active {
    display: flex;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.ut-year-display {
    font-size: 26px;
    font-weight: bold;
    color: var(--ut-accent);
    margin-bottom: 10px;
}

.ut-title {
    font-size: 26px;
    font-weight: 500;
    margin: 5px 0 15px 0;
    color: var(--ut-primary);
}

.ut-description {
    font-size: 16px;
    line-height: 1.5;
    max-width: 600px;
    margin: 0 auto;
    color: #555;
}

.ut-nav-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    transition: transform 0.2s;
}
.ut-nav-btn:hover {
    transform: scale(1.1);
}

/* --- Timeline Track --- */
.ut-timeline-track-wrapper {
    position: relative;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 80px 0; /* Yukarı aşağı boşluk, vertical çizgiler için */
    -webkit-overflow-scrolling: touch; /* Mobil kaydırma */
    scrollbar-width: none; /* Firefox scrollbar gizle */
}
.ut-timeline-track-wrapper::-webkit-scrollbar { 
    display: none; 
}

/* Yatay Ana Çizgi */
.ut-line {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%; /* Sadece görünür alan kadar değil, JS ile genişletilebilir */
    min-width: 1000px; /* Mobil için min genişlik */
    height: 2px;
    background-color: var(--ut-gray);
    z-index: 0;
    transform: translateY(-50%);
}

.ut-timeline-track {
    display: flex;
    justify-content: space-between;
    min-width: 1000px; /* Mobilde scroll olması için */
    padding: 0 50px;
    position: relative;
    z-index: 1;
}

.ut-year-marker {
    position: relative;
    cursor: pointer;
    width: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.ut-year-marker:hover, .ut-year-marker.active {
    opacity: 1;
}

/* Nokta */
.ut-dot {
    width: 12px;
    height: 12px;
    background-color: var(--ut-gray);
    border-radius: 50%;
    z-index: 2;
    transition: background-color 0.3s;
}

.ut-year-marker.active .ut-dot {
    background-color: var(--ut-accent);
    transform: scale(1.2);
}

/* Yıl Yazısı */
.ut-marker-year {
    font-weight: bold;
    font-size: 17px;
    color: var(--ut-gray);
    position: absolute;
    transition: color 0.3s;
}

.ut-year-marker.active .ut-marker-year {
    color: var(--ut-accent);
}

/* Dikey Çizgiler (Stem) */
.ut-stem {
    width: 1px;
    height: 30px;
    background-color: var(--ut-gray);
    position: absolute;
    transition: background-color 0.3s;
}

.ut-year-marker.active .ut-stem {
    background-color: var(--ut-accent);
}

/* --- Alternatif Sıralama (Zikzak Yapı) --- */

/* Çift Sayılar (Üstte) */
.ut-year-marker:nth-child(even) {
    justify-content: flex-end; /* İçeriği aşağı it */
}
.ut-year-marker:nth-child(even) .ut-dot {
    position: absolute;
    top: 50%; /* Çizgi üzerinde */
    transform: translateY(-50%);
}
.ut-year-marker:nth-child(even).active .ut-dot {
    transform: translateY(-50%) scale(1.2);
}
.ut-year-marker:nth-child(even) .ut-stem {
    bottom: 50%; /* Çizgiden yukarı */
    height: 30px;
}
.ut-year-marker:nth-child(even) .ut-marker-year {
    bottom: calc(50% + 40px); /* Stem + Dot yüksekliği kadar yukarı */
}

/* Tek Sayılar (Altta) */
.ut-year-marker:nth-child(odd) {
    justify-content: flex-start;
}
.ut-year-marker:nth-child(odd) .ut-dot {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}
.ut-year-marker:nth-child(odd).active .ut-dot {
    transform: translateY(-50%) scale(1.2);
}
.ut-year-marker:nth-child(odd) .ut-stem {
    top: 50%; /* Çizgiden aşağı */
    height: 30px;
}
.ut-year-marker:nth-child(odd) .ut-marker-year {
    top: calc(50% + 40px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .ut-nav-btn svg { width: 16px; height: 30px; }
    .ut-content-stage { margin: 0 10px; }
    .ut-year-display { font-size: 20px; }
    .ut-title { font-size: 18px; }
    .ut-description { font-size: 14px; }
    
    /* Mobilde timeline çizgisi geniş kalsın, kullanıcı kaydırsın */
    .ut-timeline-track { min-width: 800px; } 
}