/* =============================================================
   header-style.css — Shared Site Header Styles
   Extracted exactly from contact-styles.css
   ============================================================= */

/* ----- CSS Variables / Design Tokens ----- */
:root {
  /* Colors */
  --color-brand: #2563eb;
  /* Primary brand blue */
  --color-brand-dark: #1d4ed8;
  /* Darker blue for hover */
  --color-accent: #eff6ff;
  /* Light blue tint */
  --color-heading: #0f172a;
  /* Very dark navy for headings */
  --color-body: #475569;
  /* Slate gray for body text */
  --color-border: #e2e8f0;
  /* Light border */
  --color-bg: #ffffff;
  /* Page/card background */
  --color-page: #f8fafc;
  /* Subtle off-white page */
  --color-navy: #0f172a;
  /* Dark navy footer background */
  --color-navy-muted: #94a3b8;
  /* Muted text for footer */
  --color-navy-fg: #f1f5f9;
  /* Light text for footer */
  --color-destructive: #ef4444;
  /* Red for required / errors */

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-size-xs: 0.75rem;
  /* 12px */
  --font-size-sm: 0.8125rem;
  /* 13px */
  --font-size-base: 0.875rem;
  /* 14px */
  --font-size-md: 0.9375rem;
  /* 15px */
  --font-size-lg: 1rem;
  /* 16px */
  --font-size-xl: 1.25rem;
  /* 20px */
  --font-size-2xl: 1.375rem;
  /* 22px */
  --font-size-4xl: 2.75rem;
  /* 44px */

  /* Spacing */
  --header-height: 78px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(15, 35, 85, 0.08);
  --shadow-lg: 0 8px 30px rgba(15, 35, 85, 0.10);

  /* Border radius */
  --radius-sm: 0.375rem;
  /* 6px */
  --radius-md: 0.5rem;
  /* 8px */
  --radius-lg: 0.75rem;
  /* 12px */
  --radius-xl: 1rem;
  /* 16px */
  --radius-full: 9999px;
}


/* =============================================================
   RESET & BASE
   ============================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: 1.5;
  color: var(--color-body);
  background-color: var(--color-page);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

input,
textarea {
  font-family: inherit;
  font-size: inherit;
}


/* =============================================================
   PAGE WRAPPER
   ============================================================= */

.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}


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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #ffffff;
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  max-width: 1600px;
  margin-inline: auto;
  padding-inline: 2rem;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* Logo */
.logo-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.logo-img {
  width: 180px;
  height: 50px;
  flex-shrink: 0;
}

.logo-text {
  line-height: 1;
}

.logo-name {
  font-size: var(--font-size-2xl);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--color-heading);
}

.site-header .logo-name {
  color: var(--color-heading) !important;
}

.logo-name--light {
  color: var(--color-navy-fg);
}

.logo-accent {
  color: var(--color-brand) !important;
}

.logo-tagline {
  margin-top: 3px;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--color-body);
  white-space: nowrap;
}

.logo-tagline--light {
  color: var(--color-navy-muted);
}

/* Navigation */
.main-nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .main-nav {
    display: flex;
  }
}

.nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  height: var(--header-height);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--color-heading);
  text-decoration: none;
  transition: color 0.15s ease;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--color-brand);
}

.nav-link--active {
  color: var(--color-brand);
}

/* Active underline bar */
.nav-active-bar {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background-color: var(--color-brand);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-language {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: var(--font-size-base);
  font-weight: 500;
  color: var(--color-heading);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.15s;
}

.btn-language:hover {
  color: var(--color-brand);
}


/* =============================================================
   SHARED BUTTONS
   ============================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: var(--font-size-base);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}

/* Outline button */
.btn--outline {
  border-color: var(--color-brand);
  color: var(--color-brand);
  background-color: transparent;
}

.btn--outline:hover {
  background-color: var(--color-accent);
}

/* Primary (filled) button */
.btn--primary {
  background-color: var(--color-brand);
  color: #ffffff;
  border-color: var(--color-brand);
}

.btn--primary:hover {
  background-color: var(--color-brand-dark);
  border-color: var(--color-brand-dark);
}

/* Helper: brand text color */
.text-brand {
  color: var(--color-brand);
  text-decoration: none;
}

.text-brand:hover {
  text-decoration: underline;
}

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

/* Mobile Header & Navigation Adjustments */
@media (max-width: 1023px) {
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: var(--color-heading);
    border: none;
    background: none;
    cursor: pointer;
  }

  .nav-menu {
    display: none !important;
  }
}

@keyframes slideDownFade {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .header-inner {
    padding-inline: 1rem;
    gap: 0.75rem;
  }

  .logo-tagline {
    display: none;
  }

  .logo-name {
    font-size: 1.2rem;
  }

  .header-actions .btn-lang,
  .header-actions .btn-language,
  .header-actions .btn--outline {
    display: none;
  }

  .header-actions .btn--primary {
    display: none !important;
  }
}
