/* Summit & Pine Outfitters */

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

:root {
  --green: #2f5d3a;
  --green-dark: #1f3f27;
  --gold: #d9a441;
  --bg: #faf7f1;
  --text: #2a2a2a;
  --muted: #6c6c6c;
  --line: #e6dfd2;
}

html { scroll-behavior: smooth; }

body {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

a { color: var(--green); text-decoration: none; }
a:hover { color: var(--gold); }

h1, h2, h3, h4 { font-family: "Playfair Display", Georgia, serif; color: var(--green-dark); line-height: 1.25; }
h1 { font-size: 2.6rem; margin-bottom: 0.5em; }
h2 { font-size: 1.9rem; margin-bottom: 0.6em; }
h3 { font-size: 1.25rem; margin-bottom: 0.4em; }

p { margin-bottom: 1em; }

/* Header */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
.nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 24px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.35rem;
  color: var(--green-dark);
  font-weight: 700;
}
.main-nav a {
  margin-left: 28px;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: var(--text);
  text-transform: uppercase;
}
.main-nav a.active, .main-nav a:hover { color: var(--green); border-bottom: 2px solid var(--gold); padding-bottom: 4px; }

/* Hero */
.hero {
  position: relative;
  height: 540px;
  background: url('https://images.unsplash.com/photo-1551632811-561732d1e306?auto=format&fit=crop&w=1800&q=70') center/cover no-repeat;
  display: flex; align-items: center;
  color: #fff;
}
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(120deg, rgba(31,63,39,.65), rgba(31,63,39,.25)); }
.hero-inner { position: relative; max-width: 720px; }
.hero h1 { color: #fff; font-size: 3.4rem; margin-bottom: 0.4em; }
.hero p { font-size: 1.2rem; margin-bottom: 1.6em; }

.btn-primary, .btn-secondary {
  display: inline-block;
  padding: 12px 28px;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 2px;
  cursor: pointer;
  border: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn-primary { background: var(--gold); color: #2a2a2a; }
.btn-primary:hover { background: #c69232; color: #2a2a2a; }
.btn-secondary { background: transparent; color: var(--green); border: 2px solid var(--green); padding: 10px 26px; }
.btn-secondary:hover { background: var(--green); color: #fff; }

/* Features */
.features {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 36px; padding: 80px 24px;
}
.feature { text-align: center; }
.feature-icon { margin-bottom: 14px; }

/* Showcase */
.showcase { background: #fff; padding: 80px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.showcase h2 { text-align: center; margin-bottom: 48px; }
.showcase-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}
.showcase-card {
  position: relative; overflow: hidden; border-radius: 4px;
  aspect-ratio: 4/5;
}
.showcase-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.showcase-card:hover img { transform: scale(1.05); }
.showcase-card span {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 14px 18px;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  color: #fff; font-family: "Playfair Display", Georgia, serif;
  font-size: 1.3rem;
}

/* Story */
.story {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  padding: 90px 24px; align-items: center;
}
.story-img img { border-radius: 4px; }
@media (max-width: 800px) {
  .story { grid-template-columns: 1fr; }
}

/* Page header */
.page-header {
  background: var(--green-dark);
  color: #fff;
  padding: 70px 0;
  text-align: center;
}
.page-header h1 { color: #fff; }
.page-header p { color: #d8dcd6; font-size: 1.1rem; }

/* Content blocks */
.content-block { padding: 70px 24px; }
.content-flex {
  display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center;
}
.content-flex.reverse { direction: rtl; }
.content-flex.reverse > * { direction: ltr; }
@media (max-width: 800px) {
  .content-flex, .content-flex.reverse { grid-template-columns: 1fr; direction: ltr; }
}
.content-flex img { border-radius: 4px; }

/* Values */
.values { background: #fff; padding: 70px 0; }
.values h2 { text-align: center; margin-bottom: 40px; }
.values-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}
.value-card { padding: 28px; border: 1px solid var(--line); border-radius: 4px; background: var(--bg); }

/* Contact */
.contact-block { padding: 70px 24px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info h3 { margin-top: 22px; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); font-family: "Helvetica Neue", Arial, sans-serif; }

.contact-form label {
  display: block; margin-bottom: 16px;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.92rem; color: var(--muted);
}
.contact-form input, .contact-form textarea {
  display: block; width: 100%; padding: 12px;
  margin-top: 6px; border: 1px solid var(--line);
  font-family: Georgia, serif; font-size: 1rem;
  background: #fff; border-radius: 2px;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--green);
}
.form-success {
  margin-top: 14px; padding: 12px;
  background: #e8f0e9; border-left: 3px solid var(--green);
  color: var(--green-dark);
}

.map-section { padding: 0 0 60px; }

/* Shop */
.shop-section { padding: 50px 24px 80px; }
.product-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 32px;
}
.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: box-shadow 0.25s, transform 0.25s;
}
.product-card:hover { box-shadow: 0 12px 30px rgba(31,63,39,0.12); transform: translateY(-3px); }
.product-img { aspect-ratio: 4/3; overflow: hidden; }
.product-img img { width: 100%; height: 100%; object-fit: cover; }
.product-card h3 { padding: 18px 20px 4px; }
.product-meta {
  padding: 0 20px;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.82rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted);
  margin-bottom: 10px;
}
.product-card p:not(.product-meta) { padding: 0 20px; color: #444; flex: 1; }
.product-card .btn-secondary { margin: 16px 20px 22px; align-self: flex-start; }
.shop-note {
  text-align: center; margin-top: 50px;
  color: var(--muted); font-style: italic;
}

/* FAQ */
.faq-section { padding: 50px 24px 80px; max-width: 880px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  margin-bottom: 14px;
  padding: 0;
  transition: box-shadow 0.2s;
}
.faq-item[open] { box-shadow: 0 6px 18px rgba(31,63,39,0.08); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 56px 20px 22px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.15rem;
  color: var(--green-dark);
  position: relative;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 22px; top: 50%;
  transform: translateY(-50%);
  font-size: 1.6rem;
  color: var(--gold);
  font-family: Georgia, serif;
  transition: transform 0.2s;
}
.faq-item[open] summary::after { content: "\2013"; }
.faq-item summary:hover { color: var(--green); }
.faq-item p { padding: 0 22px 22px; color: #444; margin: 0; }

/* Legal */
.legal { padding: 50px 24px 80px; max-width: 820px; }
.legal h2 { margin-top: 32px; font-size: 1.3rem; }
.legal ul { margin: 0 0 16px 22px; }
.legal li { margin-bottom: 6px; }

/* Footer */
.site-footer {
  background: var(--green-dark);
  color: #d8dcd6;
  padding: 60px 0 20px;
  margin-top: 40px;
}
.site-footer h4 { color: #fff; margin-bottom: 16px; font-size: 1.05rem; }
.site-footer a { color: #d8dcd6; }
.site-footer a:hover { color: var(--gold); }
.footer-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 40px; padding-top: 20px;
  text-align: center; font-size: 0.85rem;
}

/* Cookie banner */
.cookie-banner[hidden] { display: none !important; }
.cookie-banner {
  position: fixed; bottom: 18px; left: 18px; right: 18px;
  max-width: 720px; margin: 0 auto;
  background: #fff; border: 1px solid var(--line);
  box-shadow: 0 8px 28px rgba(0,0,0,0.18);
  padding: 18px 22px; border-radius: 4px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 18px;
  z-index: 100;
}
.cookie-banner p { margin: 0; flex: 1; min-width: 240px; font-size: 0.95rem; }
.cookie-actions { display: flex; gap: 10px; }
.cookie-banner .btn-primary, .cookie-banner .btn-secondary {
  padding: 8px 18px; font-size: 0.85rem;
}

@media (max-width: 600px) {
  .hero { height: 460px; }
  .hero h1 { font-size: 2.3rem; }
  .main-nav a { margin-left: 14px; font-size: 0.85rem; }
  .nav-wrap { flex-wrap: wrap; gap: 10px; }
}
