/* ==========================================================================
   Archery Headquarters — archeryhq.com
   Shared stylesheet for the whole site. Plain CSS, no dependencies.
   To change the look, edit the color variables in :root below.
   ========================================================================== */

:root {
  /* Brand palette: deep forest green + charcoal, burnt-orange accent */
  --green-dark: #14261e;
  --green: #1e3a2f;
  --green-mid: #2c5343;
  --charcoal: #22271f;
  --cream: #f7f5f0;
  --sand: #efe9dd;
  --accent: #d97a2b;        /* burnt orange */
  --accent-dark: #b85f1a;
  --amber: #f2a93b;
  --ink: #23281f;
  --ink-soft: #4c534a;
  --line: #ddd5c3;
  --white: #ffffff;
  --radius: 10px;
  --max-width: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
}

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

a { color: var(--green-mid); }
a:hover { color: var(--accent-dark); }

h1, h2, h3, h4 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--green-dark);
  line-height: 1.25;
  margin-top: 0;
}

h1 { font-size: 2.4rem; }
h2 { font-size: 1.8rem; margin-bottom: 0.6em; }
h3 { font-size: 1.25rem; margin-bottom: 0.4em; }

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

/* ------------------------------------------------------------------ */
/* Top bar + header                                                    */
/* ------------------------------------------------------------------ */

.topbar {
  background: var(--green-dark);
  color: #d8e2d9;
  font-size: 0.85rem;
}
.topbar-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
  justify-content: space-between;
  padding-top: 7px;
  padding-bottom: 7px;
}
.topbar a { color: var(--amber); text-decoration: none; font-weight: 700; }
.topbar a:hover { text-decoration: underline; }

.site-header {
  background: var(--white);
  border-bottom: 3px solid var(--accent);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
  padding-bottom: 12px;
}

/* Logo lockup: inline SVG target mark + wordmark */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--green-dark);
  flex-shrink: 0;
}
.logo-mark { width: 52px; height: 52px; flex-shrink: 0; }
.logo-text {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  line-height: 1.1;
  letter-spacing: 0.01em;
}
.logo-text strong { color: var(--accent-dark); }
.logo-tag {
  display: block;
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* Primary nav — full-width bar under the logo row on desktop */
.main-nav { background: var(--green); }
.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.main-nav a {
  display: block;
  padding: 11px 13px;
  color: #eef3ee;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
}
.main-nav a:hover,
.main-nav a:focus { background: var(--green-mid); color: var(--white); }
.main-nav a.active { background: var(--accent); color: var(--white); }

.menu-toggle {
  display: none;
  background: var(--green);
  color: var(--white);
  border: none;
  border-radius: 6px;
  font-size: 1.4rem;
  line-height: 1;
  padding: 8px 12px;
  cursor: pointer;
}

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

.hero {
  background:
    radial-gradient(1200px 400px at 20% -10%, rgba(242, 169, 59, 0.25), transparent 60%),
    linear-gradient(135deg, var(--green-dark) 0%, var(--green) 60%, #16302a 100%);
  color: var(--white);
  padding: 56px 0 48px;
}
.hero h1 { color: var(--white); font-size: 2.6rem; margin-bottom: 0.2em; }
.hero .tagline {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 1.35rem;
  color: var(--amber);
  margin: 0 0 1em;
}
.hero p.lede { max-width: 640px; font-size: 1.1rem; color: #e6ece6; }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 36px;
  align-items: center;
}

/* Responsive video frame (16:9) */
.video-frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
.video-frame iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}
.video-caption {
  margin-top: 10px;
  font-size: 0.9rem;
  color: #c9d4c9;
  text-align: center;
}

/* Page hero (inner pages): smaller banner */
.page-hero {
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  color: var(--white);
  padding: 40px 0 32px;
}
.page-hero h1 { color: var(--white); margin-bottom: 0.15em; }
.page-hero p { color: #d5ded5; max-width: 720px; margin-bottom: 0; }

/* ------------------------------------------------------------------ */
/* Buttons                                                             */
/* ------------------------------------------------------------------ */

.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  padding: 12px 26px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.15s ease;
}
.btn:hover { background: var(--accent-dark); color: var(--white); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--green-dark); }
.btn-green { background: var(--green); }
.btn-green:hover { background: var(--green-mid); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.4em; }

/* ------------------------------------------------------------------ */
/* Sections, cards, grids                                              */
/* ------------------------------------------------------------------ */

.section { padding: 52px 0; }
.section-alt { background: var(--sand); }
.section-dark { background: var(--green-dark); color: #e8ede8; }
.section-dark h2 { color: var(--white); }

.section-intro { max-width: 760px; margin-bottom: 2em; }
.section-intro p { color: var(--ink-soft); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }

/* Product / "new in the shop" cards with a photo on top */
.product-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
}
.product-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--sand);
}
.product-card-body { padding: 18px 20px 20px; flex: 1; display: flex; flex-direction: column; }
.product-card-body h3 { margin: 0 0 0.3em; }
.product-card-body p { color: var(--ink-soft); margin: 0 0 0.8em; flex: 1; }
.price { font-weight: 800; color: var(--accent-dark); font-size: 1.05rem; }
.in-stock {
  display: inline-block;
  background: #e3f0e6;
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
}

/* Brands strip — typographic word list */
.brands {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.brands li {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--green-dark);
  letter-spacing: 0.04em;
  padding: 6px 4px;
  border-bottom: 2px solid var(--amber);
}

/* Price list rows (services) */
.price-list { list-style: none; margin: 0; padding: 0; }
.price-list li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.price-list li:last-child { border-bottom: none; }
.price-list .service-name { font-weight: 700; color: var(--green-dark); }
.price-list .service-detail { flex-basis: 100%; color: var(--ink-soft); font-size: 0.95rem; }

/* Callout / highlight box */
.callout {
  background: #fdf3e3;
  border-left: 5px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 22px 26px;
}
.callout h3 { margin-top: 0; color: var(--accent-dark); }
.callout ul { margin: 0.5em 0 0; padding-left: 1.2em; }
.callout li { margin-bottom: 0.3em; }

.quote {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 1.25rem;
  color: var(--green);
  border-left: 4px solid var(--amber);
  padding-left: 18px;
  margin: 1.5em 0;
}

/* Timeline (About page) */
.timeline { list-style: none; margin: 0; padding: 0; border-left: 3px solid var(--amber); }
.timeline li { position: relative; padding: 0 0 22px 26px; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -9px; top: 6px;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--white);
  box-shadow: 0 0 0 2px var(--accent);
}
.timeline .year { font-weight: 800; color: var(--accent-dark); }

/* Staff cards */
.staff-card { text-align: left; }
.avatar {
  width: 84px; height: 84px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Georgia, serif;
  font-size: 1.9rem;
  font-weight: 700;
  margin-bottom: 14px;
}
.staff-role { color: var(--accent-dark); font-weight: 700; font-size: 0.95rem; margin-bottom: 0.6em; }

/* Map embed */
.map-frame {
  width: 100%;
  height: 360px;
  border: 0;
  border-radius: var(--radius);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Contact form */
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-weight: 700; margin-bottom: 6px; color: var(--green-dark); }
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid #c9c2ae;
  border-radius: 6px;
  font: inherit;
  background: var(--white);
}
.form-field textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: 0.9rem; color: var(--ink-soft); }

/* Info table (hours, etc.) */
.info-table { width: 100%; border-collapse: collapse; }
.info-table th, .info-table td {
  text-align: left;
  padding: 9px 12px;
  border-bottom: 1px solid var(--line);
}
.info-table th { color: var(--green-dark); width: 40%; }

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

.site-footer {
  background: var(--green-dark);
  color: #cfd8cf;
  padding: 44px 0 0;
  margin-top: 0;
}
.site-footer h3 { color: var(--white); font-size: 1.05rem; margin-bottom: 0.6em; }
.site-footer a { color: var(--amber); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  padding-bottom: 30px;
}
.footer-grid p { margin: 0 0 0.7em; }
.social-links { list-style: none; margin: 0; padding: 0; }
.social-links li { margin-bottom: 0.5em; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 16px;
  padding-bottom: 18px;
  font-size: 0.85rem;
  color: #9fb0a0;
}
.footer-bottom p { margin: 0; }

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

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  h1 { font-size: 1.9rem; }
  .hero h1 { font-size: 2rem; }
  .hero { padding: 40px 0 36px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .logo-text { font-size: 1.2rem; }
  .logo-mark { width: 42px; height: 42px; }

  /* Mobile nav: hidden until the toggle button is tapped */
  .menu-toggle { display: block; }
  .main-nav { display: none; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; }
  .main-nav a { padding: 12px 20px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
}
