/* ===============================
   SenMediaCo — Transparent Navbar
   =============================== */

.navbar {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 70px;
  background: rgba(15, 15, 15, 0.25);
  backdrop-filter: blur(3px) saturate(120%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.35);
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.45);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
  height: 60px;
}

.navbar .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.navbar .logo {
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-text);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
  transition: all 0.3s ease;
}

.navbar .logo:hover {
  color: var(--color-accent);
  transform: scale(1.05);
}

/* Menu Toggle (Hamburger) */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1100;
}

.menu-toggle .bar {
  height: 2px;
  width: 100%;
  background: var(--color-text);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Navigation Links */
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
  transition: all 0.4s ease;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--color-text);
  position: relative;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
  transition: all 0.3s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  box-shadow: 0 2px 6px rgba(255, 100, 0, 0.3);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--color-accent);
}

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

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

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    gap: 2rem;
    transition: right 0.4s ease;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    font-size: 1.2rem;
    text-shadow: none;
  }

  /* Hamburger X efekti */
  .menu-toggle.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(4px, 5px);
  }
  .menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
  }
}

/* Text clarity */
.navbar, .navbar * {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
