/* Genel Ayarlar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary: #1e2f5c;
    --secondary: #e63946;
    --light: #f8f9fa;
    --dark: #212529;
    --accent: #44bd32;
}

body {
    background-color: #f5f5f5;
    color: var(--dark);
    line-height: 1.6;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

/* Header */
header {
    background-color: var(--primary);
    color: white;
    position: relative;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin: 0;
    padding: 0;
}

/* Top Bar */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5%;
    background-color: rgba(0, 0, 0, 0.2);
}

.social-icons {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
}

.social-icons a {
    color: white;
    margin-left: 15px;
    font-size: 18px;
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-icons a:hover {
    transform: scale(1.2);
    color: var(--secondary);
}

/* Main Header */
.main-header {
    flex-direction: column;
    align-items: center;
    padding: 20px 10px;
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.logo img {
    max-height: 240px;
    height: auto;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.logo {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* Navigasyon */
.main-nav {
    background-color: #fff;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 0;
    border-bottom: 2px solid #e6e6e6;
    box-sizing: border-box;
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.main-nav li {
    margin: 0 20px;
}

.main-nav a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    padding: 10px 15px;
    display: block;
    transition: all 0.3s ease;
}

.main-nav a:hover {
    background-color: #1e2f5c;
    color: white;
    border-radius: 5px;
}

/* Menü Toggle */
.menu-toggle {
    display: none;
    font-size: 30px;
    color: white;
    cursor: pointer;
    background: none;
    border: none;
    outline: none;
    z-index: 1000;
}

.menu-toggle i {
    font-size: 32px;
    color: var(--secondary);
    transition: all 0.3s ease;
}

.menu-toggle:hover i {
    transform: scale(1.2);
    color: #f70b0b;
}

/* Hero Section */
.hero {
    height: 80vh; /* ⬅ 100vh yerine 80vh */
    min-height: 80vh;
    max-height: 800px; /* ⬅ Maksimumda 800px tutuyoruz */
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slides {
    height: 100%;
    width: 100%;
    position: relative;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 0; /* Ekle */
    pointer-events: none; /* Arka plan tıklanmasın */
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-content {
    color: white;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    pointer-events: auto; /* İçerikler tıklanabilir olsun */
}

.hero h1, .hero h2 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero .btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--secondary);
    color: white;
    text-decoration: none;
    font-weight: 600;
    border-radius: 5px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 10px 5px;
}

.hero .btn:hover {
    background-color: #d1242f;
    transform: translateY(-3px) scale(1.05);
    opacity: 0.9;
}

/* Slayt Okları */
.prev-slide, .next-slide {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 15px;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
}

.prev-slide {
    left: 10px;
}

.next-slide {
    right: 10px;
}

.prev-slide:hover, .next-slide:hover {
    background-color: rgba(0, 0, 0, 0.8);
}
/* Next Match Section */
.next-match {
    background-color: var(--primary);
    color: white;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.next-match-info {
    display: flex;
    justify-content: center; /* Ortalar */
    align-items: center;
    gap: 50px; /* Takımlar arası boşluk */
    text-align: center;
}

.team {
    display: flex;
    align-items: center;
    gap: 10px;
}

.team-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
}
.team img {
    height: 50px;
    margin-bottom: 10px;
}

.vs {
    font-size: 24px;
    font-weight: 700;
}

.match-details {
    text-align: right;
}

.match-date {
    font-size: 1.2rem;
    font-weight: 600;
}

.match-location {
    font-size: 1rem;
    opacity: 0.8;
}

.btn-live {
    background-color: #d1242f; /* Canlı kırmızı */
    color: white;
    font-weight: bold;
    padding: 12px 30px;
    border-radius: 5px;
    display: inline-block;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    margin-top: 10px;
}

.btn-live:hover {
    background-color: #f70b0b; /* Hover durumunda daha koyu kırmızı */
    transform: translateY(-3px) scale(1.05);
    opacity: 0.9;
}


/* News Section */
.section {
    padding: 80px 5%;
}

.section-title {
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    color: var(--primary);
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
}

.news-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.news-card:hover {
    transform: translateY(-10px);
}

.news-image {
    height: 200px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover img {
    transform: scale(1.1);
}

.news-content {
    padding: 20px;
}

.news-date {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.news-title {
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.news-excerpt {
    color: #555;
    margin-bottom: 20px;
}

.read-more {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
}

/* Fikstür Bölümü Başlık Stili */
.fixture-title {
    text-align: center;
    color: var(--primary);
    font-size: 2.5rem;
    font-weight: bold;
    margin: 40px 0 20px;
    position: relative;
    padding-bottom: 10px;
  }
  
  .fixture-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary);
  }
  
  /* Fikstür Tablosu Genel Stil */
  .fixture-table-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 5%;
    overflow-x: auto;
  }
  
  .fixture-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }
  
  .fixture-table th {
    background-color: var(--primary);
    color: white;
    padding: 14px;
    font-size: 16px;
    text-transform: uppercase;
  }
  
  .fixture-table td {
    padding: 14px;
    text-align: center;
    font-size: 15px;
    font-weight: 500;
    color: #0a1f44;
    border-bottom: 1px solid #e0e0e0;
  }
  
  .fixture-table tr:hover td {
    background-color: #f5f9ff;
    color: var(--secondary);
  }
  
  .watch-summary {
    display: inline-block;
    padding: 6px 12px;
    background-color: var(--secondary);
    color: white;
    border-radius: 6px;
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
    transition: background-color 0.3s;
  }
  
  .watch-summary:hover {
    background-color: #c00400;
  }
  
  /* Responsive */
  @media screen and (max-width: 768px) {
    .fixture-title {
      font-size: 2rem;
    }
  
    .fixture-table th,
    .fixture-table td {
      padding: 10px;
      font-size: 14px;
    }
  
    .watch-summary {
      font-size: 12px;
      padding: 5px 10px;
    }
  }

/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    padding: 60px 5% 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    align-items: start; /* Satırları üst hizaya çeker */
    text-align: left; /* İçerik yazılarını sola hizalar */
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    height: 60px;
    transition: transform 0.3s ease;
}

.footer-logo img:hover {
    transform: scale(1.1);
}

.footer-about p {
    margin-bottom: 20px;
    opacity: 0.8;
    font-size: 14px;
}

.footer-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 8px;
}

.footer-title::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 2px;
    background-color: var(--secondary);
    bottom: 0;
    left: 0;
}

.footer-links ul,
.footer-latest-news ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li,
.footer-latest-news li {
    margin-bottom: 12px;
    font-size: 14px;
}

.footer-links a,
.footer-latest-news a {
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover,
.footer-latest-news a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-item {
    display: flex;
    align-items: center;
    font-size: 14px;
}

.contact-item i {
    margin-right: 10px;
    color: var(--secondary);
}

.contact-item a {
    color: #ccc;
    text-decoration: none;
}

.contact-item a:hover {
    color: var(--secondary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
    opacity: 0.7;
    margin-top: 40px;
}

/* Team Grid: Responsive oyuncu dizilimi */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    padding: 40px 5%;
}

/* Player Card: Her bir oyuncu kutusu */
.player-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    text-align: center;
    padding: 15px;
    transition: transform 0.3s ease;
    border: 2px solid var(--light);
}

.player-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary);
}

/* Oyuncu resmi */
.player-card img {
    width: 100%;
    max-width: 150px;
    height: auto;
    object-fit: contain;
    margin-bottom: 10px;
    border-radius: 8px;
    /* background-color: var(--light);*/
    padding: 10px;
}

/* Oyuncu ismi */
.player-name {
    font-size: 1rem;
    font-weight: bold;
    color: var(--primary); /* Lacivert tonu */
    margin-bottom: 5px;
}

/* Pozisyon */
.player-position {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--secondary); /* Kırmızı tonu */
    margin-bottom: 5px;
}

/* Takım numarası */
.player-number {
    font-size: 0.85rem;
    color: #555;
    margin-bottom: 10px;
}

/* Takım logosu - sadece oyuncu kartlarındaki */
.team-image {
    max-width: 50px;
    height: auto;
    display: block;
    margin: 10px auto 0;
    object-fit: contain;
}

/* Masaüstü için Main Nav Ayarı */
@media (min-width: 901px) {
    .main-nav {
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: #fff;
        padding: 15px 0;
        width: 100%;
        box-sizing: border-box;
    }
  
    .main-nav ul {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 30px;
    }
  
    .main-nav ul li {
        margin: 0;
    }
  
    .main-nav ul li a {
        color: #333;
        text-decoration: none;
        font-size: 16px;
        font-weight: 600;
        padding: 10px 15px;
        display: block;
        transition: all 0.3s ease;
    }
  
    .main-nav ul li a:hover {
        background-color: #1e2f5c;
        color: white;
        border-radius: 5px;
    }
}

/* Responsive Tablo: Fikstür için */
 .responsive-table {
    width: 100%;
    overflow-x: auto;
}
  
  .responsive-table table {
    width: 100%;
    min-width: unset;
}
  
/* Mobilde tablo kayabilir yap */
@media screen and (max-width: 768px) {
.responsive-table table {
    min-width: 700px;
}
  
    .responsive-table h1 {
      font-size: 24px;
    }
  
    .responsive-table th,
    .responsive-table td {
      padding: 10px;
      font-size: 14px;
    }
  }
 
  table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}
  
  th, td {
    padding: 14px;
    text-align: center;
    border-bottom: 1px solid #ddd;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
}
  
  th {
    background-color: #e10600;
    color: #ffffff;
    font-size: 18px;
  }
  
  tr:hover td {
    background-color: #dce6f5;
    transform: scale(1.05);
    color: #e10600;
  }
  
  tbody tr:nth-child(even) {
    background-color: #f9f9f9;
  }
  
  tbody tr:nth-child(odd) {
    background-color: #ffffff;
  }
  
  td {
    color: #0a1f44;
  }
  
  /* Özet butonu */
  .watch-summary {
    display: inline-block;
    padding: 6px 12px;
    background-color: #e10600;
    color: white;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    transition: background-color 0.3s;
  }
  
  .watch-summary:hover {
    background-color: #c00400;
  }
  
/* Responsive */
@media (max-width: 900px) {
    /* Menü Toggle */
    .menu-toggle {
        display: block;
        font-size: 30px;
        color: white;
        background: none;
        border: none;
        cursor: pointer;
        position: fixed;
        top: 20px;
        right: 20px;
        z-index: 2000;
    }

/* Main Nav (Mobilde Açılır Menü) */
.main-nav {
    display: none;
    flex-direction: column;
    align-items: center;
    background-color: #111;
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    height: calc(100% - 60px);
    padding: 20px 0;
    overflow-y: auto;
    transition: all 0.3s ease; /* ekliyoruz */
    z-index: 1500; /* çok yüksek z-index */
}

.main-nav.active {
    display: flex !important; /* Kesin çalışsın diye !important ekliyoruz */
    flex-direction: column;
    align-items: center;
    background-color: #111;
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    height: calc(100% - 60px);
    padding: 20px 0;
    overflow-y: auto;
    transition: all 0.3s ease;
    z-index: 1500;
}

/* Overlay */
#overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1400; /* 1000'di, menüden daha aşağıdaydı. Bunu yukarı taşı */
    pointer-events: none; /* ⬅ Bu satırı ekle */
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

    .main-nav ul li {
        width: 100%;
        text-align: center;
    }

    .main-nav ul li a {
        color: #fff;
        font-size: 20px;
        padding: 15px 0;
        width: 100%;
        display: block;
        text-decoration: none;
        transition: background-color 0.3s;
    }

    .main-nav.active ul {
        display: flex;
    }

    .main-nav li {
        margin: 10px 0;
    }

    .main-nav ul li a:hover {
        background-color: #333;
    }

    .main-header {
        height: auto;
        overflow: hidden;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        padding: 10px 0; /* Ek olarak bu satırı Ekle */
    }

    .hero {
        height: 60vh; /* Mobilde hero daha küçük */
    }

    .hero h1, .hero h2 {
        font-size: 2.5rem;
    }

    .next-match {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .match-details {
        text-align: center;
    }

    .logo img {
        max-height: 200px; /* var ama daha fazla genişlik için aşağıdakini ekle */
        padding: 10px 0;
    }
}