.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  min-height: 80px; /* Logo için yeterli yükseklik */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  box-sizing: border-box;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

/* Çalışma Saatleri Banner Stili */
#working-status {
  position: fixed;
  top: 80px; /* Header'ın altında */
  left: 0;
  right: 0;
  padding: 6px 8px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  z-index: 900;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  color: white;
  transition: all 0.3s ease;
}

/* Header'a çalışma banner'ı için extra padding */
.header.has-working-status {
  padding-top: 40px;
}

/* Hamburger Menu Button */
.hamburger-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 6px;
  transition: background 0.3s ease;
}

.hamburger-btn:hover {
  background: rgba(37, 99, 235, 0.08);
}

.hamburger-line {
  width: 24px;
  height: 3px;
  background: #2563eb;
  margin: 2px 0;
  
  transition: all 0.3s ease;
}

.hamburger-btn.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger-btn.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger-btn.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Logo (Ortada) */
.logo {
  height: 170px; /* 150px'den 170px'e büyüttük */
  width: auto;
  position: absolute;
  left: 49%;
  top: 70%;
  transform: translate(-50%, -50%);
}

/* Navigation Menu (Slide Panel) */
.nav {
  position: fixed;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100vh;
  z-index: 1001;
  transition: left 0.3s ease;
}

.nav.open {
  left: 0;
}

.nav-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
}

.nav-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 300px;
  height: 100%;
  background: #fff;
  box-shadow: 2px 0 20px rgba(0, 0, 0, 0.1);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.nav.open .nav-content {
  transform: translateX(0);
}

.nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  border-bottom: 1px solid #e5e7eb;
}

.nav-logo {
  height: 100px;
  margin-left: 20px;
}

.nav-close {
  background: none;
  border: none;
  font-size: 24px;
  color: #6b7280;
  cursor: pointer;
  padding: 5px;
  
  transition: all 0.3s ease;
}

.nav-close:hover {
  background: rgba(37, 99, 235, 0.08);
  color: #2563eb;
}

.nav-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-links li {
  border-bottom: 1px solid #f3f4f6;
}

.nav-links a {
  display: block;
  padding: 18px 25px;
  color: #374151;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: #2563eb;
  background: rgba(37, 99, 235, 0.05);
}

.nav-links a.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #2563eb;
}

/* User Icon Container */
.user-icon-container {
  display: flex;
  align-items: center;
  gap: 16px;
}

.user-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #f3f4f6;
  transition: background 0.3s ease;
}

.user-icon:hover {
  background: rgba(37, 99, 235, 0.08);
}

.user-icon svg {
  width: 20px;
  height: 20px;
  fill: #2563eb;
}

/* Kullanıcı adı gösterimi için */
#userName {
  background: #0751f100;
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
  margin-left: 8px;
  transition: all 0.3s ease;
  min-width: 32px; /* Genişliği sabit tut */
}

#userName:hover {
  background: #39f00c;
  transform: scale(1.05);
}

/* Kullanıcı giriş yapmışsa simgeyi gizle */
.user-icon.logged-in svg {
  display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header {
    padding: 0.8rem 1rem;
  }
  
  .logo {
    height: 150px; /* Mobilde logo boyutunu küçült */
    top: 60%;
  }
  
  .nav-logo {
    height: 60px; /* Nav menüdeki logo da küçülsün */
  }
  
  .user-icon-container {
    gap: 12px;
  }
  
  /* Mobilde working status */
  #working-status {
    font-size: 11px;
    padding: 5px 8px;
  }
  
  body.has-working-status {
    margin-top: 105px; /* Mobilde biraz daha az margin */
  }
}

@media (max-width: 480px) {
  .header {
    padding: 0.6rem 0.8rem;
  }
  
  .logo {
    height: 120px; /* Çok küçük ekranlarda daha da küçült */
  }
  
  .nav-logo {
    height: 125px;
  }
  
  /* Çok küçük ekranlarda working status */
  #working-status {
    font-size: 10px;
    padding: 4px 6px;
  }
  
  body.has-working-status {
    margin-top: 100px;
  }
}

.nav a {
    color: rgb(34, 34, 34);
    text-decoration: none;
    margin-left: 32px;
    font-size: 20px;
    font-weight: 500;
    transition: color 0.2s;
}