/* ========================================
   MERCMALL — NEON CYBER GLOW THEME (2025)
   Palette: Blue / Purple / Pink Cyber Glow
   Author: ChatGPT (Full Theme Rebuild)
======================================== */

/* ---------- GLOBAL RESET ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: radial-gradient(circle at 20% 20%, #5200ff 0%, #1a0033 40%, #0c001a 100%);
  color: #f4f4ff;
  font-family: "Poppins", sans-serif;
  overflow-x: hidden;
  line-height: 1.7;
}

/* Global Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ---------- NEON GLOW UTILS ---------- */
.neon-glow {
  text-shadow: 0 0 15px #ff3cff, 0 0 30px #5200ff;
}

.glass {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* ---------- NAVBAR ---------- */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 18px 0;
  z-index: 1000;

  background: rgba(10, 0, 20, 0.65);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: "Sanggar", serif;
  font-size: 2rem;
  font-weight: 800;
  color: #00d9ff;
  text-shadow: 0 0 12px #00d9ff;
  letter-spacing: 1.5px;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  color: #d9d9ff;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #ff3cff;
  text-shadow: 0 0 12px #ff3cff;
}

/* ---------- MOBILE MENU ---------- */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle .bar {
  width: 26px;
  height: 3px;
  background: #fff;
  transition: 0.3s;
}

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

  .nav-links {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 100%;
    height: calc(100vh - 70px);

    background: rgba(10, 0, 20, 0.95);
    backdrop-filter: blur(15px);

    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;

    transition: right 0.4s ease;
  }

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

/* ---------- HERO SECTION ---------- */
.hero {
  min-height: 100vh;
  padding: 180px 2rem 120px;

  background: radial-gradient(circle at 60% 40%, #ff3cff40 0%, #5200ff20 35%, #1a0033 80%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-text h1 {
  font-size: 3.4rem;
  font-family: "Sanggar", serif;
  margin-bottom: 1rem;
  color: #ffffff;
  text-shadow: 0 0 12px #7a00ff;
}

.hero-text h1 span {
  color: #00d9ff;
  text-shadow: 0 0 20px #00d9ff;
}

.hero-text p {
  font-size: 1.2rem;
  color: #d7d7ff;
  margin-bottom: 2rem;
}

.cta-button {
  display: inline-block;
  padding: 14px 38px;

  border-radius: 50px;
  font-size: 1.05rem;
  font-weight: 600;

  border: 2px solid #00d9ff;
  color: #ffffff;
  background: transparent;
  transition: 0.3s ease;

  box-shadow: 0 0 14px #00d9ff70;
}

.cta-button:hover {
  background: linear-gradient(90deg, #00d9ff, #ff3cff);
  color: #000;
  box-shadow: 0 0 22px #ff3cff;
  transform: translateY(-3px);
}

/* ---------- HERO GALLERY ---------- */
.hero-gallery {
  border-radius: 20px;
  overflow: hidden;
  height: 460px;
  box-shadow: 0 0 35px #5200ff55;
}

.hero-gallery-track {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  animation: scrollUp 18s linear infinite;
}

.hero-gallery img {
  height: 210px;
  width: 100%;
  object-fit: cover;
  border-radius: 15px;

  filter: saturate(1.4) brightness(1.2);
  transition: 0.4s;
}

.hero-gallery img:hover {
  transform: scale(1.05);
  filter: saturate(1.8);
}

@keyframes scrollUp {
  from { transform: translateY(0); }
  to { transform: translateY(-50%); }
}

/* ---------- ABOUT SECTION ---------- */
.about-preview {
  padding: 120px 0;
  text-align: center;
}

.about-preview h2 {
  font-size: 2.6rem;
  color: #ff3cff;
  text-shadow: 0 0 14px #ff3cff;
  margin-bottom: 1rem;
}

.about-preview p {
  max-width: 700px;
  margin: 0 auto;
  color: #e6e6ff;
}

.gold-link {
  color: #00d9ff;
  text-decoration: none;
}

.gold-link:hover {
  color: #ff3cff;
  text-shadow: 0 0 12px #ff3cff;
}

/* ---------- PRODUCT CARDS ---------- */
.products-preview {
  padding: 120px 0;
  text-align: center;
}

.products-preview h2 {
  font-size: 2.6rem;
  color: #00d9ff;
  text-shadow: 0 0 12px #00d9ff;
  margin-bottom: 2rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.product-card {
  border-radius: 16px;
  overflow: hidden;
  transition: 0.4s ease;
  padding-bottom: 10px;

  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 0 25px #5200ff44;
}

.product-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  filter: saturate(1.4);
  transition: 0.4s ease;
}

.product-card h3 {
  color: #f4f4ff;
  padding: 1rem;
  text-shadow: 0 0 10px #7a00ff;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 35px #ff3cff80;
}

.product-card:hover img {
  filter: saturate(1.9) brightness(1.1);
}

/* ---------- FOOTER ---------- */
.footer {
  padding: 70px 0 40px;
  text-align: center;
  background: rgba(10, 0, 20, 0.8);
  backdrop-filter: blur(14px);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer p {
  color: #cfcfff;
}

.footer a {
  color: #00d9ff;
  text-decoration: none;
}

.footer a:hover {
  color: #ff3cff;
  text-shadow: 0 0 10px #ff3cff;
}

/* ---------- MODAL ---------- */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;

  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(12px);

  justify-content: center;
  align-items: center;
}

.modal-content {
  width: 90%;
  max-width: 480px;
  padding: 40px;
  border-radius: 20px;

  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);

  box-shadow: 0 0 35px #5200ff70;
}

.modal-content h2 {
  color: #ff3cff;
  text-shadow: 0 0 10px #ff3cff;
  margin-bottom: 1rem;
}

/* Form Inputs */
.modal-content input,
.modal-content textarea {
  width: 100%;
  padding: 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  color: #fff;
  margin-bottom: 1rem;
}

.modal-content input:focus,
.modal-content textarea:focus {
  border-color: #00d9ff;
  box-shadow: 0 0 12px #00d9ff;
  outline: none;
}

/* Modal Button */
.modal-btn {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 50px;

  background: linear-gradient(90deg, #00d9ff, #ff3cff);
  color: #000;
  font-weight: 700;

  cursor: pointer;
  transition: 0.3s;
}

.modal-btn:hover {
  box-shadow: 0 0 20px #ff3cff;
}

/* Close Button */
.close {
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  text-shadow: 0 0 10px #ff3cff;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-gallery {
    display: none;
  }
}
/* ================================
   FIX NAVBAR OVERLAY + GHOST BACKGROUND
================================ */

/* Remove any leftover blocks behind navbar */
header,
.top-strip,
.navbar::before,
.navbar::after {
  background: none !important;
  border: none !important;
  content: none !important;
}

/* Remove leftover gradient bar below navbar */
body::before,
.hero::before {
  content: none !important;
}

/* Force navbar to have ONE clean background */
.navbar {
  background: rgba(10, 0, 25, 0.85) !important;
  backdrop-filter: blur(12px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
  height: 80px !important;
}

/* Fix duplicate/ghost logo text */
.logo {
  color: #00d9ff !important;
  text-shadow: 0 0 12px #00d9ff !important;
  background: none !important;
  mix-blend-mode: normal !important;
  position: relative;
  z-index: 3 !important;
}

/* Remove ANY ghost layers behind logo */
.logo::before,
.logo::after {
  content: none !important;
}

/* Fix left-side dark block */
.nav-container {
  background: transparent !important;
}

/* Remove old underlines or hover artifacts */
.nav-links a {
  text-decoration: none !important;
}
