@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&family=Poppins:wght@300;400;500;600;700&display=swap');

header {
  padding: 15px 0;
  background: rgba(12, 10, 20, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(147, 51, 234, 0.15);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  color: #d4a853;
  font-family: 'Outfit', sans-serif;
  display: flex;
  align-items: center;
}

.navlogo {
  transition: transform 0.3s ease;
}

.logo:hover .navlogo {
  transform: scale(1.05);
}

.nav-links {
  display: flex;
  gap: 35px;
  align-items: center;
}

.nav-links a {
  color: #d4d2e0;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
  padding: 8px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(135deg, #d4a853 0%, #c9a227 100%);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: #d4a853;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a img {
  filter: brightness(0) invert(1);
  opacity: 0.8;
  transition: all 0.3s ease;
}

.nav-links a:hover img {
  opacity: 1;
  filter: brightness(0) saturate(100%) invert(72%) sepia(49%) saturate(481%) hue-rotate(8deg) brightness(93%) contrast(88%);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  z-index: 1001;
}

.menu-toggle span {
  height: 2px;
  width: 100%;
  background-color: #faf9fc;
  border-radius: 2px;
  transition: all 0.3s ease;
}

main {
  min-height: 100vh;
  padding: 40px 0;
}

@media (max-width: 768px) {
  header {
    padding: 10px 0;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 0;
    background: rgba(12, 10, 20, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    opacity: 0;
  }

  .nav-links.active {
    height: 100vh;
    opacity: 1;
    padding: 80px 0;
  }

  .nav-links a {
    font-size: 1.3rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease, color 0.3s ease;
  }

  .nav-links.active a {
    opacity: 1;
    transform: translateY(0);
  }

  .nav-links a:nth-child(1) {
    transition-delay: 0.1s;
  }

  .nav-links a:nth-child(2) {
    transition-delay: 0.15s;
  }

  .nav-links a:nth-child(3) {
    transition-delay: 0.2s;
  }

  .nav-links a:nth-child(4) {
    transition-delay: 0.25s;
  }

  .nav-links a:nth-child(5) {
    transition-delay: 0.3s;
  }

  .nav-links a:nth-child(6) {
    transition-delay: 0.35s;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
    background-color: #d4a853;
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }

  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
    background-color: #d4a853;
  }
}

@media (max-width: 480px) {
  .nav-links a {
    font-size: 1.1rem;
  }

  .logo img {
    height: 60px !important;
  }
}