/* Navigation — Acreways Living */

.aw-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 80px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #ffffff;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
  /* inner content respects 1500px max-width */
  padding-inline: max(1rem, calc((100% - 1500px) / 2 + 1rem));
}

.aw-nav__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 1;
  min-width: 0;
}

.aw-nav__logo-img {
  height: 70px;
  width: auto;
  /* max-width: 180px; */
  object-fit: contain;
  display: block;
}

.aw-nav__links {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1.5rem;
  flex: 1;
  justify-content: center;
}

.aw-nav__links a {
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: #374151;
  transition: color 0.2s;
  white-space: nowrap;
}

.aw-nav__links a:hover,
.aw-nav__links a.active {
  color: #0f2b4c;
}

.aw-nav__links a.active {
  border-bottom: 2px solid #daa520;
  padding-bottom: 2px;
}

.aw-nav__cta {
  display: none;
  /* hidden on mobile */
  flex: 0 0 auto;
  align-self: center;
  width: fit-content;
  position: relative;
  overflow: hidden;
  align-items: center;
  gap: 10px;
  /* background: #daa520; */
  background: var(--gold-grad);
  border: none;
  border-radius: 0 0.75rem 0.75rem 0;
  padding: 6px 6px 6px 16px;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffffff;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: box-shadow 0.3s;
}

.aw-nav__cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: #0f2b4c;
  z-index: 1;
}

.aw-nav__cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background: #0f2b4c;
  width: 0;
  transition: width 0.45s;
  z-index: 0;
  border-radius: 0 0.75rem 0.75rem 0;
}

.aw-nav__cta:hover::after {
  width: 100%;
}

.aw-nav__cta:hover {
  box-shadow: 0 6px 16px rgba(15, 43, 76, 0.35);
}

.aw-nav__cta .btn-label {
  position: relative;
  z-index: 1;
  color: #ffffff;
  white-space: nowrap;
}

.aw-nav__cta .btn-circle {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #0f2b4c;
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
  transition: background 0.35s;
}

.aw-nav__cta:hover .btn-circle {
  background: #daa520;
}

.aw-nav__cta .btn-circle svg {
  width: 13px;
  height: 13px;
  stroke: #ffffff;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  transition: transform 0.35s;
}

.aw-nav__cta:hover .btn-circle svg {
  transform: rotate(45deg);
}

.aw-nav__hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  border-radius: 0.5rem;
  margin-left: 0.5rem;
}

.aw-nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #0f2b4c;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.aw-nav__hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.aw-nav__hamburger.open span:nth-child(2) {
  opacity: 0;
}

.aw-nav__hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.aw-nav__mobile {
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  background: #ffffff;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
}

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

.aw-nav__mobile a {
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: #374151;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(209, 213, 219, 0.4);
  transition: color 0.2s, transform 0.2s;
  display: block;
}

.aw-nav__mobile a:hover,
.aw-nav__mobile a.active {
  color: #0f2b4c;
  transform: translateX(8px);
}

.aw-nav__mobile .aw-nav__mobile-cta {
  margin-top: 1.5rem;
  background: #daa520;
  color: #ffffff;
  padding: 0.85rem 1.5rem;
  border-radius: 0 0.75rem 0.75rem 0;
  text-align: center;
  border-bottom: none;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
  margin-inline: auto;
}

.aw-nav__mobile .aw-nav__mobile-cta:hover {
  transform: none;
  opacity: 0.9;
}

@media (min-width: 1024px) {
  .aw-nav__links {
    display: flex;
  }

  .aw-nav__hamburger {
    display: none;
  }

  .aw-nav__cta {
    display: inline-flex;
  }
}

@media (min-width: 1280px) {
  .aw-nav__links {
    gap: 2rem;
  }
}