/* =====================================================================
   Hole Shot Performance — shared site stylesheet
   Modern, responsive, centered layout. All pages include this file.
   ===================================================================== */

:root {
  --bg: #eef2f5;
  --surface: #ffffff;
  --ink: #22303c;
  --muted: #5c6b78;
  --primary: #18242f;
  --primary-light: #263a4a;
  --accent: #e8452c;
  --accent-dark: #c7371e;
  --gold: #f2a93b;
  --line: #dfe6ec;
  --radius: 10px;
  --shadow: 0 6px 20px rgba(24, 36, 47, .10);
  --shadow-sm: 0 2px 8px rgba(24, 36, 47, .08);
  --maxw: 1140px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
}

img { max-width: 100%; height: auto; border: 0; }

a { color: var(--accent-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { line-height: 1.25; color: var(--primary); font-weight: 700; }
h1 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h2 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin-top: 0; }
h3 { font-size: 1.15rem; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Top utility bar ---------- */
.topbar { background: var(--primary); color: #c9d4dd; font-size: .85rem; }
.topbar .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; }
.topbar a { color: #fff; }
.topbar .tb-right { margin-left: auto; display: flex; gap: 0 24px; flex-wrap: wrap; }
.topbar .phone { font-weight: 600; }
.topbar .phone a { color: var(--gold); white-space: nowrap; }

/* ---------- Header / brand ---------- */
.site-header {
  background: linear-gradient(160deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
}
.site-header .wrap { display: flex; align-items: center; gap: 20px; padding-top: 16px; padding-bottom: 14px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand-logo { max-height: 64px; width: auto; }
.brand h1, .brand .brand-name { margin: 0; color: #fff; font-size: 1.5rem; letter-spacing: .5px; }
.brand .tagline { margin: 0; color: #9fb2c0; font-size: .82rem; text-transform: uppercase; letter-spacing: 1px; }

/* ---------- Main navigation ---------- */
.site-nav { background: var(--surface); border-bottom: 3px solid var(--accent); box-shadow: var(--shadow-sm); }
.nav-scroll { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.site-nav a.nav-link {
  display: inline-block; color: var(--primary); font-weight: 600;
  padding: 11px 14px; font-size: .92rem; border-radius: 6px;
}
.site-nav a.nav-link:hover { background: #f2ece8; color: var(--accent-dark); text-decoration: none; }
.site-nav a.nav-link.active { background: var(--accent); color: #fff; }
.nav-toggle {
  display: none; margin-left: auto; background: var(--primary); color: #fff;
  border: 0; border-radius: 6px; padding: 8px 14px; font-size: 1rem; cursor: pointer;
}

/* ---------- Hero / page banners ---------- */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-dark) 160%);
  color: #fff; padding: 46px 0 40px;
}
.hero .wrap { display: flex; gap: 30px; align-items: center; flex-wrap: wrap; }
.hero h1 { color: #fff; margin: 0 0 12px; }
.hero p { color: #e8eef3; max-width: 64ch; margin: 0; }
.hero img.hero-photo { border-radius: var(--radius); box-shadow: var(--shadow); max-width: 340px; flex: 0 0 auto; }
.hero .cta { margin-top: 22px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero .cta a { color: #fff; }

.btn {
  display: inline-block; background: var(--accent); color: #fff !important;
  padding: 11px 20px; border-radius: 8px; font-weight: 600;
  border: 0; cursor: pointer; text-align: center;
}
.btn:hover { background: var(--accent-dark); text-decoration: none; }
.btn.ghost { background: transparent; border: 2px solid rgba(255,255,255,.75); }
.btn.ghost:hover { background: rgba(255,255,255,.15); }
.btn.dark { background: var(--primary); }
.btn.dark:hover { background: var(--primary-light); }

/* ---------- Page intro ---------- */
.pagehead { padding: 34px 0 8px; }
.breadcrumbs { font-size: .82rem; color: var(--muted); margin-bottom: 10px; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs .sep { margin: 0 6px; }
.lead { font-size: 1.05rem; color: var(--muted); max-width: 70ch; }

/* ---------- Content grid ---------- */
.grid { display: grid; gap: 24px; }
.grid.cols-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid.cols-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid.cols-4 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.grid.cols-2x { grid-template-columns: 1fr 1fr; gap: 30px; }
@media (max-width: 820px) { .grid.cols-2x { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
  padding: 22px;
}
.card img.thumb { width: 100%; height: 180px; object-fit: cover; border-radius: 8px; margin-bottom: 12px; }
.card h3 { margin: 0 0 6px; }
.card p { margin: 6px 0 0; color: var(--muted); font-size: .95rem; }
.card .price { color: var(--accent-dark); font-weight: 700; margin-top: 8px; }

/* ---------- Sections ---------- */
.section { padding: 30px 0; }
.section.narrow { padding: 18px 0; }
.section h2 { display: flex; align-items: center; gap: 10px; }
.section h2::after { content: ""; flex: 1; height: 2px; background: var(--line); }

.sidebar-layout { display: grid; grid-template-columns: 260px 1fr; gap: 30px; align-items: start; }
@media (max-width: 820px) { .sidebar-layout { grid-template-columns: 1fr; } }

.subnav { background: var(--primary); border-radius: var(--radius); padding: 14px; position: sticky; top: 10px; }
.subnav a { display: block; color: #dfe8ef; padding: 8px 12px; border-radius: 6px; font-weight: 600; font-size: .92rem; }
.subnav a:hover { background: rgba(255,255,255,.12); color: #fff; text-decoration: none; }
.subnav a.active { background: var(--accent); color: #fff; }
.subnav h3 { color: #fff; margin: 0 0 8px; padding: 0 4px; font-size: .95rem; text-transform: uppercase; }

/* ---------- Feature / reason strips ---------- */
.feature-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin: 24px 0; }
.feature { text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 16px; }
.feature .ico { font-size: 2rem; }
.feature h4 { margin: 8px 0 4px; }
.feature p { margin: 0; color: var(--muted); font-size: .9rem; }

/* ---------- Photo gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; height: 170px; object-fit: cover; border-radius: 8px; box-shadow: var(--shadow-sm); }
.gallery figcaption { font-size: .82rem; color: var(--muted); margin-top: 4px; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
table.data { width: 100%; border-collapse: collapse; min-width: 520px; }
table.data th, table.data td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line); font-size: .94rem; vertical-align: top; }
table.data th { background: var(--primary); color: #fff; font-weight: 600; }
table.data tr:nth-child(even) td { background: #f5f8fa; }
table.data .price { color: var(--accent-dark); font-weight: 700; white-space: nowrap; }

/* ---------- FAQ ---------- */
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 14px 18px; margin-bottom: 10px; }
.faq summary { font-weight: 600; cursor: pointer; }
.faq p { margin: 10px 0 0; }

/* ---------- Contact / info ---------- */
.contact-card { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin: 20px 0; }
.contact-card .c { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.contact-card .c h3 { margin: 0 0 6px; }
.contact-card .c .big { font-size: 1.15rem; font-weight: 700; color: var(--primary); }

.note, .callout { background: #fff6e9; border-left: 4px solid var(--gold); padding: 14px 16px; border-radius: 0 8px 8px 0; margin: 16px 0; }
.note strong { color: var(--accent-dark); }

ul.check { list-style: none; padding-left: 4px; }
ul.check li { padding-left: 28px; position: relative; margin: 8px 0; }
ul.check li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* ---------- Footer ---------- */
.site-footer { background: var(--primary); color: #aebdca; margin-top: 46px; }
.site-footer .wrap { padding-top: 34px; padding-bottom: 30px; }
.site-footer .grid { grid-template-columns: 2fr 1fr 1fr 1.2fr; }
@media (max-width: 820px) { .site-footer .grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; margin: 0 0 12px; font-size: 1rem; }
.site-footer a { color: #c9d6e0; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 6px 0; }
.site-footer .phone { color: var(--gold); font-weight: 700; font-size: 1.05rem; }
.footer-bottom { border-top: 1px solid #33424f; padding: 14px 0; font-size: .82rem; color: #7e8f9d; }

/* ---------- Buttons that swap legacy images into real links ---------- */
.legacy-btn a { display: inline-block; }

/* ---------- Small screens ---------- */
@media (max-width: 760px) {
  .nav-toggle { display: inline-block; }
  .nav-scroll.collapsed { display: none; }
  .site-nav .nav-scroll { flex-direction: column; align-items: stretch; }
  .site-nav a.nav-link { text-align: left; }
  .hero { padding: 32px 0; }
  .hero img.hero-photo { max-width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
}
