/* Shine Outdoor Lighting — shineol.ca
   Dark, warm, elegant. Gold accent matches the logo. */

:root {
  --bg: #0c0e0d;
  --bg-soft: #121514;
  --bg-card: #171b19;
  --line: #262b28;
  --text: #f2efe8;
  --muted: #b6b2a8;
  --gold: #d9a441;
  --gold-soft: #e8c87e;
  --gold-dark: #b8892e;
  --radius: 14px;
  --max: 1120px;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }

/* Keep anchored sections clear of the fixed header */
section[id] { scroll-margin-top: 84px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--gold-soft); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: 0.6rem; }
h3 { font-size: 1.25rem; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-dark { background: var(--bg-soft); }
.section-eyebrow {
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-intro { color: var(--muted); max-width: 640px; font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  text-align: center;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: #1a1405; }
.btn-gold:hover { background: var(--gold-soft); }
.btn-outline { border-color: rgba(242, 239, 232, 0.45); color: var(--text); background: rgba(12, 14, 13, 0.35); }
.btn-outline:hover { border-color: var(--text); }
.btn-small { padding: 9px 20px; font-size: 0.92rem; }
.btn-full { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}
.site-header.scrolled {
  background: rgba(12, 14, 13, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand-logo { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.brand-text { font-size: 1.08rem; letter-spacing: 0.01em; }
.brand-text strong { font-family: var(--font-display); font-size: 1.25rem; color: var(--gold-soft); }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a { color: var(--text); font-size: 0.95rem; font-weight: 500; }
.main-nav a:hover { color: var(--gold-soft); text-decoration: none; }
.nav-phone { color: var(--muted) !important; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  margin: 5px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: 140px 0 72px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url("images/hero.jpg") center 35% / cover no-repeat;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(12, 14, 13, 0.96) 8%, rgba(12, 14, 13, 0.55) 45%, rgba(12, 14, 13, 0.35) 100%);
}
.hero-content { position: relative; }
.hero-eyebrow {
  color: var(--gold-soft);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.hero h1 { font-size: clamp(2.4rem, 6vw, 4rem); max-width: 820px; }
.hero-sub { color: #ddd9cf; font-size: 1.15rem; max-width: 620px; margin: 20px 0 32px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-local { margin-top: 28px; color: var(--muted); font-size: 0.92rem; letter-spacing: 0.04em; }

/* ---------- Trust bar ---------- */
.trust-bar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 28px 24px;
}
.trust-item { display: flex; gap: 12px; align-items: flex-start; }
.trust-icon {
  flex: 0 0 28px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(217, 164, 65, 0.16);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.9rem;
}
.trust-item div { display: flex; flex-direction: column; line-height: 1.4; }
.trust-item strong { font-size: 0.98rem; }
.trust-item span:last-child { color: var(--muted); font-size: 0.85rem; }

/* ---------- Services ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(217, 164, 65, 0.45); }
.card img { width: 100%; height: 210px; object-fit: cover; }
.card-body { padding: 26px 26px 28px; }
.card-body p { color: var(--muted); font-size: 0.98rem; margin: 10px 0 18px; }
.card-link { font-weight: 600; font-size: 0.95rem; }

/* ---------- How it works ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.step { border-top: 2px solid var(--gold); padding-top: 20px; }
.step-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--gold);
  line-height: 1;
}
.step h3 { margin: 12px 0 8px; }
.step p { color: var(--muted); font-size: 0.96rem; }

.track-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
  margin-top: 72px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.track-showcase img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; }
.track-showcase div { padding: 36px 36px 36px 0; }
.track-showcase h3 { font-size: 1.5rem; margin-bottom: 10px; }
.track-showcase p { color: var(--muted); }

/* ---------- One app band ---------- */
.app-band { padding: 96px 0; background: linear-gradient(120deg, #141a17 0%, #0c0e0d 60%); }
.app-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.app-inner p { color: var(--muted); margin: 12px 0 24px; }
.app-inner img { border-radius: var(--radius); border: 1px solid var(--line); }
.check-list { list-style: none; }
.check-list li { padding: 8px 0 8px 32px; position: relative; }
.check-list li::before {
  content: "✓";
  position: absolute; left: 0; top: 8px;
  color: var(--gold);
  font-weight: 700;
}

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 48px;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  border: 1px solid var(--line);
}
.gallery-item img {
  width: 100%; height: 240px; object-fit: cover;
  transition: transform 0.3s ease;
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 36px 16px 12px;
  font-size: 0.9rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent);
}

/* ---------- Included ---------- */
.included-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.included-grid > div {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.included-grid h3 { font-size: 1.1rem; margin-bottom: 8px; color: var(--gold-soft); }
.included-grid p { color: var(--muted); font-size: 0.95rem; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 800px; }
.faq-list { margin-top: 40px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 12px;
  background: var(--bg-card);
  overflow: hidden;
}
.faq-item summary {
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  color: var(--gold);
  font-size: 1.4rem;
  font-weight: 400;
  flex: 0 0 auto;
}
.faq-item[open ] summary::after { content: "−"; }
.faq-item p { padding: 0 24px 22px; color: var(--muted); }

/* ---------- Quote ---------- */
.quote-section { background: var(--bg-soft); border-top: 1px solid var(--line); }
.quote-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 64px;
  align-items: start;
}
.quote-grid > div > p { color: var(--muted); margin-top: 12px; }
.contact-list { list-style: none; margin-top: 32px; }
.contact-list li { padding: 10px 0; border-top: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 1px solid var(--line); }
.contact-list strong { display: inline-block; min-width: 110px; }

.quote-form {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}
.quote-form label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 18px;
  color: var(--text);
}
.quote-form input,
.quote-form select,
.quote-form textarea {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 13px 14px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: 0.98rem;
  font-weight: 400;
}
.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(217, 164, 65, 0.18);
}
.quote-form textarea { resize: vertical; min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.honeypot { position: absolute !important; left: -9999px; width: 1px !important; height: 1px !important; opacity: 0; }
.form-note { color: var(--muted); font-size: 0.85rem; text-align: center; margin-top: 16px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 40px; }
.footer-inner { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.footer-nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-nav a { color: var(--muted); font-size: 0.95rem; }
.footer-nav a:hover { color: var(--gold-soft); text-decoration: none; }
.footer-contact { color: var(--muted); }
.footer-small { color: #7d7a71; font-size: 0.85rem; line-height: 1.7; }

/* ---------- Lightbox ---------- */
.lightbox {
  display: none;
  position: fixed; inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.92);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 32px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: min(1000px, 94vw); max-height: 80vh; border-radius: 10px; object-fit: contain; }
.lightbox p { color: var(--muted); margin-top: 16px; }
.lightbox-close {
  position: absolute;
  top: 18px; right: 24px;
  background: none; border: none;
  color: var(--text);
  font-size: 2.4rem;
  cursor: pointer;
  line-height: 1;
}

/* ---------- Thank-you page ---------- */
.thankyou {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
}
.thankyou .brand { justify-content: center; margin-bottom: 28px; }
.thankyou h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 16px; }
.thankyou p { color: var(--muted); max-width: 520px; margin: 0 auto 32px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .track-showcase { grid-template-columns: 1fr; }
  .track-showcase div { padding: 0 28px 32px; }
  .app-inner { grid-template-columns: 1fr; gap: 36px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .included-grid { grid-template-columns: repeat(2, 1fr); }
  .quote-grid { grid-template-columns: 1fr; gap: 44px; }
}

@media (max-width: 720px) {
  .section { padding: 72px 0; }
  .main-nav {
    display: none;
    position: absolute;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: #0c0e0d;
    border-bottom: 1px solid var(--line);
    padding: 16px 24px 24px;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 10px 0; font-size: 1.05rem; }
  .nav-toggle { display: block; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero { padding-top: 120px; }
  .trust-grid { grid-template-columns: 1fr; gap: 18px; }
  .steps { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .included-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .quote-form { padding: 24px 20px; }
}
