/* ===========================================================
   Pro Blind Guys — shared stylesheet
   Custom blinds, shades, shutters & pergolas — Napanee, ON
   =========================================================== */

:root {
  --bg:        #f4f4f5;   /* light grey */
  --surface:   #ffffff;
  --ink:       #1b1b1b;   /* near-black */
  --muted:     #6e6e6e;   /* grey */
  --accent:    #2b2b2b;   /* charcoal */
  --accent-dk: #000000;   /* black */
  --gold:      #7a7a7a;   /* mid grey accent (labels) */
  --line:      #e4e4e4;
  --radius:    14px;
  --shadow:    0 10px 30px rgba(0, 0, 0, 0.08);
  --maxw:      1140px;
  --font:      "Helvetica Neue", Arial, system-ui, -apple-system, sans-serif;
  --serif:     Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

.container { width: 92%; max-width: var(--maxw); margin: 0 auto; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.2; color: var(--ink); }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin: 0 0 .4em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); margin: 0 0 .5em; }
h3 { font-size: 1.25rem; margin: 0 0 .4em; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .78rem;
  font-weight: 700;
  color: var(--gold);
  font-family: var(--font);
  margin: 0 0 .8em;
}

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 244, 245, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: .9rem 0;
}
.brand { display: flex; align-items: center; gap: .6rem; font-family: var(--serif); font-weight: 700; font-size: 1.3rem; color: var(--ink); }
.brand .mark {
  width: 34px; height: 34px; border-radius: 8px;
  background: var(--accent); color: #fff;
  display: grid; place-items: center; font-family: var(--font); font-weight: 800; font-size: .95rem;
}
.brand .mark-img { height: 40px; width: auto; display: block; }
.site-footer .brand-logo { height: 54px; width: auto; margin-bottom: 1rem; }
.nav-links { display: flex; gap: 1.6rem; align-items: center; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink); font-weight: 600; font-size: .98rem; }
.nav-links a.active, .nav-links a:hover { color: var(--accent); }
.nav-cta {
  background: var(--accent); color: #fff !important;
  padding: .55rem 1.1rem; border-radius: 999px; font-weight: 700; font-size: .95rem;
}
.nav-cta:hover { background: var(--accent-dk); }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.6rem; cursor: pointer; color: var(--ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: .8rem 1.6rem; border-radius: 999px;
  font-weight: 700; font-size: 1rem; cursor: pointer; border: 2px solid transparent;
  transition: all .2s ease;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dk); color: #fff; }
.btn-ghost { border-color: var(--accent); color: var(--accent); background: transparent; }
.btn-ghost:hover { background: var(--accent); color: #fff; }

/* ---------- Hero ---------- */
.hero {
  background:
    linear-gradient(rgba(20,20,20,.66), rgba(20,20,20,.66)),
    repeating-linear-gradient(90deg, #3a3a3a 0 38px, #474747 38px 40px);
  color: #fff; text-align: center;
  padding: clamp(4rem, 12vw, 8rem) 0;
}
.hero h1 { color: #fff; }
.hero p.lede { font-size: 1.2rem; max-width: 640px; margin: 0 auto 1.8rem; color: #ececec; }
.hero .btn-ghost { border-color: #fff; color: #fff; }
.hero .btn-ghost:hover { background: #fff; color: var(--accent-dk); }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Sections ---------- */
.section { padding: clamp(3rem, 8vw, 5.5rem) 0; }
.section.tint { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 2.6rem; }
.section-head p { color: var(--muted); font-size: 1.08rem; }

/* ---------- Trust bar ---------- */
.trust { background: var(--accent-dk); color: #fff; }
.trust .container { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.2rem 2.5rem; padding: 1.1rem 0; text-align: center; }
.trust span { font-weight: 600; font-size: .98rem; }
.trust span::before { content: "✓ "; color: var(--gold); font-weight: 800; }

/* ---------- Card grid ---------- */
.grid { display: grid; gap: 1.6rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow);
}
.card .icon {
  width: 52px; height: 52px; border-radius: 12px; margin-bottom: 1rem;
  background: #ededed; color: var(--accent); display: grid; place-items: center; font-size: 1.5rem;
}
.card h3 { margin-bottom: .3rem; }
.card p { color: var(--muted); margin: 0; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.tile {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4 / 3; border: 1px solid var(--line);
  background-size: cover; background-position: center;
  display: flex; align-items: flex-end; box-shadow: var(--shadow);
}
.tile .caption {
  width: 100%; padding: .9rem 1rem; font-size: .92rem; font-weight: 600; color: #fff;
  background: linear-gradient(transparent, rgba(20,20,18,.78));
}
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile .caption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; }

/* ---------- Team photo ---------- */
.team-photo { margin: 0 auto; max-width: 820px; }
.team-photo img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); display: block; }

/* ---------- Google reviews ---------- */
.g-rating { display: flex; flex-direction: column; align-items: center; gap: .25rem; margin-top: .7rem; }
.g-rating .stars { color: #f4b400; font-size: 1.7rem; letter-spacing: .15em; }
.g-rating .g-meta { color: var(--muted); font-weight: 600; }
.g-rating .g-meta strong { color: var(--ink); }
.card.review { display: flex; flex-direction: column; }
.card.review .stars { color: #f4b400; font-size: 1.1rem; letter-spacing: .1em; margin-bottom: .7rem; }
.card.review p.quote { color: var(--ink); font-size: 1.05rem; margin: 0 0 1rem; }
.card.review .who { margin: auto 0 0; font-weight: 700; color: var(--ink); font-size: .95rem; }
.card.review .who span { color: var(--muted); font-weight: 500; }

/* ---------- Testimonial ---------- */
.testimonial { max-width: 760px; margin: 0 auto; text-align: center; }
.testimonial .stars { color: var(--gold); font-size: 1.4rem; letter-spacing: .2em; margin-bottom: .8rem; }
.testimonial blockquote { font-family: var(--serif); font-size: clamp(1.3rem, 3vw, 1.7rem); line-height: 1.45; color: var(--ink); margin: 0 0 1rem; }
.testimonial .who { color: var(--gold); font-weight: 700; letter-spacing: .05em; text-transform: uppercase; font-size: .9rem; }

/* Decorative placeholder fills (swap for real photos later) */
.ph1 { background-image: linear-gradient(135deg,#6b7d6e,#3f5e4e); }
.ph2 { background-image: linear-gradient(135deg,#b9a384,#8a6d4b); }
.ph3 { background-image: linear-gradient(135deg,#7d8b93,#4a5a63); }
.ph4 { background-image: linear-gradient(135deg,#9aa68f,#5d6e54); }
.ph5 { background-image: linear-gradient(135deg,#c2ad8c,#9c8059); }
.ph6 { background-image: linear-gradient(135deg,#88959c,#566169); }
.ph7 { background-image: linear-gradient(135deg,#7a8a72,#465a3f); }
.ph8 { background-image: linear-gradient(135deg,#b5a888,#8f7a55); }
.ph9 { background-image: linear-gradient(135deg,#8d99a0,#515d65); }

/* ---------- Split / about ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.split .media {
  border-radius: var(--radius); min-height: 340px; box-shadow: var(--shadow);
  background-image: linear-gradient(135deg,#c4c4c4,#5e5e5e);
}
.split p { color: var(--muted); }

/* ---------- Contact ---------- */
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.contact-info p { margin: .3rem 0 1.2rem; }
.contact-info .big { font-size: 1.5rem; font-family: var(--serif); color: var(--ink); }
form .field { margin-bottom: 1.1rem; }
form label { display: block; font-weight: 600; margin-bottom: .35rem; font-size: .95rem; }
form input, form select, form textarea {
  width: 100%; padding: .8rem .9rem; border: 1px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: 1rem; background: var(--surface); color: var(--ink);
}
form textarea { min-height: 130px; resize: vertical; }
form input:focus, form select:focus, form textarea:focus { outline: 2px solid var(--accent); border-color: var(--accent); }

/* ---------- Honeypot (hidden anti-spam field) ---------- */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Form feedback banner ---------- */
.form-banner {
  max-width: 720px; margin: 0 auto 2rem; padding: 1rem 1.2rem;
  border-radius: 10px; font-weight: 600; text-align: center;
}
.form-banner.success { background: #ededed; color: #1b1b1b; border: 1px solid #cfcfcf; }
.form-banner.error   { background: #f7e7e3; color: #7a3a2b; border: 1px solid #e2bcb1; }

/* ---------- CTA strip ---------- */
.cta-strip { background: var(--ink); color: #fff; text-align: center; }
.cta-strip h2 { color: #fff; }
.cta-strip p { color: #e0e0e0; }
.cta-strip .btn-primary { background: #fff; color: var(--ink); }
.cta-strip .btn-primary:hover { background: #d8d8d8; color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #c9c9c9; padding: 3rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; }
.site-footer h4 { color: #fff; font-family: var(--serif); margin: 0 0 .8rem; }
.site-footer a { color: #c9c9c9; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .5rem; }
.footer-bottom { border-top: 1px solid #3a3a3a; margin-top: 2rem; padding-top: 1.2rem; font-size: .88rem; color: #9a9a9a; text-align: center; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line);
    padding: .5rem 6%;
  }
  .nav-links.open { display: flex; }
  .nav-links li { padding: .5rem 0; border-bottom: 1px solid var(--line); }
  .nav-links li:last-child { border-bottom: 0; }
  .nav-toggle { display: block; }
}
@media (max-width: 520px) {
  .grid-3, .grid-4, .gallery-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
