﻿.site-header {
    position: sticky;
    top: 0;
    z-index: 100;

    background: var(--sahayi-surface);

    border-bottom: 1px solid var(--sahayi-border);
  }


  .header-inner {
    min-height: 88px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
  }


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

  .logo {
    display: inline-flex;
    align-items: center;

    flex-shrink: 0;
  }

  .logo img {
    display: block;

    width: 205px;
    height: auto;
  }


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

  .desktop-nav {
    display: flex;
    align-items: center;

    gap: 30px;
  }

  .desktop-nav a:not(.header-button) {
    color: var(--sahayi-text);

    font-size: 0.9rem;
    font-weight: 650;

    transition:
      color var(--transition-fast);
  }

  .desktop-nav a:not(.header-button):hover {
    color: var(--sahayi-primary);
  }

  .desktop-nav a[aria-current="page"] {
    color: var(--sahayi-primary);

    font-weight: 750;
  }


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

  .header-button {
    min-height: 44px;

    padding-inline: 20px;

    font-size: 0.85rem;
    font-weight: 700;
  }


  /* =====================================================
     MOBILE MENU BUTTON
     ===================================================== */

  .menu-button {
    display: none;

    width: 44px;
    height: 44px;

    padding: 10px;

    border: 1px solid transparent;
    border-radius: var(--radius-small);

    background: transparent;
    color: var(--sahayi-text);

    cursor: pointer;

    transition:
      background-color var(--transition-fast),
      border-color var(--transition-fast);
  }

  .menu-button:hover {
    background: var(--sahayi-primary-light);

    border-color: var(--sahayi-border);
  }

  .menu-button:focus-visible {
    outline: 3px solid var(--sahayi-secondary);
    outline-offset: 2px;
  }

  .menu-button span {
    display: block;

    width: 24px;
    height: 2px;

    margin: 5px auto;

    background: var(--sahayi-text);

    transition:
      transform 0.2s ease,
      opacity 0.2s ease;
  }


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

  .mobile-menu {
    display: none;

    border-top: 1px solid var(--sahayi-border);

    background: var(--sahayi-surface);
  }

  .mobile-menu.is-open {
    display: block;
  }

  .mobile-menu nav {
    display: flex;
    flex-direction: column;

    padding: 20px;
  }

  .mobile-menu nav a {
    padding: 16px 4px;

    border-bottom: 1px solid var(--sahayi-border);

    color: var(--sahayi-text);

    font-weight: 600;

    transition:
      color var(--transition-fast);
  }

  .mobile-menu nav a:hover {
    color: var(--sahayi-primary);
  }

  .mobile-menu nav a[aria-current="page"] {
    color: var(--sahayi-primary);

    font-weight: 750;
  }

  .mobile-menu .mobile-button {
    width: 100%;

    margin-top: 16px;
  }


  /* =====================================================
     MOBILE
     ===================================================== */

  @media (max-width: 800px) {

    .desktop-nav {
      display: none;
    }

    .menu-button {
      display: block;
    }

    .header-inner {
      min-height: 78px;
    }

    .logo img {
      width: 185px;
    }
  }
