/* Component: site-header */

/* ─── Header bar ──────────────────────────────────────────── */

.tb-header-nav {
  position: relative;
  z-index: 100;
}

.tb-header-inner {
  padding-top: 20px;
  padding-bottom: 20px;
  padding-left: 20px;
  padding-right: 20px;
}

.tb-header-inner::after,
.tb-header-inner::before {
  display: none;
}

/* Logo */
.tb-header-logo .navbar-brand {
  display: block;
  margin: 0;
  padding: 0;
}

.tb-header-logo .fl-logo-img {
  height: auto;
  max-width: 160px;
  transition: max-width 0.3s ease;
}

.fl-theme-builder-header-shrink .tb-header-logo .fl-logo-img {
  max-width: 120px;
}

/* Left spacer — same width as toggle to keep logo truly centred */
.tb-header-spacer {
  width: 36px;
  flex-shrink: 0;
}

/* Two-bar hamburger toggle */
.tb-header-toggle,
.tb-header-toggle:hover,
.tb-header-toggle:focus,
.tb-header-toggle:active {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  outline: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  gap: 8px;
  height: 20px;
  justify-content: center;
  padding: 0;
  width: 36px;
}

.tb-toggler-bar {
  background-color: #1E2D4D;
  border-radius: 2px;
  display: block;
  height: 2px;
  transition: background-color 0.2s ease;
  width: 100%;
}

/* ─── Full-screen nav overlay ─────────────────────────────── */

.tb-nav-overlay {
  background-color: #1a2e50;
  display: flex;
  flex-direction: column;
  height: 100vh;
  left: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  position: fixed;
  top: 0;
  transition: opacity 0.35s ease, transform 0.35s ease;
  transform: translateY(-8px);
  width: 100%;
  z-index: 9999;
}

.tb-nav-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.tb-nav-overlay-inner {
  align-items: flex-end;
  flex: 1;
  gap: 0;
  padding: 20px 40px 40px;
}

/* Overlay top bar */
.tb-nav-overlay-topbar {
  margin-bottom: 32px;
  width: 100%;
}

.tb-nav-overlay-logo .fl-logo-img {
  height: auto;
  max-width: 140px;
}

/* Close button (animated X from two bars) */
.tb-nav-overlay-close {
  background: transparent;
  border: none;
  cursor: pointer;
  height: 36px;
  padding: 0;
  position: relative;
  width: 36px;
}

.tb-close-bar {
  background-color: #ffffff;
  border-radius: 2px;
  display: block;
  height: 2px;
  left: 0;
  position: absolute;
  top: 50%;
  transition: transform 0.25s ease;
  width: 100%;
}

.tb-close-bar:nth-child(1) {
  transform: translateY(-50%) rotate(45deg);
}

.tb-close-bar:nth-child(2) {
  transform: translateY(-50%) rotate(-45deg);
}

/* Nav links */
.tb-nav-overlay-menu {
  margin-bottom: 40px;
  text-align: right;
  width: 100%;
}

.tb-nav-overlay-menu .navbar-nav {
  align-items: flex-end;
  display: flex;
  flex-direction: column;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.tb-nav-overlay-menu .navbar-nav .nav-link {
  color: #ffffff;
  display: inline-block;
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  padding: 4px 0;
  text-decoration: none;
  transition: color 0.2s ease;
}

.tb-nav-overlay-menu .navbar-nav .nav-link:hover,
.tb-nav-overlay-menu .navbar-nav .nav-link:focus {
  color: #9D7F67;
}

/* "Book" nav item — add class "tb-btn-book" to the menu item in wp-admin */
.tb-nav-overlay-menu .navbar-nav .tb-btn-book > .nav-link {
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 4px;
  padding: 6px 20px;
}

.tb-nav-overlay-menu .navbar-nav .tb-btn-book > .nav-link:hover {
  border-color: #9D7F67;
  color: #9D7F67;
}

/* Contact info */
.tb-nav-overlay-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin-bottom: 28px;
  text-align: right;
  width: 100%;
}

.tb-nav-overlay-label {
  color: #ffffff;
  font-size: 1rem;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  opacity: 0.7;
  text-transform: uppercase;
}

.tb-nav-overlay-contact-link {
  color: #ffffff;
  display: block;
  font-size: 1rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.tb-nav-overlay-contact-link:hover {
  color: #9D7F67;
}

/* Find us */
.tb-nav-overlay-find-us {
  align-items: flex-end;
  display: flex;
  flex-direction: column;
  margin-bottom: 32px;
  text-align: right;
  width: 100%;
}

.tb-nav-overlay-address {
  color: #ffffff;
  font-size: 0.95rem;
  font-style: normal;
  line-height: 1.6;
  margin-bottom: 12px;
  opacity: 0.9;
}

.tb-nav-overlay-map-btn {
  background-color: #9D7F67;
  border: none;
  border-radius: 4px;
  color: #ffffff;
  cursor: pointer;
  display: inline-block;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  padding: 10px 20px;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.tb-nav-overlay-map-btn:hover {
  background-color: #1a2e50;
  color: #ffffff;
  outline: 1px solid #9D7F67;
}

/* Social icons */
.tb-nav-overlay-social {
  align-items: flex-end;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.tb-nav-overlay-social .fl-social-icons {
  display: flex;
  gap: 12px;
}

.tb-nav-overlay-social .fa-stack i {
  color: #ffffff;
  transition: color 0.2s ease;
}

.tb-nav-overlay-social .fa-stack i:hover {
  color: #9D7F67;
}

/* Decorative wave dots */
.tb-nav-overlay-wave {
  bottom: 0;
  height: 160px;
  left: 0;
  pointer-events: none;
  position: absolute;
  width: 100%;
}

.tb-wave-dot {
  bottom: 0;
  position: absolute;
}

.tb-wave-dot--centre {
  height: 160px;
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  z-index: 2;
}

.tb-wave-dot--left {
  height: 120px;
  left: 0;
  width: auto;
  z-index: 1;
}

.tb-wave-dot--right {
  height: 120px;
  right: 0;
  width: auto;
  z-index: 1;
}

/* ─── Shrink / scrolled state ─────────────────────────────── */

.fl-theme-builder-header-shrink .tb-header-inner {
  padding-top: 12px;
  padding-bottom: 12px;
}

/* ─── Desktop ─────────────────────────────────────────────── */

@media (min-width: 992px) {
  .tb-header-inner {
    padding-top: 28px;
    padding-bottom: 28px;
    padding-left: 40px;
    padding-right: 40px;
  }

  .tb-header-logo .fl-logo-img {
    max-width: 200px;
  }

  .tb-nav-overlay-inner {
    padding: 28px 80px 60px;
  }

  .tb-nav-overlay-menu .navbar-nav .nav-link {
    font-size: 2rem;
  }
}
