/*
Theme Name:   Hello Elementor Child
Theme URI:    https://dawsonvillelawnpros.com
Description:  Child theme for Hello Elementor — Dawsonville Lawn Pros
Author:       Dawsonville Lawn Pros
Author URI:   https://dawsonvillelawnpros.com
Template:     hello-elementor
Version:      1.0.0
Text Domain:  hello-elementor-child
*/

/* =========================================================
   GLOBAL — Import parent theme styles
   ========================================================= */
@import url("../hello-elementor/style.css");


/* =========================================================
   TYPOGRAPHY
   ========================================================= */

/* Set your brand font here — change 'inherit' to a Google Font
   name if you load one via All in One SEO or functions.php     */
body {
    font-family: inherit;
    font-size: 16px;
    line-height: 1.7;
    color: #333333;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.3;
    font-weight: 700;
}


/* =========================================================
   BRAND COLORS — update these to match your brand
   ========================================================= */

/* Primary green — used for buttons, highlights, accents */
:root {
    --color-primary:       #2E7D32;   /* your main brand green   */
    --color-primary-dark:  #1B5E20;   /* hover state             */
    --color-accent:        #FFC107;   /* accent / CTA yellow     */
    --color-text:          #333333;   /* body text               */
    --color-text-light:    #666666;   /* secondary text          */
    --color-bg-light:      #F5F5F5;   /* light section bg        */
    --color-white:         #FFFFFF;
}


/* =========================================================
   BUTTONS — global button styles
   ========================================================= */
a.elementor-button,
.elementor-button {
    border-radius: 4px;
    font-weight: 600;
    letter-spacing: 0.03em;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

a.elementor-button:hover,
.elementor-button:hover {
    transform: translateY(-1px);
}


/* =========================================================
   HEADER — ElementsKit header adjustments
   ========================================================= */

/* Ensure header sits above page content */
.elementor-kit-1 {
    z-index: 100;
}

/* Phone number in header — make it stand out */
.header-phone a {
    color: var(--color-primary);
    font-weight: 700;
    text-decoration: none;
}

.header-phone a:hover {
    color: var(--color-primary-dark);
}


/* =========================================================
   NAVIGATION
   ========================================================= */

/* Active nav item indicator */
.elementor-nav-menu .elementor-item.elementor-item-active {
    color: var(--color-primary) !important;
    border-bottom: 2px solid var(--color-primary);
}

/* Dropdown menu */
.elementor-nav-menu--dropdown a {
    font-size: 14px !important;
}


/* =========================================================
   HERO SECTION
   ========================================================= */
.hero-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-section h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}


/* =========================================================
   SERVICE CARDS
   ========================================================= */
.service-card {
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.service-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-3px);
}


/* =========================================================
   CALL TO ACTION SECTIONS
   ========================================================= */
.cta-section {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.cta-section h2,
.cta-section p {
    color: var(--color-white);
}


/* =========================================================
   FORMS — MetForm contact/quote form
   ========================================================= */
.mf-form-control {
    border-radius: 4px !important;
    border: 1px solid #CCCCCC !important;
    padding: 12px 16px !important;
    font-size: 16px !important;
}

.mf-form-control:focus {
    border-color: var(--color-primary) !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.15) !important;
}


/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
    background-color: #1A1A1A;
    color: #CCCCCC;
}

.site-footer a {
    color: #CCCCCC;
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-footer a:hover {
    color: var(--color-white);
}

.footer-bottom {
    border-top: 1px solid #333333;
    padding-top: 16px;
    font-size: 13px;
    color: #888888;
}


/* =========================================================
   MOBILE RESPONSIVE
   ========================================================= */
@media (max-width: 767px) {

    .hero-section {
        min-height: 60vh;
        text-align: center;
    }

    /* Stack service cards on mobile */
    .service-grid {
        grid-template-columns: 1fr !important;
    }

    /* Larger tap targets for phone links */
    .header-phone a {
        font-size: 18px;
        padding: 8px 0;
        display: inline-block;
    }

}

@media (max-width: 480px) {

    body {
        font-size: 15px;
    }

    h1 {
        font-size: 1.8rem;
    }

}


/* =========================================================
   UTILITY CLASSES
   — use these in Elementor via CSS Classes field
   ========================================================= */

/* Section padding presets */
.section-sm  { padding: 40px 0; }
.section-md  { padding: 70px 0; }
.section-lg  { padding: 100px 0; }

/* Text helpers */
.text-primary { color: var(--color-primary) !important; }
.text-white   { color: var(--color-white) !important; }
.text-center  { text-align: center; }
.text-bold    { font-weight: 700; }

/* Background helpers */
.bg-primary   { background-color: var(--color-primary) !important; }
.bg-light     { background-color: var(--color-bg-light) !important; }
.bg-dark      { background-color: #1A1A1A !important; }
.bg-white     { background-color: var(--color-white) !important; }

/* Border radius */
.rounded      { border-radius: 8px; }
.rounded-lg   { border-radius: 16px; }

/* Shadow */
.shadow-sm    { box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.shadow-md    { box-shadow: 0 4px 16px rgba(0,0,0,0.12); }
