/* ===== 1977 SUPPLY — Tactical & Prepper ===== */
/* Colors */
:root {
  --black: #0d0d0d;
  --dark: #1a1a1a;
  --dark2: #222;
  --dark3: #2a2a2a;
  --olive: #5c6b3f;
  --olive-light: #7a8f54;
  --coyote: #8b7355;
  --sand: #c4a87c;
  --white: #f0ece5;
  --off-white: #e6e0d4;
  --gray: #888;
  --light-gray: #555;
  --border: #333;
  --text: #d4d0c8;
  --text-light: #a8a49c;
  --accent: var(--olive-light);
  --font-main: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-mono: 'Courier New', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  background: var(--black);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

/* ===== HEADER ===== */
.header {
  background: var(--dark);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.brand {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-mark {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 6px;
  color: var(--white);
}

.brand-sub {
  font-size: 0.7rem;
  letter-spacing: 8px;
  color: var(--olive-light);
  font-weight: 600;
}

.nav-links {
  display: flex;
  gap: 8px;
  align-items: center;
}

.nav-links a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 4px;
  transition: all 0.2s;
}

.nav-links a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.05);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--black) 0%, #1e2420 50%, var(--dark) 100%);
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.015'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding: 80px 0;
}

.hero-badge {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 3px;
  color: var(--olive-light);
  border: 1px solid var(--olive);
  padding: 6px 14px;
  margin-bottom: 24px;
  font-weight: 600;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero-text {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 32px;
  max-width: 580px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.25s;
  cursor: pointer;
  border: none;
}

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

.btn-primary:hover {
  background: var(--olive-light);
  transform: translateY(-1px);
}

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

.btn-outline:hover {
  border-color: var(--olive);
  color: var(--olive-light);
}

/* ===== FLASH BAR ===== */
.flashbar {
  background: var(--dark3);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}

.flashbar-content {
  text-align: center;
  font-size: 0.8rem;
  letter-spacing: 1px;
  color: var(--coyote);
}

/* ===== SECTIONS ===== */
.section {
  padding: 100px 0;
}

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

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 3px;
  color: var(--olive-light);
  margin-bottom: 12px;
  font-weight: 600;
}

.section-header h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.5px;
}

/* ===== CATEGORIES ===== */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.category-card {
  background: var(--dark2);
  border: 1px solid var(--border);
  padding: 36px 28px;
  text-decoration: none;
  color: var(--text);
  border-radius: 6px;
  transition: all 0.3s;
}

.category-card:hover {
  border-color: var(--olive);
  background: var(--dark3);
  transform: translateY(-3px);
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.category-card h3 {
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 10px;
  font-weight: 600;
}

.category-card p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ===== FEATURED BRAND ===== */
.brand-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.brand-feature-content .section-tag {
  margin-bottom: 16px;
}

.brand-feature-content h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.brand-feature-content p {
  color: var(--text-light);
  margin-bottom: 28px;
  font-size: 1rem;
  line-height: 1.8;
}

.visual-placeholder {
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 80px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.visual-placeholder span {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: 8px;
  color: var(--white);
}

/* ===== VALUES ===== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.value-card {
  padding: 40px 30px;
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: 6px;
}

.value-number {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--olive-light);
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.value-card h3 {
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 14px;
  font-weight: 600;
}

.value-card p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ===== NEWSLETTER ===== */
.newsletter-content {
  text-align: center;
  max-width: 520px;
}

.newsletter-content h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.newsletter-content p {
  color: var(--text-light);
  margin-bottom: 28px;
}

.newsletter-form {
  display: flex;
  gap: 12px;
}

.newsletter-form input {
  flex: 1;
  padding: 14px 18px;
  background: var(--black);
  border: 1px solid var(--border);
  color: var(--white);
  font-size: 0.9rem;
  border-radius: 4px;
  outline: none;
  transition: border-color 0.2s;
}

.newsletter-form input:focus {
  border-color: var(--olive);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--black);
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
}

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

.footer-brand .brand-mark {
  font-size: 1.3rem;
}

.footer-brand .brand-sub {
  font-size: 0.6rem;
}

.footer-brand p {
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--text-light);
  max-width: 260px;
  line-height: 1.6;
}

.footer-links h4 {
  color: var(--white);
  font-size: 0.85rem;
  margin-bottom: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.footer-links a,
.footer-links span {
  display: block;
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.85rem;
  margin-bottom: 10px;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--olive-light);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--light-gray);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .brand-feature { grid-template-columns: 1fr; gap: 40px; }
  .values-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  .mobile-toggle { display: block; }

  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--dark);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 16px;
    gap: 4px;
  }

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

  .nav-links a {
    width: 100%;
    padding: 14px;
    border-radius: 4px;
  }

  .hero-title { font-size: 2rem; }
  .hero-text { font-size: 1rem; }
  .hero { min-height: 70vh; }

  .category-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }

  .section { padding: 60px 0; }
  .section-header h2 { font-size: 1.6rem; }

  .newsletter-form { flex-direction: column; }
}

/* ===== SHOP PAGE ===== */
.shop-header {
  padding: 60px 0 30px;
}

.shop-header h1 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.shop-header p {
  color: var(--text-light);
  font-size: 0.95rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding-bottom: 60px;
}

.product-card {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 24px;
  text-align: center;
  transition: all 0.3s;
}

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

.product-card .card-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.product-card h3 {
  font-size: 0.9rem;
  color: var(--white);
  font-weight: 600;
  margin-bottom: 4px;
}

.product-card .sku {
  font-size: 0.7rem;
  color: var(--light-gray);
  margin-bottom: 8px;
  font-family: var(--font-mono);
}

.product-card .price {
  font-size: 1.1rem;
  color: var(--olive-light);
  font-weight: 700;
}

.product-card .btn {
  margin-top: 16px;
  width: 100%;
  padding: 10px;
  font-size: 0.75rem;
}

@media (max-width: 1000px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 700px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===== ABOUT PAGE ===== */
.page-header {
  padding: 80px 0 40px;
}

.page-header h1 {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 14px;
}

.page-header .subtitle {
  color: var(--text-light);
  font-size: 1.05rem;
  max-width: 600px;
  line-height: 1.7;
}

.story-section {
  background: var(--dark);
  padding: 80px 0;
}

.story-content {
  max-width: 760px;
}

.story-content h2 {
  font-size: 1.6rem;
  color: var(--white);
  margin-bottom: 20px;
  font-weight: 700;
}

.story-content p {
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.8;
  font-size: 0.95rem;
}

.story-content .highlight {
  border-left: 3px solid var(--olive);
  padding-left: 20px;
  margin: 24px 0;
  font-style: italic;
  color: var(--sand);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 60px 0;
  text-align: center;
}

.stat-item .stat-number {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--white);
  font-family: var(--font-mono);
}

.stat-item .stat-number span {
  color: var(--olive-light);
}

.stat-item .stat-label {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 6px;
}

/* ===== CONTACT PAGE ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  padding-bottom: 80px;
}

.contact-info h2 {
  font-size: 1.5rem;
  color: var(--white);
  font-weight: 700;
  margin-bottom: 16px;
}

.contact-info p {
  color: var(--text-light);
  margin-bottom: 30px;
  line-height: 1.7;
}

.contact-detail {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
}

.contact-icon {
  font-size: 1.3rem;
  color: var(--olive-light);
}

.contact-detail .detail-label {
  font-size: 0.8rem;
  color: var(--light-gray);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-detail .detail-value {
  color: var(--white);
  font-size: 0.95rem;
}

.contact-form {
  background: var(--dark2);
  border: 1px solid var(--border);
  padding: 36px;
  border-radius: 6px;
}

.contact-form label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 6px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--black);
  border: 1px solid var(--border);
  color: var(--white);
  font-size: 0.9rem;
  border-radius: 4px;
  margin-bottom: 20px;
  outline: none;
  transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--olive);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

/* ===== BRANDS PAGE ===== */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  padding-bottom: 60px;
}

.brand-card {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 40px;
  transition: all 0.3s;
}

.brand-card:hover {
  border-color: var(--olive);
}

.brand-card h3 {
  font-size: 1.3rem;
  color: var(--white);
  font-weight: 700;
  margin-bottom: 10px;
}

.brand-card .brand-desc {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 18px;
}

.brand-card .brand-link {
  color: var(--olive-light);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: color 0.2s;
}

.brand-card .brand-link:hover {
  color: var(--sand);
}

@media (max-width: 700px) {
  .brands-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .page-header h1 { font-size: 1.8rem; }
}
