/* Navbar User Butonları (Ortak) */
.user-button-nav {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 2px solid #000;
    background: #fff;
    color: #000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.18s, box-shadow 0.18s;
    margin-left: 8px;
    position: relative;
}

.user-button-nav:hover,
.user-button-nav:focus {
    background: #e8e8e8;
    box-shadow: 0 0 0 3px rgba(187, 187, 187, 0.4);
}

.user-button-nav i {
    font-size: 12px;
    color: #000;
    pointer-events: none;
}

.user-button-nav[data-tooltip]:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -32px;
    background: #1a1a1a;
    color: #fff;
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 0.91em;
    opacity: 0.95;
    pointer-events: none;
    white-space: nowrap;
    z-index: 6000;
}



/* ========== HEADER CSS - SADECE NAVBAR İÇİN ========== */

/* Navbar temel yapı */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  height: 56px;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 1000;
  padding: 0 24px;
  font-family: "Merriweather", serif;
  font-optical-sizing: auto;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.navbar-container {
  max-width: 1400px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.brand-img {
  height: 32px;
  width: auto;
  object-fit: contain;
  display: block;
  font-family: inherit;
}

/* Desktop Navigation */
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .2px;
  transition: color .2s;
}

.nav-link:hover {
  color: #fff;
}

/* Modern Dropdown Styles */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-toggle {
  display: flex !important;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.dropdown-toggle:hover i {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: rgba(15, 15, 15, 0.98);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  min-width: 280px;
  padding: 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-15px) scale(0.95);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.dropdown-item {
  display: flex;
  align-items: center;
  padding: 16px;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  margin-bottom: 4px;
}

.dropdown-item:last-child {
  margin-bottom: 0;
}

.dropdown-item:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  transform: translateX(4px);
}

.item-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 2px;
}

.item-desc {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 400;
}

/* Right Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.user-icons {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* User Buttons - GLOBAL STYLE FOR ALL PAGES */
.user-button {
  width: 40px !important;
  height: 40px !important;
  margin-left: 6px;
  border-radius: 50% !important;
  border: 1px solid #333 !important;
  background: transparent !important;
  color: #ff3b30 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer;
  padding: 8px !important;
  font-weight: 500;
}

.user-button i {
  font-size: 14px !important;
  line-height: 1 !important;
  color: #ff3b30 !important;
}

.user-button:hover,
.user-button:focus {
  border-color: #ff3b30;
  color: #ff6b60;
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 59, 48, .15) inset;
}

/* Download Button */
.download-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: #6495ED;
  color: #fff;
  border: none;
  border-radius: 30;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .2px;
  cursor: pointer;
  text-decoration: none;
  transition: all .2s;
}

.download-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.15);
}

/* Hamburger Button */
.hamburger {
  display: none;
  width: 24px;
  height: 24px;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.hamburger span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: #fff;
  transition: all .3s;
}

/* Hamburger Animation */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(3px, 3px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(3px, -3px);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 56px;
  right: 0;
  left: 0;
  bottom: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 1);
  padding: 24px;
  transform: translateX(100%);
  transition: transform .3s ease;
  will-change: transform;
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-nav-link {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: .2px;
  padding: 12px 0;
  transition: color .2s;
  font-family: "Merriweather", serif;
  font-optical-sizing: auto;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.mobile-nav-link.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  padding-left: 12px;
  border-radius: 0;
}

/* Mobile User Actions */
.mobile-user-actions {
  display: none;
}

/* Mobile Responsive */
@media (max-width: 1100px) {
  .navbar {
    padding: 0 16px;
  }

  .nav-links {
    display: none;
  }
  
  .download-btn {
    display: flex !important;
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 1001 !important;
  }

  .nav-actions .user-button {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-menu {
    display: block;
  }

  .mobile-user-actions {
    display: flex;
    gap: 12px;
    margin: 14px 0 6px;
    justify-content: center;
  }

  .mobile-user-actions .user-button {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    border: 1px solid #333 !important;
    background: transparent !important;
    color: #ff3b30 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .mobile-user-actions .user-button i {
    font-size: 14px !important;
  }

  .mobile-user-actions .user-button:hover {
    border-color: #ff3b30;
    box-shadow: 0 0 0 2px rgba(255, 59, 48, .12) inset;
  }

  .mobile-menu .mobile-user-actions {
    display: flex;
    gap: 12px;
    padding: 14px 8px 18px;
    border-top: 1px solid #222;
  }

  .mobile-menu .mobile-user-actions .user-button {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    border: 1px solid #333 !important;
    background: transparent !important;
    color: #ff3b30 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 8px !important;
    text-decoration: none !important;
  }

  .mobile-menu .mobile-user-actions .user-button i {
    font-size: 18px !important;
    line-height: 1;
  }

  .mobile-menu .mobile-user-actions .user-button span {
    display: none !important;
  }
}

/* Body padding for fixed header */
body {
  padding-top: 56px;
}

/* Menu açıkken body scroll engelle */
body.menu-open {
  overflow: hidden;
}

/* Global User Button Style Override - Ultra Specific Selectors */
button#registerBtn.user-button,
button#loginBtn.user-button,
button#profileBtn.user-button,
button#logoutBtn.user-button,
button#mobileRegisterBtn.user-button,
button#mobileLoginBtn.user-button,
button#mobileProfileBtn.user-button,
button#mobileLogoutBtn.user-button,
.nav-actions .user-button,
.mobile-user-actions .user-button {
    background: #fff !important;
    color: #333 !important;
    border: 1px solid #ddd !important;
}

button#registerBtn.user-button i,
button#loginBtn.user-button i,
button#profileBtn.user-button i,
button#logoutBtn.user-button i,
button#mobileRegisterBtn.user-button i,
button#mobileLoginBtn.user-button i,
button#mobileProfileBtn.user-button i,
button#mobileLogoutBtn.user-button i,
.nav-actions .user-button i,
.mobile-user-actions .user-button i {
    color: #333 !important;
}

/* Hover Effects */
button#registerBtn.user-button:hover,
button#loginBtn.user-button:hover,
button#profileBtn.user-button:hover,
button#logoutBtn.user-button:hover,
button#mobileRegisterBtn.user-button:hover,
button#mobileLoginBtn.user-button:hover,
button#mobileProfileBtn.user-button:hover,
button#mobileLogoutBtn.user-button:hover,
.nav-actions .user-button:hover,
.mobile-user-actions .user-button:hover {
    background: #f5f5f5 !important;
    border-color: #bbb !important;
}

button#registerBtn.user-button:hover i,
button#loginBtn.user-button:hover i,
button#profileBtn.user-button:hover i,
button#logoutBtn.user-button:hover i,
button#mobileRegisterBtn.user-button:hover i,
button#mobileLoginBtn.user-button:hover i,
button#mobileProfileBtn.user-button:hover i,
button#mobileLogoutBtn.user-button:hover i,
.nav-actions .user-button:hover i,
.mobile-user-actions .user-button:hover i {
    color: #222 !important;
}