/* ─── Top Bar ─── */
.top-bar {
  background: var(--color-navy);
  color: var(--color-white);
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar__left {
  display: flex;
  align-items: center;
  gap: 24px;
}

.top-bar__right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.top-bar__item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  text-decoration: none;
  transition: color var(--transition);
}

.top-bar__item:hover {
  color: var(--color-white);
}

.top-bar__reviews svg {
  flex-shrink: 0;
}

.top-bar__phone {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--color-white);
  font-weight: 600;
  text-decoration: none;
  transition: color var(--transition);
}

.top-bar__phone:hover {
  color: rgba(255, 255, 255, 0.8);
}

.top-bar__cta {
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 4px;
}

/* ─── Site Header ─── */
.site-header {
  background: var(--color-white);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 80px;
}

/* ─── Logo ─── */
.site-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.site-logo img,
.site-logo .custom-logo {
  height: 62px;
  width: auto;
  display: block;
  max-width: 160px;
  object-fit: contain;
}

/* ─── Navigation ─── */
.main-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

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

.nav-list > li {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--color-navy);
  text-decoration: none;
  border-radius: 5px;
  transition: all var(--transition);
  white-space: nowrap;
}

.nav-link:hover,
.nav-list > li.current-menu-item > .nav-link,
.nav-list > li.current-menu-ancestor > .nav-link {
  color: var(--color-red);
  background: var(--color-off-white);
}

.dropdown-arrow {
  transition: transform var(--transition);
}

.nav-list > li:hover .dropdown-arrow {
  transform: rotate(180deg);
}

/* ─── Dropdown ─── */
.sub-menu {
  list-style: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: var(--color-white);
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.25s ease;
  z-index: 999;
}

.nav-list > li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.sub-link {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-body);
  text-decoration: none;
  transition: all var(--transition);
}

.sub-link:hover {
  color: var(--color-red);
  background: var(--color-off-white);
  padding-left: 24px;
}

/* ─── Header Actions ─── */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 700;
  color: var(--color-navy);
  text-decoration: none;
  transition: color var(--transition);
}

.header-phone:hover {
  color: var(--color-red);
}

.header-cta {
  padding: 10px 22px;
  font-size: 14px;
}

/* ─── Mobile Toggle ─── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.nav-toggle__bar {
  display: block;
  width: 100%;
  height: 2.5px;
  background: var(--color-navy);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.nav-toggle.active .nav-toggle__bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active .nav-toggle__bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ─── Mobile Dropdown Toggle Button ─── */
.dropdown-toggle {
  display: none;
}

/* ─── Sticky CTA Bar (Mobile) ─── */
.sticky-cta {
  display: none;
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .top-bar__left {
    display: none;
  }

  .top-bar__inner {
    justify-content: center;
    gap: 16px;
  }
}

@media (max-width: 900px) {
  .top-bar {
    display: none;
  }

  .site-header__inner {
    height: 70px;
  }

  .site-logo img,
  .site-logo .custom-logo {
    height: 48px;
    max-width: 48px;
  }

  .header-actions {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  /* Mobile Nav */
  .main-nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-white);
    padding: 20px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    z-index: 999;
  }

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

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-list > li {
    border-bottom: 1px solid var(--color-light-gray);
  }

  .nav-link {
    padding: 16px 0;
    font-size: 17px;
    justify-content: space-between;
  }

  .nav-link .dropdown-arrow {
    display: none;
  }

  /* Mobile dropdown toggle */
  .dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--color-off-white);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    position: absolute;
    right: 0;
    top: 8px;
    transition: all var(--transition);
  }

  .dropdown-toggle[aria-expanded="true"] {
    background: var(--color-navy);
    color: var(--color-white);
  }

  .dropdown-toggle[aria-expanded="true"] svg {
    transform: rotate(180deg);
  }

  .nav-list > li {
    position: relative;
  }

  /* Mobile Submenu */
  .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border-radius: 0;
    padding: 0 0 8px 16px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    background: transparent;
  }

  .sub-menu.is-open {
    max-height: 500px;
  }

  .sub-link {
    padding: 10px 0;
    font-size: 15px;
  }

  .sub-link:hover {
    padding-left: 8px;
    background: transparent;
  }

  /* Sticky CTA */
  .sticky-cta {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 998;
    background: var(--color-navy);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
    transform: translateY(100%);
    transition: transform 0.3s ease;
  }

  .sticky-cta.visible {
    transform: translateY(0);
  }

  .sticky-cta a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 12px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    color: var(--color-white);
    text-align: center;
  }

  .sticky-cta__book {
    background: var(--color-red);
  }
}

@media (max-width: 480px) {
  .site-header__inner {
    height: 62px;
  }

  .site-logo img,
  .site-logo .custom-logo {
    height: 42px;
    max-width: 42px;
  }

  .main-nav {
    top: 62px;
  }

  .sticky-cta a {
    font-size: 13px;
    padding: 12px 8px;
  }
}
