/*
Theme Name: Backwoods Brotherhood
Theme URI: https://backwoodbrotherhood.com
Description: Official theme for Backwoods Brotherhood — outdoor lifestyle apparel brand.
Version: 1.0
Author: Backwoods Brotherhood
*/

/* ============================================================
   BRAND TOKENS
   ============================================================ */
:root {
  --bb-black:    #0d0d0d;
  --bb-charcoal: #1a1a1a;
  --bb-brown:    #2e1f0f;
  --bb-gold:     #c8a96e;
  --bb-gold-lt:  #e2c98a;
  --bb-gold-dk:  #8a6a3a;
  --bb-red:      #8b1a1a;
  --bb-red-lt:   #b02020;
  --bb-cream:    #f2e4c4;
  --bb-tan:      #c4a882;
  --bb-green:    #2a3d1c;
  --bb-green-lt: #3d5a28;
  --bb-border:   rgba(200,169,110,0.25);
  --bb-shadow:   0 4px 24px rgba(0,0,0,0.6);

  --font-headline: 'Oswald', sans-serif;
  --font-body:     'Merriweather', serif;
  --font-accent:   'Playfair Display', serif;

  --max-w: 1200px;
  --radius: 4px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bb-black);
  color: var(--bb-cream);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--bb-gold); text-decoration: none; transition: color .2s; }
a:hover { color: var(--bb-gold-lt); }

h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-headline);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  line-height: 1.1;
  color: var(--bb-cream);
}

p { margin-bottom: 1.2em; }
p:last-child { margin-bottom: 0; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }

/* ============================================================
   TYPOGRAPHY UTILITIES
   ============================================================ */
.label {
  display: inline-block;
  font-family: var(--font-headline);
  font-size: .75rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--bb-gold);
  margin-bottom: 14px;
}
.label::before, .label::after {
  content: ' ★ ';
  color: var(--bb-red);
  font-size: .65rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--bb-cream);
  margin-bottom: 16px;
}

.section-sub {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--bb-tan);
  max-width: 600px;
  line-height: 1.8;
}

.gold-rule {
  width: 60px;
  height: 3px;
  background: var(--bb-gold);
  margin: 20px 0 32px;
}

.center { text-align: center; }
.center .gold-rule { margin-left: auto; margin-right: auto; }
.center .section-sub { margin-left: auto; margin-right: auto; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  font-family: var(--font-headline);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 14px 36px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .25s;
}

.btn-gold {
  background: var(--bb-gold);
  color: var(--bb-black);
  border-color: var(--bb-gold);
}
.btn-gold:hover {
  background: var(--bb-gold-lt);
  border-color: var(--bb-gold-lt);
  color: var(--bb-black);
}

.btn-outline {
  background: transparent;
  color: var(--bb-cream);
  border-color: var(--bb-cream);
}
.btn-outline:hover {
  background: var(--bb-cream);
  color: var(--bb-black);
}

.btn-red {
  background: var(--bb-red);
  color: var(--bb-cream);
  border-color: var(--bb-red);
}
.btn-red:hover {
  background: var(--bb-red-lt);
  border-color: var(--bb-red-lt);
  color: #fff;
}

/* ============================================================
   DIVIDERS / TEXTURES
   ============================================================ */
.star-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 auto 40px;
  max-width: 300px;
  justify-content: center;
}
.star-divider span { color: var(--bb-gold); font-size: 1rem; }
.star-divider::before, .star-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--bb-gold);
  opacity: .5;
}

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

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(13,13,13,0.97);
  border-bottom: 1px solid var(--bb-border);
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 72px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.site-logo img {
  height: 52px;
  width: auto;
}
.site-logo-text {
  font-family: var(--font-headline);
  font-size: 1.4rem;
  letter-spacing: .12em;
  color: var(--bb-gold);
  text-transform: uppercase;
}

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

.nav-links a {
  font-family: var(--font-headline);
  font-size: .85rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--bb-cream);
  transition: color .2s;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover {
  color: var(--bb-gold);
  border-bottom-color: var(--bb-gold);
}

.nav-cta { display: flex; align-items: center; gap: 16px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--bb-cream);
  transition: all .3s;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 120px 24px 80px;
  background: var(--bb-black);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center top, rgba(139,26,26,0.15) 0%, transparent 60%),
    radial-gradient(ellipse at center bottom, rgba(42,61,28,0.2) 0%, transparent 60%),
    linear-gradient(rgba(12,12,12,0.80) 0%, rgba(12,12,12,0.58) 45%, rgba(12,12,12,0.86) 100%),
    url('assets/img/hero-bg.jpg?v=2') center center / cover no-repeat;
}

/* Subtle topographic texture */
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 40px,
      rgba(200,169,110,0.03) 40px,
      rgba(200,169,110,0.03) 41px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 40px,
      rgba(200,169,110,0.03) 40px,
      rgba(200,169,110,0.03) 41px
    );
}

.hero-badge {
  font-family: var(--font-headline);
  font-size: .75rem;
  letter-spacing: .25em;
  color: var(--bb-gold);
  text-transform: uppercase;
  margin-bottom: 24px;
  display: block;
}
.hero-badge::before, .hero-badge::after {
  content: ' ★ ';
  color: var(--bb-red);
}

.hero-logo {
  width: 210px;
  height: auto;
  margin: 0 auto 32px;
  filter: drop-shadow(0 0 30px rgba(200,169,110,0.35));
}

.hero h1 {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  color: var(--bb-cream);
  line-height: 1;
  margin-bottom: 8px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.8);
}

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

.hero-sub {
  font-family: var(--font-headline);
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  letter-spacing: .15em;
  color: var(--bb-tan);
  text-transform: uppercase;
  margin: 20px 0 16px;
}

.hero-rule {
  width: 80px;
  height: 2px;
  background: var(--bb-gold);
  margin: 24px auto;
  opacity: .7;
}

.hero-tagline {
  font-family: var(--font-accent);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-style: italic;
  color: var(--bb-cream);
  opacity: .85;
  margin-bottom: 40px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--bb-gold);
  font-family: var(--font-headline);
  font-size: .7rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  opacity: .7;
  animation: bounce 2s infinite;
}
.hero-scroll svg { width: 20px; height: 20px; }

@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(6px); }
}

/* ============================================================
   CREED BAND
   ============================================================ */
.creed-band {
  background: var(--bb-red);
  padding: 20px 0;
  overflow: hidden;
}

.creed-track {
  display: flex;
  gap: 0;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
}

.creed-item {
  font-family: var(--font-headline);
  font-size: .8rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #fff;
  padding: 0 32px;
  opacity: .9;
}
.creed-item .star { color: rgba(255,255,255,0.5); margin: 0 8px; }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   MISSION SECTION
   ============================================================ */
.mission {
  padding: 80px 0;
  background: var(--bb-charcoal);
  text-align: center;
}

.mission-inner {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 24px;
}

.mission h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--bb-gold);
  margin-bottom: 24px;
}

.mission p {
  font-size: 1.05rem;
  color: var(--bb-cream);
  line-height: 1.9;
  opacity: .9;
}

/* ============================================================
   VALUES GRID
   ============================================================ */
.values {
  padding: 80px 0;
  background: var(--bb-black);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
  margin-top: 48px;
}

.value-photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
}
.value-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s;
}
.value-photo:hover img { transform: scale(1.05); }
.value-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.1) 100%);
}
.value-photo h3 {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  z-index: 2;
  font-size: .8rem;
  letter-spacing: .1em;
  color: #fff;
  text-align: center;
  padding: 14px 8px;
  margin: 0;
  text-shadow: 0 2px 8px rgba(0,0,0,0.8);
  border-top: 2px solid var(--bb-gold);
  background: rgba(0,0,0,0.4);
}

@media (max-width: 900px) {
  .values-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 560px) {
  .values-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   COLLECTIONS
   ============================================================ */
.collections {
  padding: 80px 0;
  background: var(--bb-brown);
}

.collections-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-top: 48px;
}
@media (max-width: 1024px) {
  .collections-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .collections-grid { grid-template-columns: repeat(2, 1fr); }
}

.collection-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--bb-border);
  background: var(--bb-charcoal);
  aspect-ratio: 3/4;
  display: flex;
  align-items: flex-end;
  cursor: pointer;
  transition: transform .3s;
}
.collection-card:hover { transform: translateY(-4px); }

.collection-card-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 30%, rgba(0,0,0,0.85) 100%);
  z-index: 1;
}

.collection-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .6;
  transition: opacity .3s, transform .4s;
}
.collection-card:hover .collection-card-img {
  opacity: .8;
  transform: scale(1.04);
}

/* Placeholder bg when no image */
.collection-card-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  opacity: .15;
}

.collection-card-body {
  position: relative;
  z-index: 2;
  padding: 16px;
  width: 100%;
}

.collection-card-badge {
  display: inline-block;
  font-family: var(--font-headline);
  font-size: .65rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--bb-gold);
  background: rgba(0,0,0,0.5);
  padding: 4px 10px;
  border: 1px solid var(--bb-border);
  border-radius: 2px;
  margin-bottom: 8px;
}

.collection-card h3 {
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 6px;
  line-height: 1.2;
}

.collection-card p {
  font-size: .78rem;
  color: var(--bb-tan);
  margin: 0;
  line-height: 1.45;
}

.collection-coming {
  opacity: .6;
}
.collection-coming .collection-card-badge { color: var(--bb-tan); }

/* ============================================================
   ABOUT / STORY SECTION
   ============================================================ */
.story {
  padding: 100px 0;
  background: var(--bb-green);
}

.story-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.story-logo {
  display: flex;
  justify-content: center;
}

.story-logo img {
  width: 260px;
  height: auto;
  filter: drop-shadow(0 0 40px rgba(200,169,110,0.2));
}

.story-text h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: var(--bb-gold);
  margin-bottom: 20px;
}

.story-text p {
  color: var(--bb-cream);
  font-size: 1rem;
  line-height: 1.9;
  opacity: .9;
  margin-bottom: 20px;
}

/* ============================================================
   NEWSLETTER
   ============================================================ */
.newsletter {
  padding: 72px 0;
  background: var(--bb-red);
  text-align: center;
}

.newsletter h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: #fff;
  margin-bottom: 8px;
}

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

.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}

.newsletter-form input[type="email"] {
  flex: 1;
  min-width: 240px;
  padding: 14px 20px;
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--radius);
  color: #fff;
  font-family: var(--font-body);
  font-size: .95rem;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.5); }
.newsletter-form input:focus {
  outline: none;
  border-color: rgba(255,255,255,0.7);
}

.newsletter-form button {
  background: var(--bb-black);
  color: var(--bb-gold);
  border: 2px solid var(--bb-gold);
  font-family: var(--font-headline);
  font-size: .85rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all .2s;
}
.newsletter-form button:hover {
  background: var(--bb-gold);
  color: var(--bb-black);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #080808;
  border-top: 1px solid var(--bb-border);
  padding: 64px 0 0;
}

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

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

.footer-brand p {
  font-size: .9rem;
  color: var(--bb-tan);
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-creed {
  font-family: var(--font-headline);
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--bb-gold);
}

.footer-col h4 {
  font-family: var(--font-headline);
  font-size: .8rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--bb-gold);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--bb-border);
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a {
  font-size: .9rem;
  color: var(--bb-tan);
  transition: color .2s;
}
.footer-col ul a:hover { color: var(--bb-cream); }

.footer-bottom {
  border-top: 1px solid var(--bb-border);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: .8rem;
  color: var(--bb-gold-dk);
  margin: 0;
  letter-spacing: .05em;
}

/* ============================================================
   MOBILE CTA BAR
   ============================================================ */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 999;
  background: var(--bb-gold);
  padding: 14px;
  text-align: center;
}
.mobile-cta-bar a {
  font-family: var(--font-headline);
  font-size: .9rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--bb-black);
  font-weight: 700;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .story-inner { grid-template-columns: 1fr; gap: 40px; }
  .story-logo { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 56px 0; }

  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 72px; left: 0; right: 0; bottom: 0;
    background: rgba(13,13,13,0.98);
    padding: 40px 24px;
    gap: 24px;
    align-items: center;
    justify-content: center;
  }
  .nav-links.open + .nav-cta {
    display: flex;
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1001;
    flex-direction: column;
    gap: 12px;
    width: calc(100% - 48px);
  }

  .hero h1 { font-size: 2.8rem; }
  .hero-btns { flex-direction: column; align-items: center; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .mobile-cta-bar { display: block; }
}
