/* ========== RESET ========== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Arial', sans-serif;
  line-height: 1.4;
}

/* ========== TOPBAR ========== */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 10px 20px;
  background: linear-gradient(90deg, #000428, #004e92);
  color: #fff;
  font-size: 14px;
}

.topbar-left,
.topbar-center,
.topbar-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.topbar-left a,
.topbar-right a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

/* === DUYURU (MARQUEE) === */
.marquee {
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  height: 20px;
  flex: 1;
  min-width: 150px;
}

.marquee a {
  display: block;
  width: 100%;
  color: inherit;
  text-decoration: none;
}

.marquee p {
  display: inline-block;
  padding-left: 100%;
  animation: marqueeLoop 15s linear infinite;
  font-weight: 500;
}

.marquee:hover p {
  animation-play-state: paused;
}

@keyframes marqueeLoop {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* === SAĞ BUTONLAR === */
.unit-toggle,
.lang-toggle,
.login-btn {
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 13px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.3s ease;
}

.unit-toggle:hover,
.lang-toggle:hover,
.login-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* ========== NAVBAR ========== */
.site-header {
  background: #fff;
  border-bottom: 1px solid #eee;
  position: relative;
  z-index: 100;
}

.nav-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
}

.logo img {
  max-height: 40px;
}

/* Masaüstü Menü */
.desktop-menu {
  display: block;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
}

.nav-list li a {
  color: #000;
  text-decoration: none;
  font-weight: bold;
  padding: 6px 10px;
  transition: color 0.2s;
}

.nav-list li a:hover {
  color: #0073aa;
}

/* Mobil Menü Butonu */
.mobile-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
}

/* Mobil Menü */
.mobile-menu {
  display: none;
  background-color: #f9f9f9;
  padding: 10px 20px;
}

.mobile-menu.active {
  display: block;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.mobile-nav-list li a {
  color: #333;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .topbar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    text-align: center;
  }

  .topbar-left,
  .topbar-center,
  .topbar-right {
    justify-content: center;
  }

  .marquee p {
    animation: none !important;
    transform: none;
    padding-left: 0;
    text-align: center;
  }

  .desktop-menu {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }
}

/* === MOBİL ALT MENÜ === */
.mobile-bottom-nav {
  display: none;
}

@media (max-width: 768px) {
  .mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid #ccc;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 6px 0;
    z-index: 9999;
    box-shadow: 0 -1px 5px rgba(0,0,0,0.1);
  }

  .mobile-bottom-nav a {
    flex: 1;
    text-align: center;
    color: #333;
    font-size: 13px;
    text-decoration: none;
  }

  .mobile-bottom-nav a .icon {
    font-size: 20px;
    display: block;
    margin-bottom: 3px;
  }

  .mobile-bottom-nav a:hover {
    color: #0073aa;
  }
}
/* === TAM EKRAN AÇILIR MOBİL MENÜ === */
.mobile-fullscreen-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.97);
  display: none;
  z-index: 10000;
  padding: 30px 20px;
}

.mobile-fullscreen-menu.active {
  display: block;
}

.mobile-fullscreen-inner {
  max-width: 500px;
  margin: auto;
}

.close-mobile-menu {
  font-size: 30px;
  font-weight: bold;
  color: #333;
  float: right;
  cursor: pointer;
  margin-bottom: 20px;
}

.mobile-fullscreen-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: center;
}

.mobile-fullscreen-list li a {
  font-size: 20px;
  color: #000;
  text-decoration: none;
  font-weight: bold;
}

.mobile-fullscreen-list li a:hover {
  color: #0073aa;
}
/* === TAM EKRAN AÇILIR MOBİL MENÜ === */
.mobile-fullscreen-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.97);
  display: none;
  z-index: 10000;
  padding: 30px 20px;
  overflow-y: auto;
}

.mobile-fullscreen-menu.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-fullscreen-inner {
  max-width: 500px;
  width: 100%;
  margin: auto;
  text-align: center;
}

.close-mobile-menu {
  font-size: 28px;
  font-weight: bold;
  color: #333;
  position: absolute;
  top: 20px;
  right: 20px;
  cursor: pointer;
}

.mobile-fullscreen-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: center;
  margin-top: 60px;
}

.mobile-fullscreen-list li a {
  font-size: 20px;
  color: #000;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.mobile-fullscreen-list li a:hover {
  color: #0073aa;
}
.mobile-fullscreen-menu::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: -1;
}
/* Mobil Menü Butonu */
.mobile-toggle {
  display: none !important; /* ✅ Artık hiçbir yerde görünmesin */
}


.nav-three-column {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 20px;
  flex-wrap: wrap;
}

/* SOL */
.nav-left img {
  height: 40px;
}

/* ORTA */
.nav-center .nav-list {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
}

.nav-center .nav-list li a {
  text-decoration: none;
  color: #000;
  font-weight: 600;
}

/* SAĞ - Sponsorlar */
.nav-right {
  overflow: hidden;
  max-width: 180px;
}

.sponsor-slider {
  display: flex;
  gap: 20px;
  animation: scrollSponsors 10s linear infinite;
}

.sponsor-slider img {
  height: 30px;
  width: auto;
}

@keyframes scrollSponsors {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* Responsive */
@media (max-width: 768px) {
  .nav-three-column {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .nav-center .nav-list {
    flex-direction: column;
    gap: 10px;
  }

  .nav-right {
    display: none; /* İsteğe bağlı olarak mobilde sponsor gizlenebilir */
  }
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

.nav-left,
.nav-center,
.nav-right {
  flex: 1;
}

.nav-center {
  text-align: center;
}

.nav-right {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  overflow: hidden;
}

.nav-right img {
  height: 30px;
  object-fit: contain;
}
.sponsor-rotating {
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.sponsor-rotating img {
  height: 50px;
  width: auto;
  transition: opacity 0.3s ease-in-out;
}
/* Menü sadece masaüstünde gösterilsin */
.desktop-only {
  display: block;
}

@media (max-width: 768px) {
  .desktop-only {
    display: none !important;
  }

  .nav-three-column {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .nav-left.logo,
  .nav-right.sponsor-rotating {
    width: 50%;
    text-align: center;
  }

  .nav-left.logo img {
    height: 40px;
    max-width: 100%;
  }

  .sponsor-rotating {
    justify-content: center;
  }

  .sponsor-rotating img {
    height: 40px;
    max-width: 100%;
  }
}
.nav-three-column {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  padding: 10px 20px;
}

/* Mobilde menüyü gizle */
.desktop-only {
  display: block;
}

@media (max-width: 768px) {
  .desktop-only {
    display: none !important;
  }

  .nav-left.logo,
  .nav-right.sponsor-rotating {
    width: 50%;
  }

  .nav-left.logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }

  .nav-left.logo img {
    height: 40px;
    max-width: 100%;
  }

  .nav-right.sponsor-rotating {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    min-height: 60px;
  }

  .sponsor-logo-item img {
    height: 40px;
    width: auto;
  }
}
@media (max-width: 768px) {
  .nav-three-column {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }

  .nav-left.logo,
  .nav-right.sponsor-rotating {
    flex: 1;
    max-width: 50%;
  }

  .nav-left.logo img {
    max-width: 100%;
    height: auto;
  }

  .sponsor-logo-item img {
    max-width: 100%;
    height: auto;
    display: block;
    margin-left: auto;
  }
}
#yaris-tabs {
  margin-top: 30px;
}

.tab-menu {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.tab-menu li {
  padding: 12px 24px;
  margin: 0 8px;
  cursor: pointer;
  font-weight: bold;
  background: #eee;
  border-radius: 5px;
  transition: 0.3s;
}

.tab-menu li.active {
  background: #222;
  color: #fff;
}

.tab-content {
  display: none;
}
.tab-content.active {
  display: block;
}

.csv-table {
  width: 100%;
  border-collapse: collapse;
}
.csv-table th, .csv-table td {
  padding: 8px;
  border: 1px solid #ddd;
  text-align: left;
}

