/* Site Header Widget Styles */

.alta-site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: #EDEDED;
  /* var(--bg) */
  border-bottom: 1px solid transparent;
  transition: border-color 500ms ease, background 500ms ease;
  font-family: 'Figtree', -apple-system, system-ui, sans-serif;
}



.alta-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 22px 48px;
}

.alta-site-header .alta-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #1A1815;
  text-decoration: none;
}

.alta-site-header .alta-brand img {
  display: block;
  width: auto;
  height: auto;
  max-height: 28px;
}

.alta-site-header .alta-brand .alta-thin {
  font-weight: 300;
  letter-spacing: 0.14em;
}

.alta-primary-nav {
  display: flex;
  gap: 44px;
  align-items: center;
}

.alta-primary-nav a {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 400;
  color: #1A1815;
  position: relative;
  padding: 6px 0;
  transition: letter-spacing 400ms ease, color 400ms ease;
  text-decoration: none;
}

.alta-primary-nav a:hover,
.alta-primary-nav a.active {
  letter-spacing: 0.22em;
}

.alta-primary-nav a.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: #8A6E3F;
}

.alta-has-dropdown {
  position: relative;
}

.alta-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: #EDEDED;
  border: 1px solid rgba(26, 24, 21, 0.14);
  padding: 18px 0;
  min-width: 220px;
  opacity: 0;
  pointer-events: none;
  transition: all 300ms ease;
  z-index: 101;
}

.alta-has-dropdown:hover .alta-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.alta-dropdown a {
  display: block;
  padding: 10px 26px;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1A1815;
  text-decoration: none;
}

.alta-dropdown a:hover {
  color: #8A6E3F;
  letter-spacing: 0.18em;
  padding-left: 30px;
}

.alta-header-right {
  display: flex;
  align-items: center;
  gap: 28px;
}

.alta-lang-switch {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6B655C;
}

.alta-lang-switch .alta-sep {
  opacity: 0.4;
}

.alta-lang-switch a,
.alta-lang-switch button {
  font-family: inherit;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6B655C;
  font-weight: 500;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  text-decoration: none;
  transition: color 300ms ease;
}

.alta-lang-switch a:hover {
  color: #1A1815;
}

.alta-lang-switch a.active,
.alta-lang-switch button.active {
  color: #1A1815;
}

.alta-cta-enquire {
  border: 1px solid #1A1815;
  padding: 10px 20px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  transition: background 400ms ease, color 400ms ease, border-color 400ms ease;
  text-decoration: none;
  color: #1A1815;
}

.alta-cta-enquire:hover {
  background: #1A1815;
  color: #F6F2EA;
}

.alta-hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  padding: 8px;
}

.alta-hamburger span {
  width: 22px;
  height: 1px;
  background: #1A1815;
  transition: transform 300ms ease;
}

/* Mobile Menu Overlay */
.alta-mobile-menu {
  position: fixed;
  inset: 0;
  background: #EDEDED;
  z-index: 200;
  display: none;
  flex-direction: column;
  padding: 40px 48px;
  transform: translateX(100%);
  transition: transform 400ms ease;
  font-family: 'Figtree', -apple-system, system-ui, sans-serif;
}

.alta-mobile-menu.open {
  transform: translateX(0);
  display: flex !important;
}

.alta-mobile-menu-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 60px;
}

.alta-mobile-menu-top .alta-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #1A1815;
  margin: 0;
}

.alta-mobile-menu-top .alta-brand img {
  display: block;
  width: auto;
  height: auto;
  max-height: 28px;
}

.alta-mobile-menu-top .alta-thin {
  font-weight: 300;
  letter-spacing: 0.14em;
}

.alta-mobile-menu-close {
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: #1A1815;
}

.alta-mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.alta-mobile-menu nav>a,
.alta-mobile-menu nav>details>summary {
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  font-size: 32px;
  font-weight: 300;
  color: #1A1815;
  padding: 12px 0;
  border-bottom: 1px solid rgba(26, 24, 21, 0.08);
  /* var(--line-soft) */
  cursor: pointer;
  list-style: none;
  text-decoration: none;
  margin: 0;
}

.alta-mobile-menu nav>details>summary::-webkit-details-marker {
  display: none;
}

.alta-mobile-menu details[open] summary {
  color: #8A6E3F;
}

.alta-mobile-submenu {
  padding: 16px 0 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.alta-mobile-submenu a {
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #3F3A33;
  text-decoration: none;
}

.alta-link-underline {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #1A1815;
  padding-bottom: 6px;
  border-bottom: 1px solid #1A1815;
  transition: gap 400ms ease, border-color 400ms ease, color 400ms ease;
  text-decoration: none;
}

.alta-link-underline:hover {
  gap: 20px;
  border-color: #8A6E3F;
  color: #8A6E3F;
}

.alta-link-underline .alta-arrow {
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  font-size: 16px;
}

@media (max-width: 960px) {
  .alta-header-inner {
    padding: 22px 24px;
  }

  .alta-primary-nav,
  .alta-cta-enquire,
  .alta-lang-switch {
    display: none !important;
  }

  .alta-hamburger {
    display: flex;
  }

  .alta-mobile-menu {
    padding: 40px 24px;
  }
}
