@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700&display=swap');

/* Global reset (navbar scope safe) */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===============================
   Navbar
================================ */
.navbar {
  position: fixed;              /* required for hide/show on scroll */
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;

  background: linear-gradient(90deg, #000, #111);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 60px;

  font-family: 'Montserrat', sans-serif;
  z-index: 1000;

  transition: transform 0.35s ease-in-out;
}

/* Hide on scroll down */
.navbar.hide {
  transform: translateY(-100%);
}

/* ===============================
   Left Section
================================ */
.nav-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  width: 45px;
  height: 45px;
}

/* ===============================
   Brand
================================ */
.brand {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 1px;
}

.brand-white {
  color: #ffffff;
}

.brand-red {
  color: #e10600;
  margin-left: 4px;
}

/* ===============================
   Navigation Links
================================ */
.nav-links {
  list-style: none;
  display: flex;
  gap: 35px;
}

.nav-links a {
  text-decoration: none;
  color: #bdbdbd;
  font-size: 14px;
  letter-spacing: 1px;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #ffffff;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0%;
  height: 2px;
  background-color: #e10600;
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

/* ===============================
   Responsive
================================ */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
}

.nav-links a.active {
  color: #e10600;
}

.nav-links a.active::after {
  width: 100%;
}
