/* CLEANED NAVBAR CSS */

/* ------------------------------------------------------
   MAIN NAVBAR
-------------------------------------------------------*/
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  padding: 10px 20px;
  border-radius: 40px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1100px;
  z-index: 1000;
}

.logo img { height: 50px; }

.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: #000;
  font-weight: 500;
  padding: 6px 18px;
  border-radius: 40px;
  transition: 0.3s;
}

.nav-links a:hover,
.mobile-menu a:hover,
.dropdown-menu li a:hover,
#nav-links li a:hover {
  background: #DAC0A3;
  color: #fff;
}

.nav-links a.active {
  background: #DAC0A3;
  color: #000;
}

/* ------------------------------------------------------
   DROPDOWN
-------------------------------------------------------*/
.dropdown { position: relative; }

.dropdown-menu {
  position: absolute;
  top: 28px;
  left: 0;
  background: #fff;
  list-style: none;
  padding: 10px 0;
  margin: 0;
  min-width: 200px;
  border-radius: 12px;
  display: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.dropdown:hover .dropdown-menu { display: block; }

.dropdown-menu li a {
  padding: 10px 15px;
  display: block;
  color: #000;
  font-size: 15px;
}

/* ------------------------------------------------------
   HAMBURGER
-------------------------------------------------------*/
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  width: 30px;
  height: 22px;
  justify-content: space-between;
  z-index: 1100;
}

.hamburger span {
  width: 100%;
  height: 3px;
  background: #000;
  border-radius: 3px;
  transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* ------------------------------------------------------
   MOBILE MENU
-------------------------------------------------------*/
.mobile-menu {
  position: fixed;
  top: 0;
  right: -260px;
  width: 260px;
  height: 100vh;
  background: #fff;
  box-shadow: -3px 0 12px rgba(0,0,0,0.1);
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: 0.3s;
  z-index: 1000;
}

.mobile-menu.open { right: 0; }

.mobile-menu a {
  text-decoration: none;
  color: #000;
  padding: 10px 0;
  font-size: 18px;
  transition: 0.3s;
}

.mobile-menu .dropdown-menu {
  display: none;
  flex-direction: column;
  padding-left: 10px;
  gap: 12px;
}

.mobile-menu .dropdown.open .dropdown-menu {
  display: flex;
}

/* Close button */
.close-btn {
  font-size: 26px;
  font-weight: bold;
  cursor: pointer;
  padding: 10px 5px;
  margin-bottom: 15px;
  color: #000;
  align-self: flex-end;
  transition: 0.3s;
}

.close-btn:hover { color: #DAC0A3; }

/* Alternative mobile panel */
#mobileMenu {
  position: fixed;
  top: 0;
  right: 0;
  width: 260px;
  height: 100vh;
  background: #fff;
  box-shadow: -3px 0 10px rgba(0,0,0,0.2);
  transform: translateX(100%);
  transition: 0.3s;
  z-index: 9999;
  padding: 20px;
}

#mobileMenu.open { transform: translateX(0); }

#closeMenu {
  font-size: 28px;
  cursor: pointer;
  position: absolute;
  top: 15px;
  right: 15px;
}

/* ------------------------------------------------------
   RESPONSIVE
-------------------------------------------------------*/
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links { display: none !important; }
  .logo img { height: 38px; }
}

@media (max-width: 480px) {
  .navbar { padding: 6px 12px; top: 10px; }
  .logo img { height: 32px; }
}