/* === NAVBAR === */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  background: rgba(255, 255, 255, 0.75);
  border-bottom: 1px solid rgba(200, 200, 200, 0.3);
  transition: 0.3s ease;
}

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

.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  height: 60px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

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

.nav-logo {
  
  font-weight: 900;
  font-size: 24px;
  color: #0A84FF;
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  gap: 32px;
  transition: 0.3s ease;
}

.nav-links a {
  color: #333;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  position: relative;
  transition: 0.25s ease;
}

.nav-links a:hover {
  color: #0A84FF;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0%;
  height: 2px;
  background: #0A84FF;
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-buttons {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* === HAMBURGER MENU === */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 20px;
  cursor: pointer;
  z-index: 1100;
}

.menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background: #0A84FF;
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* Rotate animation when active */
.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* === RESPONSIVE MENU === */
@media (max-width: 900px) {
  .menu-toggle {
    display: flex;
  }

  .nav-container {
    padding: 0px 20px;
  }

  .nav-links {
    position: fixed;
    opacity: 1;
    top: 64px;
    right: 0;
    width: 100%;
    height: 0;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid rgba(200,200,200,0.3);
    flex-direction: column;
    align-items: center;
    gap: 0;
    transition: height 0.3s ease;
  }

  .nav-links.open {
    height: 260px;
  }

  .nav-links a {
    padding: 12px 0;
    font-size: 17px;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(0,0,0,0.05);
  }

  .nav-buttons {
    display: none;
  }
}

@media (max-width: 480px) {
  .logo-img {
    height: 80px;
  }

  .nav-logo {
    display: none;
    font-size: 20px;
  }

  .menu-toggle {
    width: 22px;
    height: 18px;
  }

  .nav-links{
    top: 84px;
  }

  .nav-links.open {
    height: 300px;
  }
}

/* === MENU OVERLAY === */
#menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 900;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

/* When menu is open */
#menu-overlay.active {
  opacity: 1;
  pointer-events: all;
}

