/* ===================================
   HOMEWRECKER CO — STYLES
   =================================== */

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

:root {
  --teal: #00b4a0;
  --teal-light: #00d4b8;
  --teal-dark: #008a7a;
  --gold: #d4a843;
  --gold-light: #e8c36a;
  --navy: #0a1929;
  --navy-light: #142836;
  --text: #e0e0e0;
  --text-dim: #888;
  --dark-gray: #2d3a4a;
  --white: #ffffff;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--navy);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: var(--teal-light); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold-light); }

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

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

/* --- BUTTONS --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.5rem; padding: 0.875rem 2rem; border-radius: 6px;
  font-family: 'Bebas Neue', 'Arial Black', sans-serif;
  font-size: 1.25rem; letter-spacing: 0.05em;
  text-transform: uppercase; cursor: pointer; transition: all 0.25s;
  border: none; text-decoration: none;
}
.btn-primary { background: var(--teal); color: var(--navy); font-weight: 700; }
.btn-primary:hover { background: var(--teal-light); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid var(--teal); }
.btn-outline:hover { background: var(--teal); color: var(--navy); }
.btn-sm { padding: 0.5rem 1.25rem; font-size: 1rem; }

/* --- NAVBAR --- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(10,22,40,0.98); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,180,160,0.15);
  padding: 0 1.5rem;
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; display: flex;
  align-items: center; justify-content: space-between; height: 64px;
}
.logo {
  display: flex; align-items: center; gap: 0.5rem;
  color: var(--white);
  font-family: 'Bebas Neue', 'Arial Black', sans-serif;
  font-size: 1.5rem; letter-spacing: 0.1em;
}
.logo:hover { color: var(--white); }
.nav-links { display: flex; gap: 1.5rem; }
.nav-links a {
  color: var(--text-dim); font-weight: 500; font-size: 0.95rem;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.nav-links a:hover { color: var(--white); }
.nav-toggle {
  display: none; background: none; border: none;
  flex-direction: column; gap: 5px; cursor: pointer; padding: 4px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--white); transition: 0.3s;
}

/* Cart button in nav */
.nav-right { display: flex; align-items: center; gap: 1rem; }
.cart-btn {
  position: relative; background: none; border: none; cursor: pointer;
  color: var(--white); padding: 0.5rem;
}
.cart-btn:hover { color: var(--teal-light); }
.cart-badge {
  position: absolute; top: -2px; right: -6px;
  background: var(--teal); color: var(--navy);
  font-size: 0.7rem; font-weight: 700;
  width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.cart-badge:empty { display: none; }

/* --- CART SIDEBAR --- */
.cart-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.7);
  z-index: 2000; opacity: 0; visibility: hidden; transition: all 0.3s;
}
.cart-overlay.open { opacity: 1; visibility: visible; }
.cart-sidebar {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: 400px; max-width: 90vw;
  background: var(--navy);
  border-left: 1px solid rgba(0,180,160,0.2);
  z-index: 2001;
  transform: translateX(100%); transition: transform 0.3s ease;
  display: flex; flex-direction: column;
}
.cart-overlay.open .cart-sidebar { transform: translateX(0); }
.cart-header {
  padding: 1.5rem; border-bottom: 1px solid rgba(0,180,160,0.1);
  display: flex; justify-content: space-between; align-items: center;
}
.cart-header h3 {
  font-family: 'Bebas Neue', 'Arial Black', sans-serif;
  font-size: 1.5rem; letter-spacing: 0.1em; color: var(--white);
}
.cart-close {
  background: none; border: none; color: var(--text-dim);
  font-size: 1.5rem; cursor: pointer; padding: 0.25rem;
}
.cart-close:hover { color: var(--white); }
.cart-items { flex: 1; overflow-y: auto; padding: 1rem; }
.cart-empty {
  text-align: center; padding: 3rem 1rem;
  color: var(--text-dim); font-size: 0.95rem;
}
.cart-item {
  display: flex; gap: 1rem; padding: 1rem;
  background: rgba(0,180,160,0.05);
  border: 1px solid rgba(0,180,160,0.1);
  border-radius: 8px; margin-bottom: 0.75rem;
}
.cart-item-info { flex: 1; }
.cart-item-name {
  font-weight: 600; color: var(--white); font-size: 0.9rem; margin-bottom: 0.25rem;
}
.cart-item-color {
  font-size: 0.8rem; color: var(--text-dim); margin-bottom: 0.5rem;
}
.cart-item-detail {
  font-size: 0.85rem; color: #666; margin-bottom: 0.25rem;
}
.cart-item-subtotal {
  font-family: 'Bebas Neue', 'Arial Black', sans-serif;
  font-size: 1.1rem; color: var(--gold); letter-spacing: 0.05em;
}
.cart-item-remove {
  background: none; border: none; color: #666; cursor: pointer;
  font-size: 1.2rem; align-self: flex-start; padding: 0.25rem;
}
.cart-item-remove:hover { color: #ff4444; }
.cart-footer {
  padding: 1.5rem; border-top: 1px solid rgba(0,180,160,0.1);
}
.cart-total {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 0.5rem;
}
.cart-total-label {
  font-family: 'Bebas Neue', 'Arial Black', sans-serif;
  font-size: 1.3rem; letter-spacing: 0.1em; color: var(--white);
}
.cart-total-amount {
  font-family: 'Bebas Neue', 'Arial Black', sans-serif;
  font-size: 1.5rem; color: var(--gold); letter-spacing: 0.05em;
}
.cart-item-count {
  text-align: center; color: #666; font-size: 0.85rem; margin-bottom: 1rem;
}
.btn-checkout {
  width: 100%; padding: 0.75rem; font-size: 1.2rem;
}
#paypal-button-container { margin-top: 1rem; }

/* --- TOAST --- */
.toast { z-index: 3000; pointer-events: none; }

/* --- HERO --- */
.hero {
  position: relative; min-height: 100vh; display: flex;
  align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--navy) 0%, #0d1f3c 50%, var(--navy) 100%);
  overflow: hidden;
  padding-top: 64px;
}
.hero-bg-pattern {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(0,180,160,0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(212,168,67,0.06) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(0,180,160,0.03) 0%, transparent 70%);
}
.hero-content {
  text-align: center; position: relative; z-index: 1; padding: 2rem;
}
.hero-content h1 {
  font-family: 'Bebas Neue', 'Arial Black', sans-serif;
  font-size: clamp(3rem, 8vw, 7rem);
  letter-spacing: 0.15em; color: var(--white);
  line-height: 1; margin-bottom: 1rem;
}
.tagline {
  font-family: 'Bebas Neue', 'Arial Black', sans-serif;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: var(--teal-light); margin-bottom: 0.5rem;
  text-transform: uppercase; letter-spacing: 0.1em;
  font-weight: 700;
}
.sub {
  font-family: 'Permanent Marker', cursive;
  font-size: 1.1rem; color: var(--text-dim); margin-bottom: 2rem;
  font-style: italic;
}

/* --- SECTIONS --- */
.section { padding: 5rem 0; }
.section-head { text-align: center; margin-bottom: 3rem; }
.section-head h2 {
  font-family: 'Bebas Neue', 'Arial Black', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: 0.1em; margin-bottom: 0.5rem;
}
.section-sub { color: var(--text-dim); font-size: 1.05rem; }

/* --- PRODUCTS --- */
.products { background: linear-gradient(180deg, var(--navy) 0%, #0d1f3c 100%); }
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.product {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(0,180,160,0.1);
  border-radius: 12px; overflow: hidden; transition: all 0.3s;
}
.product:hover {
  border-color: var(--teal); transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,180,160,0.15);
}
.product-visual {
  padding: 2rem; display: flex; align-items: center;
  justify-content: center; min-height: 150px;
  background: rgba(0,180,160,0.03); position: relative;
}
.badge {
  position: absolute; top: 1rem; right: 1rem;
  background: var(--teal); color: var(--navy);
  font-family: 'Bebas Neue', 'Arial Black', sans-serif;
  font-size: 0.8rem; padding: 0.25rem 0.75rem; border-radius: 4px;
  letter-spacing: 0.1em;
}
.lure-shape { width: 80%; height: 40px; border-radius: 20px; position: relative; }
.lure-shape::before {
  content: ''; position: absolute; top: 50%; left: -8px;
  width: 12px; height: 12px; background: var(--gold);
  border-radius: 50%; transform: translateY(-50%);
}
.lure-shine {
  position: absolute; top: 20%; right: 20%;
  width: 30px; height: 6px; background: rgba(255,255,255,0.15);
  border-radius: 3px;
}
.creek-glider { background: linear-gradient(90deg, #b22222 0%, #d4a843 50%, #1a3a6b 100%); }
.beaver-tail { background: linear-gradient(90deg, #5a6a2a 0%, #b87333 50%, #5a6a2a 100%); height: 35px; }
.gorilla-tube { background: linear-gradient(90deg, #6a1b9a 0%, silver 50%, #1a1a1a 100%); border-radius: 30px; }
.flutter-spoon { background: linear-gradient(90deg, #c0c0c0 0%, white 30%, #c0c0c0 70%); border-radius: 10px 30px 10px 30px; height: 30px; }
.ned-rig { background: linear-gradient(90deg, #3e2723 0%, #5a6a2a 100%); border-radius: 10px; height: 35px; }
.jig-head { background: linear-gradient(90deg, var(--gold) 0%, #c0c0c0 100%); border-radius: 50%; height: 20px; width: 20px; }

.product-info { padding: 1.5rem; }
.product-info h3 {
  font-family: 'Bebas Neue', 'Arial Black', sans-serif;
  font-size: 1.3rem; letter-spacing: 0.05em; margin-bottom: 0.75rem;
}
.specs div { color: var(--text-dim); font-size: 0.9rem; margin-bottom: 0.25rem; }
.specs div strong { color: var(--white); }

/* Product cart controls */
.product-actions {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 1rem; padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.price {
  font-family: 'Bebas Neue', 'Arial Black', sans-serif;
  font-size: 1.5rem; color: var(--white); letter-spacing: 0.05em;
}
.product-controls { display: flex; flex-direction: column; gap: 0.5rem; }
.qty-row { display: flex; align-items: center; gap: 0.5rem; }
.qty-select {
  background: var(--dark-gray); color: var(--white);
  border: 1px solid rgba(0,180,160,0.2);
  border-radius: 4px; padding: 0.4rem 0.5rem; font-size: 0.85rem;
  font-family: 'Inter', system-ui, sans-serif; cursor: pointer; width: 70px;
}
.color-select {
  background: var(--dark-gray); color: var(--white);
  border: 1px solid rgba(0,180,160,0.2);
  border-radius: 4px; padding: 0.4rem 0.5rem; font-size: 0.85rem;
  font-family: 'Inter', system-ui, sans-serif; cursor: pointer; width: 100%;
}
.btn-add-cart {
  width: 100%; padding: 0.5rem; background: var(--teal);
  color: var(--navy); font-weight: 700;
  font-family: 'Bebas Neue', 'Arial Black', sans-serif;
  font-size: 1rem; letter-spacing: 0.05em; border: none;
  border-radius: 4px; cursor: pointer; text-transform: uppercase;
  transition: all 0.2s;
}
.btn-add-cart:hover { background: var(--teal-light); transform: translateY(-1px); }
.btn-add-cart-secondary {
  background: transparent; border: 1px solid var(--teal); color: var(--teal);
}
.btn-add-cart-secondary:hover { background: var(--teal); color: var(--navy); }

/* --- HARDWARE --- */
.hardware {
  background: var(--navy);
  border-top: 1px solid rgba(0,180,160,0.1);
  border-bottom: 1px solid rgba(0,180,160,0.1);
}

/* --- HWP --- */
.hwp {
  background: linear-gradient(135deg, #0d1f3c 0%, var(--navy) 50%, #0d1f3c 100%);
  position: relative; overflow: hidden;
}
.hwp::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 50%, rgba(0,180,160,0.05) 0%, transparent 60%),
    radial-gradient(circle at 70% 30%, rgba(212,168,67,0.04) 0%, transparent 50%);
}
.hwp-teaser { position: relative; z-index: 1; }

/* --- ORDER FORM --- */
.order-section { background: linear-gradient(180deg, #0d1f3c 0%, var(--navy) 100%); }
.order-form {
  max-width: 700px; margin: 0 auto;
  background: var(--navy-light); border: 1px solid rgba(0,180,160,0.1);
  border-radius: 12px; padding: 2.5rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 600; color: var(--white); font-size: 0.95rem; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 0.875rem 1rem; background: var(--navy);
  border: 1px solid rgba(0,180,160,0.1); border-radius: 6px;
  color: var(--white); font-family: 'Inter', system-ui, sans-serif; font-size: 1rem;
  transition: border-color 0.2s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0,180,160,0.15);
}
.form-group textarea { resize: vertical; }
.form-group select option { background: var(--navy); color: var(--white); }
.form-divider { border: none; border-top: 1px solid rgba(0,180,160,0.15); margin: 1.5rem 0; }
.order-form h3 {
  font-family: 'Bebas Neue', 'Arial Black', sans-serif;
  font-size: 1.5rem; letter-spacing: 0.05em; margin-bottom: 1.5rem;
}
.order-total-hint {
  background: rgba(0,180,160,0.1); border: 1px solid rgba(0,180,160,0.2);
  border-radius: 8px; padding: 1rem 1.25rem; margin-bottom: 1.5rem;
}
.order-total-hint p { color: var(--teal-light); font-size: 0.9rem; }
.btn-submit { width: 100%; font-size: 1.4rem; padding: 1.25rem; margin-top: 1rem; }

/* --- ABOUT --- */
.about-section { background: var(--navy); }
.about-content { max-width: 800px; margin: 0 auto; text-align: center; }
.about-content p { color: var(--text-dim); font-size: 1.05rem; margin-bottom: 1rem; line-height: 1.7; }
.about-content p strong { color: var(--white); }
.about-motto {
  font-family: 'Permanent Marker', cursive;
  font-size: 1.3rem; color: var(--teal-light);
  letter-spacing: 0.05em; font-style: italic;
  margin-top: 2rem; padding-top: 2rem;
  border-top: 1px solid rgba(0,180,160,0.15);
}

/* --- FOOTER --- */
.footer {
  background: var(--navy);
  border-top: 1px solid rgba(0,180,160,0.1);
  padding: 3rem 0 2rem;
}
.footer .container { text-align: center; }
.footer-brand { margin-bottom: 1rem; }
.footer-brand p { color: var(--text-dim); font-style: italic; font-size: 0.95rem; margin-top: 0.25rem; }
.footer-links { display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.footer-links a { color: var(--text-dim); font-size: 0.9rem; }
.footer-links a:hover { color: var(--white); }
.footer-copy { color: var(--text-dim); font-size: 0.85rem; opacity: 0.6; }

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none; flex-direction: column;
    position: absolute; top: 64px; left: 0; right: 0;
    background: rgba(10,22,40,0.98); padding: 1.5rem;
    gap: 1.25rem; border-bottom: 1px solid rgba(0,180,160,0.15);
  }
  .nav-links.open { display: flex; }
  .form-row { grid-template-columns: 1fr; }
  .product-actions { flex-direction: column; align-items: stretch; gap: 1rem; }
  .product-controls { width: 100%; }
}

@media (max-width: 480px) {
  .hero-content h1 { font-size: 2.8rem; }
  .product-grid { grid-template-columns: 1fr; }
  .price { font-size: 1.35rem; }
  .btn { padding: 0.75rem 1.5rem; font-size: 1.1rem; }
  .order-form { padding: 1.5rem; }
}