
/* =====================
   NAVIGATION
   ===================== */

nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(235, 222, 212, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(114, 67, 69, 0.1);
  transition: all 0.3s ease;
  transform: translateY(-100%);
}

nav.visible {
  transform: translateY(0);
}

nav .container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--burgundy);
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: 40px;
  align-items: center;
}

.nav-links a {
  color: var(--burgundy);
  text-decoration: none;
  font-weight: 600;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.nav-links a:hover { color: var(--rose); }
.nav-links a:hover::after { width: 100%; }

.nav-links .btn {
  padding: 12px 28px;
  font-size: 0.95rem;
}

/* 1. Hide the hamburger on desktop */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  background: none;
  border: none;
}

.bar {
  width: 26px;
  height: 4px;
  background-color: var(--burgundy); /* Match your brand color */
  margin: 4px 0;
  transition: 0.4s;
}

/* 2. Mobile Styles */
@media (max-width: 768px) {

  .mobile-menu-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;              /* ✅ add this */
    width: 100%;
    background-color: white;

    flex-direction: column;
    align-items: stretch;
    text-align: left;

    padding: 16px;         /* ✅ reduce side padding */
    box-sizing: border-box;/* ✅ critical fix */
    gap: 4px;

    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
  }

  html, body {
    overflow-x: hidden;
 }

  .nav-links.active {
    display: flex;
  }

  /* Normalize all items */
  .nav-links a,
  .nav-links .dropdown-toggle {
    display: block;
    width: 100%;
    padding: 14px 0; /* no horizontal padding anymore */
    border-bottom: 1px solid #eee;
  }

  /* Remove underline animation */
  .nav-links a::after {
    display: none;
  }

  /* Dropdown cleanup */
  .dropdown {
    width: 100%;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
  }

  .nav-links .dropdown-toggle {
    background: none;
    border: none;
    font: inherit;
    color: var(--burgundy);
    font-weight: 600;
    text-align: left;
    cursor: pointer;
  }

  /* Language toggle */
  .lang-toggle-nav {
    width: 100%;
  }

  .lang-toggle-btn {
    width: 100%;
    display: flex;
    gap: 16px;
    padding: 14px 0; /* aligned with other items */
    border-bottom: 1px solid #eee;
  }

  /* Booking button — separated CTA */
  .nav-links .btn {
    margin: 16px 0 8px 0;
    border-radius: 8px;
    text-align: center;
    border-bottom: none;
  }
}

/* =====================
   LANGUAGE TOGGLE
   ===================== */

.lang-toggle-btn {
  display: flex;
  align-items: center;
  background: rgba(114, 67, 69, 0.1);
  border: 2px solid rgba(114, 67, 69, 0.2);
  border-radius: 50px;
  padding: 4px;
  position: relative;
  transition: all 0.3s ease;
  overflow: hidden;
}

.lang-toggle-btn::before {
  content: "";
  position: absolute;
  top: 4px; bottom: 4px; left: 4px;
  width: calc(50% - 4px);
  background: #EABA1D;
  border-radius: 50px;
  box-shadow: 0 2px 8px rgba(234, 186, 29, 0.3);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
}

.lang-toggle-btn.en-active::before {
  transform: translateX(100%);
}

.lang-toggle-btn:hover { border-color: var(--gold); }

.lang-option {
  padding: 6px 14px;
  font-weight: 600;
  font-size: 0.85rem;
  color: #724345;
  transition: color 0.3s ease;
  border-radius: 50px;
  z-index: 1;
  position: relative;
  cursor: pointer;
  flex: 1;
  text-align: center;
  text-decoration: none;
  display: block;
}

.lang-option:hover { color: #815355; }

.lang-option.active {
  color: #2C2C2C;
  pointer-events: none;
}

/* =====================
   DROPDOWN
   ===================== */

.dropdown { position: relative; }

.dropdown-menu a::after { display: none !important; }

.dropdown-toggle {
  all: unset;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--burgundy);
  transition: color 0.2s ease;
}

.dropdown-toggle:hover { color: var(--rose); }

.dropdown-toggle .caret {
  font-size: 0.7rem;
  transition: transform 0.25s ease;
}

.dropdown-toggle[aria-expanded="true"] .caret {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 220px;
  padding: 4px;
  background: white;
  border-radius: 12px;
  border: 1px solid rgba(114, 67, 69, 0.12);
  box-shadow:
    0 16px 32px rgba(0, 0, 0, 0.12),
    0 2px 6px rgba(0, 0, 0, 0.06);
  opacity: 0;
  transform: translateY(-6px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 1001;
}

.dropdown-menu.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.dropdown-menu a {
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--burgundy);
  text-decoration: none;
  display: block;
  transition: background 0.15s ease, color 0.15s ease;
}

.dropdown-menu a:hover {
  background: var(--cream);
  color: var(--rose);
}

.dropdown-menu::before {
  content: "";
  position: absolute;
  top: -6px; left: 20px;
  width: 12px; height: 12px;
  background: white;
  transform: rotate(45deg);
  border-left: 1px solid rgba(114, 67, 69, 0.12);
  border-top: 1px solid rgba(114, 67, 69, 0.12);
}


