/* ==========================================================================
   LOVE COMPUTER - ATASBAWAH STYLE (HEADER & FOOTER BLACK PINK NEON)
   ========================================================================== */

:root {
  --bg-dark: #07070a;
  --bg-card: rgba(18, 18, 26, 0.75);
  --pink-neon: #ff007f;
  --pink-glow: rgba(255, 0, 127, 0.4);
  --cyan-accent: #00f2fe;
  --text-main: #f0f0f5;
  --text-muted: #a0a0b0;
  --border-glow: rgba(255, 0, 127, 0.25);
  --font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* --- HEADER & NAVIGASI GLASSMORPHISM --- */
.main-header {
  background: rgba(7, 7, 10, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-glow);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* LOGO BRANDING */
.logo {
  font-size: 1.35rem;
  font-weight: 900;
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
  letter-spacing: 1px;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.02);
}

.logo-img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  filter: drop-shadow(0 0 6px var(--pink-glow));
}

.neon-pink {
  color: var(--pink-neon);
  text-shadow: 0 0 10px var(--pink-glow);
}

/* MENU NAVIGASI DESKTOP */
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-item {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  position: relative;
  padding: 6px 0;
  transition: color 0.3s ease;
}

.nav-item:not(.nav-btn)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--pink-neon);
  box-shadow: 0 0 8px var(--pink-neon);
  transition: width 0.3s ease;
}

.nav-item:not(.nav-btn):hover {
  color: #fff;
}

.nav-item:not(.nav-btn):hover::after {
  width: 100%;
}

.nav-btn {
  background: var(--pink-neon);
  color: #fff !important;
  padding: 9px 20px;
  border-radius: 8px;
  box-shadow: 0 0 12px var(--pink-glow);
  transition: all 0.3s ease;
}

.nav-btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 0 18px var(--pink-neon);
}

/* TOMBOL HAMBURGER MOBILE */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 1001;
}

.mobile-menu-toggle .bar {
  width: 26px;
  height: 2.5px;
  background: var(--pink-neon);
  border-radius: 4px;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 0 6px var(--pink-glow);
}

/* Animasi Hamburger ke Icon 'X' */
.mobile-menu-toggle.active .bar:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}

.mobile-menu-toggle.active .bar:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active .bar:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}

/* --- FOOTER MODERN --- */
.main-footer {
  background: rgba(7, 7, 10, 0.95);
  border-top: 1px solid var(--border-glow);
  margin-top: auto;
  padding: 40px 20px 20px 20px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}

.footer-brand h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
  color: #fff;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
  max-width: 400px;
}

.footer-links h4 {
  margin-bottom: 12px;
  color: var(--cyan-accent);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--pink-neon);
}

.footer-copy {
  grid-column: 1 / -1;
  text-align: center;
  margin-top: 25px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* --- RESPONSIVE MOBILE & TABLET --- */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }

  .nav-links {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(7, 7, 10, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: stretch;
    padding: 20px 25px;
    border-bottom: 1px solid var(--border-glow);
    gap: 16px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
  }

  .nav-links.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-item {
    font-size: 1rem;
    padding: 8px 0;
  }

  .nav-btn {
    text-align: center;
    margin-top: 5px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 25px;
  }
}