/* Common Navigation Styles */
/* Import Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&family=Exo+2:ital,wght@0,100..900;1,100..900&display=swap");

/* Luxury Navigation */
.nav-icon {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 1000;
  color: #333 !important;
  background: none !important;
  background-color: transparent !important;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  transition: all 0.3s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  border: none;
  padding: 14px;
}

.nav-icon:hover {
  background-color: transparent !important;
  transform: scale(1.05);
  box-shadow: none;
}

/* Dot Grid Menu Icon */
.menu-icon {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 2px;
  width: 16px;
  height: 16px;
}

.dot {
  width: 3px;
  height: 3px;
  background-color: #333;
  border-radius: 50%;
  transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
  opacity: 0.7;
}

/* Hover animation - dots spread out */
.nav-icon:hover .dot:nth-child(1) {
  transform: translate(-2px, -2px);
  opacity: 1;
}

.nav-icon:hover .dot:nth-child(2) {
  transform: translateY(-2px);
  opacity: 1;
}

.nav-icon:hover .dot:nth-child(3) {
  transform: translate(2px, -2px);
  opacity: 1;
}

.nav-icon:hover .dot:nth-child(4) {
  transform: translateX(-2px);
  opacity: 1;
}

.nav-icon:hover .dot:nth-child(5) {
  opacity: 1;
}

.nav-icon:hover .dot:nth-child(6) {
  transform: translateX(2px);
  opacity: 1;
}

.nav-icon:hover .dot:nth-child(7) {
  transform: translate(-2px, 2px);
  opacity: 1;
}

.nav-icon:hover .dot:nth-child(8) {
  transform: translateY(2px);
  opacity: 1;
}

.nav-icon:hover .dot:nth-child(9) {
  transform: translate(2px, 2px);
  opacity: 1;
}

/* Active state - dots form X pattern */
.nav-icon.active .dot:nth-child(1) {
  transform: translate(-3px, -3px);
  opacity: 1;
}

.nav-icon.active .dot:nth-child(2) {
  opacity: 0;
}

.nav-icon.active .dot:nth-child(3) {
  transform: translate(3px, -3px);
  opacity: 1;
}

.nav-icon.active .dot:nth-child(4) {
  opacity: 0;
}

.nav-icon.active .dot:nth-child(5) {
  opacity: 1;
}

.nav-icon.active .dot:nth-child(6) {
  opacity: 0;
}

.nav-icon.active .dot:nth-child(7) {
  transform: translate(-3px, 3px);
  opacity: 1;
}

.nav-icon.active .dot:nth-child(8) {
  opacity: 0;
}

.nav-icon.active .dot:nth-child(9) {
  transform: translate(3px, 3px);
  opacity: 1;
}

.nav-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100vh;
  background: linear-gradient(145deg, #f5f5f5 0%, #dcdcdc 100%);
  backdrop-filter: blur(15px);
  transition: right 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
  z-index: 999;
  padding: 60px 0 0 0;
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
  border-left: 1px solid rgba(255, 255, 255, 0.6);
}

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

.nav-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-menu li {
  margin: 0;
}

.nav-menu a {
  display: block;
  padding: 15px 25px;
  color: #000000;
  text-decoration: none;
  font-family: "Manrope", "Exo 2", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  font-weight: 400;
  transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
  border-left: 3px solid transparent;
}

.nav-menu a:hover {
  background: rgba(255, 255, 255, 0.3);
  border-left-color: #000000;
  color: #000;
}

.dropdown {
  position: relative;
}

.dropdown-header {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 0;
  position: relative;
}

.dropdown-header a {
  flex: 0 1 auto;
  padding: 15px 0px 15px 25px;
}

.dropdown-toggle {
  background: none;
  border: none;
  color: #000000;
  cursor: pointer;
  padding: 15px 20px 15px 5px;
  font-size: 12px;
  opacity: 0.5;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 40px;
  height: 100%;
  flex: 1;
  justify-content: center;
  margin-left: 0;
}

.dropdown-toggle:hover {
  opacity: 0.8;
}

.dropdown-toggle::before {
  content: "▶";
  display: inline-block;
  transition: transform 0.3s ease;
}

.dropdown.open .dropdown-toggle::before {
  transform: rotate(90deg);
}

.dropdown.open .dropdown-toggle {
  opacity: 0.8;
}

.dropdown-content {
  display: none;
  position: relative;
  background: transparent;
  min-width: 200px;
  padding: 8px 0;
  z-index: 1000;
  margin-left: 15px;
  margin-top: 5px;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.dropdown.open .dropdown-content {
  display: block;
  opacity: 1;
  max-height: 500px;
}

.dropdown-content a {
  display: block;
  padding: 12px 15px;
  font-family: "Manrope", "Exo 2", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 14px;
  color: #333333;
  text-decoration: none;
  transition: all 0.3s ease;
  border-radius: 4px;
  margin: 2px 0;
}

.dropdown-content a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #000000;
  transform: translateX(4px);
}

/* Mobile dropdown styles */
@media (max-width: 768px) {
  .nav-menu {
    right: -100vw;
    width: 100vw;
  }

  .dropdown.open .dropdown-content {
    display: block;
    opacity: 1;
    max-height: 500px;
  }

  .dropdown.open .dropdown-toggle::before {
    transform: rotate(90deg);
  }
}

/* Common Footer Styles */
footer {
  background-color: #f4efe8;
  padding: 2rem;
  text-align: center;
  margin-top: 3rem;
}

footer p {
  font-family: "Manrope", "Exo 2", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 14px;
  color: #666;
  margin: 0.5rem 0;
  line-height: 1.6;
}

footer p:first-child {
  margin-top: 0;
}

footer p:last-child {
  margin-bottom: 0;
  font-size: 13px;
  color: #999;
}

/* Mobile Footer */
@media (max-width: 768px) {
  footer {
    padding: 1.5rem 1rem;
    margin-top: 2rem;
  }

  footer p {
    font-size: 13px;
  }

  footer p:last-child {
    font-size: 12px;
  }
}
