/* ============================================
   PACKLITE LIFE — Core Styles
   ============================================ */

:root {
  --green-dark:   #1a2e1a;
  --green-mid:    #2d4a2d;
  --green-light:  #4a7c4a;
  --green-accent: #6aab6a;
  --tan:          #c4a882;
  --tan-light:    #e8d5b8;
  --cream:        #f7f3ed;
  --slate:        #3d4f3d;
  --text-dark:    #1a1f1a;
  --text-mid:     #4a5249;
  --text-light:   #7a8a7a;
  --white:        #ffffff;
  --shadow-sm:    0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:    0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg:    0 8px 40px rgba(0,0,0,0.18);
  --radius-sm:    6px;
  --radius-md:    12px;
  --radius-lg:    20px;
  --font-serif:   'Playfair Display', Georgia, serif;
  --font-sans:    'Inter', system-ui, -apple-system, sans-serif;
  --transition:   0.25s ease;
}

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

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

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

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

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

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  line-height: 1.2;
  color: var(--text-dark);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); }
p { color: var(--text-mid); }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--green-accent);
  color: var(--white);
  border-color: var(--green-accent);
}
.btn-primary:hover {
  background: var(--green-light);
  border-color: var(--green-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
}
.btn-secondary {
  background: transparent;
  color: var(--green-light);
  border-color: var(--green-light);
}
.btn-secondary:hover {
  background: var(--green-light);
  color: var(--white);
  transform: translateY(-2px);
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0;
  background: rgba(26, 46, 26, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(106, 171, 106, 0.15);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--white);
  font-weight: 700;
}
.logo-icon { font-size: 1.5rem; }
.logo-accent { color: var(--green-accent); }

.main-nav { display: flex; align-items: center; }
.nav-links {
  display: flex;
  gap: 4px;
  align-items: center;
}
.nav-links a {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(106,171,106,0.2);
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
}

/* ============================================
   SECTIONS
   ============================================ */
.section { padding: 80px 0; }
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
}
.section-header h2 { margin: 8px 0 16px; }
.section-header p { font-size: 1.05rem; }
.section-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green-accent);
}
.section-cta { text-align: center; margin-top: 40px; }

/* ============================================
   TRUST BAR
   ============================================ */
.trust-bar {
  background: var(--green-dark);
  padding: 20px 0;
}
.trust-inner {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 500;
}
.trust-icon { font-size: 1.2rem; }

/* ============================================
   GEAR CARDS
   ============================================ */
.gear-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.gear-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.06);
  transition: all var(--transition);
}
.gear-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.card-img {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--cream);
}
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gear-card:hover .card-img img { transform: scale(1.05); }
.card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--green-accent);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
}
.placeholder-img { background: var(--cream); }
.placeholder-bg {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--cream) 0%, var(--tan-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-body { padding: 20px; }
.card-cat {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-light);
  display: block;
  margin-bottom: 8px;
}
.card-body h3 { margin-bottom: 10px; }
.card-body p { font-size: 0.92rem; margin-bottom: 14px; }
.gear-meta {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 14px;
}
.gear-weight, .gear-price {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-mid);
}
.card-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--green-light);
  transition: color var(--transition);
}
.card-link:hover { color: var(--green-dark); }
.card-link.muted { color: var(--text-light); cursor: default; }

/* ============================================
   BEST-OF STRIP
   ============================================ */
.best-of-strip {
  background: var(--cream);
  padding: 60px 0;
}
.strip-title {
  text-align: center;
  margin-bottom: 36px;
}
.strip-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.strip-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 24px 16px;
  background: var(--white);
  border-radius: var(--radius-md);
  text-align: center;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
  border: 1px solid rgba(0,0,0,0.06);
  transition: all var(--transition);
}
.strip-card:hover {
  background: var(--green-dark);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.strip-icon { font-size: 1.8rem; }

/* ============================================
   ARTICLE CARDS
   ============================================ */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.article-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.article-img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--cream);
}
.article-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.article-card:hover .article-img img { transform: scale(1.05); }
.article-body { padding: 20px; }
.article-cat {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-light);
  display: block;
  margin-bottom: 8px;
}
.article-body h3 { margin-bottom: 10px; font-size: 1.1rem; }
.article-body p { font-size: 0.9rem; margin-bottom: 16px; }
.article-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--text-light);
}
.article-meta a {
  font-weight: 600;
  color: var(--green-light);
}
.article-meta a:hover { color: var(--green-dark); }

/* ============================================
   EMAIL CAPTURE
   ============================================ */
.email-capture {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-mid) 100%);
  padding: 80px 0;
}
.capture-inner {
  display: flex;
  align-items: center;
  gap: 80px;
}
.capture-text { flex: 1; }
.capture-text h2 { color: var(--white); margin: 8px 0 16px; }
.capture-text p { color: rgba(255,255,255,0.75); font-size: 1rem; }
.capture-form {
  flex: 1;
  display: flex;
  gap: 12px;
}
.capture-form input {
  flex: 1;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  border: 2px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.1);
  color: var(--white);
  font-size: 0.95rem;
  font-family: var(--font-sans);
  outline: none;
  transition: border var(--transition);
}
.capture-form input::placeholder { color: rgba(255,255,255,0.5); }
.capture-form input:focus { border-color: var(--green-accent); }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--green-dark);
  color: rgba(255,255,255,0.75);
  padding: 64px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 80px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  font-style: italic;
}
.footer-links { display: flex; gap: 64px; }
.footer-col h4 {
  color: var(--white);
  font-size: 0.85rem;
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--green-accent); }
.footer-bottom {
  padding: 24px 0;
  text-align: center;
}
.affiliate-note {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  max-width: 700px;
  margin: 0 auto 8px;
  line-height: 1.6;
}
.copyright {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}

/* ============================================
   MAIN CONTENT (non-home pages)
   ============================================ */
.main-content { padding-top: 68px; }
.home-page .main-content { padding-top: 0; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .gear-grid, .article-grid { grid-template-columns: repeat(2, 1fr); }
  .strip-grid { grid-template-columns: repeat(3, 1fr); }
  .capture-inner { flex-direction: column; gap: 40px; }
  .capture-form { width: 100%; }
}

@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: var(--green-dark); padding: 20px; gap: 4px; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .header-inner { position: relative; }
  .trust-inner { gap: 24px; }
  .gear-grid, .article-grid { grid-template-columns: 1fr; }
  .strip-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-links { gap: 40px; }
  .capture-form { flex-direction: column; }
}

@media (max-width: 480px) {
  .strip-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-cta { flex-direction: column; align-items: flex-start; }
  .trust-inner { flex-direction: column; align-items: center; }
}
