/*
Theme Name:   Dirty Hands Construction
Theme URI:    https://dirtyhandscc.com/
Description:  Lightweight Elementor-first theme for Dirty Hands Clean Construction Inc. Header and footer are built with Elementor Theme Builder (Pro Elements); page content uses native Elementor widgets. Run Appearance → Dirty Hands Setup after activating Elementor and Pro Elements.
Version:      1.0.0
Requires at least: 6.3
Requires PHP: 7.4
Tested up to: 6.7
Text Domain:  dirty-hands
License:      GPL-2.0-or-later
*/

/* ------------------------------------------------------------
   Base (kept tiny — Elementor handles layout & typography)
   ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: "Open Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	font-size: 17px;
	line-height: 1.65;
	color: #2A2C30;
	background: #fff;
	-webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid #C9A44C; outline-offset: 2px; }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto; z-index: 100000; top: 8px; left: 8px;
	padding: 12px 18px; background: #0B0B0C; color: #fff;
}

/* Sticky header wrapper (CSS sticky — no JS needed) */
.dh-site-header {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
	z-index: 999;
}

/* Fallback header/footer (only shown if Elementor Theme Builder templates are missing) */
.dh-fallback-header, .dh-fallback-footer { background: #0B0B0C; color: #fff; padding: 18px 24px; }
.dh-fallback-header a, .dh-fallback-footer a { color: #fff; text-decoration: none; margin-right: 18px; }
.dh-content-fallback { max-width: 1280px; margin: 0 auto; padding: 60px 24px; }

/* ------------------------------------------------------------
   Helper classes used by the Elementor templates
   (add via Advanced → CSS Classes)
   ------------------------------------------------------------ */

/* Gold gradient text, e.g. <span class="dh-gold">Built Right.</span> inside a Heading */
.dh-gold {
	background: linear-gradient(135deg, #E2C67E 0%, #C9A44C 45%, #A8873A 100%);
	-webkit-background-clip: text; background-clip: text;
	-webkit-text-fill-color: transparent; color: #C9A44C;
}

/* Kicker label: short gold line before small uppercase text */
.dh-kicker .elementor-heading-title { display: inline-flex; align-items: center; gap: 14px; }
.dh-kicker .elementor-heading-title::before { content: ""; width: 36px; height: 2px; background: #C9A44C; flex-shrink: 0; }
.dh-kicker.dh-center .elementor-heading-title { justify-content: center; }

/* Gold gradient buttons */
.dh-btn-gold .elementor-button {
	background: linear-gradient(135deg, #E2C67E 0%, #C9A44C 45%, #A8873A 100%);
	transition: filter .2s, transform .2s;
}
.dh-btn-gold .elementor-button:hover { filter: brightness(1.08); transform: translateY(-2px); }
.elementor-button { transition: all .2s; }

/* Hero credential strip */
.dh-strip > .e-con-inner > .elementor-element + .elementor-element,
.dh-strip > .elementor-element + .elementor-element { border-left: 1px solid rgba(255,255,255,.14); }

/* Service tiles (icon boxes): gold line on hover */
.dh-svc { position: relative; transition: background-color .3s; }
.dh-svc::before {
	content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0;
	background: linear-gradient(135deg, #E2C67E, #A8873A); transition: width .4s ease; z-index: 2;
}
.dh-svc:hover { background-color: #212428 !important; }
.dh-svc:hover::before { width: 100%; }

/* Project mosaic */
.dh-proj { position: relative; overflow: hidden; }
.dh-proj img { transition: transform .8s ease; }
.dh-proj:hover img { transform: scale(1.05); }
.dh-proj::after {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background: linear-gradient(0deg, rgba(11,11,12,.85) 0%, rgba(11,11,12,0) 55%);
}
.dh-proj .dh-proj-info { position: absolute !important; left: 28px; right: 28px; bottom: 24px; z-index: 2; }
.dh-span-2 { grid-column: span 2; grid-row: span 2; }
.dh-span-col-2 { grid-column: span 2; }
@media (max-width: 1024px) {
	.dh-span-2 { grid-row: span 1; }
}
@media (max-width: 767px) {
	.dh-span-2, .dh-span-col-2 { grid-column: span 1; }
}

/* Diamond bullets for city lists (Icon List) */
.dh-cities .elementor-icon-list-item { border-bottom: 1px solid #E6E3DC; padding: 12px 0 !important; }

/* Accordion polish */
.dh-faq .elementor-accordion-item { border-left: 0 !important; border-right: 0 !important; }

/* Mobile bottom CTA bar (in the footer template) */
.dh-mobile-bar { position: fixed !important; left: 0; right: 0; bottom: 0; z-index: 998; box-shadow: 0 -4px 20px rgba(0,0,0,.25); }
@media (max-width: 1024px) { body { padding-bottom: 56px; } }
@media (min-width: 1025px) { .dh-mobile-bar { display: none !important; } }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
