/* ============================================
   Baddass Jams - BADASS DONKEY EDITION
   Dark, bold, loud. Harmony PA attitude.
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@400;500;600;700&display=swap');

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

:root {
  --gold: #FFB81C;
  --gold-dark: #D49A00;
  --gold-glow: rgba(255, 184, 28, 0.25);
  --black: #0d0d0d;
  --charcoal: #1a1a1a;
  --dark: #111;
  --red: #D42B1E;
  --red-dark: #A01F15;
  --orange: #E86A10;
  --white: #ffffff;
  --off-white: #f0ece4;
  --gray: #777;
  --gray-dark: #333;
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
  --radius: 8px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--off-white);
  background: var(--black);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 1px;
  text-transform: uppercase;
}

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--white); }
img { max-width: 100%; height: auto; display: block; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Header / Nav --- */
.site-header {
  background: var(--black);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 3px solid var(--gold);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 90px;
}

.logo {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 10;
}

.logo img {
  height: 120px;
  width: auto;
  filter: drop-shadow(0 0 8px var(--gold-glow));
  margin: -20px 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  color: var(--white);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.3rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--gold); }

.cart-btn {
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: 4px;
  padding: 10px 20px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s;
}

.cart-btn:hover { background: var(--red-dark); }

.cart-count {
  background: var(--gold);
  color: var(--black);
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
}

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

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--black);
  overflow: hidden;
  text-align: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.25;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 60px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-logo {
  width: 640px;
  margin-bottom: 24px;
  filter: drop-shadow(0 0 30px var(--gold-glow));
  animation: logoKick 0.6s ease-out;
}

@keyframes logoKick {
  0% { transform: scale(0.7) rotate(-8deg); opacity: 0; }
  60% { transform: scale(1.05) rotate(2deg); opacity: 1; }
  100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

.hero h1 {
  font-size: 4.5rem;
  color: var(--white);
  margin-bottom: 16px;
}

.hero h1 .highlight { color: var(--gold); }

.hero p {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 36px;
  max-width: 520px;
  font-weight: 400;
}

.btn {
  display: inline-block;
  padding: 16px 40px;
  border-radius: 4px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.3rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--red-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 43, 30, 0.4);
}

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

.btn-outline:hover {
  background: var(--gold);
  color: var(--black);
}

/* --- Stripe Divider --- */
.stripe-divider {
  height: 4px;
  background: var(--gold);
}

/* --- Section Utilities --- */
.section {
  padding: 80px 0;
}

.section-dark {
  background: var(--charcoal);
}

.section-title {
  font-size: 3.5rem;
  text-align: center;
  margin-bottom: 8px;
  color: var(--gold);
}

.section-subtitle {
  text-align: center;
  color: var(--gray);
  font-size: 1rem;
  margin-bottom: 48px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- Product Grid --- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

.product-card {
  background: var(--charcoal);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid #2a2a2a;
  transition: transform 0.3s, border-color 0.3s;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
}

.product-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.product-info {
  padding: 20px 24px 24px;
}

.product-info h3 {
  font-size: 1.6rem;
  margin-bottom: 4px;
  color: var(--white);
}

.product-tagline {
  font-size: 0.85rem;
  color: var(--gray);
  margin-bottom: 14px;
  text-transform: none;
}

.heat-meter {
  display: flex;
  gap: 4px;
  margin-bottom: 14px;
}

.heat-pip {
  width: 28px;
  height: 6px;
  border-radius: 2px;
  background: #2a2a2a;
}

.heat-pip.active { background: var(--red); }
.heat-pip.active.mild { background: #F4A300; }
.heat-pip.active.medium { background: var(--orange); }
.heat-pip.active.hot { background: var(--red); }
.heat-pip.active.fire { background: #8B0000; }

.product-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-price {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  color: var(--gold);
  letter-spacing: 1px;
}

.btn-add {
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: 4px;
  padding: 10px 22px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.btn-add:hover {
  background: var(--red-dark);
  transform: scale(1.05);
}

/* --- About Preview (Home) --- */
.about-preview {
  background: var(--charcoal);
  color: var(--white);
  border-top: 1px solid #222;
  border-bottom: 1px solid #222;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-grid img {
  border-radius: var(--radius);
  border: 2px solid #333;
}

.about-text h2 {
  font-size: 3rem;
  margin-bottom: 16px;
  color: var(--gold);
}

.about-text p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 16px;
  font-size: 1.05rem;
}

/* --- CTA Banner --- */
.cta-banner {
  background: var(--red);
  text-align: center;
  padding: 56px 24px;
}

.cta-banner h2 {
  font-size: 3rem;
  color: var(--white);
  margin-bottom: 8px;
}

.cta-banner p {
  color: rgba(255,255,255,0.8);
  margin-bottom: 24px;
  font-size: 1rem;
}

.cta-banner .btn {
  background: var(--black);
  color: var(--gold);
}

.cta-banner .btn:hover {
  background: var(--charcoal);
}

/* --- Our Story Page --- */
.story-hero {
  background: var(--black);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}

.story-hero h1 {
  font-size: 4rem;
  color: var(--gold);
  margin-bottom: 12px;
}

.story-hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.6);
  max-width: 600px;
  margin: 0 auto;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.story-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 64px 0;
  border-bottom: 1px solid #222;
}

.story-section:last-child { border-bottom: none; }

.story-section.reverse { direction: rtl; }
.story-section.reverse > * { direction: ltr; }

.story-section img {
  border-radius: var(--radius);
  border: 2px solid #333;
  width: 100%;
}

.story-section h2 {
  font-size: 2.5rem;
  color: var(--gold);
  margin-bottom: 12px;
}

.story-section p {
  color: rgba(255,255,255,0.7);
  font-size: 1.05rem;
  margin-bottom: 12px;
}

/* --- Footer --- */
.site-footer {
  background: var(--black);
  color: rgba(255,255,255,0.5);
  padding: 48px 0 24px;
  border-top: 3px solid var(--gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 32px;
}

.footer-brand .logo { margin-bottom: 16px; }
.footer-brand .logo img { height: 80px; }

.footer-brand p {
  font-size: 0.9rem;
  max-width: 300px;
  line-height: 1.7;
}

.site-footer h4 {
  color: var(--gold);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.2rem;
  margin-bottom: 16px;
  letter-spacing: 3px;
}

.site-footer ul { list-style: none; }

.site-footer ul li { margin-bottom: 10px; }

.site-footer ul a {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  transition: color 0.2s;
}

.site-footer ul a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid #222;
  padding-top: 20px;
  text-align: center;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- Cart Drawer --- */
.cart-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 200;
}

.cart-overlay.open { display: block; }

.cart-drawer {
  position: fixed;
  top: 0;
  right: -400px;
  width: 400px;
  height: 100%;
  background: var(--charcoal);
  box-shadow: -4px 0 30px rgba(0,0,0,0.5);
  z-index: 201;
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
}

.cart-drawer.open { right: 0; }

.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid #333;
}

.cart-drawer-header h3 {
  font-size: 1.5rem;
  color: var(--gold);
}

.cart-close {
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--gray);
}

.cart-close:hover { color: var(--white); }

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #333;
}

.cart-item img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
}

.cart-item-details { flex: 1; }
.cart-item-details h4 { font-size: 0.95rem; color: var(--white); }
.cart-item-details p { font-size: 0.85rem; color: var(--gray); }

.cart-item-remove {
  background: none;
  border: none;
  color: var(--red);
  cursor: pointer;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cart-empty {
  text-align: center;
  padding: 48px 0;
  color: var(--gray);
}

.cart-footer {
  padding: 20px 24px;
  border-top: 1px solid #333;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.btn-checkout {
  display: block;
  width: 100%;
  padding: 14px;
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: 4px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.2rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  cursor: pointer;
  text-align: center;
  transition: background 0.2s;
}

.btn-checkout:hover { background: var(--red-dark); }

/* --- Responsive --- */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--black);
    padding: 24px;
    gap: 20px;
    border-bottom: 3px solid var(--gold);
  }

  .hero h1 { font-size: 2.8rem; }
  .hero { min-height: 500px; }
  .hero-logo { width: 220px; }

  .product-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .story-section { grid-template-columns: 1fr; }
  .story-section.reverse { direction: ltr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }

  .cart-drawer { width: 100%; right: -100%; }

  .section-title { font-size: 2.5rem; }
  .cta-banner h2 { font-size: 2.2rem; }
}
