/* Site header — single-row desktop, drawer on mobile */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--color-bg);
  box-shadow: var(--shadow);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  min-height: var(--header-height);
  height: var(--header-height);
}

/* Brand */
.site-header__brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  flex-shrink: 0;
  font-weight: 700;
  font-size: var(--font-size-base);
  color: var(--color-primary-dark);
  text-decoration: none;
  max-width: 55%;
}

.site-header__brand:hover {
  color: var(--color-primary);
}

.site-header__logo {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  object-fit: contain;
}

.site-header__brand-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Mobile menu toggle */
.site-header__toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  flex-shrink: 0;
  padding: var(--space-sm);
  background: none;
  border: none;
  cursor: pointer;
}

.site-header__toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-primary);
}

/* Mobile drawer */
.nav {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  padding: var(--space-lg);
  background: var(--color-bg);
  transform: translateX(100%);
  transition: transform var(--transition);
  overflow-y: auto;
}

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

.nav__list {
  list-style: none;
  margin: 0 0 var(--space-lg);
  padding: 0;
}

.nav__list li {
  margin-bottom: var(--space-xs);
}

.nav__link {
  display: block;
  padding: 0.625rem 0;
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
}

.nav__link:hover,
.nav__link--active {
  color: var(--color-primary);
}

.nav__link--cta {
  display: inline-block;
  margin-top: var(--space-sm);
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius);
  background: var(--color-accent);
  color: #fff !important;
  text-align: center;
}

.nav__contact--drawer {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border);
}

.nav__contact-link {
  font-size: var(--font-size-sm);
}

body.nav-open {
  overflow: hidden;
}

/* Tablet & desktop — one horizontal bar */
@media (min-width: 768px) {
  .site-header__brand {
    max-width: 220px;
  }

  .site-header__brand-name {
    font-size: var(--font-size-sm);
  }
}

@media (min-width: 1024px) {
  .site-header__toggle {
    display: none;
  }

  body.nav-open {
    overflow: auto;
  }

  .site-header__brand {
    max-width: 200px;
  }

  .site-header__inner {
    gap: var(--space-lg);
  }

  .nav {
    position: static;
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: flex-end;
    min-width: 0;
    padding: 0;
    background: transparent;
    transform: none;
    overflow: visible;
  }

  .nav__contact--drawer {
    display: none;
  }

  .nav__list {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.125rem;
    margin: 0;
  }

  .nav__list li {
    margin: 0;
    flex-shrink: 0;
  }

  /* Hide extra links until there is room */
  .nav__item--wide {
    display: none;
  }

  .nav__link {
    padding: 0.5rem 0.625rem;
    font-size: 0.8125rem;
    white-space: nowrap;
  }

  .nav__link--cta {
    margin-top: 0;
    margin-left: 0.25rem;
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
  }
}

@media (min-width: 1200px) {
  .site-header__brand {
    max-width: 260px;
  }

  .site-header__brand-name {
    font-size: var(--font-size-base);
  }

  .nav__item--wide {
    display: list-item;
  }

  .nav__list {
    gap: 0.25rem;
  }

  .nav__link {
    padding: 0.5rem 0.75rem;
    font-size: var(--font-size-sm);
  }

  .nav__link--cta {
    padding: 0.5rem 1.125rem;
    font-size: var(--font-size-sm);
  }
}

@media (min-width: 1400px) {
  .site-header__brand-name::after {
    content: " and Tours";
  }
}
