:root {
  --header-bg: rgba(255, 255, 255, 0.85);
  --header-accent: #14b8a6; /* Teal-500 */
  --header-text: #0f172a; /* Slate-900 */
}

/* Основна обгортка */
.header-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--header-bg);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s;
}

/* Стан при скролі вниз (твій JS додасть цей клас) */
.header-hidden {
  transform: translateY(-100%);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo Styles */
.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-box {
  background: #fff;
  padding: 4px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.logo-image {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 8px;
}

.logo-text {
  font-size: 22px;
  font-weight: 800;
  color: var(--header-text);
  letter-spacing: -0.03em;
}

/* Desktop Navigation */
.desktop-nav ul {
  display: flex;
  gap: 40px;
  list-style: none;
}

.desktop-nav a {
  text-decoration: none;
  color: #64748b;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 0.3s;
}

.desktop-nav a:hover {
  color: var(--header-accent);
}

/* CTA Button */
.desktop-contact-link {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--header-text);
  color: #fff;
  padding: 12px 24px;
  border-radius: 100px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s;
}

.desktop-contact-link:hover {
  background: var(--header-accent);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(20, 184, 166, 0.3);
}

/* Hamburger Styles */
.hamburger {
  width: 28px;
  height: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 1002;
}

.hamburger span {
  width: 100%;
  height: 2px;
  background: var(--header-text);
  border-radius: 10px;
  transition: 0.3s;
}

.hamburger.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* Mobile Menu Overlay */
.nav-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: #fff;
  z-index: 1001;
  display: flex;
  flex-direction: column;
  padding: 100px 40px;
  transition: right 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-menu.active {
  right: 0;
}

.nav-menu-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 60px;
}

.nav-menu ul {
  list-style: none;
  padding: 0;
}

.nav-menu li {
  margin-bottom: 30px;
}

.nav-menu a {
  font-size: 28px;
  font-weight: 700;
  color: var(--header-text);
  text-decoration: none;
}

.contact-btn {
  display: inline-block;
  background: var(--header-accent);
  color: white !important;
  padding: 16px 32px;
  border-radius: 16px;
  font-size: 18px !important;
  text-align: center;
}

/* Hide desktop elements on mobile */
@media (max-width: 768px) {
  .desktop-nav, .header-actions {
    display: none;
  }
}