/* ==========================================================================
   HEADER TOP BAR
   ========================================================================== */

.header__top {
  background: var(--color-dark);
  padding: var(--space-sm) 0;
  font-size: var(--text-xs);
}

.header__top-inner {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.header__contact {
  color: white;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.header__contact i {
  color: var(--color-primary);
  font-size: 12px;
}

.header__contact-link {
  color: white;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  transition: color var(--transition-base);
}

.header__contact-name {
  color: var(--color-primary);
  font-weight: 600;
}

.header__contact--tagline {
  color: rgba(255, 255, 255, 0.6);
  font-style: italic;
}

.header__contact--tagline i {
  color: rgba(255, 255, 255, 0.6);
}

/* ==========================================================================
   HEADER
   ========================================================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: var(--z-fixed);
  padding: 0;
  transition: all var(--transition-base);
}

.header.scrolled {
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    background: #0000006b;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
  padding: var(--space-md) 0;
}

/* Navigation */
.nav__list {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav__link {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  padding: var(--space-sm) 0;
  transition: color var(--transition-base);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  border-radius: var(--radius-full);
  transition: width var(--transition-base);
}

.nav__link:hover::after {
  width: 100%;
}

/* Header CTA */
.header__cta {
  flex-shrink: 0;
}

.header__cta img {
  width: 30px;
}

/* Mobile Nav */
@media (max-width: 1024px) {
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--gradient-dark);
    margin: 0;
    padding: 100px var(--space-xl) var(--space-xl);
    transition: right var(--transition-base);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.3);
  }

  .nav.active {
    right: 0;
  }

  .nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-lg);
  }

  .nav__link {
    font-size: var(--text-base);
    width: 100%;
    color: white;
    padding: var(--space-md) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav__link::after {
    display: none;
  }

  .burger {
    display: flex;
  }

  .header__cta {
    display: none;
  }
}

/* ========== BURGER ========== */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 30px;
  height: 30px;
  z-index: var(--z-fixed);
  background: none;
  border: none;
  cursor: pointer;
}

.burger span {
  display: block;
  width: 100%;
  height: 3px;
  background: white;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  transform-origin: center;
}

.burger.active span {
  background: white;
}

.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.burger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* Mobile Nav */
@media (max-width: 1024px) {
  .header__top {
    display: none;
  }
  
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--gradient-dark);
    margin: 0;
    padding: 100px var(--space-xl) var(--space-xl);
    transition: right var(--transition-base);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.3);
  }

  .nav.active {
    right: 0;
    z-index: 10;
  }

  .nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-lg);
  }

  .nav__link {
    font-size: var(--text-base);
    width: 100%;
    color: white;
    padding: var(--space-md) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav__link::after {
    display: none;
  }

  .burger {
    display: flex;
    margin-right: 15px;
  }

  .header__cta {
    display: none;
  }
}


@media (min-width: 1025px) and (max-width: 1200px) {
  .header__top-inner {
    font-size: 11px;
    gap: var(--space-md);
  }
  
  .header__contact--tagline {
    display: none;
  }
}