/* ============================================
   OLD SCHOOL MUNITIONS — styles.css
   Veteran-Built. Old School Cool.
   ============================================ */

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

:root {
  --navy: #0d1b2a;
  --navy-light: #1b2a3f;
  --gold: #c89b3c;
  --gold-light: #e0b85a;
  --olive: #4a5d23;
  --olive-light: #6b7f3a;
  --khaki: #d4b896;
  --khaki-dark: #b89d6f;
  --white: #f5f5f0;
  --gray: #8a8a8a;
  --shadow: 0 4px 20px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.6);
  --radius: 8px;
  --max-width: 1200px;
}

html { scroll-behavior: smooth; font-size: 16px; }

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

/* ---- Typography ---- */
h1, h2, h3, h4, .stencil {
  font-family: 'Black Ops One', 'Stardos Stencil', Impact, sans-serif;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  line-height: 1.2;
}

h1 { font-size: clamp(2rem, 6vw, 4rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.8rem); }

p { font-size: 1.05rem; line-height: 1.7; }

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

/* ---- Layout Helpers ---- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 4rem 0; }
.section-sm { padding: 2.5rem 0; }
.text-center { text-align: center; }
.gold { color: var(--gold); }
.olive { color: var(--olive-light); }
.khaki { color: var(--khaki); }

/* ---- Header / Nav ---- */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(13, 27, 42, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--gold);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Black Ops One', sans-serif;
  font-size: 1.3rem;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-logo .logo-icon {
  font-size: 1.8rem;
  line-height: 1;
}

.nav-logo .gold-accent { color: var(--gold); }

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

.nav-links a {
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}

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

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

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  font-family: 'Barlow', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
}
.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--navy);
}

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

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

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(74, 93, 35, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(200, 155, 60, 0.12) 0%, transparent 50%),
    linear-gradient(135deg, #0d1b2a 0%, #152535 50%, #0d1b2a 100%);
  overflow: hidden;
}

/* Stencil grid overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(200, 155, 60, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 155, 60, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 2rem 1.25rem;
}

.hero-badge-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.9rem;
  border: 1.5px solid var(--gold);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--gold);
  background: rgba(13, 27, 42, 0.6);
}

.hero h1 {
  margin-bottom: 1rem;
  text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

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

.hero-tagline {
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  color: var(--khaki);
  margin-bottom: 2rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* CSS Art — Grenade silhouette */
.hero-grenade {
  position: absolute;
  bottom: -20px;
  right: 5%;
  width: 120px;
  height: 180px;
  z-index: 1;
  opacity: 0.08;
}

.hero-grenade::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 20px;
  width: 80px;
  height: 100px;
  background: var(--gold);
  border-radius: 50% 50% 45% 45%;
}

.hero-grenade::after {
  content: '';
  position: absolute;
  bottom: 90px;
  left: 45px;
  width: 30px;
  height: 50px;
  background: var(--gold);
  border-radius: 4px 4px 0 0;
}

/* ---- Badges ---- */
.badge-row {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 2rem 0;
}

.badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  padding: 0.8rem 1.2rem;
  border: 2px solid var(--olive);
  border-radius: var(--radius);
  background: rgba(74, 93, 35, 0.1);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge .badge-icon { font-size: 1.8rem; }
.badge .badge-text { color: var(--khaki); }

/* ---- Section Headers ---- */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  color: var(--white);
  margin-bottom: 0.5rem;
}

.section-header h2 .gold { color: var(--gold); }

.section-header .divider {
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 1rem auto;
}

.section-header p {
  color: var(--khaki);
  max-width: 600px;
  margin: 0 auto;
}

/* ---- Brand Story Section ---- */
.brand-story {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-light) 100%);
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.story-text h2 { margin-bottom: 1rem; }
.story-text p { margin-bottom: 1rem; color: var(--khaki); }

.story-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* CSS Art — Stencil star panel */
.stencil-panel {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1;
  background:
    radial-gradient(circle at center, rgba(200, 155, 60, 0.08) 0%, transparent 70%),
    repeating-linear-gradient(
      45deg,
      rgba(74, 93, 35, 0.05),
      rgba(74, 93, 35, 0.05) 10px,
      transparent 10px,
      transparent 20px
    ),
    linear-gradient(135deg, var(--navy-light), var(--navy));
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow);
}

.stencil-panel .big-emoji {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.stencil-panel .panel-title {
  font-family: 'Black Ops One', sans-serif;
  font-size: 1.4rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
}

.stencil-panel .panel-sub {
  color: var(--khaki);
  font-size: 0.95rem;
}

/* ---- Featured Products ---- */
.featured {
  background: var(--navy);
}

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

.product-card {
  background: var(--navy-light);
  border: 1px solid rgba(200, 155, 60, 0.2);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}

.product-visual {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Product-specific CSS art backgrounds */
.pv-grenade {
  background: radial-gradient(circle at 50% 60%, rgba(200, 155, 60, 0.15), transparent 70%), linear-gradient(135deg, #1a2a1a, #0d1b0d);
}
.pv-lightsaber {
  background: radial-gradient(circle at 50% 50%, rgba(100, 200, 255, 0.12), transparent 70%), linear-gradient(135deg, #0a0a1a, #0d1b2a);
}
.pv-toys {
  background: radial-gradient(circle at 50% 50%, rgba(200, 155, 60, 0.1), transparent 70%), linear-gradient(135deg, #2a1a0d, #1a1208);
}
.pv-custom {
  background: radial-gradient(circle at 50% 50%, rgba(74, 93, 35, 0.15), transparent 70%), linear-gradient(135deg, #1a2a1a, #0d1b0d);
}

.product-visual .product-emoji {
  font-size: 3.5rem;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.5));
}

.product-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(200, 155, 60, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 155, 60, 0.04) 1px, transparent 1px);
  background-size: 20px 20px;
}

.product-body {
  padding: 1.25rem;
}

.product-body h3 {
  font-size: 1.1rem;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.product-body p {
  font-size: 0.95rem;
  color: var(--khaki);
  margin-bottom: 0.75rem;
}

.product-tag {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  background: rgba(74, 93, 35, 0.3);
  border: 1px solid var(--olive);
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--khaki);
}

/* ---- Veteran Mission Callout ---- */
.mission-callout {
  background:
    radial-gradient(ellipse at 20% 50%, rgba(200, 155, 60, 0.1) 0%, transparent 60%),
    linear-gradient(135deg, #1a2a1a 0%, #0d1b2a 50%, #152535 100%);
  border-top: 2px solid var(--olive);
  border-bottom: 2px solid var(--olive);
}

.mission-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.mission-content h2 {
  margin-bottom: 1.5rem;
}

.mission-content h2 .gold { color: var(--gold); }

.mission-content p {
  color: var(--khaki);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.mission-stats {
  display: flex;
  gap: 2.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 2rem 0;
}

.stat {
  text-align: center;
}

.stat .stat-num {
  font-family: 'Black Ops One', sans-serif;
  font-size: 2.5rem;
  color: var(--gold);
  display: block;
}

.stat .stat-label {
  font-size: 0.85rem;
  color: var(--khaki);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ---- CTA Section ---- */
.cta-section {
  background:
    radial-gradient(ellipse at center, rgba(200, 155, 60, 0.08) 0%, transparent 70%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-top: 2px solid var(--gold);
  text-align: center;
}

.cta-section h2 { margin-bottom: 1rem; }
.cta-section p { color: var(--khaki); max-width: 600px; margin: 0 auto 2rem; }

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---- Footer ---- */
footer {
  background: #050b13;
  border-top: 2px solid var(--gold);
  padding: 3rem 0 1.5rem;
}

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

.footer-brand .nav-logo {
  margin-bottom: 1rem;
}

.footer-brand p {
  color: var(--gray);
  font-size: 0.9rem;
  max-width: 300px;
}

.footer-col h4 {
  font-family: 'Barlow', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

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

.footer-col li {
  margin-bottom: 0.4rem;
}

.footer-col a {
  color: var(--gray);
  font-size: 0.9rem;
  transition: color 0.2s;
}

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

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.footer-social a {
  font-size: 1.5rem;
  color: var(--gray);
  transition: color 0.2s;
}

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

.footer-bottom {
  border-top: 1px solid rgba(200, 155, 60, 0.15);
  padding-top: 1.5rem;
  text-align: center;
  color: var(--gray);
  font-size: 0.85rem;
}

.footer-bottom .gold { color: var(--gold); }

/* ---- Products Page ---- */
.products-hero {
  background:
    radial-gradient(ellipse at 50% 50%, rgba(74, 93, 35, 0.12) 0%, transparent 60%),
    linear-gradient(135deg, var(--navy), var(--navy-light));
  padding: 4rem 0 3rem;
  text-align: center;
  border-bottom: 2px solid var(--gold);
}

.products-hero h1 { margin-bottom: 0.5rem; }
.products-hero p { color: var(--khaki); max-width: 600px; margin: 0 auto; }

.product-categories {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 2rem 0 0;
}

.category-chip {
  padding: 0.4rem 1rem;
  border: 1.5px solid var(--olive);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--khaki);
  cursor: default;
}

/* Full product list grid */
.products-full-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

/* Custom order banner */
.custom-order-banner {
  background:
    repeating-linear-gradient(
      45deg,
      rgba(200, 155, 60, 0.05),
      rgba(200, 155, 60, 0.05) 15px,
      transparent 15px,
      transparent 30px
    ),
    linear-gradient(135deg, var(--olive), #3a4d1a);
  border-radius: var(--radius);
  padding: 2.5rem;
  text-align: center;
  margin-top: 3rem;
}

.custom-order-banner h3 { color: var(--white); margin-bottom: 0.5rem; }
.custom-order-banner p { color: var(--khaki); margin-bottom: 1.5rem; }

/* ---- About Page ---- */
.about-hero {
  background:
    radial-gradient(ellipse at 30% 60%, rgba(200, 155, 60, 0.1) 0%, transparent 60%),
    linear-gradient(135deg, var(--navy), #152535);
  padding: 4rem 0 3rem;
  border-bottom: 2px solid var(--gold);
}

.about-hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-hero h1 { margin-bottom: 1rem; }
.about-hero .subtitle { font-size: 1.2rem; color: var(--khaki); }

/* CSS Art — Silhouette of a soldier */
.silhouette-art {
  width: 100%;
  max-width: 500px;
  height: 200px;
  margin: 2rem auto;
  background:
    radial-gradient(ellipse 60px 80px at 50% 70%, rgba(13, 27, 42, 0.9) 0%, transparent 100%),
    radial-gradient(ellipse 40px 50px at 50% 45%, rgba(13, 27, 42, 0.9) 0%, transparent 100%);
  position: relative;
}

.silhouette-art::before {
  content: '🪖';
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 4rem;
  opacity: 0.15;
}

/* About story sections */
.about-section {
  padding: 3rem 0;
}

.about-section .story-grid {
  align-items: start;
}

.about-section .story-text h2 {
  margin-bottom: 1rem;
}

.about-section .story-text p {
  color: var(--khaki);
  margin-bottom: 1rem;
}

/* Timeline */
.timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--gold), var(--olive));
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
  padding-left: 1.5rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2rem;
  top: 0.5rem;
  width: 12px;
  height: 12px;
  background: var(--gold);
  border: 2px solid var(--navy);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(200, 155, 60, 0.2);
}

.timeline-item .timeline-year {
  font-family: 'Black Ops One', sans-serif;
  color: var(--gold);
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

.timeline-item .timeline-title {
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.timeline-item .timeline-desc {
  color: var(--khaki);
  font-size: 0.95rem;
}

/* Values grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.value-card {
  background: var(--navy-light);
  border: 1px solid rgba(200, 155, 60, 0.15);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
}

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

.value-card .value-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.value-card h3 {
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.value-card p {
  color: var(--khaki);
  font-size: 0.95rem;
}

/* 501c3 callout */
.nonprofit-callout {
  background:
    radial-gradient(ellipse at center, rgba(200, 155, 60, 0.08) 0%, transparent 70%),
    linear-gradient(135deg, var(--navy-light), var(--navy));
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  padding: 3rem;
  text-align: center;
  margin: 3rem 0;
}

.nonprofit-callout h2 { margin-bottom: 1rem; }
.nonprofit-callout p { color: var(--khaki); max-width: 600px; margin: 0 auto 1rem; }

/* ---- Contact Page ---- */
.contact-hero {
  background:
    radial-gradient(ellipse at 50% 50%, rgba(74, 93, 35, 0.1) 0%, transparent 60%),
    linear-gradient(135deg, var(--navy), var(--navy-light));
  padding: 4rem 0 3rem;
  text-align: center;
  border-bottom: 2px solid var(--gold);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
}

.contact-form {
  background: var(--navy-light);
  border: 1px solid rgba(200, 155, 60, 0.2);
  border-radius: var(--radius);
  padding: 2rem;
}

.contact-form h3 { margin-bottom: 1.5rem; color: var(--gold); }

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--khaki);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--navy);
  border: 1px solid rgba(200, 155, 60, 0.2);
  border-radius: 6px;
  color: var(--white);
  font-family: 'Barlow', 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(--gold);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info-card {
  background: var(--navy-light);
  border: 1px solid rgba(200, 155, 60, 0.2);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.contact-info-card h4 {
  font-family: 'Barlow', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.contact-info-card p {
  color: var(--khaki);
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.contact-info-card .contact-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.contact-social-row {
  display: flex;
  gap: 1rem;
  margin-top: 0.75rem;
}

.contact-social-row a {
  font-size: 1.4rem;
  color: var(--gray);
  transition: color 0.2s;
}

.contact-social-row a:hover { color: var(--gold); }

/* ---- Mobile Responsive ---- */
@media (max-width: 900px) {
  .story-grid { grid-template-columns: 1fr; gap: 2rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--navy);
    border-bottom: 2px solid var(--gold);
    padding: 1rem 1.25rem;
    gap: 0.5rem;
  }

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

  .nav-links a {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(200, 155, 60, 0.1);
  }

  .nav-toggle { display: block; }

  .section { padding: 2.5rem 0; }
  .hero { min-height: 80vh; }
  .hero-grenade { display: none; }

  .mission-stats { gap: 1.5rem; }
  .stat .stat-num { font-size: 2rem; }

  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-brand { grid-column: 1; }
}

@media (max-width: 480px) {
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .cta-buttons { flex-direction: column; }
  .cta-buttons .btn { width: 100%; }
  .badge-row { gap: 0.75rem; }
  .badge { padding: 0.6rem 0.9rem; font-size: 0.75rem; }
  .mission-stats { gap: 1rem; }
  .stat .stat-num { font-size: 1.8rem; }
}

/* ---- Utility ---- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--gold);
  color: var(--navy);
  padding: 0.5rem 1rem;
  z-index: 9999;
  font-weight: 700;
  border-radius: 0 0 6px 0;
}

.skip-link:focus {
  top: 0;
}

/* Focus visible for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* ============================================
   ADMIN PANEL
   ============================================ */

/* ---- Login Gate ---- */
.admin-login-section {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.25rem;
  background:
    radial-gradient(ellipse at center, rgba(200, 155, 60, 0.08) 0%, transparent 70%),
    linear-gradient(135deg, var(--navy), var(--navy-light));
}

.admin-login-card {
  max-width: 440px;
  width: 100%;
  background: var(--navy-light);
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.admin-login-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.admin-login-card h1 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.admin-login-sub {
  color: var(--khaki);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.admin-login-btn {
  width: 100%;
  margin-top: 0.5rem;
}

.admin-error {
  color: #e74c3c;
  font-size: 0.9rem;
  margin-top: 0.75rem;
  font-weight: 600;
}

.admin-back-link {
  display: inline-block;
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--gray);
}

.admin-back-link:hover { color: var(--gold); }

/* ---- Admin Top Bar ---- */
.admin-topbar {
  background:
    linear-gradient(135deg, var(--navy-light), var(--navy));
  border-bottom: 2px solid var(--gold);
  padding: 1.5rem 0;
}

.admin-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.admin-title {
  font-size: 1.5rem;
  margin: 0;
}

.admin-topbar-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn-sm {
  padding: 0.5rem 1.1rem;
  font-size: 0.85rem;
}

/* ---- Info Banner ---- */
.admin-info-banner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(74, 93, 35, 0.15);
  border: 1px solid var(--olive);
  border-radius: 6px;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0 2rem;
  color: var(--khaki);
  font-size: 0.9rem;
  line-height: 1.5;
}

.admin-info-icon { font-size: 1.3rem; flex-shrink: 0; }

/* ---- Admin Form Card ---- */
.admin-form-card {
  background: var(--navy-light);
  border: 1px solid rgba(200, 155, 60, 0.2);
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 2.5rem;
}

.admin-form-card h2 {
  font-size: 1.3rem;
  color: var(--white);
}

.admin-required {
  color: #e74c3c;
  font-weight: 700;
}

.admin-form-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 2rem;
}

.admin-form-left,
.admin-form-right {
  display: flex;
  flex-direction: column;
}

.admin-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* ---- Image Upload ---- */
.admin-image-upload {
  position: relative;
  border: 2px dashed rgba(200, 155, 60, 0.3);
  border-radius: var(--radius);
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  overflow: hidden;
}

.admin-image-upload:hover {
  border-color: var(--gold);
  background: rgba(200, 155, 60, 0.03);
}

.admin-image-upload.admin-drag-over {
  border-color: var(--gold);
  background: rgba(200, 155, 60, 0.08);
}

.admin-image-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--gray);
  padding: 1.5rem;
  text-align: center;
}

.admin-upload-icon {
  font-size: 2.5rem;
}

.admin-upload-text {
  font-size: 1rem;
  font-weight: 600;
  color: var(--khaki);
}

.admin-upload-hint {
  font-size: 0.8rem;
  color: var(--gray);
}

.admin-image-preview {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 240px;
}

.admin-image-preview img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: contain;
  border-radius: 6px;
  background: #0a0f15;
}

.admin-image-remove {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  padding: 0.3rem 0.7rem;
  font-size: 0.8rem;
  cursor: pointer;
  transition: background 0.2s;
}

.admin-image-remove:hover {
  background: #e74c3c;
  border-color: #e74c3c;
}

/* ---- Form Actions ---- */
.admin-form-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

/* ---- Admin Product List ---- */
.admin-product-list-section {
  margin-top: 1rem;
}

.admin-product-list-section h2 {
  font-size: 1.3rem;
  color: var(--white);
}

.admin-product-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.admin-product-row {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 1.25rem;
  align-items: center;
  background: var(--navy-light);
  border: 1px solid rgba(200, 155, 60, 0.15);
  border-radius: var(--radius);
  padding: 1rem;
  transition: border-color 0.2s;
}

.admin-product-row:hover {
  border-color: rgba(200, 155, 60, 0.4);
}

.admin-product-row-img {
  width: 100px;
  height: 100px;
  border-radius: 6px;
  overflow: hidden;
  background: #0a0f15;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.admin-product-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-product-noimg {
  font-size: 2rem;
  color: var(--gray);
}

.admin-product-row-info h3 {
  font-family: 'Barlow', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--gold);
  margin-bottom: 0.25rem;
  text-transform: none;
  letter-spacing: 0;
}

.admin-product-row-price {
  font-weight: 700;
  color: var(--gold);
  font-size: 1rem;
  margin-right: 0.5rem;
}

.admin-product-row-cat {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  background: rgba(74, 93, 35, 0.3);
  border: 1px solid var(--olive);
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--khaki);
}

.admin-product-row-desc {
  font-size: 0.85rem;
  color: var(--gray);
  margin-top: 0.25rem;
  line-height: 1.5;
}

.admin-product-row-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* ---- Empty State ---- */
.admin-empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--gray);
}

.admin-empty-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 0.5rem;
}

/* ---- Danger Button ---- */
.btn-danger {
  background: transparent;
  color: #e74c3c;
  border-color: #e74c3c;
}

.btn-danger:hover {
  background: #e74c3c;
  color: var(--white);
  border-color: #e74c3c;
}

/* ---- Admin Responsive ---- */
@media (max-width: 768px) {
  .admin-form-grid {
    grid-template-columns: 1fr;
  }
  .admin-form-row {
    grid-template-columns: 1fr;
  }
  .admin-product-row {
    grid-template-columns: 80px 1fr;
    gap: 0.75rem;
  }
  .admin-product-row-actions {
    grid-column: 1 / -1;
    flex-direction: row;
    margin-top: 0.5rem;
  }
  .admin-product-row-img {
    width: 80px;
    height: 80px;
  }
  .admin-topbar-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .admin-form-card { padding: 1.25rem; }
  .admin-form-actions { flex-direction: column; }
  .admin-form-actions .btn { width: 100%; }
  .admin-topbar-actions { width: 100%; }
  .admin-topbar-actions .btn { flex: 1; text-align: center; }
}

/* Print-friendly */
@media print {
  .nav, .nav-toggle, .hero-grenade { display: none; }
  body { background: white; color: black; }
}