
  /* GENEL SIFIRLAMA */
  * {
    box-sizing: border-box;
  }
  body {
    margin:0; font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif; color:#222;
  }

  /* ÜST BAR */
  .header-top {
    background-color: #002c10; /* Koyu arka plan */
    color: #fff; /* Beyaz yazı */
    font-size: 14px;
    padding: 8px 15px;
  }
  .header-top .container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .top-left, .top-right {
    display: flex;
    align-items: center;
    gap: 20px;
  }
  .top-left a, .top-right a {
    color: #fff; /* Beyaz link */
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .top-left a:hover, .top-right a:hover {
    color: #4e8a3e; /* Hover yeşili */
  }
  .top-left .ip-address {
    color: #ccc;
    font-weight: 400;
  }

  /* ONLINE ÖDEME BUTONU */
  .btn-online-odeme {
    background-color: #4e8a3e;
    color: white;
    padding: 7px 15px;
    border-radius: 4px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.3s ease;
  }
  .btn-online-odeme:hover {
    background-color: #36722a;
  }

  /* ANA HEADER */
  .header-main {
    background-color: white;
    box-shadow: 0 1px 6px rgba(0,0,0,0.1);
    padding: 15px 15px;
    position: sticky;
    top: 0;
    z-index: 1000;
  }
  .header-main .container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  /* LOGO */
  .logo img {
    height: 75px;
    max-width: 100%;
  }

  /* MENÜ */
  nav.main-nav {
    flex-grow: 1;
    margin-left: 40px;
  }
  ul.menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 25px;
  }
  ul.menu-list li.menu-item {
    position: relative;
  }

  /* Menü formlar inline yapıldı */
  ul.menu-list li.menu-item > form {
    display: inline;
    margin: 0;
    padding: 0;
  }
  ul.menu-list li.menu-item > form > button.menu-btn {
    background: none;
    border: none;
    color: #002c10;
    font-weight: 600;
    text-transform: uppercase;
    padding: 10px 5px;
    cursor: pointer;
    font-family: inherit;
    transition: color 0.3s ease;
  }
  ul.menu-list li.menu-item > form > button.menu-btn:hover {
    color: #4e8a3e;
  }
  /* Alt menü varsa ok işareti */
  ul.menu-list li.menu-item.has-children > form > button.menu-btn::after {
    content: " ▼";
    font-size: 10px;
    margin-left: 4px;
  }

  /* ALT MENÜ */
  ul.menu-list li.menu-item ul.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    padding: 10px 0;
    list-style: none;
    min-width: 180px;
    border-radius: 4px;
    z-index: 10000;
  }
  ul.menu-list li.menu-item ul.submenu li.menu-item {
    position: relative;
  }
  ul.menu-list li.menu-item ul.submenu li.menu-item > form > button.menu-btn {
    padding: 8px 20px;
    font-weight: 500;
    color: #333;
    text-transform: none;
  }
  ul.menu-list li.menu-item ul.submenu li.menu-item > form > button.menu-btn:hover {
    background: #e5f0db;
    color: #2d7b36;
  }

  /* 2. ALT MENÜ (sağda açılacak) */
  ul.menu-list li.menu-item ul.submenu li.menu-item ul.submenu {
    top: 0;
    left: 100%;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    padding: 10px 0;
    border-radius: 4px;
  }

  /* Ana alt menü hover ile açılır */
  ul.menu-list li.menu-item:hover > ul.submenu {
    display: block;
  }
  /* 2. alt menü hover ile açılır */
  ul.menu-list li.menu-item ul.submenu li.menu-item:hover > ul.submenu {
    display: block;
  }

  /* HAMBURGER BUTONU */
  .menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 28px;
    height: 21px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-left: auto;
  }
  .menu-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: #002c10;
    border-radius: 2px;
    transition: all 0.3s ease;
  }
  .menu-toggle:focus {
    outline: none;
  }

  /* ARAMA BUTONU */
  .btn-search {
    background: none;
    border: none;
    font-size: 18px;
    color: #002c10;
    cursor: pointer;
    margin-left: 20px;
  }
  .btn-search:hover {
    color: #4e8a3e;
  }

  /* ARAMA OVERLAY */
  .search-overlay {
    display: none;
    position: fixed;
    top:0; left:0; right:0; bottom:0;
    background: rgba(0,0,0,0.6);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 20px;
  }
  .search-overlay.active {
    display: flex;
  }
  .search-close {
    position: absolute;
    top: 20px;
    right: 30px;
    background: none;
    border: none;
    font-size: 48px;
    color: white;
    cursor: pointer;
  }
  .search-form {
    position: relative;
    width: 100%;
    max-width: 600px;
  }
  .search-form input[type="text"] {
    width: 100%;
    padding: 15px 50px 15px 20px;
    font-size: 20px;
    border-radius: 4px;
    border: none;
  }
  .search-form button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: #4e8a3e;
    border: none;
    padding: 10px 15px;
    color: white;
    cursor: pointer;
    border-radius: 4px;
    font-size: 18px;
  }

  /* RESPONSIVE */
  @media (max-width: 991px) {
    .header-main .container {
      flex-wrap: wrap;
    }
    nav.main-nav {
      order: 3;
      width: 100%;
      margin-left: 0;
    }
    ul.menu-list {
      flex-direction: column;
      position: fixed;
      top: 70px;
      left: 0;
      right: 0;
      background: white;
      padding: 20px;
      gap: 10px;
      height: calc(100vh - 70px);
      overflow-y: auto;
      transform: translateX(-100%);
      transition: transform 0.3s ease;
      z-index: 1500;
    }
    ul.menu-list.active {
      transform: translateX(0);
    }
    ul.menu-list li.menu-item:hover > ul.submenu {
      display: none;
    }
    ul.menu-list li.menu-item.has-children > form > button.menu-btn::after {
      content: " ▶";
      float: right;
      font-size: 12px;
      transform: rotate(0deg);
      transition: transform 0.3s ease;
    }
    ul.menu-list li.menu-item.active > form > button.menu-btn::after {
      transform: rotate(90deg);
    }
    ul.menu-list ul.submenu {
      position: static;
      box-shadow: none;
      background: #f9f9f9;
      margin: 5px 0 10px 0;
      display: none !important;
      flex-direction: column;
      border-radius: 0;
      padding-left: 15px;
    }
    ul.menu-list ul.submenu.active {
      display: flex !important;
    }
    .menu-toggle {
      display: flex;
      margin-left: auto;
      order: 2;
    }
    .logo {
      order: 1;
    }
  }
  
  .header-top {
  padding: 12px 0; /* Yukarı-aşağı boşluk artırıldı */
  background-color: #f8f9fa; /* Açık bir arka plan tonu (isteğe bağlı) */
  font-size: 15px; /* Yazı boyutu biraz büyütüldü */
  border-bottom: 1px solid #ddd; /* Alt çizgi (isteğe bağlı) */
}

.header-top .top-left a,
.header-top .top-left span {
  margin-right: 20px; /* Aralarına boşluk */
  display: inline-block;
}

.header-top .top-left i,
.header-top .top-right i {
  margin-right: 6px;
}

.header-top .top-right a {
  margin-left: 12px;
}

.btn-online-odeme {
  padding: 8px 14px;
  margin-left: 20px;
  background-color: #007bff;
  color: white;
  border-radius: 4px;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn-online-odeme:hover {
  background-color: #0056b3;
}
  
  .logo {
  position: relative;
  display: inline-block;
  overflow: hidden;
}

.logo::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.4) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  animation: logoShine 3s ease-in-out infinite;
  pointer-events: none;
  z-index: 2;
}

@keyframes logoShine {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}




.logo img {
  max-width: 180px;
  height: auto;
  display: block;
  position: relative;
  z-index: 1;
}
  
