/* ========================
   NAVBAR / HEADER STYLES
   ======================== */
.navbar {
  background-color: rgba(11, 21, 37, 0.85);
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Logo */
.logo {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--secondary);
  text-decoration: none;
  letter-spacing: 1px;
}

/* Desktop nav links */
.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: var(--secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.3s ease, transform 0.3s ease;
}

.nav-links a:hover {
  color: #f0e6b1;
  transform: translateY(-2px);
}

/* Right side desktop */
.nav-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Book button */
.book-btn {
  background-color: var(--secondary);
  color: var(--primary);
  font-weight: 600;
  padding: 0.5rem 1.2rem;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.book-btn:hover {
  background-color: #f0e6b1;
  transform: translateY(-2px);
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  gap: 12px;
  align-items: center;
}

.lang-switcher img {
  width: 26px;
  height: auto;
  transition: transform 0.2s ease;
}

.lang-switcher img:hover {
  transform: scale(1.1);
}

/* Active language highlight */
.lang-switcher a.active img {
  border: 2px solid var(--secondary);
  border-radius: 4px;
  transform: scale(1.1);
  opacity: 1;
  transition: all 0.3s ease;
}

.lang-switcher a:not(.active) img:hover {
  transform: scale(1.05);
  opacity: 0.8;
}

/* Hide/show helpers */
.desktop-only {
  display: flex;
}

.mobile-only {
  display: none;
}

/* Burger Menu */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.burger span {
  display: block;
  width: 28px;
  height: 3px;
  background-color: var(--secondary);
  border-radius: 2px;
  transition: 0.3s;
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: rgba(11, 21, 37, 0.95);
  backdrop-filter: blur(10px);
  padding: 1.5rem 2rem;
  position: absolute;
  top: 100%;
  width: 100%;
  left: 0;
  box-shadow: 0 8px 20px rgba(0,0,0,0.5);
  border-top: 1px solid rgba(255,255,255,0.1);
  transition: max-height 0.4s ease, opacity 0.4s ease;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  z-index: 1050;
}

.mobile-menu.active {
  display: flex;
  max-height: 1000px;
  opacity: 1;
}

.mobile-menu a {
  padding: 0.8rem 0;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.mobile-menu a:hover {
  color: #f0e6b1;
}

.mobile-divider {
  height: 1px;
  background-color: rgba(255,255,255,0.1);
  margin: 1rem 0;
}

/* Mobile book button */
.mobile-book {
  margin-top: 1rem;
  text-align: center;
  background-color: var(--secondary);
  color: var(--primary) !important;
  font-weight: 600;
  padding: 0.6rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  width: 80vw;
}

.mobile-book:hover {
  background-color: #f0e6b1;
}

/* Mobile flags inline inside burger */
.lang-switcher.mobile-only {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  gap: 10px;
  margin-top: 0.5rem;
}

.lang-switcher.mobile-only img {
  width: 32px;
  height: auto;
  border-radius: 0; /* keep square flags */
}

/* ========================
   RESPONSIVE
   ======================== */
@media (max-width: 768px) {
  /* Hide desktop nav on mobile */
  .nav-links, .nav-right, .desktop-only {
    display: none;
  }

  /* Show burger button */
  .burger {
    display: flex;
  }

  /* Show mobile-only elements inside menu */
  .mobile-only {
    display: flex;
  }
}