/* ============================================
   Site Header
   ============================================ */

.header-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #000000;
  transition: transform var(--transition-default);
}

.header-wrapper--scrolled {
  border-bottom: 1px solid var(--color-border-subtle);
}

.header-wrapper--hidden {
  transform: translateY(-100%);
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 20px var(--container-padding);
  height: var(--header-height);
}

/* Logo */
.header__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.header__logo img {
  height: 54px;
  width: auto;
}

/* Navigation */
.header__nav {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.header__nav a {
  font-family: var(--font-nav);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #ffffff;
  text-decoration: none;
  transition: color var(--transition-default);
  padding: 8px 0;
}

.header__nav a:hover,
.header__nav a.active {
  color: var(--color-gold);
}

/* Icons (social, contact) */
.header__icons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header__social-icon {
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--transition-default);
  display: flex;
  align-items: center;
}

.header__social-icon:hover {
  color: var(--color-gold);
}

.header__social-icon svg {
  width: 20px;
  height: 20px;
}

.header__divider {
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, 0.25);
}

/* Mobile menu toggle */
.header__menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.header__menu-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--color-text-primary);
  transition: all var(--transition-default);
}

/* Mobile drawer */
.mobile-drawer {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 280px;
  background: var(--color-bg-primary);
  border-right: 1px solid var(--color-border-subtle);
  z-index: 1000;
  padding: 80px 32px 32px;
  transform: translateX(-100%);
  transition: transform var(--transition-default);
}

.mobile-drawer.open {
  transform: translateX(0);
}

.mobile-drawer__overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 999;
}

.mobile-drawer__overlay.open {
  display: block;
}

.mobile-drawer__nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mobile-drawer__nav a {
  font-family: var(--font-nav);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: color var(--transition-default);
}

.mobile-drawer__nav a:hover {
  color: var(--color-gold);
}

.mobile-drawer__social {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border-subtle);
}

.mobile-drawer__contact {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border-subtle);
}

.mobile-drawer__contact .header__contact-copy {
  opacity: 1;
}

/* Contact dropdown */
.header__contact {
  position: relative;
}

.header__contact-trigger {
  display: flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 0;
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--transition-default);
}

.header__contact-trigger:hover,
.header__contact.open .header__contact-trigger {
  color: var(--color-gold);
}

.header__contact-trigger svg {
  width: 18px;
  height: 18px;
}

.header__contact-trigger .header__contact-arrow {
  width: 10px;
  height: 10px;
  transition: transform 0.25s ease;
}

.header__contact.open .header__contact-arrow {
  transform: rotate(180deg);
}

.header__contact-dropdown {
  visibility: hidden;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  position: absolute;
  top: 100%;
  right: 0;
  width: 220px;
  background: #0a0a0a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  margin-top: 8px;
  z-index: 2001;
  overflow: hidden;
}

.header__contact.open .header__contact-dropdown {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.header__contact-item {
  padding: 10px 14px 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  border-left: 2px solid transparent;
  transition: background 0.2s ease, border-left-color 0.2s ease;
  cursor: pointer;
}

.header__contact-item:last-child {
  border-bottom: none;
}

.header__contact-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-left: 2px solid var(--color-gold);
}

.header__contact-label {
  font-size: 8px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 400;
  margin-bottom: 2px;
}

.header__contact-value {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.header__contact-text {
  font-family: var(--font-body);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 400;
  letter-spacing: 0.3px;
}

.header__contact-copy {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 2px 6px;
  border-radius: 3px;
  background: none;
  cursor: pointer;
  opacity: 0;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.header__contact-item:hover .header__contact-copy {
  opacity: 1;
}

.header__contact-copy:hover {
  color: var(--color-gold);
  border-color: var(--color-gold);
}

/* Responsive */
@media screen and (max-width: 768px) {
  .header__nav {
    display: none;
  }

  .header__icons .header__social-icon,
  .header__icons .header__divider,
  .header__contact {
    display: none;
  }

  .header__menu-toggle {
    display: flex;
  }

  .mobile-drawer {
    display: block;
  }
}
