/* =========================
 *  HEADER
 * ========================= */

.header-gradient {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.98) 0%, rgba(30, 41, 59, 0.98) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: relative;
  z-index: 50;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

header .max-w-7xl {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
  padding: 0.75rem 1rem;
}

.logo-container {
  display: flex;
  align-items: center;
  transform: translateX(-250px);
  margin-right: -250px;
}

.logo-container img {
  width: 160px;
  height: auto;
  transition: transform 0.3s ease;
}

.logo-container img:hover {
  transform: scale(1.02);
}

.header-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

.header-nav a {
  color: #e2e8f0;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.5rem 0;
  position: relative;
  transition: all 0.2s ease;
  opacity: 0.9;
  white-space: nowrap;
}

.header-nav a:hover {
  color: var(--primary-light);
  opacity: 1;
}

.header-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-light);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.header-nav a:hover::after {
  width: 100%;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  transform: translateX(100px);
}

.header-phone {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding-right: 1.5rem;
  border-right: 1px solid rgba(148, 163, 184, 0.2);
}

.header-phone .availability {
  font-size: 0.75rem;
  letter-spacing: 0.3px;
  color: #94a3b8;
  margin-bottom: 0.15rem;
  display: block;
}

.header-phone .number {
  font-size: 0.95rem;
  font-weight: 700;
  color: #f8fafc;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.header-phone .number:hover {
  color: var(--primary-light);
}

.btn-header {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  padding: 0.6rem 1.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.3);
  color: #e5e7eb;
  background: rgba(15, 23, 42, 0.4);
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-header:hover {
  background: rgba(30, 41, 59, 0.6);
  border-color: var(--primary-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

.btn-primary.btn-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border: none;
  box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
}

.btn-primary.btn-header:hover {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4);
}

.header-buttons {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transform: translateX(250px);
}

.burger-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(15, 23, 42, 0.4);
  color: white;
  transition: all 0.2s ease;
  cursor: pointer;
}

.burger-btn:hover {
  border-color: var(--primary-light);
  background: rgba(30, 41, 59, 0.6);
  transform: translateY(-1px);
}

.user-menu { position: relative; } .user-menu-trigger { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.4rem 1rem; border-radius: 9999px; background: rgba(15, 23, 42, 0.6); border: 1px solid rgba(148, 163, 184, 0.5); color: #e5e7eb; font-weight: 600; font-size: 0.85rem; cursor: pointer; transition: all 0.15s ease; } .user-menu-trigger:hover { background: rgba(15, 23, 42, 0.8); border-color: var(--primary-light); } .user-avatar { width: 28px; height: 28px; border-radius: 9999px; background: linear-gradient(135deg, var(--primary), var(--accent)); display: flex; align-items: center; justify-content: center; font-size: 0.9rem; } .user-menu-dropdown { position: absolute; right: 0; top: 110%; min-width: 180px; padding: 0.4rem; border-radius: 0.75rem; background: #020617; border: 1px solid rgba(148, 163, 184, 0.35); box-shadow: 0 12px 30px rgba(15, 23, 42, 0.8); display: none; z-index: 60; } .user-menu:hover .user-menu-dropdown { display: block; } .user-menu-dropdown a, .user-menu-dropdown button { display: flex; align-items: center; gap: 0.5rem; width: 100%; padding: 0.5rem 0.6rem; border-radius: 0.6rem; font-size: 0.85rem; color: #e5e7eb; background: transparent; border: none; text-align: left; cursor: pointer; transition: all 0.15s ease; } .user-menu-dropdown a:hover, .user-menu-dropdown button:hover { background: rgba(99, 102, 241, 0.15); }
/* =========================
 *  FOOTER
 * ========================= */

.footer-gradient {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-top: 1px solid rgba(148, 163, 184, 0.1);
}

/* =========================
 *  RESPONSIVE HEADER
 * ========================= */

@media (max-width: 1024px) {
  header .max-w-7xl {
    grid-template-columns: auto 1fr;
    gap: 1.5rem;
  }

  .logo-container {
    transform: translateX(0);
    margin-right: 0;
  }

  .header-nav { display: none; }
  .header-phone { display: none; }

  .header-right { transform: translateX(0); }
  .header-buttons { transform: translateX(0); }
}

@media (max-width: 640px) {
  header .max-w-7xl {
    grid-template-columns: 1fr auto;
    gap: 1rem;
  }

  .logo-container img { width: 140px; }
}
