/*
 Theme Name:   Kelley Electric Child
 Theme URI:    https://kelleyelectricpa.com
 Description:  Child theme for Kelley Electric - built on Hello Elementor
 Author:       2 Heads Marketing
 Author URI:   https://2headsmarketing.com
 Template:     hello-elementor
 Version:      1.0.0
 Text Domain:  kelley-electric-child
*/

/* =============================================
   GOOGLE FONTS
   ============================================= */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Open+Sans:wght@400;500;600&display=swap');

/* =============================================
   CSS VARIABLES
   ============================================= */
:root {
  --ke-green:        #009933;
  --ke-green-dark:   #007A28;
  --ke-black:        #1A1A1A;
  --ke-grey:         #444444;
  --ke-light-grey:   #F5F5F5;
  --ke-white:        #FFFFFF;

  --ke-font-heading: 'Montserrat', sans-serif;
  --ke-font-body:    'Open Sans', sans-serif;
}

/* =============================================
   BASE TYPOGRAPHY
   ============================================= */
body {
  font-family: var(--ke-font-body);
  font-size: 16px;
  color: var(--ke-grey);
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--ke-font-heading);
  color: var(--ke-black);
  line-height: 1.2;
}

h1 { font-size: 40px; font-weight: 700; }
h2 { font-size: 32px; font-weight: 700; }
h3 { font-size: 24px; font-weight: 600; }
h4 { font-size: 18px; font-weight: 600; }
h5 { font-size: 16px; font-weight: 600; }
h6 { font-size: 14px; font-weight: 600; }

p {
  font-family: var(--ke-font-body);
  color: var(--ke-grey);
  line-height: 1.7;
  margin-bottom: 1rem;
}

a {
  color: var(--ke-green);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--ke-green-dark);
}

/* =============================================
   BUTTONS
   ============================================= */
.elementor-button,
.wp-block-button__link,
button,
input[type="submit"] {
  font-family: var(--ke-font-heading);
  font-size: 14px;
  font-weight: 600;
  border-radius: 4px;
  padding: 12px 24px;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}

/* Primary CTA */
.elementor-button.ke-btn-primary,
.ke-btn-primary {
  background-color: var(--ke-green);
  color: var(--ke-white);
  border: 2px solid var(--ke-green);
}

.elementor-button.ke-btn-primary:hover,
.ke-btn-primary:hover {
  background-color: var(--ke-green-dark);
  border-color: var(--ke-green-dark);
  color: var(--ke-white);
}

/* Secondary */
.elementor-button.ke-btn-secondary,
.ke-btn-secondary {
  background-color: var(--ke-black);
  color: var(--ke-white);
  border: 2px solid var(--ke-black);
}

.elementor-button.ke-btn-secondary:hover,
.ke-btn-secondary:hover {
  background-color: #333333;
  border-color: #333333;
  color: var(--ke-white);
}

/* Outline */
.elementor-button.ke-btn-outline,
.ke-btn-outline {
  background-color: transparent;
  color: var(--ke-green);
  border: 2px solid var(--ke-green);
}

.elementor-button.ke-btn-outline:hover,
.ke-btn-outline:hover {
  background-color: var(--ke-green);
  color: var(--ke-white);
}

/* =============================================
   ELEMENTOR GLOBAL OVERRIDES
   ============================================= */

/* Section backgrounds */
.ke-section-light {
  background-color: var(--ke-light-grey);
}

.ke-section-dark {
  background-color: var(--ke-black);
}

.ke-section-green {
  background-color: var(--ke-green);
}

/* Headings on dark backgrounds */
.ke-section-dark h1,
.ke-section-dark h2,
.ke-section-dark h3,
.ke-section-dark h4,
.ke-section-dark p {
  color: var(--ke-white);
}

.ke-section-green h1,
.ke-section-green h2,
.ke-section-green h3,
.ke-section-green h4,
.ke-section-green p {
  color: var(--ke-white);
}

/* =============================================
   NAVIGATION
   ============================================= */
.site-header {
  font-family: var(--ke-font-heading);
}

.site-navigation a {
  font-family: var(--ke-font-heading);
  font-size: 14px;
  font-weight: 500;
  color: var(--ke-black);
}

.site-navigation a:hover {
  color: var(--ke-green);
}

/* =============================================
   SERVICE CARDS
   ============================================= */
.ke-service-card {
  background: var(--ke-white);
  border: 1px solid #E5E5E5;
  border-radius: 6px;
  padding: 1.5rem;
  transition: box-shadow 0.2s ease;
}

.ke-service-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.ke-service-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--ke-black);
  margin-bottom: 0.5rem;
}

.ke-service-card p {
  font-size: 14px;
  color: var(--ke-grey);
  margin-bottom: 1rem;
}

.ke-service-card a {
  font-family: var(--ke-font-heading);
  font-size: 13px;
  font-weight: 600;
  color: var(--ke-green);
}

.ke-service-card a:hover {
  color: var(--ke-green-dark);
}

/* =============================================
   WHY CHOOSE US CARDS
   ============================================= */
.ke-why-card {
  text-align: center;
  padding: 2rem 1.5rem;
}

.ke-why-card .ke-why-icon {
  font-size: 40px;
  color: var(--ke-green);
  margin-bottom: 1rem;
  display: block;
}

.ke-why-card h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--ke-black);
  margin-bottom: 0.5rem;
}

.ke-why-card p {
  font-size: 14px;
  color: var(--ke-grey);
}

/* =============================================
   PROCESS STEPS
   ============================================= */
.ke-process-step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.ke-process-number {
  background: var(--ke-green);
  color: var(--ke-white);
  font-family: var(--ke-font-heading);
  font-size: 18px;
  font-weight: 700;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ke-process-step h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.ke-process-step p {
  font-size: 14px;
  margin-bottom: 0;
}

/* =============================================
   FAQs
   ============================================= */
.ke-faq-item {
  border-bottom: 1px solid #E5E5E5;
  padding: 1rem 0;
}

.ke-faq-item h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--ke-black);
  margin-bottom: 0.5rem;
}

.ke-faq-item p {
  font-size: 14px;
  color: var(--ke-grey);
  margin-bottom: 0;
}

/* =============================================
   HERO
   ============================================= */
.ke-hero {
  background-color: var(--ke-black);
  padding: 80px 0;
}

.ke-hero h1 {
  color: var(--ke-white);
  font-size: 44px;
  font-weight: 700;
  margin-bottom: 1rem;
}

.ke-hero p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 18px;
  margin-bottom: 2rem;
}

.ke-hero-accent {
  color: var(--ke-green);
}

/* =============================================
   CTA BANNER
   ============================================= */
.ke-cta-banner {
  background-color: var(--ke-green);
  padding: 60px 0;
  text-align: center;
}

.ke-cta-banner h2 {
  color: var(--ke-white);
  margin-bottom: 0.75rem;
}

.ke-cta-banner p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5rem;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 768px) {
  h1 { font-size: 30px; }
  h2 { font-size: 24px; }
  h3 { font-size: 20px; }

  .ke-hero h1 { font-size: 30px; }
  .ke-hero p  { font-size: 16px; }
}

@media (max-width: 480px) {
  h1 { font-size: 26px; }
  h2 { font-size: 22px; }
}
