@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap');
.custom-bar {
  position: fixed;
  top: 0; left: 0; width: 100vw;
  z-index: 2000;
  background: rgba(15,15,20,0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 8px 40px;
  height: 54px;
  font-family: 'Inter', 'Poppins', Arial, sans-serif;
  box-sizing: border-box;
  transition: background 0.25s;
  border-bottom: 1px solid rgba(212,175,55,0.2);
}
.bar-left {
  display: none;
}
.bar-logo-img {
  height: 70px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}
.bar-logo {
  font-size: 1.45rem;
  font-weight: 600;
  color: #d4af37;
  letter-spacing: 2px;
  user-select: none;
}
.bar-logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
}
.bar-logo-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #d4af37;
  letter-spacing: 2px;
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.bar-logo-slogan {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.85);
  letter-spacing: 1px;
  font-weight: 400;
  font-style: italic;
}
.bar-right {
  display: flex;
  align-items: center;
  gap: 32px;
}
.bar-menu {
  display: flex;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}
.bar-menu li a {
  color: #ffffff;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.2s, text-shadow 0.2s;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}
.bar-menu li a:hover {
  color: #d4af37;
  text-shadow: 0 0 12px rgba(212,175,55,0.5);
}
/* Hesabım Dropdown */
.bar-account {
  position: relative;
}
.bar-account-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1.5px solid #d4af37;
  border-radius: 8px;
  padding: 10px 20px;
  color: #d4af37;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}
.bar-account-btn:hover {
  background: rgba(212,175,55,0.15);
  box-shadow: 0 0 16px rgba(212,175,55,0.3);
}
.bar-account-btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s;
}
.bar-account.open .bar-account-btn svg {
  transform: rotate(180deg);
}
.bar-account-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: rgba(20,20,25,0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(212,175,55,0.3);
  border-radius: 10px;
  padding: 8px 0;
  min-width: 160px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.25s ease;
  z-index: 2100;
}
.bar-account.open .bar-account-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.bar-account-dropdown a {
  display: block;
  padding: 12px 20px;
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.2s;
}
.bar-account-dropdown a:hover {
  background: rgba(212,175,55,0.15);
  color: #d4af37;
}
.bar-account-dropdown a + a {
  border-top: 1px solid rgba(255,255,255,0.1);
}
.bar-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-left: 18px;
  cursor: pointer;
  z-index: 2100;
}
.bar-hamburger span {
  display: block;
  height: 4px;
  width: 100%;
  background: #d4af37;
  margin: 4px 0;
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(.4,1.6,.4,1);
}
.bar-hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.bar-hamburger.active span:nth-child(2) {
  opacity: 0;
}
.bar-hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}
@media (max-width: 800px) {
  .custom-bar { padding: 8px 20px; height: 50px; }
  .bar-menu { gap: 20px; }
  .bar-right { gap: 24px; }
}
@media (max-width: 600px) {
  .custom-bar { padding: 6px 16px; height: 48px; }
  .bar-menu {
    position: fixed;
    top: 48px;
    right: 0;
    background: rgba(15,15,20,0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: flex-end;
    width: 70vw;
    max-width: 320px;
    height: 100vh;
    padding: 32px 24px 0 24px;
    gap: 22px;
    box-shadow: -2px 0 24px rgba(0,0,0,0.4);
    transform: translateX(100%);
    transition: transform 0.32s cubic-bezier(.4,1.6,.4,1);
    z-index: 2050;
  }
  .bar-menu.open {
    transform: translateX(0);
  }
  .bar-hamburger {
    display: flex;
  }
  .bar-account-btn {
    padding: 6px 12px;
    font-size: 0.85rem;
  }
  .bar-account-dropdown {
    right: -10px;
  }
  .bar-right { gap: 16px; }
}
