/* style.css */
body {
    background-color: #0a0a0a; /* Tam siyah yerine çok koyu antrasit */
    color: #ffffff;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
}

/* Üst Bilgi Bandı */
.info-bar {
    background: linear-gradient(90deg, #1a1a1a 0%, #333 50%, #1a1a1a 100%);
    border-bottom: 2px solid #e30a17; /* Türkiye kırmızısı ince hat */
    padding: 15px;
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 30px;
    font-size: 0.95rem;
    color: #ddd;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-item b {
    color: #fff;
}

/* Ana Konteyner */
.match-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    padding: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Takım Kartları */
.team-card {
    background-color: #1a1a1a;
    border-radius: 20px;
    width: 400px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
    border: 1px solid #333;
}

/* Ülke Başlık Alanı - Yeni Renkler */
.team-header {
    background-color: #e30a17; /* Kırmızı Arka Plan */
    color: #fff; /* Beyaz Yazı */
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.team-header img {
    width: 45px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 5px;
}

.team-header h2 {
    margin: 0;
    font-size: 1.5rem;
}

.coach-info {
    padding: 10px 20px;
    background-color: #252525;
    font-size: 0.9rem;
    color: #aaa;
    border-bottom: 1px solid #333;
}

/* Oyuncu Listesi */
.player-list {
    padding: 10px 0;
}

.player-row {
    display: flex;
    padding: 6px 20px;
    border-bottom: 1px solid #222;
    font-size: 0.9rem;
}

.player-row:hover {
    background-color: #252525;
}

.player-number {
    width: 30px;
    color: #e30a17;
    font-weight: bold;
}

/* Yedekler Başlığı */
.sub-header {
    background-color: #333;
    color: #fff;
    padding: 8px 20px;
    font-size: 0.85rem;
    font-weight: bold;
    text-transform: uppercase;
}

/* Medya Alanı */
.match-media {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 250px;
    align-self: center;
}

.match-media img {
    width: 100%;
    border-radius: 15px;
    border: 1px solid #444;
}

/* Responsive */
@media (max-width: 1100px) {
    .match-container {
        flex-wrap: wrap;
    }
    .info-bar {
        flex-direction: column;
        gap: 5px;
    }
}

/* Timeline Konteyner */
.timeline-section {
    max-width: 800px;
    margin: 40px auto;
    background-color: #1a1a1a;
    border-radius: 20px;
    border: 1px solid #333;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.timeline-title {
    background-color: #333; /* Cyan yerine daha ağır bir antrasit */
    color: #fff;
    padding: 15px;
    text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.timeline-container {
    position: relative;
    padding: 20px;
}

/* Ortadaki dikey çizgi */
.timeline-container::after {
    content: '';
    position: absolute;
    width: 2px;
    background-color: #444;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
}

/* Sol taraf (Türkiye) */
.left {
    left: 0;
    justify-content: flex-end;
    text-align: right;
}

/* Sağ taraf (Gürcistan) */
.right {
    left: 50%;
    justify-content: flex-start;
    text-align: left;
}

/* Zaman Göstergesi (Ortadaki yuvarlaklar) */
.time-stamp {
    position: absolute;
    background-color: #e30a17;
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: bold;
    z-index: 1;
    top: 50%;
    transform: translateY(-50%);
}

.left .time-stamp {
    right: -35px;
}

.right .time-stamp {
    left: -35px;
}

/* Olay İçeriği */
.event-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.left .event-content {
    flex-direction: row;
}

.right .event-content {
    flex-direction: row-reverse;
}

.event-content img {
    width: 20px;
    height: auto;
}

.event-name {
    font-weight: 500;
}

.score-badge {
    background-color: #fff;
    color: #000;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.85rem;
}

/* Mobil Uyumluluk */
@media (max-width: 600px) {
    .timeline-container::after { left: 31px; }
    .timeline-item { width: 100%; left: 0; text-align: left; justify-content: flex-start; padding-left: 70px; }
    .right { left: 0; }
    .left .time-stamp, .right .time-stamp { left: 15px; right: auto; }
    .left .event-content { flex-direction: row-reverse; }
}
/* İstatistik Konteyner */
.stats-section {
    max-width: 800px;
    margin: 40px auto;
    background-color: #1a1a1a;
    border-radius: 20px;
    border: 1px solid #333;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    padding-bottom: 20px;
}

.stats-title {
    background-color: #e30a17; /* Türkiye Kırmızısı */
    color: #fff;
    padding: 15px;
    text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
    text-transform: uppercase;
}

.stats-header {
    display: flex;
    justify-content: space-between;
    padding: 20px 40px;
    background-color: #252525;
}

.stats-team {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    font-size: 1.1rem;
}

.stats-team img {
    width: 30px;
    border-radius: 3px;
}

/* İstatistik Satırları */
.stat-row {
    padding: 15px 40px;
}

.stat-label {
    text-align: center;
    font-size: 0.85rem;
    color: #aaa;
    text-transform: uppercase;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.stat-values {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
    font-weight: bold;
    font-size: 1.1rem;
}

/* Bar (Çubuk) Tasarımı */
.stat-bar-container {
    display: flex;
    height: 8px;
    background-color: #333;
    border-radius: 4px;
    overflow: hidden;
    gap: 2px;
}

.bar-left {
    background-color: #e30a17; /* Türkiye */
    height: 100%;
    transition: width 1s ease-in-out;
}

.bar-right {
    background-color: #fff; /* Gürcistan */
    height: 100%;
    transition: width 1s ease-in-out;
}
/* Alt Linkler Konteyner */
.footer-links {
    max-width: 1200px;
    margin: 50px auto;
    padding: 20px;
    background-color: #111;
    border-radius: 15px; /* Oval köşeler */
    border-top: 3px solid #e30a17; /* Milli takım kırmızısı vurgu */
    text-align: center;
}

.footer-links h4 {
    color: #e30a17;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.links-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

/* Link Kartları (Butonlar) */
.match-link {
    background-color: #1a1a1a;
    border: 1px solid #333;
    color: #fff;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
}

.match-link:hover {
    background-color: #e30a17;
    border-color: #e30a17;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(227, 10, 23, 0.3);
    color: #fff;
}

/* Mobil için Ayar */
@media (max-width: 768px) {
    .links-grid {
        flex-direction: column;
        align-items: center;
    }
    .match-link {
        width: 100%;
        max-width: 300px;
    }
}