/*
Theme Name: Voge Shop
Theme URI: https://voge.shop
Author: Voge.shop
Author URI: https://voge.shop
Description: Premium digital assets store theme for Voge.shop — dark, modern, WhatsApp-first.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: voge-shop
Tags: dark, ecommerce, one-page, custom-menu, featured-images
*/

/* =====================================================================
   RESET & BASE
   ===================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Kanit', sans-serif;
  background-color: #111;
  color: #f2f2f2;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* =====================================================================
   NAVBAR
   ===================================================================== */
.voge-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background 0.3s, box-shadow 0.3s;
  padding: 0 1rem;
}

.voge-nav.scrolled {
  background: rgba(13,13,13,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 72px;
}

.nav-logo {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}
.nav-logo span { color: #e53e3e; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: #b0b0b0;
  transition: color 0.2s;
}
.nav-links a:hover { color: #fff; }

.nav-right { display: flex; align-items: center; gap: 0.75rem; }

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #16a34a;
  color: #fff;
  border: none;
  border-radius: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  font-family: inherit;
}
.btn-whatsapp:hover { background: #15803d; transform: translateY(-1px); }
.btn-whatsapp svg { width: 16px; height: 16px; fill: #fff; }
.btn-whatsapp .wa-text { display: none; }

@media (min-width: 640px) { .btn-whatsapp .wa-text { display: inline; } }

/* Mobile menu toggle */
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 0.25rem;
}
.nav-hamburger svg { width: 22px; height: 22px; }

@media (max-width: 767px) {
  .nav-links { display: none; }
  .nav-hamburger { display: block; }
}

.nav-mobile-menu {
  display: none;
  background: rgba(13,13,13,0.98);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 1rem 1.5rem;
}
.nav-mobile-menu.open { display: flex; flex-direction: column; gap: 0.75rem; }
.nav-mobile-menu a {
  font-size: 0.9rem;
  font-weight: 500;
  color: #b0b0b0;
  padding: 0.5rem 0;
  transition: color 0.2s;
}
.nav-mobile-menu a:hover { color: #fff; }

/* =====================================================================
   HERO SECTION
   ===================================================================== */
.hero-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.82), rgba(0,0,0,0.62), #111);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  margin: 0 auto;
  padding: 6rem 1.5rem 3rem;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  background: rgba(229,62,62,0.15);
  color: #f87171;
  border: 1px solid rgba(229,62,62,0.3);
  border-radius: 999px;
  padding: 0.4rem 1.2rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 1.5rem;
}
.hero-title .gradient-text {
  background: linear-gradient(to right, #ef4444, #f97316);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: #ccc;
  max-width: 640px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #e53e3e;
  color: #fff;
  border: none;
  border-radius: 0.5rem;
  padding: 0.85rem 1.8rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  font-family: inherit;
}
.btn-primary:hover { background: #c53030; transform: translateY(-2px); }
.btn-primary svg { width: 20px; height: 20px; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.05);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 0.5rem;
  padding: 0.85rem 1.8rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  font-family: inherit;
}
.btn-outline:hover { background: rgba(255,255,255,0.1); transform: translateY(-2px); }
.btn-outline svg { width: 20px; height: 20px; }

.hero-bottom-fade {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 8rem;
  background: linear-gradient(to top, #111, transparent);
  pointer-events: none;
}

/* =====================================================================
   SHARED SECTION STYLES
   ===================================================================== */
.section-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-header h2 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}
.section-header h2 span { color: #e53e3e; }
.section-header p {
  color: #888;
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto;
}

/* fade-in animation */
.fade-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* =====================================================================
   FEATURES SECTION
   ===================================================================== */
.features-section {
  background: #111;
  padding: 5rem 1.5rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 0.75rem;
  padding: 1.75rem 1.25rem;
  text-align: center;
  transition: border-color 0.25s;
}
.feature-card:hover { border-color: rgba(229,62,62,0.3); }

.feature-icon-wrap {
  width: 60px; height: 60px;
  border-radius: 0.75rem;
  background: rgba(229,62,62,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  transition: background 0.25s;
}
.feature-card:hover .feature-icon-wrap { background: rgba(229,62,62,0.2); }
.feature-icon-wrap svg { width: 28px; height: 28px; color: #e53e3e; stroke: #e53e3e; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.feature-card h3 { font-size: 1.05rem; font-weight: 600; color: #fff; margin-bottom: 0.4rem; }
.feature-card p { font-size: 0.875rem; color: #888; }

/* =====================================================================
   PRODUCTS SECTION
   ===================================================================== */
.products-section {
  background: #111;
  padding: 5rem 1.5rem;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem 2rem;
}

.product-card {
  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 0.75rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s, transform 0.25s;
}
.product-card:hover { border-color: rgba(229,62,62,0.25); transform: translateY(-3px); }

.product-img-wrap {
  position: relative;
  background: #222;
  overflow: hidden;
}
.product-img-wrap img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: contain;
  transition: transform 0.5s;
}
.product-card:hover .product-img-wrap img { transform: scale(1.04); }

.product-badge {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 5;
  border-radius: 0.4rem;
  padding: 0.2rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
}
.badge-red    { background: #dc2626; }
.badge-amber  { background: #d97706; }
.badge-purple { background: #7c3aed; }
.badge-blue   { background: #2563eb; }

.product-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-body h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.85rem;
  line-height: 1.4;
}

.product-features {
  margin-bottom: 1.25rem;
  flex: 1;
}
.product-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: #aaa;
  margin-bottom: 0.45rem;
}
.product-features li svg {
  width: 15px; height: 15px;
  stroke: #22c55e;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  margin-top: 2px;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
}
.product-price {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
}

.btn-buy {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #16a34a;
  color: #fff;
  border: none;
  border-radius: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
  font-family: inherit;
}
.btn-buy:hover { background: #15803d; }
.btn-buy svg { width: 15px; height: 15px; fill: #fff; }

/* =====================================================================
   STATS SECTION
   ===================================================================== */
.stats-section {
  background: #111;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: 4.5rem 1.5rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }

.stat-item { text-align: center; }
.stat-number {
  font-size: clamp(2.2rem, 6vw, 3.5rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.3rem;
}
.stat-number .stat-suffix { color: #e53e3e; }
.stat-label { font-size: 0.9rem; color: #888; }

/* =====================================================================
   TESTIMONIALS SECTION
   ===================================================================== */
.testimonials-section {
  background: #0d0d0d;
  padding: 5rem 1.5rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 0.75rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.stars { display: flex; gap: 0.2rem; margin-bottom: 1rem; }
.stars svg { width: 16px; height: 16px; fill: #facc15; }

.testimonial-text {
  font-size: 0.9rem;
  color: #ccc;
  line-height: 1.7;
  font-style: italic;
  flex: 1;
  margin-bottom: 1.5rem;
}

.reviewer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.reviewer-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e53e3e, #f97316);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
  flex-shrink: 0;
}
.reviewer-name { font-size: 0.875rem; font-weight: 600; color: #fff; }
.reviewer-role { font-size: 0.75rem; color: #666; }

/* =====================================================================
   CTA SECTION
   ===================================================================== */
.cta-section {
  background: #0d0d0d;
  padding: 5rem 1.5rem;
  text-align: center;
}
.cta-section h2 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.25rem;
}
.cta-section h2 span { color: #e53e3e; }
.cta-section p {
  color: #888;
  font-size: 1.05rem;
  max-width: 480px;
  margin: 0 auto 2rem;
}

/* =====================================================================
   FOOTER
   ===================================================================== */
.voge-footer {
  background: #0a0a0a;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 3rem 1.5rem;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
}
.footer-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}
@media (min-width: 768px) {
  .footer-top {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}
.footer-logo { font-size: 1.2rem; font-weight: 700; color: #fff; }
.footer-logo span { color: #e53e3e; }
.footer-tagline { font-size: 0.8rem; color: #555; margin-top: 0.25rem; }

.footer-socials { display: flex; gap: 0.75rem; }
.footer-social-link {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(22,163,74,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #22c55e;
  transition: background 0.2s;
}
.footer-social-link:hover { background: rgba(22,163,74,0.2); }
.footer-social-link svg { width: 20px; height: 20px; fill: #22c55e; }

.footer-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.05);
  margin: 2rem 0 1.5rem;
}
.footer-copyright { text-align: center; font-size: 0.8rem; color: #444; }

/* =====================================================================
   FLOATING BUTTONS
   ===================================================================== */
.fab-whatsapp {
  position: fixed;
  bottom: 1.5rem; right: 1.5rem;
  z-index: 900;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #22c55e;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(34,197,94,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}
.fab-whatsapp:hover { transform: scale(1.1); box-shadow: 0 6px 24px rgba(34,197,94,0.5); }
.fab-whatsapp svg { width: 28px; height: 28px; fill: #fff; }

.scroll-top-btn {
  position: fixed;
  bottom: 1.5rem; left: 1.5rem;
  z-index: 900;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}
.scroll-top-btn.show { display: flex; }
.scroll-top-btn:hover { background: #2a2a2a; }
.scroll-top-btn svg { width: 20px; height: 20px; stroke: #fff; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
