/* =========================================================================
   GoldenHandsMan LLC — site.css  (own stylesheet, replaces the template CSS)
   Layout: fixed dark sidebar (left) + light content. Mobile: collapsible.
   ========================================================================= */

:root {
  --sidebar-w: 300px;
  --accent: #0e6ba8;          /* brand blue */
  --accent-dark: #0a4f7d;
  --gold: #c8a24a;            /* brand gold accent */
  --ink: #1f2a37;            /* body text */
  --heading: #0b1a2b;
  --muted: #6b7683;
  --bg: #ffffff;
  --bg-soft: #f4fafd;
  --line: #e3e9ee;
  --dark: #040b14;           /* sidebar / hero */
  --dark-2: #0a1622;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(9, 30, 55, .10);
  --font: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-head: "Raleway", var(--font);
  --font-nav: "Poppins", var(--font);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font: 400 16px/1.7 var(--font);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent-dark); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--heading); line-height: 1.25; margin: 0 0 .5em; }

/* ------------------------------------------------------------ Sidebar */
.sidebar {
  position: fixed; inset: 0 auto 0 0;
  width: var(--sidebar-w);
  background: var(--dark);
  color: #cfd6df;
  overflow-y: auto;
  z-index: 100;
}
.sidebar-inner { padding: 34px 22px; }
.profile { text-align: center; }
.profile-img {
  width: 120px; height: 120px; border-radius: 50%;
  margin: 0 auto 16px; object-fit: cover;
  border: 6px solid rgba(255,255,255,.12);
}
.sitename {
  font-family: var(--font-head); font-weight: 800;
  font-size: 26px; color: #fff; display: inline-block; letter-spacing: .3px;
}
a.sitename:hover { color: var(--gold); }
.tagline { margin: 8px 0 16px; font-size: 17px; line-height: 1.35; color: #9aa4b2; }
.contact-line { margin: 5px 0; font-size: 17px; }
.contact-line a { color: #b9c2cd; }
.contact-line a:hover { color: #fff; }

.social-links { display: flex; justify-content: center; gap: 10px; margin: 18px 0 22px; }
.social-links a {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.08); color: #cfd6df; font-size: 16px;
}
.social-links a:hover { background: var(--accent); color: #fff; }

.navmenu ul { list-style: none; margin: 0; padding: 0; }
.navmenu a {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 14px; margin: 3px 0; border-radius: 8px;
  font-family: var(--font-nav); font-size: 15px; font-weight: 500;
  color: #b7c0cc;
}
.navmenu a .navicon { font-size: 17px; color: #7f8a98; transition: color .2s; }
.navmenu a:hover, .navmenu a.active { background: rgba(255,255,255,.06); color: #fff; }
.navmenu a:hover .navicon, .navmenu a.active .navicon { color: var(--gold); }

/* mobile nav toggle */
.nav-toggle {
  position: fixed; top: 16px; right: 16px; z-index: 120;
  width: 46px; height: 46px; border: 0; border-radius: 10px;
  background: var(--dark); color: #fff; font-size: 22px; cursor: pointer;
  display: none; place-items: center; box-shadow: var(--shadow);
}

/* ------------------------------------------------------------ Main */
.main { margin-left: var(--sidebar-w); }
.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.section { padding: 70px 0; }
.section.bg-soft { background: var(--bg-soft); }

.section-title { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.section-title h2 {
  font-size: 32px; font-weight: 800; margin: 0 0 10px;
  position: relative; display: inline-block; padding-bottom: 12px;
}
.section-title h2::after {
  content: ""; position: absolute; left: 50%; transform: translateX(-50%);
  bottom: 0; width: 60px; height: 3px; background: var(--gold); border-radius: 2px;
}
.section-title p { color: var(--muted); margin: 0; }

/* ------------------------------------------------------------ Buttons */
.btn {
  display: inline-block; padding: 12px 26px; border-radius: 50px;
  font-family: var(--font-nav); font-weight: 500; font-size: 15px;
  cursor: pointer; border: 2px solid var(--accent); transition: all .2s;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.btn-outline { background: transparent; color: var(--accent); }
.btn-outline:hover { background: var(--accent); color: #fff; }
.btn-lg { padding: 14px 34px; font-size: 17px; }
.btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ------------------------------------------------------------ Hero */
.hero {
  background: var(--dark);
  padding: 0 0 34px; text-align: center; color: #fff;
}
/* the banner carries its own headline — show it whole, never crop */
.hero-banner { width: 100%; height: auto; display: block; }
.hero .btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; padding: 28px 24px 0; }

/* visually hidden, still read by search engines and screen readers */
.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;
}
.hero .btn-outline { color: #fff; border-color: rgba(255,255,255,.7); }
.hero .btn-outline:hover { background: #fff; color: var(--dark); border-color: #fff; }

/* ------------------------------------------------------------ Cards grid */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); }

.card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--accent); }
.card .icon { font-size: 30px; color: var(--accent); margin-bottom: 12px; }
.card h3, .card h4 { font-size: 19px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* ------------------------------------------------------------ Gallery */
.gallery { columns: 3 260px; column-gap: 16px; }
.gallery a { display: block; margin: 0 0 16px; border-radius: 10px; overflow: hidden; break-inside: avoid; position: relative; }
.gallery img { width: 100%; transition: transform .35s; background: var(--bg-soft); }
.gallery a::after {
  content: "\F52A"; font-family: "bootstrap-icons"; /* zoom-in */
  position: absolute; inset: 0; display: grid; place-items: center;
  color: #fff; font-size: 26px; background: rgba(14,107,168,.0); opacity: 0; transition: .25s;
}
.gallery a:hover::after { background: rgba(14,107,168,.45); opacity: 1; }
.gallery a:hover img { transform: scale(1.05); }

/* Simple even grid variant (fixed ratio) */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.gallery-grid a { position: relative; display: block; border-radius: 10px; overflow: hidden; aspect-ratio: 4/3; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; }

/* ------------------------------------------------------------ Content prose */
.prose h3 { font-size: 21px; margin-top: 1.4em; }
.prose h4 { font-size: 18px; margin-top: 1.2em; }
.prose ul { padding-left: 0; list-style: none; }
.prose ul li { position: relative; padding-left: 28px; margin: 8px 0; }
.prose ul li i.bi { position: absolute; left: 0; top: 3px; color: var(--accent); }
.prose p { margin: 0 0 1em; }
.lead { font-size: 18px; color: var(--muted); }
.article-img { width: 100%; border-radius: 10px; margin: 16px 0; }

/* About */
.about-layout { max-width: 820px; margin: 0 auto; }
.about-text p { margin: 0 0 1em; }
.rec-badge { height: 44px; width: 44px; object-fit: contain; border-radius: 6px; background: #fff; display: block; cursor: pointer; transition: transform .2s; }
.rec-badge:hover { transform: scale(1.06); }
.rec-item { display: flex; align-items: flex-start; }
.rec-item > a { flex-shrink: 0; margin-right: 12px; margin-top: 1px; line-height: 0; }

/* ------------------------------------------------------------ Testimonials */
.testi-card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow);
}
.testi-card .quote { color: var(--ink); font-size: 15px; font-style: italic; white-space: pre-line; }
.testi-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.testi-head img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.testi-head h4 { margin: 0; font-size: 16px; }
.testi-head span { color: var(--muted); font-size: 13px; }
.stars { color: var(--gold); font-size: 14px; margin-top: 4px; }

/* ------------------------------------------------------------ Forms */
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-weight: 500; margin-bottom: 6px; font-size: 14.5px; }
.form-control {
  width: 100%; padding: 12px 14px; font: inherit; color: var(--ink);
  border: 1px solid var(--line); border-radius: 8px; background: #fff;
}
.form-control:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(14,107,168,.12); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

/* ------------------------------------------------------------ Guarantee */

/* ------------------------------------------------------------ Closing CTA */
.cta-band {
  background: var(--dark); color: #fff; padding: 52px 0;
  border-top: 3px solid var(--gold); text-align: center;
}
.cta-band .cta-text {
  max-width: 720px; margin: 0 auto 26px;
  font-family: var(--font-head);
  font-size: 21px; line-height: 1.5; color: #fff;
}
.cta-band .cta-text a { color: var(--gold); font-weight: 600; }
.cta-band .cta-text a:hover { color: #fff; }
.cta-band .btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-band .btn-outline { color: #fff; border-color: rgba(255,255,255,.55); }
.cta-band .btn-outline:hover { background: #fff; color: var(--dark); border-color: #fff; }
@media (max-width: 640px) {
  .cta-band { padding: 40px 0; }
  .cta-band .cta-text { font-size: 18px; }
}

/* ------------------------------------------------------------ Footer */
.footer { border-top: 3px solid var(--gold); background: var(--bg-soft); padding: 26px 0; text-align: center; }
.footer .copyright { margin: 0; font-size: 14.5px; color: var(--ink); }
.footer .credits { margin: 6px 0 0; font-size: 13px; color: var(--muted); }
.footer .footer-links { margin: 10px 0 0; font-size: 13px; color: var(--muted); }
.footer .footer-links a { color: var(--muted); }
.footer .footer-links a:hover { color: var(--accent); }
.footer .footer-links span { margin: 0 8px; }

/* ------------------------------------------------------------ Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200; display: none;
  background: rgba(4,11,20,.92); place-items: center;
}
.lightbox.open { display: grid; }
.lb-img { max-width: 92vw; max-height: 88vh; border-radius: 6px; }
.lightbox button {
  position: absolute; background: none; border: 0; color: #fff; cursor: pointer;
  font-size: 34px; line-height: 1; padding: 12px; opacity: .8;
}
.lightbox button:hover { opacity: 1; }
.lb-close { top: 10px; right: 18px; font-size: 40px; }
.lb-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 8px; top: 50%; transform: translateY(-50%); }

/* ------------------------------------------------------------ Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ------------------------------------------------------------ Page title (inner pages) */
.page-title { background: var(--dark-2); color: #fff; padding: 46px 0; }
.page-title h1 { color: #fff; font-size: 30px; margin: 0; }
.breadcrumbs { list-style: none; display: flex; gap: 8px; padding: 8px 0 0; margin: 0; font-size: 14px; color: #9aa6b4; }
.breadcrumbs a { color: #cdd6e0; }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; color: #55606e; }

/* ------------------------------------------------------------ Utilities */
.text-center { text-align: center; }
.mt-2 { margin-top: 1rem; } .mt-4 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }

/* ------------------------------------------------------------ Service cards (index) */
.service-card { padding: 0; overflow: hidden; text-align: left; }
.service-thumb { display: block; position: relative; aspect-ratio: 4/3; overflow: hidden; }
.service-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.service-card:hover .service-thumb img { transform: scale(1.06); }
.service-thumb::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(14,107,168,0); transition: background .25s;
}
.service-thumb:hover::after { background: rgba(14,107,168,.14); }
.service-name { font-size: 18px; margin: 16px 20px 6px; }
.service-name a { color: var(--heading); }
.service-name a:hover { color: var(--accent); }
.service-more { display: inline-block; margin: 0 20px 20px; font-family: var(--font-nav); font-size: 14px; font-weight: 500; }
.service-more i { transition: transform .2s; }
.service-more:hover i { transform: translateX(4px); }

/* Contact info items */
.info-item { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 22px; }
.info-item i { font-size: 22px; color: var(--accent); background: rgba(14,107,168,.1); width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; }
.info-item h3 { font-size: 16px; margin: 0 0 2px; }
.info-item p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* Testimonials thumbs + quote */
.testi-card .quote i.bi-quote { color: var(--accent); font-size: 20px; vertical-align: -2px; }
.reviews-note { color: var(--muted); font-size: 15px; margin: 0 auto 16px; max-width: 640px; }
.section-title .source-note { font-size: 14.5px; margin-top: 10px; }
.testi-thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.testi-thumbs a { width: 62px; height: 62px; border-radius: 8px; overflow: hidden; }
.testi-thumbs img { width: 100%; height: 100%; object-fit: cover; }

/* ------------------------------------------------------- Also from our team */
.brand-card { display: block; text-decoration: none; }
.brand-card h3 { color: var(--heading); }
.brand-card .brand-cta {
  display: inline-block; margin-top: 14px;
  color: var(--accent); font-weight: 600; font-size: 14px;
}
.brand-card:hover .brand-cta { color: var(--accent-dark); }

/* Honeypot: off-screen rather than display:none — some bots skip hidden fields */
.hp-field {
  position: absolute; left: -9999px; top: auto;
  width: 1px; height: 1px; overflow: hidden;
}

/* Form errors */
.field-error { display: block; color: #dc3545; font-size: 13px; margin-top: 4px; }
.form-control.is-invalid { border-color: #dc3545; }
.contact-form label { display: block; font-weight: 500; margin-bottom: 6px; font-size: 14.5px; }

/* ------------------------------------------------------------ Service details */
.service-details h4 { font-size: 19px; margin: 1.3em 0 .5em; }
.service-details .row { margin: 0; }
.svc-area { color: var(--muted); font-size: 14.5px; }
.svc-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin: 18px 0; }
.svc-gallery a { display: block; aspect-ratio: 4/3; border-radius: 8px; overflow: hidden; }
.svc-gallery img { width: 100%; height: 100%; object-fit: cover; margin: 0; display: block; transition: transform .35s; }
.svc-gallery a:hover img { transform: scale(1.07); }

/* ------------------------------------------------------------ Portfolio details */
.pd-layout { display: grid; grid-template-columns: 1.8fr 1fr; gap: 34px; align-items: start; }
.pd-info .card { margin-bottom: 20px; }
.pd-info .prose li { padding-left: 26px; }
.pd-info .prose li i.bi { color: var(--accent); }
.pd-desc h2 { font-size: 22px; margin-bottom: 10px; }
@media (max-width: 900px) { .pd-layout { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ Portfolio gallery */
.portfolio-filters { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; padding: 0; margin: 0 0 30px; }
.portfolio-filters li { cursor: pointer; padding: 7px 18px; border-radius: 50px; font-family: var(--font-nav); font-size: 14px; color: var(--muted); transition: all .2s; }
.portfolio-filters li:hover { color: var(--accent); }
.portfolio-filters li.filter-active { background: var(--accent); color: #fff; }

.isotope-container { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.portfolio-item { min-width: 0; }
.portfolio-content { position: relative; border-radius: 12px; overflow: hidden; height: 100%; box-shadow: var(--shadow); }
.portfolio-content img { width: 100%; height: 250px; object-fit: cover; display: block; transition: transform .4s; }
.portfolio-content:hover img { transform: scale(1.06); }
.portfolio-info { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 18px; color: #fff; background: linear-gradient(transparent 40%, rgba(4,11,20,.86)); opacity: 0; transition: opacity .3s; }
.portfolio-content:hover .portfolio-info { opacity: 1; }
.portfolio-info h4 { color: #fff; margin: 0 0 2px; font-size: 15px; }
.portfolio-info p { margin: 0 0 10px; font-size: 13px; color: #dfe6ee; }
.portfolio-info a { color: #fff; font-size: 22px; margin-right: 12px; display: inline-block; }
.portfolio-info a:hover { color: var(--gold); }
.portfolio-item.is-hidden { display: none; }

/* ------------------------------------------------------------ Responsive */
@media (max-width: 1199px) {
  .nav-toggle { display: grid; }
  .sidebar { transform: translateX(-100%); transition: transform .3s ease; box-shadow: var(--shadow); }
  body.nav-open .sidebar { transform: none; }
  .main { margin-left: 0; }
}
@media (max-width: 640px) {
  .section { padding: 48px 0; }
  .section-title h2 { font-size: 26px; }
  .row2 { grid-template-columns: 1fr; }
  .gallery { columns: 2 160px; }
}
