/**
 * REFINED_MOVEMENT - Header & Navigation
 * Sticky header with language toggle
 */

/* ========================================
   HEADER CONTAINER
   ======================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: var(--header-height);
  background-color: rgba(245, 243, 237, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

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

/* ========================================
   LOGO
   ======================================== */

.site-logo {
  display: flex;
  align-items: center;
  height: 100%;
  z-index: 1001;
  position: relative;
  text-decoration: none;
}

.site-logo img {
  height: 48px;
  width: auto;
  display: none;
}

.site-logo-text {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 32px;
  color: var(--color-charcoal);
  letter-spacing: -0.02em;
  line-height: 1;
}

.site-logo .logo-text {
  font-family: var(--font-display);
  font-weight: var(--font-weight-black);
  font-size: 24px;
  color: var(--color-white);
  letter-spacing: -0.01em;
}

/* ========================================
   NAVIGATION
   ======================================== */

.site-nav {
  display: flex;
  gap: var(--space-lg);
  align-items: center;
}

.site-nav a {
  font-family: var(--font-body);
  font-weight: var(--font-weight-medium);
  font-size: 16px;
  color: var(--color-charcoal);
  transition: color var(--transition-fast);
  position: relative;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--accent-primary);
}

.site-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-primary);
  transition: width var(--transition-base);
}

.site-nav a:hover::after {
  width: 100%;
}

/* ========================================
   HEADER ACTIONS
   ======================================== */

.header-actions {
  display: flex;
  gap: var(--space-md);
  align-items: center;
}

.btn-login {
  font-family: var(--font-body);
  font-weight: var(--font-weight-medium);
  font-size: 16px;
  color: var(--color-charcoal);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.btn-login:hover {
  color: var(--accent-primary);
}

.header-actions .btn-primary {
  padding: 12px 24px;
  font-size: 15px;
}

/* ========================================
   LANGUAGE TOGGLE
   ======================================== */

.lang-toggle {
  display: flex;
  gap: var(--space-xs);
  align-items: center;
  font-size: 14px;
  color: var(--color-charcoal);
  font-weight: var(--font-weight-medium);
}

.lang-toggle a {
  color: var(--color-charcoal);
  opacity: 0.7;
  transition: opacity var(--transition-fast), color var(--transition-fast);
  text-decoration: none;
  padding: 4px 8px;
  font-size: 14px;
  font-weight: 500;
}

.lang-toggle a:hover,
.lang-toggle a.active {
  opacity: 1;
  color: var(--accent-primary);
}

.lang-toggle .separator {
  opacity: 0.5;
}

/* ========================================
   MOBILE MENU TOGGLE
   ======================================== */

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: var(--space-xs);
  cursor: pointer;
  color: var(--color-charcoal);
  z-index: 2;
}

.mobile-menu-toggle svg {
  width: 28px;
  height: 28px;
}

/* ========================================
   RESPONSIVE - TABLET & MOBILE
   ======================================== */

/* Tablet and Mobile: Use hamburger menu for all screens below 1024px */
@media (max-width: 1023px) {
  .site-header {
    height: var(--header-height);
  }

  .site-logo-text {
    font-size: 28px;
  }

  .site-logo img {
    height: 40px;
  }

  .site-logo .logo-text {
    font-size: 22px;
  }

  .site-nav {
    display: none;
  }

  .header-actions {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .lang-toggle {
    display: none;
  }
}

/* Mobile adjustments */
@media (max-width: 767px) {
  .site-logo-text {
    font-size: 24px;
  }

  .site-logo img {
    height: 36px;
  }

  .site-logo .logo-text {
    font-size: 20px;
  }
}
