/*
Theme Name:   Edge Child - Extreme Pest & Termite
Theme URI:    https://www.omgitsaspider.com
Description:  Custom child theme for EXTREME PEST & TERMITE LLC with enhanced NAP display, trust badges, schema markup, and conversion optimization
Author:       EXTREME PEST & TERMITE LLC
Author URI:   https://www.omgitsaspider.com
Template:     edge
Version:      1.0.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  edge-child
*/

/* ==========================================================================
   1. Header Styling - NAP & Trust Badges
   ========================================================================== */

/* Top Bar with NAP Display */
.top-bar-nap {
    background: #1a1a1a;
    color: #ffffff;
    padding: 12px 0;
    font-size: 14px;
    border-bottom: 3px solid #ff6b00;
}

.top-bar-nap .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.nap-info {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.nap-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nap-item i {
    color: #ff6b00;
    font-size: 16px;
}

.nap-item a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nap-item a:hover {
    color: #ff6b00;
}

/* Click-to-Call Button */
.call-button {
    background: #ff6b00;
    color: #ffffff;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
}

.call-button:hover {
    background: #e55f00;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 0, 0.4);
}

.call-button i {
    font-size: 20px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Trust Badges */
.trust-badges {
    background: #f8f8f8;
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
}

.trust-badges .container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #333;
    font-weight: 600;
}

.trust-badge i {
    color: #ff6b00;
    font-size: 24px;
}

.badge-icon {
    width: 40px;
    height: 40px;
    background: #ff6b00;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

/* Sticky Header */
.sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

.sticky-header.show {
    transform: translateY(0);
}

.sticky-header .sticky-nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.sticky-header .logo-small {
    height: 50px;
}

.sticky-header .sticky-phone {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* ==========================================================================
   2. Footer Styling - Enhanced NAP & Service Areas
   ========================================================================== */

.site-footer {
    background: #1a1a1a;
    color: #ffffff;
    padding-top: 60px;
}

.footer-main {
    padding-bottom: 40px;
    border-bottom: 1px solid #333;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-widget h3 {
    color: #ff6b00;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-nap {
    background: #222;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #ff6b00;
}

.footer-nap-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
}

.footer-nap-item:last-child {
    margin-bottom: 0;
}

.footer-nap-item i {
    color: #ff6b00;
    font-size: 18px;
    margin-top: 3px;
    min-width: 20px;
}

.footer-nap-item a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-nap-item a:hover {
    color: #ff6b00;
}

.footer-nap-item strong {
    color: #ff6b00;
    font-weight: 700;
}

/* Service Areas Grid */
.service-areas-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.service-area-item {
    color: #ccc;
    font-size: 14px;
    padding: 5px 0;
}

.service-area-item a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.service-area-item a:hover {
    color: #ff6b00;
}

/* Quick Links */
.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: #ff6b00;
}

.footer-links a:before {
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #ff6b00;
}

/* Business Hours */
.business-hours-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.business-hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #333;
}

.business-hours-list li:last-child {
    border-bottom: none;
}

.hours-day {
    color: #ccc;
}

.hours-time {
    color: #ffffff;
    font-weight: 600;
}

.emergency-hours {
    background: #ff6b00;
    color: #ffffff;
    padding: 12px;
    border-radius: 5px;
    margin-top: 15px;
    text-align: center;
    font-weight: 700;
}

/* Footer Bottom */
.footer-bottom {
    padding: 20px 0;
    text-align: center;
    color: #999;
    font-size: 14px;
}

.footer-bottom a {
    color: #ff6b00;
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   3. Responsive Design
   ========================================================================== */

@media (max-width: 768px) {
    .top-bar-nap .container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .nap-info {
        flex-direction: column;
        gap: 10px;
    }

    .trust-badges .container {
        gap: 20px;
    }

    .trust-badge {
        font-size: 11px;
    }

    .service-areas-grid {
        grid-template-columns: 1fr;
    }

    .footer-widgets {
        grid-template-columns: 1fr;
    }

    .call-button {
        font-size: 16px;
        padding: 10px 25px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .trust-badges .container {
        gap: 25px;
    }

    .footer-widgets {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==========================================================================
   4. Additional Enhancements
   ========================================================================== */

/* Emergency Service Highlight */
.emergency-service-banner {
    background: linear-gradient(135deg, #ff6b00 0%, #e55f00 100%);
    color: #ffffff;
    padding: 8px 0;
    text-align: center;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.emergency-service-banner i {
    margin-right: 8px;
    animation: flash 1.5s infinite;
}

@keyframes flash {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Schema-Enhanced Content Styling */
.schema-enhanced {
    position: relative;
}

/* Accessibility Improvements */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Print Styles */
@media print {
    .top-bar-nap,
    .trust-badges,
    .sticky-header {
        display: none;
    }

    .footer-nap {
        border: 1px solid #000;
        background: #fff;
        color: #000;
    }
}
