/* Top Navigation Bar - by Ertan */
/* Üst Navigasyon Çubuğu */
.top-navigation {
    background-color: #222 !important;
    padding: 8px 0;
    position: relative;
    z-index: 1030;
}
/* Koyu tema için üst navigasyon rengi */
.top-navigation.dark-theme {
    background-color: #121212 !important;
}
.top-navigation.light-theme {
    background-color: #f8f8f8 !important;
}
.top-nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
/* Üst Menü Linkleri */
.top-nav-links {
    display: flex;
    align-items: center;
}
.nav-link {
    color: #fff;
    text-decoration: none;
    margin-right: 20px;
    font-size: 14px;
    display: flex;
    align-items: center;
    transition: color 0.2s;
}
.light-theme .nav-link {
    color: #222 !important;
}
.nav-link i {
    margin-right: 5px;
}
.nav-link:hover {
    color: #E30C4E !important;
    text-decoration: none;
}
.nav-link.active,
.nav-link.live-chat-btn.active {
    color: #E30C4E !important;
    font-weight: 600;
    position: relative;
}
.nav-link.live-chat-btn.active::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #E30C4E;
    border-radius: 2px;
}
/* Sağ Taraftaki Butonlar ve Tema Seçici */
.top-nav-actions {
    display: flex;
    align-items: center;
}

/* Tema Değiştirici - YENİ */
.fp-color-selector,
.top-menu-theme-selector {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3px 8px;
    margin-right: 15px;
}
.light-theme .fp-color-selector,
.light-theme .top-menu-theme-selector {
    background: rgba(0, 0, 0, 0.05);
}
.fp-color-selector .link,
.top-menu-theme-selector .link {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    transition: all 0.3s ease;
    margin: 0 2px;
}
.light-theme .fp-color-selector .link,
.light-theme .top-menu-theme-selector .link {
    color: #222;
}
.fp-color-selector .link:hover,
.top-menu-theme-selector .link:hover {
    background: rgba(227, 12, 78, 0.2);
    color: #E30C4E !important;
    transform: scale(1.1);
}
.fp-color-selector .link.active,
.top-menu-theme-selector .link.active {
    color: #E30C4E !important;
    transform: scale(1.1);
}

/* Canlı Destek Butonu - OVAL PREMIUM */
.canlides-btn {
    background-color: #E30C4E !important;
    border: 1px solid #E30C4E !important;
    color: #fff !important;

    border-radius: 18px !important; /* OVAL YAPILDI */

    transition: all 0.25s ease !important;

    padding: 7px 15px !important;
    font-weight: 600 !important;
    font-size: 14px !important;

    height: 36px !important;
    min-width: 100px !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    text-decoration: none !important;

    margin-right: 10px;

    box-shadow: 0 2px 0 rgba(0,0,0,0.25) !important;
}

.canlides-btn:hover {
    background-color: #c7093d !important;
    border-color: #ff1a5c !important;

    transform: translateY(-1px) !important;

    box-shadow: 0 6px 14px rgba(227, 12, 78, 0.25) !important;
    color: #fff !important;
}

.canlides-btn:active {
    transform: translateY(0px) !important;
    box-shadow: 0 2px 0 rgba(0,0,0,0.25) !important;
}

.canlides-btn i {
    margin-right: 6px !important;
    font-size: 15px !important;
}

/* GİRİŞ & KAYIT BUTONLARI - OVAL + GREEN/RED PREMIUM */

.login-btn, .register-btn {
    border-radius: 18px !important; /* OVAL */
    transition: all 0.25s ease !important;

    padding: 7px 15px !important;
    font-weight: 600 !important;
    font-size: 14px !important;

    height: 36px !important;
    min-width: 100px !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    text-decoration: none !important;

    margin-left: 5px;

    position: relative;
    overflow: hidden;

    box-shadow: 0 2px 0 rgba(0,0,0,0.25) !important;
}

/* GİRİŞ - YEŞİL PREMIUM */
.login-btn {
    background: linear-gradient(135deg, #00c853, #00a844) !important;
    border: 1px solid #00c853 !important;
    color: #fff !important;
}

/* KAYIT - KIRMIZI/PİNK PREMIUM */
.register-btn {
    background: transparent !important;
    border: 1px solid #ff2d55 !important;
    color: #ff2d55 !important;
}

/* LOGIN HOVER */
.login-btn:hover {
    background: linear-gradient(135deg, #00e676, #00c853) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 20px rgba(0, 200, 83, 0.25) !important;
}

/* REGISTER HOVER */
.register-btn:hover {
    background: rgba(255, 45, 85, 0.08) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 20px rgba(255, 45, 85, 0.25) !important;
    border-color: #ff4d6d !important;
    color: #ff4d6d !important;
}

/* ACTIVE CLICK */
.login-btn:active,
.register-btn:active {
    transform: translateY(0px) !important;
    box-shadow: 0 2px 0 rgba(0,0,0,0.25) !important;
}

/* İÇ PARLAMA (SHINE EFFECT) */
.login-btn::after,
.register-btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;

    background: linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,0.25),
        transparent
    );

    transition: 0.5s;
}

.login-btn:hover::after,
.register-btn:hover::after {
    left: 100%;
}




/* Kullanıcı Hesabı Butonu */
.user-account {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    margin-left: 10px;
    text-decoration: none;
    padding: 7px 15px !important;
    border-radius: 6px !important;
    background-color: rgba(255, 255, 255, 0.1) !important;
}
.light-theme .user-account {
    color: #222 !important;
    background-color: rgba(0, 0, 0, 0.05) !important;
}
.user-account:hover {
    color: #E30C4E !important;
    text-decoration: none;
    background-color: rgba(227, 12, 78, 0.1) !important;
}

/* Responsive Tasarım - Mobil cihazlarda üst menüyü iyileştirme */
@media (max-width: 991px) {
    .top-navigation {
        display: block;
        padding: 5px 0;
    }
    .top-nav-wrapper {
        flex-wrap: wrap;
    }
    .top-nav-links {
        width: 100%;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        margin-bottom: 5px;
        justify-content: flex-start;
        padding-bottom: 5px;
        -ms-overflow-style: none;  /* IE ve Edge için kaydırma çubuğunu gizle */
        scrollbar-width: none;  /* Firefox için kaydırma çubuğunu gizle */
    }
    /* Webkit tarayıcıları için kaydırma çubuğunu gizle */
    .top-nav-links::-webkit-scrollbar {
        display: none;
    }
    .nav-link {
        font-size: 13px;
        margin-right: 15px;
        padding: 8px 0;
    }
    .top-nav-actions {
        width: 100%;
        justify-content: flex-end;
    }
    .login-btn, .register-btn, .canlides-btn {
        padding: 5px 10px !important;
        font-size: 12px !important;
        height: 32px !important;
        min-width: 80px !important;
    }
    .fp-color-selector,
    .top-menu-theme-selector {
        margin-right: 8px;
        padding: 2px 6px;
    }
    .fp-color-selector .link,
    .top-menu-theme-selector .link {
        width: 24px;
        height: 24px;
    }
    .canlides-btn i {
        margin-right: 3px !important;
        font-size: 14px !important;
    }
    .user-account {
        padding: 5px 10px !important;
        font-size: 12px !important;
    }
}

/* Koyu temada beyaz yazılar, açık temada siyah yazılar */
body.dark .top-navigation,
.top-navigation.dark-theme {
    background-color: #111 !important;
}
body.dark .top-navigation .nav-link,
body.dark .top-navigation .user-account {
    color: #fff !important;
}
body:not(.dark) .top-navigation.light-theme .nav-link,
body:not(.dark) .top-navigation.light-theme .user-account {
    color: #222 !important;
}
/* Hover efekti her durumda aynı renk */
body .top-navigation .nav-link:hover,
body .top-navigation .user-account:hover {
    color: #E30C4E !important;
}
body.dark .register-btn {
    color: #E30C4E !important;
    border-color: #E30C4E !important;
}

/* Tawk.to Widget'ını Gizleme */
.tawk-min-container,
.tawk-button,
.tawk-bubble,
#tawk-bubble-container,
.tawk-min-chat-icon,
[id*="tawk-"],
[class*="tawk-"],
iframe[title*="chat"],
iframe[src*="tawk.to"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    pointer-events: none !important;
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
}

/* Header Main Nav Styles - Moved from inline CSS */

/* Mobile Categories Button */
.mobile-only {
  display: none !important;
}

@media (max-width: 768px) {
  .mobile-only {
    display: inline-flex !important;
  }
}

.btn-all-categories.sharp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 2px solid #FF0050;
  background-color: transparent;
  border-radius: 4px;
  color: #FF0050;
  font-size: 24px;
  cursor: pointer;
  transition: background-color 0.3s, box-shadow 0.3s;
  padding: 0;
  box-shadow: 0 0 8px rgba(0, 94, 255, 0.6);
  background-image: linear-gradient(0deg, rgba(0,94,255,0.1), rgba(0,94,255,0));
}

.btn-all-categories.sharp-btn:hover,
.btn-all-categories.sharp-btn:focus {
  background-color: rgba(255, 0, 80, 0.15);
  box-shadow: 0 0 14px rgba(0, 94, 255, 1);
  color: #FF0050;
}

.blue-glow-icon {
  filter: drop-shadow(0 0 6px #005effaa)
          drop-shadow(0 0 8px #005effbb);
  transition: filter 0.3s ease-in-out;
}

.btn-all-categories.sharp-btn:hover .blue-glow-icon,
.btn-all-categories.sharp-btn:focus .blue-glow-icon {
  filter: drop-shadow(0 0 10px #005effee)
          drop-shadow(0 0 15px #005effee);
}

/* Notification Icon */
.notification-icon {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 2px solid rgba(255, 0, 80, 0.3);
  background: rgba(255, 0, 80, 0.05);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.notification-icon:hover {
  background: rgba(255, 0, 80, 0.1);
  border-color: rgba(255, 0, 80, 0.6);
  box-shadow: 0 0 8px rgba(255, 0, 80, 0.4);
}

.notification-icon:active {
  background: rgba(255, 0, 80, 0.2);
  transform: scale(0.95);
}

.notification-icon svg {
  width: 22px;
  height: 22px;
  stroke: #FF0050;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.3s;
}

.notification-count {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #FF0050;
  color: white;
  font-size: 11px;
  font-weight: bold;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  line-height: 18px;
  text-align: center;
  box-shadow: 0 0 6px rgba(255, 0, 80, 0.6);
}

.notification-icon.has-notifications svg {
  animation: bell-ring 1.2s ease-in-out infinite;
  transform-origin: 50% 10%;
}

@keyframes bell-ring {
  0%, 100% { transform: rotate(0deg); }
  15% { transform: rotate(10deg); }
  30% { transform: rotate(-8deg); }
  45% { transform: rotate(10deg); }
  60% { transform: rotate(-6deg); }
  75% { transform: rotate(8deg); }
}

/* Modern Search Container */
.modern-search-container {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin: 20px auto;
}

.modern-search-input {
  width: 100%;
  padding: 12px 44px 12px 18px;
  font-size: 16px;
  border: 2px solid #ff0050;
  border-radius: 4px;
  background-color: transparent;
  color: #fff;
  outline: none;
  transition: box-shadow 0.3s ease-in-out, border-color 0.3s ease-in-out;
  box-shadow: 0 4px 8px -2px rgba(51, 153, 255, 0.7);
}

.modern-search-input::placeholder {
  color: #ff0050;
  text-shadow: 0 0 5px rgba(255, 0, 80, 0.7);
  transition: color 0.3s ease-in-out, text-shadow 0.3s ease-in-out;
}

.modern-search-input:focus {
  border-color: #ff0050;
  box-shadow: 0 6px 12px -2px rgba(51, 153, 255, 0.9);
}

.modern-search-input:focus::placeholder {
  color: #ff66a3;
  text-shadow: 0 0 10px rgba(255, 102, 163, 1);
}

.modern-search-icon {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  color: #ff0050;
  font-size: 20px;
  pointer-events: none;
  filter: drop-shadow(0 4px 4px rgba(51, 153, 255, 0.7));
  transition: filter 0.3s ease-in-out;
}

.modern-search-input:focus + .modern-search-icon {
  filter: drop-shadow(0 6px 6px rgba(51, 153, 255, 0.9));
}

/* Navigation Bar */
.fp-navbar {
  background-color: transparent;
  border-bottom: 2px solid #007bff;
  box-shadow: none;
  padding: 0.5rem 0;
}

.fp-navbar .link {
  display: inline-block;
  padding: 10px 16px;
  color: #222;
  font-size: 13px!important;
  text-decoration: none;
  transition: all 0.3s ease;
  border-radius: 4px;
  position: relative;
}

.fp-navbar .link:hover,
.fp-navbar .link.active {
  color: #007bff;
  background-color: transparent;
}

.fp-navbar .link:hover::before,
.fp-navbar .link.active::before {
  content: "";
  position: absolute;
  top: -4px;
  left: -6px;
  right: -6px;
  bottom: -4px;
  border-radius: 8px;
  box-shadow: 0 0 12px 4px rgba(0, 123, 255, 0.6);
  z-index: -1;
}

.fp-navbar-dropdown-item-open {
  color: #007bff;
  margin-right: 6px;
  cursor: pointer;
  font-size: 18px;
}

.fp-navbar-dropdown-menu {
  background-color: #f8f9fa;
  border: 1px solid #007bff;
  box-shadow: 0 6px 20px rgba(0, 123, 255, 0.25);
  padding: 5px 0;
  border-radius: 6px;
  display: none;
  position: absolute;
  z-index: 999;
  min-width: 180px;
}

.fp-navbar-dropdown-item:hover .fp-navbar-dropdown-menu {
  display: block;
}

.fp-navbar-dropdown-link {
  display: block;
  padding: 10px 15px;
  font-size: 14px;
  color: #222;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.fp-navbar-dropdown-link:hover {
  background-color: #007bff;
  color: #fff;
}

/* Responsive mobile styles for navbar */
@media (max-width: 768px) {
  .fp-navbar .flex {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .fp-navbar ul.list {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    padding-left: 0;
    margin: 0;
  }
  .fp-navbar ul.list li {
    flex: 0 0 auto;
  }
  
  /* Mobil dropdown menü stilleri */
  .fp-navbar-dropdown-menu {
    position: fixed;
    top: auto;
    left: 10px;
    right: 10px;
    background-color: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,123,255,0.3);
    max-height: 60vh;
    overflow-y: auto;
    display: none;
    z-index: 1050;
    margin-top: 5px;
    border: 2px solid #007bff;
  }
  
  /* Mobil'de hover yerine click kullan */
  .fp-navbar-dropdown-item:hover .fp-navbar-dropdown-menu {
    display: none; /* Hover'ı devre dışı bırak */
  }
  
  /* Mobile show class'ı için stil */
  .fp-navbar-dropdown-menu.mobile-show {
    display: block !important;
    animation: slideDown 0.3s ease-out;
  }
  
  /* Mobil dropdown animasyonu */
  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* Mobil dropdown linkleri */
  .fp-navbar-dropdown-link {
    padding: 12px 20px;
    font-size: 15px;
    border-bottom: 1px solid rgba(0,123,255,0.1);
  }
  
  .fp-navbar-dropdown-link:last-child {
    border-bottom: none;
  }
  
  /* Touch target optimization */
  .fp-navbar-dropdown-item-open {
    padding: 8px;
    margin: -8px;
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  
  /* Dropdown item touch friendly */
  .fp-navbar-dropdown-item {
    position: relative;
  }
  
  .fp-navbar-dropdown-item > .link {
    padding: 10px 8px;
    min-height: 44px;
    display: flex;
    align-items: center;
  }
}

/* Desktop hover stilleri - sadece büyük ekranlarda */
@media (min-width: 769px) {
  .fp-navbar-dropdown-item:hover .fp-navbar-dropdown-menu {
    display: block;
  }
  
  .fp-navbar-dropdown-menu.mobile-show {
    display: block; /* Desktop'ta da çalışsın */
  }
}

/* Full Screen Categories Sidebar */
.categories-fullscreen-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

.categories-fullscreen-overlay.show {
  visibility: visible;
  opacity: 1;
}

.categories-popup-content {
  position: fixed;
  top: 0;
  right: 0;
  width: 400px;
  height: 100vh;
  background: #1a1a1a;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow-y: auto;
  padding: 0;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
}

.categories-fullscreen-overlay.show .categories-popup-content {
  transform: translateX(0);
}

.categories-popup-header {
  background: linear-gradient(135deg, #FF0050 0%, #007bff 100%);
  padding: 25px 20px;
  position: sticky;
  top: 0;
  z-index: 10;
}

.categories-popup-title {
  color: white;
  font-size: 20px;
  font-weight: 700;
  margin: 0;
  text-align: center;
}

.categories-close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  color: white;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.categories-close-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.categories-list {
  padding: 20px 0;
}

.category-item {
  display: block;
  padding: 15px 25px;
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.category-item:hover {
  background: linear-gradient(90deg, rgba(255, 0, 80, 0.1) 0%, rgba(0, 123, 255, 0.1) 100%);
  color: #FF0050;
  text-decoration: none;
  transform: translateX(5px);
}

.category-item:hover::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(135deg, #FF0050 0%, #007bff 100%);
}

.category-item-content {
  display: flex;
  align-items: center;
  gap: 15px;
}

.category-item-image {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  object-fit: cover;
  display: none;
}

.category-item-name {
  font-size: 16px;
  font-weight: 500;
  flex: 1;
}

.category-item-arrow {
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.3s ease, transform 0.3s ease;
}

.category-item:hover .category-item-arrow {
  color: #FF0050;
  transform: translateX(5px);
}

/* Mobile Responsive for Sidebar */
@media (max-width: 768px) {
  .categories-popup-content {
    width: 100vw;
    transform: translateX(100%);
  }
  
  .categories-fullscreen-overlay.show .categories-popup-content {
    transform: translateX(0);
  }
  
  .category-item-image {
    display: block;
  }
  
  .category-item {
    padding: 18px 20px;
  }
  
  .category-item-name {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .categories-popup-header {
    padding: 20px 15px;
  }
  
  .categories-popup-title {
    font-size: 18px;
  }
  
  .category-item {
    padding: 16px 15px;
  }
}