/*
Theme Name: Advanced Appliance & AC Repair
Description: Professional appliance and HVAC repair business theme with conversion-focused design. Fully responsive and optimized for local service businesses.
Author: Your Name
Version: 1.0
Tags: business, responsive, local-business, appliance-repair, hvac, conversion-optimized
Text Domain: advanced-appliance
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: #fff;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-shield {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #ef4444 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 18px;
    position: relative;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    flex-shrink: 0;
}

.logo-shield::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    right: 3px;
    bottom: 3px;
    background: rgba(255,255,255,0.1);
    border-radius: 7px;
}

.logo-text h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 2px;
}

.logo-text p {
    font-size: 0.9rem;
    color: #666;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #3b82f6;
}

.header-phone {
    background: #3b82f6;
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.header-phone:hover {
    background: #1e40af;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: #1e3a8a;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.mobile-menu-toggle:hover {
    background-color: #f1f5f9;
}

.mobile-menu-toggle:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-top: 1px solid #e2e8f0;
    z-index: 999;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu ul {
    list-style: none;
    padding: 1rem 0;
}

.mobile-menu a {
    display: block;
    padding: 1rem 2rem;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.3s;
}

.mobile-menu a:hover {
    background: #f8fafc;
    color: #3b82f6;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.95) 0%, rgba(59, 130, 246, 0.85) 100%), 
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect width="100%" height="100%" fill="%23f1f5f9"/><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="%233b82f6" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    color: white;
    padding: 4rem 0;
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-text h2 {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.5;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
}

.hero-feature-icon {
    width: 20px;
    height: 20px;
    background: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 12px;
}

/* Call-to-Action Card */
.cta-card {
    background: rgba(30, 41, 59, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.cta-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
}

.cta-card p {
    margin-bottom: 2rem;
    opacity: 0.9;
    font-size: 1.1rem;
}

.cta-phone {
    background: #3b82f6;
    color: white;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.3rem;
    transition: all 0.3s;
    display: inline-block;
    margin-bottom: 1rem;
    width: 100%;
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.cta-phone:hover {
    background: #1e40af;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.5);
}

.cta-book {
    background: transparent;
    color: white;
    padding: 14px 32px;
    border: 2px solid white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    display: inline-block;
    width: 100%;
}

.cta-book:hover {
    background: white;
    color: #1e3a8a;
}

.cta-address {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.2);
    opacity: 0.8;
    font-size: 0.95rem;
}

/* Breadcrumb */
.breadcrumb {
    background: #f8fafc;
    padding: 1rem 0;
}

.breadcrumb-content {
    display: flex;
    gap: 8px;
    font-size: 0.9rem;
    color: #64748b;
}

.breadcrumb a {
    color: #3b82f6;
    text-decoration: none;
}

/* Main Content */
.main-content {
    padding: 4rem 0;
    background: white;
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}

.content-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 2rem;
    line-height: 1.3;
}

.content-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: #4b5563;
}

.guarantee-box {
    background: #f0f9ff;
    border: 2px solid #3b82f6;
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
}

.guarantee-box h4 {
    color: #1e3a8a;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.features-list {
    list-style: none;
    margin: 2rem 0;
}

.features-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.features-list li::before {
    content: '✓';
    background: #10b981;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    flex-shrink: 0;
    margin-top: 2px;
}

.book-appointment {
    background: #3b82f6;
    color: white;
    padding: 16px 40px;
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 2rem;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.book-appointment:hover {
    background: #1e40af;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

/* Sidebar */
.sidebar {
    position: sticky;
    top: 120px;
    height: fit-content;
}

.sidebar-card {
    background: #1e293b;
    color: white;
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.sidebar-card h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.sidebar-card p {
    margin-bottom: 2rem;
    opacity: 0.9;
    font-size: 1.05rem;
}

/* Services Grid */
.services-section {
    padding: 5rem 0;
    background: #f8fafc;
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    color: white;
    margin: 0 auto 1.5rem;
}

.service-card h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 1rem;
}

.service-card p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.service-link {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
}

.service-link:hover {
    color: #1e40af;
}

/* Footer */
.footer {
    background: #1e293b;
    color: white;
    padding: 4rem 0 2rem;
}

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

.footer-section h4 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #3b82f6;
}

.footer-section p,
.footer-section li {
    color: #cbd5e1;
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #3b82f6;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
    color: #9ca3af;
}

/* Chat Widget */
.chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.chat-button {
    width: 60px;
    height: 60px;
    background: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
    transition: all 0.3s;
}

.chat-button:hover {
    background: #059669;
    transform: scale(1.1);
}

/* Tablet Responsive Design (768px - 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
    .container {
        padding: 0 30px;
    }
    
    .hero-content {
        gap: 2rem;
    }
    
    .hero-text h2 {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .cta-card {
        padding: 2rem;
    }
    
    .content-grid {
        gap: 3rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 2rem;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

/* Mobile Responsive Design (max-width: 768px) */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    /* Header Mobile */
    .header {
        position: relative;
    }
    
    .header-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 1rem;
        position: relative;
    }
    
    .logo {
        flex: 1;
        justify-content: flex-start;
        align-items: center;
    }
    
    .logo-text {
        text-align: left;
    }
    
    .logo-text h1 {
        font-size: 1.5rem;
        line-height: 1.2;
    }
    
    .logo-text p {
        font-size: 0.85rem;
    }
    
    .mobile-menu-toggle {
        display: block;
        order: 2;
        margin-left: auto;
        margin-right: 1rem;
    }
    
    .nav-menu {
        display: none;
    }
    
    .header-phone {
        order: 3;
        min-width: 160px;
        text-align: center;
        padding: 12px 16px;
        font-size: 1rem;
    }
    
    /* Hero Mobile */
    .hero {
        padding: 3rem 0;
        min-height: auto;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-text h2 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-features {
        justify-content: center;
        gap: 1rem;
    }
    
    .hero-feature {
        font-size: 0.9rem;
    }
    
    /* CTA Card Mobile */
    .cta-card {
        padding: 2rem 1.5rem;
        margin-top: 1rem;
    }
    
    .cta-card h3 {
        font-size: 1.5rem;
    }
    
    .cta-phone {
        font-size: 1.2rem;
        padding: 14px 24px;
    }
    
    .cta-book {
        font-size: 1rem;
        padding: 12px 24px;
    }
    
    /* Main Content Mobile */
    .main-content {
        padding: 2.5rem 0;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .content-text h2 {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .content-text p {
        font-size: 1rem;
    }
    
    .guarantee-box {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }
    
    .guarantee-box h4 {
        font-size: 1.1rem;
    }
    
    .features-list li {
        font-size: 0.95rem;
    }
    
    .book-appointment {
        width: 100%;
        padding: 14px 20px;
        font-size: 1.1rem;
    }
    
    /* Sidebar Mobile */
    .sidebar {
        position: static;
        margin-top: 2rem;
    }
    
    .sidebar-card {
        padding: 2rem 1.5rem;
    }
    
    .sidebar-card h3 {
        font-size: 1.4rem;
    }
    
    /* Services Mobile */
    .services-section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
        text-align: center;
    }
    
    .service-icon {
        width: 70px;
        height: 70px;
        font-size: 30px;
    }
    
    .service-card h3 {
        font-size: 1.4rem;
    }
    
    /* Footer Mobile */
    .footer {
        padding: 3rem 0 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-section h4 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .footer-section p,
    .footer-section li {
        font-size: 0.95rem;
    }
    
    .footer-bottom {
        padding-top: 1.5rem;
        font-size: 0.9rem;
    }
    
    /* Chat Widget Mobile */
    .chat-widget {
        bottom: 80px;
        right: 15px;
    }
    
    .chat-button {
        width: 55px;
        height: 55px;
        font-size: 22px;
    }
}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .logo-text h1 {
        font-size: 1.3rem;
        line-height: 1.2;
    }
    
    .logo-text p {
        font-size: 0.8rem;
    }
    
    .mobile-menu-toggle {
        font-size: 1.6rem;
        padding: 6px;
    }
    
    .header-phone {
        min-width: 140px;
        padding: 10px 12px;
        font-size: 0.95rem;
    }
    
    .hero-text h2 {
        font-size: 1.7rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-features {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
    
    .hero-feature {
        font-size: 0.85rem;
    }
    
    .cta-card {
        padding: 1.5rem 1rem;
    }
    
    .cta-card h3 {
        font-size: 1.3rem;
    }
    
    .cta-phone {
        font-size: 1.1rem;
        padding: 12px 20px;
    }
    
    .content-text h2 {
        font-size: 1.6rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .service-card {
        padding: 1.5rem 1rem;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 26px;
    }
    
    .service-card h3 {
        font-size: 1.3rem;
    }
    
    .guarantee-box {
        padding: 1rem;
    }
    
    .features-list li {
        font-size: 0.9rem;
    }
    
    .chat-widget {
        bottom: 70px;
        right: 10px;
    }
    
    .chat-button {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

/* Landscape Phone Orientation */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        padding: 2rem 0;
        min-height: auto;
    }
    
    .hero-content {
        grid-template-columns: 1.5fr 1fr;
        gap: 1.5rem;
        text-align: left;
    }
    
    .hero-text h2 {
        font-size: 1.8rem;
    }
    
    .hero-features {
        justify-content: flex-start;
        flex-wrap: wrap;
    }
    
    .cta-card {
        padding: 1.5rem;
    }
    
    .main-content {
        padding: 2rem 0;
    }
}

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

.cta-phone:focus,
.header-phone:focus,
.book-appointment:focus {
    outline: 3px solid #fbbf24;
    outline-offset: 2px;
}

/* Contact Form Styles */
.contact-form-container {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
}

.contact-form-container h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 1.5rem;
    text-align: center;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-form .form-group {
    margin-bottom: 1rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #374151;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.contact-form button {
    background: #3b82f6;
    color: white;
    padding: 14px 28px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
}

.contact-form button:hover {
    background: #1e40af;
}

.contact-form button:disabled {
    background: #9ca3af;
    cursor: not-allowed;
}

.form-message {
    margin-top: 1rem;
}

.success-message,
.error-message {
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.success-message {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.error-message {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* WordPress Specific Styles */
.wp-block-group {
    margin-bottom: 2rem;
}

.wp-block-heading {
    margin-bottom: 1rem;
}

.wp-block-paragraph {
    margin-bottom: 1rem;
}

.wp-block-image {
    margin-bottom: 1.5rem;
}

.wp-block-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.wp-block-quote {
    border-left: 4px solid #3b82f6;
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
}

.wp-block-button .wp-block-button__link {
    background: #3b82f6;
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
}

.wp-block-button .wp-block-button__link:hover {
    background: #1e40af;
    transform: translateY(-2px);
}

/* Widget Styles */
.widget {
    margin-bottom: 2rem;
}

.widget-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 1rem;
}

.widget ul {
    list-style: none;
}

.widget ul li {
    margin-bottom: 0.5rem;
}

.widget ul li a {
    color: #4b5563;
    text-decoration: none;
    transition: color 0.3s;
}

.widget ul li a:hover {
    color: #3b82f6;
}

/* Admin Bar Compatibility */
.admin-bar .header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    .admin-bar .header {
        top: 46px;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .chat-widget,
    .cta-card {
        display: none;
    }
    
    .hero {
        background: white;
        color: black;
    }
    
    .container {
        max-width: none;
        padding: 0;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .btn-primary,
    .cta-phone,
    .header-phone {
        border: 2px solid #fff;
    }
    
    .service-card {
        border: 2px solid #333;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
        animation: none !important;
    }
    
    .service-card:hover {
        transform: none;
    }
    
    .btn:hover {
        transform: none;
    }
}

/* Dark Mode Support (if user prefers) */
@media (prefers-color-scheme: dark) {
    /* Keep light theme as it's a business site, but respect user preferences for forms */
    .contact-form input,
    .contact-form select,
    .contact-form textarea {
        background: #1f2937;
        color: white;
        border-color: #374151;
    }
}

/* Mobile Form Adjustments */
@media (max-width: 768px) {
    .contact-form .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .contact-form-container {
        padding: 1.5rem;
    }
    
    .contact-form input,
    .contact-form select,
    .contact-form textarea {
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

/* Ensure proper WordPress editor compatibility */
.block-editor-page {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Custom property fallbacks for older browsers */
:root {
    --primary-color: #3b82f6;
    --secondary-color: #1e3a8a;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --text-color: #333;
    --light-bg: #f8fafc;
}

/* CSS Custom Properties Usage */
.btn-primary {
    background: var(--primary-color, #3b82f6);
}

.service-icon {
    background: linear-gradient(135deg, var(--primary-color, #3b82f6), var(--secondary-color, #1e40af));
}

.hero-feature-icon {
    background: var(--success-color, #10b981);
}