/*
Theme Name: Luxe Builder Group
Theme URI: https://tequestaroofing.com
Author: Luxe Builder Group Inc
Author URI: https://tequestaroofing.com
Description: Child theme of Hello Elementor for Luxe Builder Group. Tequesta, FL. Lic #CCC1335204.
Version: 1.0.0
Template: hello-elementor
License: Private
Text Domain: luxe-builder
*/

/* ============================================================
   DESIGN TOKENS — Luxe Premier Slate v1.0
   ============================================================ */
:root {
  --teal:        #005865;
  --teal-mid:    #007283;
  --teal-dim:    rgba(0,88,101,0.07);
  --teal-dim-md: rgba(0,88,101,0.12);
  --teal-border: rgba(0,88,101,0.16);
  --teal-glow:   rgba(0,114,131,0.14);

  --white:       #ffffff;
  --off-white:   #f7f9fb;
  --surface-1:   #f2f4f7;
  --surface-2:   #eceef2;
  --footer-bg:   #1a2428;

  --tx-1:        #111a1e;
  --tx-2:        #3a4a52;
  --tx-3:        #6b7c84;
  --tx-4:        #9aabb3;

  --b-1:         rgba(17,26,30,0.07);
  --b-2:         rgba(17,26,30,0.11);

  --sh-card:  0 2px 16px rgba(17,26,30,0.07);
  --sh-float: 0 12px 40px rgba(17,26,30,0.10);
  --sh-glow:  0 0 48px rgba(0,114,131,0.15);

  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-body:    'Inter', sans-serif;
  --font-serif:   'Cormorant Garamond', Georgia, serif;

  --r-md:  0.375rem;
  --r-lg:  0.5rem;
  --r-xl:  0.75rem;
  --r-2xl: 1.25rem;

  --max-w:  1280px;
  --nav-h:  72px;
}

/* ============================================================
   BASE RESETS
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--tx-1);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 2.5rem; }
@media (max-width: 768px) { .container { padding: 0 1.25rem; } }

/* ============================================================
   GLOBAL BUTTONS
   ============================================================ */
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.625rem;
  font-family: var(--font-display); font-size: 0.875rem; font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--teal), var(--teal-mid));
  padding: 0.875rem 1.875rem; border-radius: var(--r-lg);
  border: none; cursor: pointer;
  box-shadow: 0 4px 20px var(--teal-glow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,88,101,0.28);
}
.btn-ghost {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-display); font-size: 0.875rem; font-weight: 600;
  color: var(--teal);
  padding: 0.875rem 1.5rem; border-radius: var(--r-lg);
  border: 1.5px solid var(--teal-border);
  background: transparent; cursor: pointer;
  transition: all 0.2s;
}
.btn-ghost:hover { background: var(--teal-dim); border-color: var(--teal); }

/* ============================================================
   HELLO ELEMENTOR CONFLICT FIXES
   Overrides Hello Elementor default styles that clash with
   our page templates
   ============================================================ */

/* Fix invisible text — Hello Elementor sometimes sets color to inherit from a white parent */
body, p, h1, h2, h3, h4, h5, h6, li, span, div {
  color: revert;
}

/* Restore our color tokens on all page content */
.hero, .hero * { color: revert; }
.section-title { color: var(--tx-1) !important; }
.section-eyebrow { color: var(--teal) !important; }

/* Fix images — Hello Elementor sets opacity:0 on some image elements */
img {
  opacity: 1 !important;
  visibility: visible !important;
}

/* Fix hero images specifically */
.hero__bg,
.page-hero img,
.service-hero img,
.lp-hero__img,
.featured-post__img {
  opacity: 1 !important;
  visibility: visible !important;
}

/* But keep intentional dark overlays */
.hero__bg {
  opacity: 1 !important;
}

/* Fix Hello Elementor removing list styles */
ul { list-style: revert; }
ul.footer__links,
ul.nav__links,
ul.lp-toc__grid,
ul.post-grid,
ul.checklist {
  list-style: none !important;
}

/* Fix Hello Elementor link color overrides */
a { color: inherit; text-decoration: none; }
a:hover { color: inherit; }

/* Fix Hello Elementor padding/margin resets on sections */
section { margin: revert; padding: revert; }

/* Fix Hello Elementor font overrides */
h1, h2, h3, h4, h5, h6 {
  font-family: revert;
  line-height: revert;
  font-weight: revert;
}

/* Ensure page wrapper doesn't get constrained by Hello Elementor */
.page-content,
.entry-content,
.site-content {
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
}

/* Fix Hello Elementor adding unwanted borders/outlines */
*:focus { outline: revert; }

/* Fix Hello Elementor button resets */
button, input, select, textarea {
  font-family: inherit;
}

/* Ensure full width layouts aren't constrained */
.site-main {
  padding: 0 !important;
  margin: 0 !important;
}

/* ============================================================
   SECTION BACKGROUND FIX
   Hello Elementor strips background colors from sections.
   Force all inline background styles to render.
   ============================================================ */
section[style*="background"] { background: revert !important; }
div[style*="background-color"] { background-color: revert !important; }

/* Dark sections specifically */
.stats-section,
.cta-section,
.cta__inner,
.process,
.team-section,
[class*="dark"],
[class*="ink"],
[class*="footer"] {
  background-color: revert !important;
}

/* Force inline styles to take effect over Hello Elementor resets */
[style*="background:#1a"],
[style*="background: #1a"],
[style*="background-color:#1a"],
[style*="background:#0d"],
[style*="background: #0d"] {
  background: revert !important;
}

/* Hello Elementor sets page background white — override for dark sections */
.hero { background: #0d1518 !important; }
.hero__bg { background-size: cover !important; background-position: center !important; }

/* ============================================================
   DIRECT HEX OVERRIDES — bypass CSS variable resolution issues
   ============================================================ */
.numbers { background-color: #0d1518 !important; color: #ffffff !important; }
.cta { background-color: #1a2226 !important; color: #ffffff !important; }
.cta__inner { background-color: transparent !important; }
.footer { background-color: #1a2428 !important; color: #ffffff !important; }
.process { background-color: #f7f9fb !important; }

/* White text in dark sections */
.numbers *, .cta * { color: inherit; }
.num-value, .num-label, .cta__title, .cta__body,
.stat__num, .stat__label, .step__title, .step__body,
.footer__brand-name, .footer__col-title, .footer__copy { color: #ffffff !important; }

/* Fix blue selection highlight on text */
::selection { background: rgba(0,88,101,0.2); color: inherit; }

/* Fix card/grid visibility */
.post-card,
.service-card,
.lp-related__card,
.bento-card {
  opacity: 1 !important;
  visibility: visible !important;
}
