/* Reset */
* {
  margin: 0;
  padding-top: 0px;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 18px 60px;

  background: #000; /* always solid black */
  color: #fff;

  position: fixed; /* always stay on top */
  top: 0;
  left: 0;
  width: 100%;

  z-index: 9999;

  border-bottom: 1px solid rgba(255,255,255,0.08);

  transition: all 0.3s ease;
}
/* Logo */
.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 150px; /* adjust size */
  height: auto;
  position: relative;
}

.logo img {
  width: 85%;
  height: auto;
}

/* Nav Links */
.nav-links {
  list-style: none;
  display: flex;
  gap: 35px;
}

.nav-links li a {
  text-decoration: none;
  color: #aaa;
  font-size: 15px;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 6px;
  transition: 0.3s;
}

/* Base link */
.nav-links a {
  position: relative;
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

/* Active state */
.nav-links a.active {
  color: #fff;
}

/* Premium animated underline */
.nav-links a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, #ff1a1a, #ff4d4d);
  border-radius: 2px;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  transform: translateX(-50%);
}

/* Hover effect */
.nav-links a:hover::after {
  width: 70%;
}

/* Active = full underline */
.nav-links a.active::after {
  width: 100%;
}

/* Subtle glow for active */
.nav-links a.active {
  text-shadow: 0 0 8px rgba(255, 26, 26, 0.5);
}
/* Hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
}

.menu-toggle span {
  width: 28px;
  height: 3px;
  background: white;
  transition: 0.3s;
}

/* Animate to X */
.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);
}

/* MOBILE FULL SCREEN (below navbar) */
@media (max-width: 768px) {

  .logo{
    width: 100px;
  }
  .navbar {
    padding: 15px 20px;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;

    top: 60px; /* 👈 below navbar */
    left: 0;

    width: 100%;
    height: calc(100vh - 60px); /* 👈 full screen minus navbar */

    background: rgba(0,0,0,0.97);
    backdrop-filter: blur(15px);

    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;

    padding: 40px;
    gap: 25px;

    /* animation */
    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;

    transition: all 0.4s ease;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links li a {
    font-size: 22px;
    width: 100%;
  }

  .nav-links li a:hover {
    padding-left: 15px;
    background: rgba(255,255,255,0.08);
  }
}