/*
Theme Name: Edge Child v6.1 - NUCLEAR FIX
Description: NUCLEAR override to eliminate ALL red gradients
Version: 6.1.0
Priority: MAXIMUM - Loads last, overrides everything
*/

/* ============================================
   NUCLEAR OVERRIDE - ELIMINATE ALL RED GRADIENTS
   ============================================ */

/* Override EVERY possible red gradient selector */
.final-cta-section,
.hero-section,
#final-cta-section,
#hero-section,
section.final-cta,
section.hero,
.homepage-hero,
.hero-background,
.cta-section,
.contact-section {
    background: linear-gradient(135deg, #1B4965 0%, #0F2942 100%) !important;
    background-color: #1B4965 !important;
}

/* Force blue on ANY element with red gradient inline styles */
[style*="linear-gradient"][style*="#d32f2f"],
[style*="linear-gradient"][style*="#dc2626"],
[style*="linear-gradient"][style*="#b71c1c"],
[style*="linear-gradient"][style*="red"],
.red-gradient,
.hero-phone-enhanced,
.sticky-mobile-cta,
.trust-badge-urgency,
.service-card-cta,
.guarantee-seal,
.emergency-badge {
    background: #4CAF50 !important; /* Green for buttons */
    background-image: none !important;
}

/* Override heading colors on red sections */
.final-cta-section h1,
.final-cta-section h2,
.final-cta-section h3,
.hero-section h1,
.hero-section h2,
.hero-section h3,
.final-cta-section .headline,
.hero-section .headline {
    color: #FFFFFF !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
}

/* Orange text on red = unreadable, force white */
.final-cta-section *,
.hero-section * {
    color: #FFFFFF !important;
}

/* Buttons in CTA section */
.final-cta-section .btn,
.final-cta-section button,
.hero-section .btn,
.hero-section button,
.btn-call-now,
.btn-primary {
    background: #4CAF50 !important; /* Green */
    color: #FFFFFF !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3) !important;
}

.btn-secondary,
.btn-outline {
    background: transparent !important;
    color: #FFFFFF !important;
    border: 2px solid rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(10px) !important;
}

/* Remove ALL yellow glows */
* {
    box-shadow: none !important;
}

.btn:hover,
button:hover {
    box-shadow: 0 6px 16px rgba(76, 175, 80, 0.4) !important;
}

/* Trust badges - clean shadows only */
.trust-badge,
.guarantee-banner,
.hero-guarantee-banner {
    background: rgba(76, 175, 80, 0.15) !important;
    border: 2px solid #4CAF50 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
}

/* Form inputs */
.final-cta-section input,
.final-cta-section select,
.final-cta-section textarea,
.hero-section input {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    color: #FFFFFF !important;
    backdrop-filter: blur(10px) !important;
}

.final-cta-section input::placeholder,
.final-cta-section textarea::placeholder {
    color: rgba(255, 255, 255, 0.7) !important;
}

.final-cta-section input:focus,
.final-cta-section select:focus,
.final-cta-section textarea:focus {
    border-color: #4CAF50 !important;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.2) !important;
}

/* Emergency banner - amber instead of red */
.emergency-banner,
.urgent-badge,
[class*="emergency"],
[class*="urgent"] {
    background: #F59E0B !important; /* Amber */
    color: #FFFFFF !important;
}

/* Remove any remaining red backgrounds */
[class*="red"],
[style*="background: red"],
[style*="background:#d32f2f"],
[style*="background:#dc2626"],
[style*="background-color: red"] {
    background: #1B4965 !important;
    background-color: #1B4965 !important;
    background-image: none !important;
}

/* Specific final CTA section override */
.final-cta-section {
    background: linear-gradient(135deg, #1B4965 0%, #0F2942 100%) !important;
    color: #FFFFFF !important;
    padding: 80px 0 !important;
}

.final-cta-headline {
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    margin-bottom: 16px !important;
    color: #FFFFFF !important;
}

.final-cta-subheadline {
    font-size: 1.25rem !important;
    margin-bottom: 48px !important;
    opacity: 0.9 !important;
    color: #FFFFFF !important;
}

/* Submit button specific */
.contact-form .btn-submit,
.final-cta-section .btn-submit,
[type="submit"] {
    background: #4CAF50 !important;
    color: #FFFFFF !important;
    border: 2px solid #FFFFFF !important;
    padding: 16px 48px !important;
    font-size: 1.125rem !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    width: 100% !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3) !important;
}

.contact-form .btn-submit:hover,
.final-cta-section .btn-submit:hover,
[type="submit"]:hover {
    background: #45a049 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(76, 175, 80, 0.4) !important;
}

/* Feature badges in final CTA */
.final-cta-section .feature-badge,
.final-cta-section .trust-icon {
    color: #FFFFFF !important;
}
