/* =====================================================
   CLEAN HEADER & FOOTER — PC DIGITAL MEDIA PRO
   ===================================================== */

/* ===== HEADER CONTAINER ===== */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 2000;
  padding: 12px 20px;

  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap; /* allows proper stacking */
}

/* ===== BRAND ===== */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #111;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.5px;
}

.brand img.logo {
  width: 55px;
  height: auto;
}

.brand span strong {
  color: #3dd9eb;
}

/* ===== NAVIGATION MAIN ===== */
.navbar {
  display: flex;
  align-items: center;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 25px;
  padding: 0;
  margin: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  text-decoration: none;
  color: #111;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #3dd9eb;
}

/* ===== GLOSSY DROPDOWN ===== */
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;

  min-width: 220px;
  padding: 10px 0;

  border-radius: 14px;
  background: linear-gradient(145deg,#fff 0%,#f1f9fb 60%,#e9f8fb 100%);
  border: 1px solid rgba(255,255,255,0.6);
  backdrop-filter: blur(10px);

  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  overflow: hidden;

  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: 0.25s ease;
}

/* SHOW on hover */
.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
  display: block;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Align last dropdown to right */
.nav-item:last-child .dropdown {
  right: 0;
  left: auto;
}

/* Dropdown links */
.dropdown a {
  display: block;
  padding: 10px 20px;
  color: #222;
  font-weight: 500;
  text-decoration: none;
  border-radius: 6px;
  transition: 0.2s ease;
  position: relative;
}

.dropdown a:hover {
  background: rgba(61,217,235,0.12);
  color: #3dd9eb;
  transform: translateX(4px);
}

/* Shine */
.dropdown a::after {
  content: "";
  position: absolute;
  top: 0; left: -70%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg,
    rgba(255,255,255,0.2),
    rgba(255,255,255,0.6),
    rgba(255,255,255,0.2));
  transform: skewX(-25deg);
  transition: none;
}

.dropdown a:hover::after {
  animation: shimmer 0.9s ease forwards;
}

@keyframes shimmer {
  0% { left: -75%; }
  100% { left: 125%; }
}

/* ===== HAMBURGER BUTTON ===== */
.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #111;
  margin-left: auto;
}

/* =====================================================
   MOBILE RESPONSIVE MENU (FIXED & CLEAN)
   ===================================================== */
@media (max-width: 950px) {
  .hamburger {
    display: block;
  }

  .navbar {
    display: none;
    width: 100%;
    background: #fff;
    position: absolute;
    top: 75px;
    left: 0;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
  }

  .navbar.active {
    display: block;
  }

  .nav-menu {
    flex-direction: column;
    padding: 20px;
    gap: 10px;
  }

  .nav-item { width: 100%; }
  .nav-link { padding: 10px 0; font-weight: 600; }

  /* Mobile dropdown as accordion */
  .dropdown {
    display: none;
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: #f8f9fa;
    box-shadow: none;
    border: none;
    margin-left: 10px;
    border-left: 3px solid #3dd9eb20;
  }

  .nav-item.open .dropdown {
    display: block;
  }
}

/* =====================================================
   FOOTER — CLEAN
   ===================================================== */
footer {
  background: linear-gradient(145deg, #f8f9fb, #eaf7fa);
  padding: 50px 20px;
  text-align: center;
  box-shadow: 0 -3px 12px rgba(0,0,0,0.05);
}

footer h3 {
  font-size: 1.6rem;
  font-weight: 700;
}

footer p {
  color: #555;
  margin: 12px 0;
}

footer .social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
}

footer .social-icons a {
  color: #3dd9eb;
  font-size: 1.4rem;
  transition: 0.3s ease;
}

footer .social-icons a:hover {
  color: #2bbfd0;
  transform: scale(1.15);
}

footer .copyright {
  font-size: 0.9rem;
  color: #777;
  margin-top: 20px;
}
