/* assets/css/main.css */
/* NeonDigital — Futuristic styles */

/* ========================
   COLOUR SCHEME & GLOBAL
   ======================== */
:root {
  --primary: #5B8CFF;
  --primary-glow: 0 0 15px rgba(91,140,255,0.6);
  --secondary: #FF5EB8;
  --secondary-glow: 0 0 15px rgba(255,94,184,0.6);
  --bg: #0A0E1A;
  --surface: #111827;
  --surface-border: #1F2937;
  --text: #EAECF0;
  --text-muted: #9CA3AF;
  --heading-gradient: linear-gradient(135deg, var(--primary), var(--secondary));
  --button-gradient: linear-gradient(135deg, var(--primary), var(--secondary));
  --radius: 12px;
  --space: 16px;
  --transition: 0.2s ease;
}

/* ========================
   TYPOGRAPHY & HEADINGS
   ======================== */
h1, h2, h3, h4, h5, h6 {
  background: var(--heading-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
  line-height: 1.2;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

a {
  color: var(--primary);
  transition: color var(--transition);
}
a:hover {
  color: var(--secondary);
}

/* ========================
   BUTTONS
   ======================== */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--button-gradient);
  color: #fff;
  box-shadow: var(--primary-glow);
}
.btn-primary:hover {
  box-shadow: 0 0 25px rgba(91,140,255,0.8);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--primary-glow);
}

/* ========================
   HEADER
   ======================== */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--surface-border);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(6px);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-title {
  font-size: 1.8rem;
  font-weight: 700;
  background: var(--heading-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
}
.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 24px;
}
.main-nav a {
  color: var(--text);
  font-weight: 500;
  text-decoration: none;
  position: relative;
}
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--transition);
}
.main-nav a:hover::after {
  width: 100%;
}
.main-nav a:hover {
  color: #fff;
}

/* ========================
   MOBILE MENU TOGGLE
   ======================== */
.menu-toggle {
  display: none; /* hidden by default, shown by JS on mobile */
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 2rem;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
}

/* ========================
   CONTENT CARDS (blog, products, testimonials)
   ======================== */
.entry-card,
.product-card,
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 24px;
  transition: box-shadow var(--transition);
}
.entry-card:hover,
.product-card:hover,
.testimonial-card:hover {
  box-shadow: 0 0 20px var(--primary-glow);
}

.entry-thumbnail img,
.product-image-wrapper img {
  border-radius: var(--radius);
  width: 100%;
  object-fit: cover;
}

.entry-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 16px;
}
.entry-meta a {
  color: var(--text-muted);
  text-decoration: underline;
}
.entry-footer {
  margin-top: 16px;
}

/* ========================
   WOOCOMMERCE SPECIFIC
   ======================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 24px;
}
.product-card {
  text-align: center;
  position: relative; /* for badge positioning */
}
.product-title a {
  color: var(--text);
  font-size: 1.2rem;
}
.product-price {
  color: var(--primary);
  font-weight: 600;
  margin: 8px 0;
}
.woocommerce .button {
  background: var(--button-gradient);
  border: none;
  color: #fff;
  padding: 10px 20px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: box-shadow var(--transition);
}
.woocommerce .button:hover {
  box-shadow: var(--primary-glow);
}
.neon-badge {
  background: var(--primary);
  color: #fff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  position: absolute;
  top: 12px;
  right: 12px;
  box-shadow: var(--primary-glow);
}

/* ========================
   HERO SECTION
   ======================== */
.hero-section {
  padding: 80px 0;
  background: linear-gradient(45deg, var(--bg), var(--surface));
  text-align: center;
}
.hero-title {
  font-size: 3rem;
  margin-bottom: 16px;
}
.hero-description {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 32px;
}
.hero-cta {
  display: flex;
  justify-content: center;
  gap: 16px;
}
.hero-image {
  margin-top: 32px;
}
.hero-image img {
  max-width: 500px;
  margin: 0 auto;
  border-radius: var(--radius);
  box-shadow: 0 0 30px var(--primary-glow);
}

/* ========================
   TESTIMONIALS & CTA
   ======================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.testimonial-quote {
  font-style: italic;
  color: var(--text);
}
.testimonial-author {
  color: var(--secondary);
  font-weight: 600;
}
.cta-section {
  padding: 60px 0;
  text-align: center;
  background: var(--surface);
}

/* ========================
   SIDEBAR & FOOTER
   ======================== */
.sidebar {
  background: var(--surface);
  padding: 24px;
  border-radius: var(--radius);
  margin-top: 24px;
}
.widget-title {
  background: var(--heading-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.site-footer {
  background: var(--surface);
  padding: 40px 0 20px;
  border-top: 1px solid var(--surface-border);
}
.footer-widgets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}
.site-info {
  text-align: center;
  color: var(--text-muted);
  margin-top: 24px;
}

/* ========================
   RESPONSIVE
   ======================== */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  .hero-title { font-size: 2rem; }

  /* Mobile navigation */
  .mobile-menu {
    display: none;
    flex-direction: column;
    gap: 12px;
  }
  .mobile-menu.toggled {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--surface-border);
    padding: 16px;
    z-index: 999;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  }
}
