/* PATCH 011 - Tema butonu menüden çıkarıldı, ayrı floating buton oldu */

/* Eski header içi tema butonu kullanılmasın */
.header-inner > .theme-toggle{
  display:none !important;
}

/* Header artık sadece logo + menü taşısın */
.header-inner{
  gap:24px !important;
}

.brand{
  flex:0 0 335px !important;
  min-width:335px !important;
}

.site-nav{
  flex:1 1 auto !important;
  justify-content:flex-end !important;
  gap:10px !important;
}

.site-nav > a,
.nav-dropdown > a{
  padding-left:12px !important;
  padding-right:12px !important;
}

/* Ayrı duran premium tema butonu */
.floating-theme-toggle{
  position:fixed;
  right:28px;
  bottom:28px;
  z-index:999;
  display:inline-flex;
  align-items:center;
  gap:10px;
  height:48px;
  padding:0 18px;
  border-radius:999px;
  border:1px solid rgba(241,209,133,.36);
  background:linear-gradient(135deg,rgba(7,27,51,.96),rgba(13,42,74,.92));
  color:#fff;
  font-weight:900;
  font-size:13px;
  cursor:pointer;
  box-shadow:0 18px 45px rgba(7,27,51,.30), inset 0 1px 0 rgba(255,255,255,.12);
  backdrop-filter:blur(14px);
}

.floating-theme-toggle:hover{
  transform:translateY(-2px);
  box-shadow:0 22px 55px rgba(7,27,51,.38), inset 0 1px 0 rgba(255,255,255,.16);
}

.floating-theme-toggle .theme-dot{
  width:20px !important;
  height:20px !important;
  flex:0 0 20px !important;
}

/* Beyaz modda floating buton açık tema */
body.light-mode .floating-theme-toggle{
  background:rgba(255,255,255,.96) !important;
  color:#17272d !important;
  border-color:rgba(7,27,51,.14) !important;
  box-shadow:0 18px 45px rgba(7,27,51,.16), inset 0 1px 0 rgba(255,255,255,.75);
}

/* Header beyaz mod nav tekrar garanti */
body.light-mode .site-nav{
  background:transparent !important;
}

body.light-mode .site-nav > a,
body.light-mode .nav-dropdown > a{
  color:#17272d !important;
}

/* Menü artık daha rahat */
@media (min-width:1280px){
  .container.header-inner{
    width:min(1360px,calc(100% - 48px)) !important;
  }
}

@media (max-width:1240px){
  .brand{
    flex-basis:295px !important;
    min-width:295px !important;
  }
  .site-nav{
    gap:6px !important;
  }
  .site-nav > a,
  .nav-dropdown > a{
    padding-left:8px !important;
    padding-right:8px !important;
  }
}

/* Tablet ve mobilde floating buton altta kalsın, menüye girmesin */
@media (max-width:1080px){
  .brand{
    flex:1 1 auto !important;
    min-width:0 !important;
  }
  .floating-theme-toggle{
    right:18px;
    bottom:18px;
    height:44px;
    padding:0 14px;
    font-size:12px;
  }
}

@media (max-width:620px){
  .floating-theme-toggle{
    right:14px;
    bottom:14px;
    width:46px;
    height:46px;
    padding:0;
    justify-content:center;
  }
  .floating-theme-toggle .theme-text{
    display:none !important;
  }
}