/*
 * Tadoba common header
 * Loaded LAST by /include/css.php so every page uses identical header geometry.
 */

.site-header,
.site-header *,
.site-header *::before,
.site-header *::after {
  box-sizing: border-box;
}

.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: #111315;
  border-bottom: 1px solid rgba(255,255,255,.08);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,.4);
}

.header-container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: nowrap;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex: 0 0 auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: "Outfit","Plus Jakarta Sans",Arial,sans-serif;
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: .8px;
  color: #fff;
  line-height: 1;
}

.brand-subtitle {
  font-family: "Plus Jakarta Sans",Arial,sans-serif;
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: 1.8px;
  color: #f59e0b;
  margin-top: 3px;
  text-transform: uppercase;
  line-height: 1.2;
}

.main-navigation {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1 1 auto;
  justify-content: flex-end;
  min-width: 0;
  flex-wrap: nowrap;
}

.nav-list {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-item {
  position: relative;
  flex: 0 0 auto;
}

.nav-link {
  font-family: "Plus Jakarta Sans",Arial,sans-serif;
  font-size: .8rem;
  font-weight: 600;
  color: #e2e8f0;
  padding: 8px 7px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  text-decoration: none;
  line-height: 1.2;
}

.nav-link:hover,
.nav-link.active {
  color: #f59e0b;
}

.header-contact-group {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 6px;
  flex: 0 0 auto;
  white-space: nowrap;
}

.header-phone-link {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  text-decoration: none;
}

.phone-numbers {
  white-space: nowrap;
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  text-decoration: none;
}

.mobile-top-header,
.mobile-nav-toggle {
  display: none;
}

/* Keep the same desktop breakpoints on every CSS bundle */
@media (min-width: 869px) and (max-width: 1280px) {
  .header-container {
    padding-left: 12px;
    padding-right: 12px;
    gap: 8px;
  }

  .main-navigation {
    gap: 8px;
  }

  .nav-link {
    font-size: .74rem;
    padding-left: 5px;
    padding-right: 5px;
  }

  .header-contact-group {
    gap: 6px;
    margin-left: 2px;
  }
}

@media (min-width: 869px) and (max-width: 1100px) {
  .phone-numbers {
    display: none;
  }
}

/* Mobile: normalize the shared header without forcing desktop layout */
@media (max-width: 868px) {
  .mobile-top-header {
    display: block;
  }

  .header-container {
    padding: 9px 14px;
  }

  .mobile-nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .main-navigation {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(86vw, 340px);
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    background: #111315;
    z-index: 1100;
    overflow-y: auto;
    transition: right .25s ease;
  }

  .main-navigation.nav-open {
    right: 0;
  }

  .nav-list {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .nav-item,
  .nav-link {
    width: 100%;
  }

  .header-contact-group {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    margin-left: 0;
  }
}
