

.entry-content-wrap{padding:0 !important;}
.entry.single-entry{box-shadow:none !important;background:transparent !important;}
.site-container.content-container{max-width:100% !important;padding:0 !important;}
* {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }
    
    body {
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
        line-height: 1.6;
        color: #1a1a1a;
    }
    
    /* Wrapper to isolate from theme */
    #flooring-page-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        display: block !important;
    }
    
    #flooring-page-wrapper * {
        box-sizing: border-box !important;
    }
    
    .flooring-container {
        max-width: 1200px !important;
        margin: 0 auto !important;
        padding: 0 20px !important;
        width: 100% !important;
        display: block !important;
    }
    
    /* Top Header Bar */
    .top-header {
        background: #0f4c81;
        color: white;
        padding: 12px 20px;
        text-align: center;
        font-weight: 600;
    }
    
    /* Hero Section */
    .hero {
        background-image: linear-gradient(rgba(15, 76, 129, 0.85), rgba(15, 76, 129, 0.85)), 
                          url('https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?q=80&w=2000&auto=format&fit=crop');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        color: white;
        padding: 80px 20px 60px;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2.5rem;
        margin-bottom: 20px;
        font-weight: 700;
    }
    
    .hero .subtitle {
        font-size: 1.3rem;
        margin-bottom: 15px;
        font-weight: 300;
    }
    
    .hero .tagline {
        font-size: 1.1rem;
        margin-bottom: 30px;
        opacity: 0.95;
    }
    
    .cta-button {
        display: inline-block;
        background: #ff6b35;
        color: white;
        padding: 15px 40px;
        text-decoration: none;
        border-radius: 5px;
        font-size: 1.1rem;
        font-weight: 600;
        transition: background 0.3s;
        margin: 10px;
    }
    
    .cta-button:hover {
        background: #e55a2b;
    }
    
    .cta-button.secondary {
        background: transparent;
        border: 2px solid white;
    }
    
    .cta-button.secondary:hover {
        background: rgba(255,255,255,0.1);
    }
    
    /* Trust Badges */
    .trust-badges {
        background: #f8f9fa;
        padding: 30px 20px;
        text-align: center;
    }
    
    .badges-grid {
        display: flex;
        justify-content: center;
        gap: 40px;
        flex-wrap: wrap;
        margin-top: 20px;
    }
    
    .badge {
        text-align: center;
    }
    
    .badge-icon {
        font-size: 2.5rem;
        margin-bottom: 10px;
    }
    
    .badge-text {
        font-weight: 600;
        color: #1a1a1a;
    }
    
    /* Services Section */
    .services {
        padding: 60px 20px;
    }
    
    .flooring-section-title {
        text-align: center !important;
        font-size: 2.2rem !important;
        margin-bottom: 15px !important;
        color: #1a1a1a !important;
        width: 100% !important;
        max-width: 100% !important;
        word-break: normal !important;
        white-space: normal !important;
        display: block !important;
    }
    
    .flooring-section-subtitle {
        text-align: center !important;
        font-size: 1.1rem !important;
        color: #666 !important;
        margin-bottom: 50px !important;
        width: 100% !important;
        max-width: 100% !important;
        word-break: normal !important;
        white-space: normal !important;
        display: block !important;
    }
    
    .services-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 30px;
        margin-top: 40px;
    }
    
    .service-card {
        background: white;
        padding: 30px;
        border-radius: 8px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        transition: transform 0.3s, box-shadow 0.3s;
    }
    
    .service-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    }
    
    .service-icon {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }
    
    .service-card h3 {
        font-size: 1.4rem;
        margin-bottom: 15px;
        color: #1a1a1a;
    }
    
    .service-card p {
        color: #666;
        line-height: 1.8;
    }
    
    /* Flooring Types Section */
    .flooring-types {
        background: #f8f9fa;
        padding: 60px 20px;
    }
    
    .types-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 25px;
        margin-top: 40px;
    }
    
    .type-card {
        background: white;
        padding: 25px;
        border-radius: 8px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        text-align: center;
    }
    
    .type-card h4 {
        font-size: 1.2rem;
        color: #0f4c81;
        margin-bottom: 10px;
    }
    
    .type-card p {
        color: #666;
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    /* Process Section */
    .process {
        background: white;
        padding: 60px 20px;
    }
    
    .process-steps {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 40px;
        margin-top: 40px;
        max-width: 1000px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .step {
        text-align: center;
    }
    
    .step-number {
        background: #ff6b35;
        color: white;
        width: 60px;
        height: 60px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.8rem;
        font-weight: 700;
        margin: 0 auto 20px;
    }
    
    .step h3 {
        font-size: 1.2rem;
        margin-bottom: 15px;
        color: #1a1a1a;
        font-weight: 600;
    }
    
    .step p {
        color: #666;
        line-height: 1.7;
    }
    
    /* Gallery Section */
    .gallery {
        padding: 60px 20px !important;
        background: #f8f9fa !important;
        width: 100% !important;
        display: block !important;
    }
    
    .gallery .flooring-container {
        max-width: 1200px !important;
        width: 100% !important;
        margin: 0 auto !important;
        padding: 0 20px !important;
        display: block !important;
    }
    
    .flooring-gallery-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr 1fr !important;
        gap: 30px !important;
        margin-top: 40px !important;
        width: 100% !important;
    }
    
    .flooring-gallery-item {
        position: relative !important;
        height: 250px !important;
        width: 100% !important;
        background: #d1d5db !important;
        border-radius: 8px !important;
        overflow: hidden !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
        display: block !important;
    }
    
    .flooring-gallery-item img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        display: block !important;
    }
    
    /* Only show placeholder text if no image inside */
    .flooring-gallery-item:empty::after {
        content: 'Before & After' !important;
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        color: #666 !important;
        font-size: 1.3rem !important;
        font-weight: 600 !important;
        white-space: nowrap !important;
    }
    
    /* Areas Served */
    .areas {
        background: #d1d5db;
        color: #1a1a1a;
        padding: 60px 20px;
    }
    
    .areas .flooring-section-title,
    .areas .flooring-section-subtitle {
        color: #1a1a1a;
    }
    
    .areas-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
        margin-top: 30px;
    }
    
    .area-item {
        padding: 15px;
        background: rgba(255,255,255,0.6);
        border-radius: 5px;
        text-align: center;
        color: #1a1a1a;
    }
    
    /* Testimonials */
    .testimonials {
        padding: 60px 20px;
        background: #f8f9fa;
    }
    
    .testimonials-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
        margin-top: 40px;
    }
    
    .testimonial {
        background: white;
        padding: 30px;
        border-radius: 8px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }
    
    .testimonial-text {
        font-style: italic;
        color: #666;
        margin-bottom: 20px;
        line-height: 1.8;
    }
    
    .testimonial-author {
        font-weight: 600;
        color: #1a1a1a;
    }
    
    .testimonial-location {
        color: #999;
        font-size: 0.9rem;
    }
    
    .stars {
        color: #f39c12;
        margin-bottom: 15px;
    }
    
    /* FAQ Section */
    .faq {
        padding: 60px 20px;
        background: white;
    }
    
    .faq-title {
        text-align: center;
        font-size: 2.2rem;
        margin-bottom: 15px;
        color: #0f4c81;
    }
    
    .faq-subtitle {
        text-align: center;
        font-size: 1.1rem;
        color: #666;
        margin-bottom: 50px;
    }
    
    .faq-item {
        background: #f8f9fa;
        border-radius: 8px;
        margin-bottom: 15px;
        overflow: hidden;
    }
    
    .faq-question {
        width: 100%;
        padding: 20px 25px;
        background: none;
        border: none;
        text-align: left;
        font-size: 1.2rem;
        font-weight: 600;
        color: #0f4c81;
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        transition: background 0.3s;
    }
    
    .faq-question:hover {
        background: rgba(15, 76, 129, 0.05);
    }
    
    .faq-question::after {
        content: '▼';
        font-size: 0.8rem;
        transition: transform 0.3s;
    }
    
    .faq-question.active::after {
        transform: rotate(180deg);
    }
    
    .faq-answer {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .faq-answer-content {
        padding: 0 25px 20px 25px;
        color: #666;
        line-height: 1.8;
        font-size: 1rem;
    }
    
    .faq-answer.active {
        max-height: 500px;
    }
    
    /* Contact Form */
    .contact {
        padding: 60px 20px;
    }
    
    .contact-wrapper {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 60px;
        align-items: start;
        max-width: 1200px;
        margin: 0 auto;
    }
    
    .contact-content h2 {
        font-size: 2.2rem;
        margin-bottom: 20px;
        color: #1a1a1a;
    }
    
    .contact-content p {
        font-size: 1.1rem;
        color: #666;
        line-height: 1.8;
        margin-bottom: 20px;
    }
    
    .form-container {
        background: white;
        padding: 40px;
        border-radius: 8px;
        box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    }
    
    .form-container h3 {
        font-size: 1.5rem;
        margin-bottom: 25px;
        color: #1a1a1a;
        text-align: center;
    }
    
    /* Mobile Responsive */
    @media (max-width: 768px) {
        .hero h1 {
            font-size: 2rem;
        }
        
        .hero .subtitle {
            font-size: 1.1rem;
        }
        
        .flooring-section-title {
            font-size: 1.8rem !important;
        }
        
        .badges-grid {
            gap: 20px;
        }
        
        .contact-wrapper {
            grid-template-columns: 1fr;
            gap: 40px;
        }
        
        .process-steps {
            grid-template-columns: 1fr;
        }
        
        .flooring-gallery-grid {
            grid-template-columns: 1fr !important;
        }
        
        .flooring-gallery-item {
            height: 200px !important;
        }
    }
    
    @media (max-width: 1024px) and (min-width: 769px) {
        .flooring-gallery-grid {
            grid-template-columns: 1fr 1fr !important;
        }
    }

// Smooth scrolling for anchor links
    document.querySelectorAll('a[href^="#"]').forEach(anchor =&gt; {
        anchor.addEventListener('click', function (e) {
            e.preventDefault();
            const target = document.querySelector(this.getAttribute('href'));
            if (target) {
                target.scrollIntoView({
                    behavior: 'smooth',
                    block: 'start'
                });
            }
        });
    });

    // FAQ Accordion functionality
    document.querySelectorAll('.faq-question').forEach(button =&gt; {
        button.addEventListener('click', function() {
            const answer = this.nextElementSibling;
            const isActive = this.classList.contains('active');
            
            // Close all FAQs
            document.querySelectorAll('.faq-question').forEach(q =&gt; q.classList.remove('active'));
            document.querySelectorAll('.faq-answer').forEach(a =&gt; a.classList.remove('active'));
            
            // Open clicked FAQ if it wasn't already open
            if (!isActive) {
                this.classList.add('active');
                answer.classList.add('active');
            }
        });
    });


document.querySelectorAll('.faq-question').forEach(function(btn) {
  btn.addEventListener('click', function() {
    var item = this.closest('.faq-item');
    var wasActive = this.classList.contains('active');
    document.querySelectorAll('.faq-question').forEach(function(q) { q.classList.remove('active'); });
    document.querySelectorAll('.faq-answer').forEach(function(a) { a.classList.remove('active'); });
    if (!wasActive) {
      this.classList.add('active');
      item.querySelector('.faq-answer').classList.add('active');
    }
  });
});
document.querySelectorAll('a[href^="#"]').forEach(function(anchor) {
  anchor.addEventListener('click', function(e) {
    var target = document.querySelector(this.getAttribute('href'));
    if (target) { e.preventDefault(); target.scrollIntoView({behavior: 'smooth'}); }
  });
});
/* Emergency hero fix - override Kadence white backgrounds */
.page .content-area{margin-top:0 !important;margin-bottom:0 !important;}
.page .entry-content-wrap{padding:0 !important;}
.page .entry.single-entry{box-shadow:none !important;background:transparent !important;border:none !important;}
.page .content-bg,.page body.content-style-unboxed .site{background:transparent !important;}
.page .site-container.content-container{max-width:100% !important;width:100% !important;padding:0 !important;}
.hero{background:linear-gradient(135deg,#0f2847 0%,#1a3c6e 50%,#2a5ba8 100%) !important;position:relative;overflow:hidden;padding:100px 0 80px;width:100vw !important;margin-left:calc(-50vw + 50%) !important;}
