/* Header 3: Logo left, nav right after logo, button far right */
.header3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 30px;
  background-color: transparent;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.header3.scrolled {
  background-color: rgba(217, 217, 217, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header3-logo {
  display: flex;
  align-items: center;
  z-index: 1001;
}

.header3-logo img {
  width: 60px;
  height: 60px;
  object-fit: cover;
}

.header3-nav {
  display: flex;
  gap: 30px;
  margin-left: 40px;
  flex: 1;
}

.header3-nav a {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 24px;
  font-weight: 400;
  font-family: Arial, sans-serif;
  transition: opacity 0.3s;
}

.header3-nav a:hover {
  opacity: 0.7;
}

.header3-button {
  background-color: var(--button-bg);
  color: var(--text-primary);
  border: none;
  padding: 12px 40px;
  font-size: 24px;
  font-weight: 600;
  border-radius: 25px;
  cursor: pointer;
  font-family: Arial, sans-serif;
  transition: background-color 0.3s;
  text-decoration: none;
  display: inline-block;
}

.header3-button:hover {
  background-color: var(--button-hover-bg);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}

.hamburger span {
  width: 30px;
  height: 3px;
  background-color: var(--text-primary);
  transition: all 0.3s ease;
  border-radius: 3px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translateY(11px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-11px);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  background-color: rgba(217, 217, 217, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  flex-direction: column;
  padding: 20px;
  gap: 20px;
  transform: translateY(-100%);
  opacity: 0;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
  transform: translateY(0);
  opacity: 1;
}

.mobile-menu a {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 20px;
  font-weight: 400;
  font-family: Arial, sans-serif;
  padding: 10px;
  text-align: center;
  transition: background-color 0.3s;
  border-radius: 8px;
}

.mobile-menu a:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.mobile-play-button {
  background-color: var(--button-bg);
  color: var(--text-primary);
  padding: 12px 40px;
  font-size: 20px;
  font-weight: 600;
  border-radius: 25px;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  margin-top: 10px;
}

.mobile-play-button:hover {
  background-color: var(--button-hover-bg) !important;
}

@media (max-width: 768px) {
  .header3-nav {
    display: none;
  }

  .header3-button {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-menu {
    display: flex;
  }

  .header3 {
    justify-content: space-between;
  }
}
