/*
Theme Name: Texas HVAC Pro Child
Theme URI: https://yourdomain.com
Description: Custom child theme for Texas HVAC business. Built for Hello Elementor + Elementor Header & Footer Builder.
Author: Your Name
Author URI: https://yourdomain.com
Template: hello-elementor
Version: 1.0.0
License: GNU General Public License v3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: texas-hvac-pro-child
*/

/* Custom properties */
:root {
  --hvac-primary: #1a73e8;
  --hvac-primary-dark: #0d47a1;
  --hvac-accent: #ff6f00;
  --hvac-accent-hover: #e65100;
  --hvac-dark: #1a1a2e;
  --hvac-light: #f5f9ff;
  --hvac-gray: #6c757d;
  --hvac-success: #2e7d32;
  --hvac-star: #ffb300;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Sticky click-to-call bar on mobile */
.hvac-sticky-call {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--hvac-primary);
  padding: 10px 15px;
  text-align: center;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.15);
}

.hvac-sticky-call a {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.hvac-sticky-call a:hover {
  color: #fff;
  opacity: 0.9;
}

.hvac-sticky-call .emergency-badge {
  background: var(--hvac-accent);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

@media (max-width: 768px) {
  .hvac-sticky-call {
    display: block;
  }
}

/* Emergency badge */
.emergency-ribbon {
  display: inline-block;
  background: var(--hvac-accent);
  color: #fff;
  padding: 4px 14px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Star ratings */
.stars {
  color: var(--hvac-star);
  font-size: 18px;
  letter-spacing: 2px;
}

/* Service cards hover */
.service-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

/* Review widget */
.review-widget {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
}

.review-widget .review-text {
  font-style: italic;
  color: #555;
  line-height: 1.6;
}

/* Financing CTA */
.financing-badge {
  background: var(--hvac-success);
  color: #fff;
  border-radius: 6px;
  padding: 4px 12px;
  font-size: 13px;
  font-weight: 600;
}

/* Service area checkbox list */
.service-areas ul {
  columns: 2;
  list-style: none;
  padding: 0;
}

.service-areas li {
  padding: 6px 0;
  border-bottom: 1px solid #f0f0f0;
}

.service-areas li::before {
  content: "\2713";
  color: var(--hvac-success);
  font-weight: bold;
  margin-right: 8px;
}

/* Button styles matching HVAC brand */
.btn-accent,
.elementor-button.elementor-size-md.btn-accent {
  background-color: var(--hvac-accent) !important;
  color: #fff !important;
  font-weight: 700 !important;
}

.btn-accent:hover,
.elementor-button.elementor-size-md.btn-accent:hover {
  background-color: var(--hvac-accent-hover) !important;
}

/* Financing calculator highlight */
.financing-highlight {
  background: linear-gradient(135deg, var(--hvac-light), #fff);
  border: 2px solid var(--hvac-primary);
  border-radius: 12px;
  padding: 30px;
}

/* Mobile thumb zone CTA */
@media (max-width: 768px) {
  .elementor-widget-container > .elementor-button-wrapper {
    width: 100%;
  }

  .elementor-widget-container > .elementor-button-wrapper .elementor-button {
    width: 100%;
    padding: 16px 20px !important;
    font-size: 17px !important;
  }

  body {
    padding-bottom: 65px;
  }
}

/* Speed optimization: lazy load friendly */
img {
  max-width: 100%;
  height: auto;
}

/* 404 page style */
.error-404 h1 {
  font-size: 120px;
  color: var(--hvac-primary);
  margin-bottom: 0;
}
