/* ==========================================================================
   Leelanau Gear — shared stylesheet
   Up North outfitter look: Playfair Display headlines + Inter body,
   full-bleed dune photography, forest green / tan / brown accents on cream.
   ========================================================================== */

:root {
  --color-ink: #17130f;          /* near-black warm brown-black (ground) */
  --color-ink-soft: #241d16;
  --color-green: #3e5641;        /* forest green */
  --color-green-dark: #2b3d2d;
  --color-forest: #1f4a2d;       /* primary button green */
  --color-forest-hover: #286039;
  --color-tan: #b9884f;          /* primary accent (was gold) */
  --color-tan-light: #e2c393;    /* light accent / hover */
  --color-brown: #6b4a30;        /* secondary brown accent */
  --color-cream: #f4eee1;        /* page background */
  --color-cream-alt: #ece1cb;
  --color-white: #ffffff;
  --max-width: 1160px;
  --radius: 4px;
  --shadow: 0 10px 30px rgba(23, 19, 15, 0.14);
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --header-h: 68px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--color-ink);
  background: var(--color-cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  margin: 0 0 0.45em;
  color: var(--color-ink);
  letter-spacing: -0.005em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.6rem, 6.2vw, 4.6rem); line-height: 1.06; }
h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; }

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 500;
  font-size: 0.72rem;
  color: var(--color-tan);
  margin-bottom: 0.9em;
  display: inline-block;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  padding: 0.95em 1.7em;
  border-radius: 3px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background: var(--color-forest);
  color: var(--color-cream);
  border-color: var(--color-forest);
}
.btn-primary:hover {
  background: var(--color-forest-hover);
  border-color: var(--color-forest-hover);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.7em 1.3em;
  font-size: 0.85rem;
}

.btn-icon {
  width: 1.05em;
  height: 1.05em;
  fill: currentColor;
  flex-shrink: 0;
}

.btn-outline {
  border-color: rgba(244, 238, 225, 0.55);
  color: var(--color-cream);
  background: rgba(23, 19, 15, 0.35);
}
.btn-outline:hover {
  border-color: var(--color-cream);
  background: rgba(244, 238, 225, 0.08);
  transform: translateY(-2px);
}

.btn-outline-dark {
  border-color: var(--color-ink);
  color: var(--color-ink);
}
.btn-outline-dark:hover {
  background: var(--color-ink);
  color: var(--color-cream);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(20, 17, 13, 0.55);
  transition: background 0.25s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(244, 238, 225, 0.1);
}

.site-header.scrolled {
  background: rgba(20, 17, 13, 0.95);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand img {
  height: 34px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.main-nav a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9rem;
  text-decoration: none;
  color: rgba(244, 238, 225, 0.88);
  padding: 4px 0;
  border-bottom: 1px solid transparent;
}

.main-nav a:hover,
.main-nav a.active {
  border-bottom-color: var(--color-tan-light);
  color: var(--color-white);
}

.main-nav .btn-primary,
.main-nav .btn-primary:hover {
  color: var(--color-cream);
}

.main-nav .btn {
  border-bottom: none !important;
  padding: 0.7em 1.3em;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 26px;
  height: 2px;
  background: var(--color-cream);
  border-radius: 2px;
}

/* ---------- Hero ---------- */

.hero {
  background: linear-gradient(135deg, var(--color-green-dark) 0%, var(--color-ink) 65%);
  background-size: cover;
  background-position: center;
  color: var(--color-cream);
  margin-top: calc(-1 * var(--header-h));
  padding: calc(var(--header-h) + 80px) 0 100px;
  min-height: min(92vh, 820px);
  display: flex;
  align-items: center;
}

.hero > .container {
  width: 100%;
}

.hero.hero-photo {
  background-image:
    linear-gradient(90deg, rgba(14, 20, 15, 0.86) 0%, rgba(14, 20, 15, 0.62) 38%, rgba(14, 20, 15, 0.18) 70%, rgba(14, 20, 15, 0.05) 100%),
    linear-gradient(180deg, rgba(14, 20, 15, 0.35) 0%, rgba(14, 20, 15, 0) 22%),
    url("../images/hero-dune-climb.jpg");
  background-size: cover;
  background-position: center 40%;
}

section[id] {
  scroll-margin-top: calc(var(--header-h) + 12px);
}

.hero-copy {
  max-width: 640px;
}

.hero .eyebrow {
  color: rgba(244, 238, 225, 0.82);
  font-size: 0.7rem;
  letter-spacing: 0.26em;
  margin-bottom: 1.4em;
}

.hero h1 {
  color: var(--color-white);
  font-weight: 800;
  margin-bottom: 0.35em;
}

.hero h1 .accent {
  display: block;
  color: var(--color-tan-light);
}

.hero p.lead {
  max-width: 540px;
  margin: 0 0 2.2em;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(244, 238, 225, 0.86);
}

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

/* store-page hero variant */
.store-hero {
  padding: 90px 0 70px;
}
.store-hero-logo {
  background: var(--color-cream);
  border-radius: var(--radius);
  padding: 18px 22px;
  max-width: 300px;
  margin: 0 auto 28px;
}

/* ---------- Sections ---------- */

section {
  padding: 96px 0;
}

.section-alt {
  background: var(--color-white);
}

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

.section-dark h2, .section-dark h3 {
  color: var(--color-white);
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}

/* ---------- Store cards (home) ---------- */

.store-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.store-card {
  background: var(--color-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  border-top: 3px solid var(--color-tan);
}

.store-card .card-logo {
  background: var(--color-cream);
  padding: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
}

.store-card .card-logo img {
  max-height: 130px;
  width: auto;
  margin: 0 auto;
}

.store-card .card-body {
  padding: 32px 32px 36px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.store-card .card-body p {
  flex: 1;
}

.store-card .card-body .btn {
  align-self: flex-start;
}

.store-card .card-meta {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-brown);
  margin-bottom: 1.2em;
}

.store-card .card-meta strong {
  color: var(--color-ink);
}

/* ---------- Value props / "why shop with us" ---------- */

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.value-item {
  text-align: center;
}

.value-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  border: 1px solid var(--color-tan);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-tan);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
}

/* ---------- Brands we carry ---------- */

.section-brands {
  background: var(--color-cream-alt);
}

.brand-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  max-width: 880px;
  margin: 0 auto;
}

.brand-badge {
  display: inline-block;
  border: 1px solid rgba(23, 19, 15, 0.22);
  border-radius: 999px;
  padding: 10px 22px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--color-ink);
  background: var(--color-white);
}

.brand-badge.brand-more {
  background: transparent;
  border-style: dashed;
  color: var(--color-brown);
}

/* ---------- Brand story ---------- */

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

.story-logo {
  background: var(--color-cream);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- FAQ ---------- */

.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(23, 19, 15, 0.14);
  padding: 26px 0;
}

.faq-item h3 {
  font-size: 1.15rem;
  margin-bottom: 0.4em;
}

.faq-item p {
  margin: 0;
  color: #4a453d;
}

.section-dark .faq-item {
  border-bottom-color: rgba(244, 238, 225, 0.14);
}

.section-dark .faq-item p {
  color: rgba(244, 238, 225, 0.72);
}

/* ---------- Info grid (store detail pages) ---------- */

.info-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 56px;
  align-items: start;
}

.quick-facts {
  background: var(--color-ink);
  color: var(--color-cream);
  border-radius: var(--radius);
  padding: 36px;
}

.quick-facts h3 {
  color: var(--color-tan-light);
  font-family: var(--font-body);
  font-style: normal;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  margin-bottom: 1.2em;
}

.info-list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
}

.info-list li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(244, 238, 225, 0.14);
  display: flex;
  gap: 10px;
}

.info-list li:last-child {
  border-bottom: none;
}

.info-list .label {
  font-family: var(--font-body);
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--color-tan-light);
  min-width: 88px;
}

/* light variant used on the Visit Us cards (white background) */
.contact-card .info-list .label {
  color: var(--color-brown);
}
.contact-card .info-list li {
  border-bottom-color: rgba(23, 19, 15, 0.1);
}

.note {
  font-size: 0.82rem;
  color: rgba(244, 238, 225, 0.6);
  font-style: italic;
  font-family: var(--font-body);
}

.contact-card .note {
  color: #746c5e;
}

/* ---------- Contact / Visit page ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.contact-card {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px;
  border-top: 3px solid var(--color-green);
}

.contact-card .logo-strip {
  height: 46px;
  width: auto;
  margin-bottom: 22px;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--color-ink);
  color: rgba(244, 238, 225, 0.78);
  padding: 56px 0 30px;
}

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

.site-footer h4 {
  color: var(--color-tan-light);
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.site-footer a {
  text-decoration: none;
  color: rgba(244, 238, 225, 0.78);
}

.site-footer a:hover {
  color: var(--color-tan-light);
  text-decoration: underline;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 9px;
  font-size: 0.92rem;
}

.footer-bottom {
  border-top: 1px solid rgba(244, 238, 225, 0.12);
  padding-top: 22px;
  font-size: 0.8rem;
  color: rgba(244, 238, 225, 0.45);
  text-align: center;
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .store-grid,
  .contact-grid,
  .value-grid {
    grid-template-columns: 1fr;
  }

  .story {
    grid-template-columns: 1fr;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 720px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-ink);
    border-bottom: 1px solid rgba(244, 238, 225, 0.12);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 28px 20px;
    display: none;
  }

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

  .main-nav a {
    width: 100%;
    padding: 14px 0;
  }

  .main-nav .btn {
    margin-top: 8px;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding: calc(var(--header-h) + 48px) 0 64px;
    min-height: 0;
  }

  .hero.hero-photo {
    background-image:
      linear-gradient(180deg, rgba(14, 20, 15, 0.55) 0%, rgba(14, 20, 15, 0.72) 100%),
      url("../images/hero-dune-climb.jpg");
    background-position: 60% center;
  }

  section {
    padding: 64px 0;
  }
}
