/* NAV */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 6%;
  background-color: #fff;
  border: 1px solid rgb(255 255 255 / 9%);
  transition: padding 0.2s ease;
}

nav.nav--scrolled {
  background: var(--white);
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
  padding: 0.4rem 6%;
}

nav.nav--scrolled .logo {
  color: var(--navy);
}
nav.nav--scrolled .logo span {
  color: var(--ocean);
}
nav.nav--scrolled ul a {
  color: var(--navy);
}
nav.nav--scrolled ul a:hover {
  color: var(--ocean);
}
nav.nav--scrolled .nav-cta {
  background: linear-gradient(to right, #87dd38, #55eeaf);
  color: var(--white) !important;
}
nav.nav--scrolled .lang-switch a {
  border-color: rgba(0, 0, 0, 0.2);
  color: var(--navy) !important;
}
nav.nav--scrolled .lang-switch a:hover {
  border-color: var(--ocean);
  color: var(--ocean) !important;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.05em;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo-img {
  width: 40px;
  height: 40px;
  border-radius: 100%;
  object-fit: cover;
}

.logo span {
  color: var(--sky);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

nav ul a {
  color: var(--navy);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s;
}

nav ul a:hover {
  color: var(--sky);
}

#nav-book-btn {
  display: inline-block;
  min-width: 92px;
  margin-top: -8px;
}

.nav-cta {
  background: linear-gradient(to right, #3ca6f5, #55eeaf);
  color: var(--white) !important;
  padding: 0.5rem 1.2rem;
  border-radius: 19px;
  border: none;
  font-weight: 600;
}

.nav-cta:hover {
  background: linear-gradient(to right, #3ca6f5, #55eeaf);
  opacity: 0.85;
  color: var(--white) !important;
}

.lang-switch a {
  border: 1px solid var(--navy);
  color: var(--navy) !important;
  padding: 0.25rem 0.7rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition:
    border-color 0.2s,
    color 0.2s,
    background 0.2s;
}

.lang-switch a:hover {
  border-color: var(--sky);
  color: var(--sky) !important;
  background: rgba(0, 180, 216, 0.1);
}

/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--navy);
  border-radius: 2px;
  transition: background 0.2s;
}

nav:not(.nav--scrolled) .hamburger span {
  background: var(--navy);
}

.nav-mobile-buttons {
  display: none;
}

/* Mobile EN button — sits in nav bar, hidden on desktop */
.nav-lang-mobile {
  display: none;
}

@media (max-width: 1024px) {
  nav ul {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .nav-mobile-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
  }

  .nav-lang-mobile {
    display: inline-block;
    border: 1px solid var(--navy);
    color: var(--navy) !important;
    padding: 0.25rem 0.7rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition:
      border-color 0.2s,
      color 0.2s;
  }

  .nav-lang-mobile:hover {
    border-color: var(--sky);
    color: var(--sky) !important;
  }
}

/* SIDEBAR */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 200;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.sidebar-overlay.is-open {
  display: block;
  opacity: 1;
}

.sidebar {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 75vw;
  max-width: 300px;
  background: var(--white);
  z-index: 201;
  padding: 5rem 2rem 2rem;
  transform: translateX(100%);
  transition: transform 0.28s ease;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12);
}

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

.sidebar ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.sidebar ul li {
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.sidebar ul a {
  display: block;
  padding: 0.9rem 0;
  color: var(--navy);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.2s;
}
.sidebar ul a.nav-cta {
  border-radius: 5px;
  text-align: center;
}

.sidebar ul a:hover {
  color: var(--ocean);
}

.sidebar-cta {
  color: var(--ocean) !important;
  font-weight: 700 !important;
}

.sidebar .lang-switch {
  margin-top: 1rem;
  border-bottom: none !important;
}

.sidebar .lang-switch a {
  border: 1px solid var(--navy);
  padding: 0.4rem 0.9rem;
  border-radius: 4px;
  font-size: 0.85rem;
  display: inline-block;
}

.sidebar-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: none;
  border: none;
  font-size: 1.3rem;
  cursor: pointer;
  color: var(--navy);
  line-height: 1;
}
