/* ===== NAVBAR ===== */
.home-link {
  font-weight: 600;
  font-size: 1.2rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: color 0.3s ease;
}
.home-link:hover { color: #ffcc00; }

.navbar-custom {
  background: linear-gradient(45deg, #444, #666);
  box-shadow: 0 4px 6px rgba(0,0,0,.1);
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-links { display: flex; align-items: center; }

.navbar-custom a {
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  padding: 10px 20px;
  text-decoration: none;
  margin: 0 10px;
  transition: background-color .3s, color .3s, transform .3s;
}

.navbar-custom a:hover,
.navbar-custom a.active {
  background-color: #ffcc00;
  color: #333;
  border-radius: 5px;
  transform: scale(1.1);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}
.menu-toggle span {
  width: 25px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: .3s;
}

@media (max-width: 768px) {
  .menu-toggle { display: flex; }

  .navbar-custom { flex-wrap: wrap; position: sticky; top: 0; z-index: 1000; }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background: linear-gradient(45deg, #333, #555);
    border-radius: 0 0 8px 8px;
    padding: 6px 0 10px 0;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 9999;
    box-shadow: 0 6px 16px rgba(0,0,0,.35);
  }
  .nav-links.show { display: flex; }
  .nav-links a {
    padding: 14px 20px;
    font-size: 16px;
    margin: 0;
    text-align: center;
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,.08);
    transform: none !important;
  }
  .nav-links a:last-child { border-bottom: none; }
  .nav-links a:hover,
  .nav-links a.active {
    background-color: #ffcc00;
    color: #333;
    border-radius: 0;
    transform: none !important;
  }
}

html { scroll-behavior: smooth; }
