/*
Theme Name: Hello Elementor Child
Theme URI: https://chellehoniker.com/
Description: Child theme for Hello Elementor with focus on conversion and modern UI/UX.
Author: Chelle Honiker
Author URI: https://chellehoniker.com/
Template: hello-elementor
Version: 1.0.1
*/

/* --- Typography & Readability --- */
:root {
    --brand-primary: #1D6363;
    --brand-secondary: #B5A089;
    --text-main: #2D3748;
    --text-muted: #4A5568;
    --bg-light: #F7FAFC;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'DM Serif Display', serif;
    color: var(--brand-primary);
    font-weight: 700;
    line-height: 1.2;
}

p {
    margin-bottom: 1.5rem;
}

/* --- Conversion-Focused Elements --- */

/* CTA Buttons */
.elementor-button, 
.button-cta {
    transition: all 0.3s ease !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600 !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.elementor-button:hover, 
.button-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 14px rgba(0, 0, 0, 0.15);
}

/* Lead Magnet Sections */
.lead-magnet-box {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    border-top: 4px solid var(--brand-primary);
}

/* Trust Signals (Testimonials) */
.testimonial-card {
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: scale(1.02);
}

.testimonial-author-name {
    color: var(--brand-primary);
    font-weight: 700;
    margin-top: 15px;
}

/* Mobile Responsiveness Tweaks */
@media (max-width: 768px) {
    h2 {
        font-size: 2rem !important;
    }
    .elementor-section {
        padding: 40px 20px !important;
    }
}

/* Page Load Speed: Hide heavy decorative elements on slow connections if possible */
.elementor-motion-effects-element {
    will-change: transform;
}

/* --- Advanced Mobile-First Responsive Overrides --- */

/* Base container fixes for small screens */
@media (max-width: 767px) {
    /* Tighten section padding so content doesnt feel lost */
    .elementor-section {
        padding-left: 15px !important;
        padding-right: 15px !important;
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }

    /* Prevent text overflows on small devices */
    h1, .elementor-heading-title {
        font-size: 28px !important;
        line-height: 1.2 !important;
        word-wrap: break-word;
    }
    
    h2 {
        font-size: 24px !important;
    }

    /* Mastermind Card Mobile Fixes */
    div[style*="transform: translateY(-10px)"] {
        transform: none !important; /* Remove lift on mobile to avoid cutoffs */
        padding: 25px !important;
        margin-top: 20px !important;
    }

    /* Force columns to stack if Elementor settings miss it */
    .elementor-column {
        width: 100% !important;
        margin-bottom: 20px;
    }

    /* Fix image overflows */
    .elementor-image img {
        height: auto !important;
        max-width: 100% !important;
    }

    /* Adjust button sizes for thumbs */
    .elementor-button, .button-cta {
        width: 100% !important;
        padding: 15px 20px !important;
        font-size: 16px !important;
    }

    /* Ensure specific conversion boxes (Mastermind\/Application) stack correctly */
    section#apply div[style*="display: flex"] {
        flex-direction: column !important;
    }
}

/* Tablet refinements */
@media (min-width: 768px) and (max-width: 1024px) {
    .elementor-section {
        padding: 60px 30px !important;
    }
}

/* Hide desktop-only decoration on mobile */
@media (max-width: 767px) {
    .hide-on-mobile {
        display: none !important;
    }
}

/* --- Specific Homepage Mobile Fixes --- */
@media (max-width: 1024px) {
    /* Force 2 per row on tablet for Work With Me cards */
    .elementor-element-697fe560bc2b4 > .elementor-container > .elementor-column {
        width: 50% !important;
    }
}

@media (max-width: 767px) {
    /* Force 1 per row on mobile for Work With Me cards */
    .elementor-element-697fe560bc2b4 > .elementor-container > .elementor-column {
        width: 100% !important;
        margin-bottom: 30px !important;
    }
    
    /* Fix Mastermind card inner spacing when stacked */
    .elementor-element-697fe560bc2b4 .elementor-widget-wrap {
        padding: 10px !important;
    }
}
