/* ============================================
   NAVIGATION STYLES
   ============================================ */

header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(5, 13, 30, 0.75);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  height: 68px;
  transition: box-shadow var(--duration) var(--ease);
}

header.scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 48px;
}

@media (max-width: 768px) {
  nav {
    padding: 0 24px;
  }
}

/* Logo Area */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-logo-link {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.logo-container {
  position: relative;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-ring {
  position: absolute;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: conic-gradient(var(--cerulean), var(--cerulean-light), var(--crown-blue), var(--cerulean));
  animation: spin 8s linear infinite;
}

.logo-ring::after {
  content: '';
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background: var(--bg-base);
}

.logo-img {
  position: relative;
  z-index: 2;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  object-fit: cover;
}

.logo-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.1;
}

.logo-tagline {
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cerulean);
  line-height: 1.2;
}

@media (max-width: 768px) {
  .logo-text {
    display: none;
  }
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(5, 13, 30, 0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--duration) var(--ease);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 8px 0;
  position: relative;
  transition: color var(--duration) var(--ease);
}

.nav-links a:hover {
  color: var(--text-primary);
  background: rgba(41, 180, 245, 0.06);
  padding-left: 8px;
  padding-right: 8px;
  border-radius: var(--radius-sm);
}

.nav-links a.active {
  color: var(--cerulean);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--cerulean);
  box-shadow: 0 0 8px var(--glow-cerulean-s);
}

@media (max-width: 768px) {
  .nav-links a {
    padding: 12px 24px;
    display: block;
  }

  .nav-links a::after {
    display: none;
  }
}

/* Book Now Button */
.nav-cta {
  margin-left: 24px;
}

@media (max-width: 768px) {
  .nav-cta {
    margin-left: 0;
  }
}

.nav-cta .btn-fill {
  font-size: 0.8rem;
  padding: 10px 20px;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 24px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1000;
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--cerulean);
  border-radius: 2px;
  transition: all var(--duration) var(--ease);
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}
