@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Open Sans", Helvetica, Arial, sans-serif;
}

body {
  background-color: #fff;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ========== HEADER ========== */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #e9e9e9;
  padding: 20px 30px;
  position: relative;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: #333;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  border-radius: 0;
  cursor: pointer;
}

.logo img {
  width: 100px;
  height: 90px;
  object-fit: contain;
}

.menu-wrapper {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  width: auto;
}

.menu-item {
  background-color: #f5f5f5;
  color: #333333;
  text-decoration: none;
  font-size: 14px;
  padding: 12px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 90px;
  transition: transform 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  white-space: nowrap;
}

.menu-item img {
  width: 30px;
  height: 30px;
  margin-bottom: 8px;
}

.menu-item:hover {
  transform: scale(1.1);
}

/* Hamburger Menü */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger div {
  width: 30px;
  height: 4px;
  background-color: #333;
  border-radius: 2px;
}

/* Açılır Menü */
.menu-mobile {
  display: none;
  position: absolute;
  top: 70px;
  right: 20px;
  background-color: #e9e9e9;
  width: 240px;
  border-radius: 8px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
  z-index: 999;
  padding: 10px 0;
}

.menu-mobile a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  text-decoration: none;
  color: #333;
  font-size: 20px;
  transition: background-color 0.3s ease;
  border-bottom: 1px solid #ddd;
}

.menu-mobile a:hover {
  background-color: #ddd;
}

.menu-mobile a img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

/* Mobil görünüm */
@media (max-width: 1200px) {
  header {
    flex-direction: row;
    padding: 15px 20px;
  }

  .logo {
    max-width: 100px;
    max-height: 90px;
    margin-bottom: 0;
  }

  .menu-wrapper {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .menu-item {
    width: 100%;
    padding: 12px;
    text-align: center;
  }

  .menu-item img {
    width: 16px;
    height: 16px;
  }

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

  /* Mobil tablo */
  table, thead, tbody, th, td, tr {
    display: block;
  }

  thead {
    display: none;
  }

  tbody tr {
    margin-bottom: 15px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 10px;
  }

  tbody td {
    padding-left: 50%;
    position: relative;
    border: none;
    border-bottom: 1px solid #eee;
    text-align: left;
  }

  tbody td::before {
    content: attr(data-label);
    position: absolute;
    left: 15px;
    top: 12px;
    font-weight: bold;
    color: #333;
    white-space: nowrap;
  }
}

/* ========== Tablo Stili ========== */
.responsive-table {
  width: 70%; /* Tablonun genişliğini %80 yaparak ortalayalım */
  margin: 20px auto; /* Ortalamak için margin ekliyoruz */
  border-collapse: collapse;
  background-color: #f9f9f9;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.responsive-table th, .responsive-table td {
  text-align: left;
  padding: 12px 15px;
  border-bottom: 1px solid #ddd;
}

.responsive-table th {
  background-color: #555555; /* Başlık kısmı koyu gri */
  color: #fff; /* Başlık metni beyaz */
  font-weight: bold;
}

.responsive-table tr:nth-child(even) {
  background-color: #f5f5f5; /* Açık gri satır */
}

.responsive-table tr:nth-child(odd) {
  background-color: #fff; /* Beyaz satır */
}

.responsive-table tr:hover {
  background-color: #f1f1f1; /* Hover efekti */
}

@media (max-width: 768px) {
  .responsive-table {
    border: none;
  }

  .responsive-table thead {
    display: none;
  }

  .responsive-table tr {
    display: block;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
  }

  .responsive-table td {
    display: block;
    text-align: right;
    font-size: 14px;
    padding-left: 50%;
    position: relative;
  }

  .responsive-table td::before {
    content: attr(data-label);
    position: absolute;
    left: 10px;
    top: 12px;
    font-weight: bold;
    color: #333;
    white-space: nowrap;
  }

  .responsive-table td:last-child {
    border-bottom: none;
  }
}

/* ========== FOOTER ========== */
.footer {
  background-color: #f5f5f5;
  color: #333333;
  text-align: center;
  padding: 30px 0;
  margin-top: auto;
}

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

.footer-buttons a {
  text-decoration: none;
  background-color: #555555;
  color: #ffffff;
  padding: 10px 20px;
  margin: 0 10px;
  border-radius: 5px;
  font-size: 14px;
  transition: background-color 0.3s, transform 0.3s ease;
}

.footer-buttons a:hover {
  background-color: #777777;
  transform: translateY(-2px);
  color: #ffffff; /* beyaz */
}

.footer-line {
  border-top: 1px solid #cccccc;
  margin: 20px auto;
  width: 50%;
  height: 1px;
}

.footer p {
  margin: 0;
  font-size: 14px;
  color: #555555;
}
a {
  text-decoration: none;
  color: #3399ff; /* açık mavi */
}

a:hover {
  color: #000000; /* Siyah */
}


        /* Çizgi için stil */
        .custom-border {
            height: 5px;
            width: 100vw; /* Görünüm genişliği kadar */
            background: linear-gradient(to right, #004d91 50%, #00aeea 50%);
        }
