/* Hamburger Menu Styles */
.hamburger-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1001;
  background: rgba(0, 0, 0, 0.8);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hamburger-container:hover {
  background: rgba(164, 129, 17, 0.8);
  transform: scale(1.1);
}

.hamburger {
  display: flex;
  flex-direction: column;
  width: 22px;
  height: 16px;
  cursor: pointer;
  position: relative;
}

.hamburger span {
  height: 2px;
  width: 100%;
  background: rgb(164, 129, 17);
  margin: 2px 0;
  border-radius: 1px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}

/* Side Menu */
.side-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 400px;
  height: 100vh;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.95) 0%,
    rgba(164, 129, 17, 0.1) 100%
  );
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: right 0.4s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.side-menu.active {
  right: 0;
}

.side-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.side-menu li {
  margin: 30px 0;
}

.side-menu a {
  color: rgb(164, 129, 17);
  text-decoration: none;
  font-size: 28px;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 3px;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
  padding: 10px 20px;
}

.side-menu a:hover {
  color: #fff;
  transform: translateX(10px);
}

.side-menu a::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: rgb(164, 129, 17);
  transition: width 0.3s ease;
}

.side-menu a:hover::before {
  width: 100%;
}

.side-menu a.active {
  color: #fff;
  font-weight: 500;
}

/* Menu Overlay */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Logo in menu */
.logo-link {
  position: absolute;
  top: 15px;
  left: 0;
  right: 0;
  z-index: 1;
  width: 120px;
  margin: 0 auto;
  display: block;
  text-align: center;
  /* Override navigation menu styles */
  color: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  text-transform: inherit !important;
  letter-spacing: inherit !important;
  padding: 0 !important;
}

.logo-link:hover {
  color: inherit !important;
  transform: none !important;
}

.logo-link::before {
  display: none !important;
}

.logo-link:hover::before {
  display: none !important;
}

.menu-logo {
  width: 120px;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.logo-link:hover .menu-logo {
  transform: scale(1.05);
}

/* Main page logo links */
a img[src*="logo_main"] {
  transition: all 0.3s ease;
  cursor: pointer;
}

a img[src*="logo_main"]:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

/* Close button - Hidden since hamburger transforms to X */
.close-menu {
  display: none;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .side-menu {
    max-width: 100%;
  }

  .side-menu a {
    font-size: 24px;
    letter-spacing: 2px;
  }

  .hamburger-container {
    width: 50px;
    height: 50px;
    top: 15px;
    right: 15px;
  }

  .hamburger {
    width: 20px;
    height: 15px;
  }
}
