﻿/*
Theme Name: Stairlift Removal Custom
Description: Custom SEO optimized theme
Author: You
Version: 3.0
*/

/* Reset & Basics */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; line-height: 1.6; color: #1F2937; background: #ffffff; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }

/* Layout */
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header { background: #ffffff; border-bottom: 1px solid #e5e7eb; padding: 15px 0; }
.header-inner { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 22px; font-weight: 800; color: #1F2937; letter-spacing: -0.5px; }
.logo span { color: #FBBF24; }
.phone { font-size: 20px; font-weight: 800; color: #1F2937; }

/* Menu (Desktop) */
.menu-toggle { display: none; }
.nav-links { margin-top: 15px; padding-bottom: 10px; width: 100%; }
.nav-links ul { 
    display: flex !important; 
    justify-content: center; 
    gap: 30px; 
    list-style: none !important; 
    margin: 0 !important; 
    padding: 0 !important; 
}
.nav-links li { margin: 0 !important; }
.nav-links li a { 
    font-weight: 600; 
    color: #4B5563; 
    transition: color 0.2s; 
    text-decoration: none;
    font-size: 16px;
}
.nav-links li a:hover { color: #FBBF24; }
.nav-links .current-menu-item a { color: #FBBF24; }

/* Hero Section */
.hero { 
    background-color: #1F2937; 
    background-size: cover; 
    background-position: center; 
    position: relative; 
    z-index: 1; 
    padding: 120px 0; 
    text-align: center; 
}
.hero::before { 
    content: ""; 
    position: absolute; 
    top: 0; left: 0; right: 0; bottom: 0; 
    background: rgba(17, 24, 39, 0.85); 
    z-index: -1; 
}
.hero h1 { 
    font-size: 42px; 
    margin-bottom: 20px; 
    line-height: 1.2; 
    font-weight: 800; 
    letter-spacing: -1px; 
    color: #ffffff; 
    text-shadow: 0 2px 4px rgba(0,0,0,0.5); 
}
.hero p { 
    font-size: 19px; 
    max-width: 700px; 
    margin: 0 auto 35px auto; 
    color: #E5E7EB; 
    text-shadow: 0 1px 2px rgba(0,0,0,0.5); 
}
.btn { 
    display: inline-block; 
    background: #FBBF24; 
    color: #1F2937; 
    padding: 16px 36px; 
    font-size: 18px; 
    font-weight: 800; 
    border-radius: 6px; 
    transition: background 0.2s; 
    box-shadow: 0 4px 6px rgba(0,0,0,0.3); 
}
.btn:hover { background: #F59E0B; }

/* Content Sections */
section { padding: 70px 0; }
section.alt { background: #F9FAFB; }
.section-title { text-align: center; color: #F59E0B; font-size: 14px; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 10px; font-weight: 800; }
h2 { text-align: center; font-size: 34px; margin-bottom: 45px; color: #1F2937; font-weight: 800; letter-spacing: -0.5px; }

/* Grid (Why Choose Us) */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.card { background: #ffffff; padding: 35px; border: 1px solid #e5e7eb; border-radius: 10px; text-align: center; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); }
.card h3 { margin-bottom: 15px; color: #1F2937; font-size: 20px; font-weight: 700; }

/* How it works */
.step { margin-bottom: 30px; padding-left: 25px; border-left: 4px solid #FBBF24; }
.step h3 { margin-bottom: 8px; color: #1F2937; font-size: 22px; }

/* FAQ Section */
.faq-item {
    background: #ffffff;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}
.faq-item h3 { color: #1F2937; font-size: 20px; margin-bottom: 12px; font-weight: 700; }
.faq-item p { color: #4B5563; font-size: 16px; line-height: 1.7; }

/* Brands Section */
.brands-section {
    background-color: #ffffff;
    padding: 70px 0;
    border-bottom: 1px solid #e5e7eb;
}
.brands-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}
.brand-card {
    background: #F9FAFB;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    padding: 35px 20px;
    text-align: center;
    font-size: 20px;
    font-weight: 800;
    color: #1F2937;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.2s ease;
    cursor: pointer;
    flex: 0 1 calc(33.333% - 20px); 
    display: flex;
    align-items: center;
    justify-content: center;
}
.brand-card::after {
    content: "→";
    margin-left: 8px;
    opacity: 0;
    transition: opacity 0.2s, transform 0.2s;
    transform: translateX(-5px);
    color: #FBBF24;
}
.brand-card:hover {
    border-color: #FBBF24;
    background: #ffffff;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.05);
    transform: translateY(-3px);
}
.brand-card:hover::after {
    opacity: 1;
    transform: translateX(0);
}

/* Inner Page Layouts */
.page-header { background-color: #111827; color: #ffffff; padding: 60px 0; text-align: center; }
.page-header h1 { font-size: 36px; font-weight: 800; margin-bottom: 10px; }
.page-header p { color: #D1D5DB; font-size: 18px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }

/* Footer */
.site-footer { background: #111827; color: #9CA3AF; padding: 50px 0 30px 0; text-align: center; font-size: 15px; }
.footer-areas { margin-bottom: 30px; line-height: 2.2; }
.footer-areas strong { color: #ffffff; font-size: 16px; display: block; margin-bottom: 10px; }
.footer-areas a { color: #FBBF24; margin: 0 8px; font-weight: 500; }
.footer-areas a:hover { text-decoration: underline; color: #F59E0B; }

/* Mobile Optimizations */
@media (max-width: 768px) {
    .hero { padding: 60px 0; }
    .hero h1 { font-size: 32px; margin-bottom: 15px; }
    .hero p { font-size: 16px; margin-bottom: 25px; }
    .btn { width: 100%; padding: 15px 0; font-size: 18px; display: block; box-sizing: border-box; }
    
    .grid-2 { grid-template-columns: 1fr; gap: 30px; }

    /* Mobile Header & Menu */
    .header-inner { 
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        width: 100%;
    }
    .logo { font-size: 18px; justify-self: start; } 
    
    .menu-toggle { 
        display: block; 
        background: none; 
        border: none; 
        cursor: pointer; 
        padding: 5px; 
        justify-self: center;
    }
    .menu-toggle span { 
        display: block; 
        width: 25px; 
        height: 3px; 
        background: #1F2937; 
        margin: 4px 0; 
        border-radius: 2px;
    }
    
    .phone { font-size: 16px; justify-self: end; }
    
    .nav-links { 
        display: none; 
        margin-top: 15px; 
        padding-bottom: 0;
    }
    .nav-links ul { 
        flex-direction: column; 
        align-items: center;
        gap: 15px; 
        background: #F9FAFB;
        padding: 20px;
        border-radius: 8px;
        border: 1px solid #e5e7eb;
    }

    /* Mobile Brands Grid */
    .brands-grid {
        display: grid;
        grid-template-columns: 1fr 1fr; 
        gap: 15px;
    }
    .brand-card {
        font-size: 16px;
        padding: 25px 10px;
    }
    .brand-card:last-child {
        grid-column: 1 / -1; 
        max-width: 50%; 
        margin: 0 auto; 
    }
}
    /* Mobile Menu Fix */
    .nav-links.active {
        display: block !important;
    }