/* ============================================
   JM Vapes — Static Catalogue Site
   ============================================ */

:root {
  --green: #7ecf3c;
  --green-dark: #4a9e1c;
  --pink: #e91e8c;
  --pink-light: #ff6eb4;
  --gold: #d4af37;
  --bg-dark: #1a1a2e;
  --bg-card: rgba(255, 255, 255, 0.08);
  --text: #fff;
  --text-muted: rgba(255, 255, 255, 0.7);
  --radius: 16px;
  --max-width: 1100px;
}

/* Reset */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--bg-dark);
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(126, 207, 60, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(233, 30, 140, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(212, 175, 55, 0.1) 0%, transparent 50%);
  line-height: 1.6;
}

a {
  color: var(--green);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--pink-light);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ---- Navigation ---- */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(26, 26, 46, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
}

.nav-brand {
  font-size: 1.4rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: linear-gradient(135deg, var(--green), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--green);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
}

.nav-toggle:focus-visible,
.nav-links a:focus-visible,
.btn:focus-visible,
.contact-links a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

/* ---- Layout ---- */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, var(--green), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- Hero ---- */

.hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 5rem 1.5rem 3rem;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(126, 207, 60, 0.2) 0%, transparent 60%),
    radial-gradient(ellipse at 50% 100%, rgba(233, 30, 140, 0.15) 0%, transparent 60%);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--bg-dark);
  pointer-events: none;
}

.hero::before {
  top: 0;
}

.hero::after {
  bottom: 0;
}

.hero-brand-mark {
  display: block;
  width: min(100%, 380px);
  max-width: 100%;
  height: auto;
  margin: 0 auto 1.1rem;
  filter: drop-shadow(0 14px 30px rgba(0, 0, 0, 0.28));
}

.hero-brand-picture {
  display: block;
}

.hero-kicker {
  margin-bottom: 0.85rem;
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: linear-gradient(135deg, var(--green), var(--pink), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 2rem;
}

.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: transform 0.2s, box-shadow 0.2s;
  border: none;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(126, 207, 60, 0.3);
}

.btn-primary {
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: #000;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--green);
  color: var(--green);
}

.btn-outline:hover {
  background: var(--green);
  color: #000;
}

/* ---- Product Cards ---- */

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

.product-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(160deg,
    rgba(126, 207, 60, 0.12),
    rgba(233, 30, 140, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.25s, box-shadow 0.25s;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(126, 207, 60, 0.15);
}

.product-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.1), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.28));
}

.product-img-placeholder {
  background: linear-gradient(135deg, #1a1a2e, #2a1a3e);
}

.product-img-text {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.85rem;
}

.product-body {
  padding: 1.25rem;
}

.product-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}

.product-body .detail {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}

.product-body .detail-sub {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 0.75rem;
}

.product-price {
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-weight: 800;
  font-size: 1rem;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: #000;
}

.product-price.ask {
  background: linear-gradient(135deg, var(--pink), var(--pink-light));
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
}

/* ---- Starburst Badge ---- */

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  background: var(--gold);
  color: #000;
  font-weight: 800;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  clip-path: polygon(
    50% 0%, 61% 11%, 75% 3%, 78% 18%, 93% 18%, 88% 33%,
    100% 42%, 90% 53%, 97% 66%, 83% 68%, 82% 83%, 68% 77%,
    58% 90%, 50% 79%, 42% 90%, 32% 77%, 18% 83%, 17% 68%,
    3% 66%, 10% 53%, 0% 42%, 12% 33%, 7% 18%, 22% 18%,
    25% 3%, 39% 11%
  );
  min-width: 90px;
  min-height: 90px;
  text-align: center;
}

.badge-category {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
}

/* ---- Category Banner ---- */

.category-banner {
  text-align: center;
  padding: 2rem 1rem;
  margin-bottom: 2rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg,
    rgba(126, 207, 60, 0.15),
    rgba(233, 30, 140, 0.1),
    rgba(212, 175, 55, 0.1));
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.category-banner h2 {
  font-size: 2rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ---- About / Contact sections ---- */

.content-block {
  max-width: 700px;
  margin: 0 auto;
  padding: 2rem 0;
}

.content-block h2 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--green);
}

.content-block p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.contact-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-links li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-weight: 600;
}

.contact-links .label {
  color: var(--text-muted);
  font-weight: 400;
  font-size: 0.85rem;
}

/* ---- Footer ---- */

.footer {
  text-align: center;
  padding: 2rem 1.5rem;
  margin-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ---- Responsive ---- */

@media (max-width: 640px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(26, 26, 46, 0.95);
    padding: 1rem 1.5rem;
    gap: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .hero {
    padding: 3rem 1rem 2rem;
  }

  .hero-brand-mark {
    width: min(50vw, 185px);
  }

  .hero-kicker {
    letter-spacing: 0.16em;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 1.6rem;
  }
}
