/* ============================================
   SOLANO COUNTY HANDYMAN - STYLES
   Professional Trust & Action Design
   ============================================ */

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

:root {
    --primary: #0066CC;
    --primary-foreground: #FFFFFF;
    --background: #FFFFFF;
    --foreground: #1A1A1A;
    --border: #E5E5E5;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --blue-50: #EFF6FF;
    --blue-700: #0052A3;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    cursor: pointer;
    border: none;
    font-family: inherit;
}

/* ============================================
   HEADER
   ============================================ */

header {
    background-color: var(--background);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-title {
    font-size: 1.5rem;
    font-weight: bold;
}

.phone-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-weight: 600;
    transition: background-color 0.2s;
}

.phone-btn:hover {
    background-color: var(--blue-700);
}

/* ============================================
   CONTAINER
   ============================================ */

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    background: linear-gradient(to right, var(--blue-50), var(--background));
    padding: 3rem 0;
}

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

.hero h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.125rem;
    color: var(--gray-700);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    padding: 1rem 2rem;
    border-radius: 0.375rem;
    font-weight: bold;
    font-size: 1.125rem;
    transition: all 0.3s;
    transform: scale(1);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.btn-primary:hover {
    background-color: var(--blue-700);
    box-shadow: 0 10px 15px rgba(0,0,0,0.2);
    transform: scale(1.05);
}

.btn-secondary {
    background-color: var(--gray-200);
    color: var(--foreground);
    padding: 1rem 2rem;
    border-radius: 0.375rem;
    font-weight: bold;
    font-size: 1.125rem;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-secondary:hover {
    background-color: var(--gray-300);
}

.hero img {
    border-radius: 0.5rem;
    box-shadow: 0 20px 25px rgba(0,0,0,0.15);
    width: 100%;
    height: auto;
}

/* ============================================
   SERVICES SECTION
   ============================================ */

.services {
    background-color: var(--gray-50);
    padding: 3rem 0;
}

.section-title {
    font-size: 2.25rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 3rem;
}

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

.service-card {
    background-color: white;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.service-card:hover {
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
}

.service-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.service-card-content {
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.service-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
}

.service-icon {
    color: var(--primary);
    flex-shrink: 0;
}

/* ============================================
   WHY CHOOSE US
   ============================================ */

.why-choose {
    background-color: white;
    padding: 3rem 0;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    text-align: center;
}

.why-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.why-item svg {
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.why-item p {
    font-size: 1.125rem;
    font-weight: 600;
}

/* ============================================
   HOW IT WORKS
   ============================================ */

.how-it-works {
    background-color: var(--gray-50);
    padding: 3rem 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: center;
}

.step-number {
    background-color: var(--primary);
    color: white;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.step-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.step-desc {
    color: var(--gray-600);
}

/* ============================================
   TRUST SECTION
   ============================================ */

.trust-section {
    background-color: var(--blue-50);
    padding: 3rem 0;
    border-top: 4px solid var(--primary);
}

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

.trust-card {
    background-color: white;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border-left: 4px solid var(--primary);
}

.trust-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.trust-card p {
    color: var(--gray-700);
}

.testimonials {
    background-color: white;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.testimonials h3 {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.testimonial {
    border: 1px solid var(--border);
    padding: 1.5rem;
    border-radius: 0.5rem;
}

.stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.star {
    color: #FBBF24;
}

.testimonial-text {
    color: var(--gray-700);
    margin-bottom: 1rem;
    font-style: italic;
}

.testimonial-author {
    font-weight: 600;
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
    background: linear-gradient(to right, var(--primary), var(--blue-700));
    color: white;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 10;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta {
    background-color: white;
    color: var(--primary);
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-weight: bold;
    font-size: 1.125rem;
    transition: all 0.3s;
    transform: scale(1);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.btn-cta:hover {
    background-color: var(--gray-100);
    transform: scale(1.1);
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

.cta-subtext {
    margin-top: 2rem;
    font-size: 1.125rem;
}

/* ============================================
   CONTACT FORM
   ============================================ */

.contact-section {
    background-color: white;
    padding: 3rem 0;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 0.375rem;
    font-family: inherit;
    font-size: 1rem;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.form-textarea {
    min-height: 128px;
    resize: vertical;
}

.form-submit {
    width: 100%;
    background-color: var(--primary);
    color: white;
    padding: 1rem;
    border-radius: 0.375rem;
    font-weight: bold;
    font-size: 1.125rem;
    transition: all 0.3s;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.form-submit:hover {
    background-color: var(--blue-700);
    box-shadow: 0 10px 15px rgba(0,0,0,0.2);
}

.info-box {
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: var(--blue-50);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    display: flex;
    gap: 0.75rem;
}

.info-box-icon {
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.info-box-content p {
    margin-bottom: 0.5rem;
}

.info-box-content strong {
    font-weight: 600;
}

.info-box-content a {
    color: var(--primary);
    font-weight: bold;
}

.info-box-content a:hover {
    text-decoration: underline;
}

/* ============================================
   SERVICE AREA
   ============================================ */

.service-area {
    background-color: var(--gray-50);
    padding: 3rem 0;
    text-align: center;
}

.service-area p {
    font-size: 1.125rem;
    color: var(--gray-700);
    margin-bottom: 1rem;
}

.service-area a {
    color: var(--primary);
    font-weight: bold;
}

/* ============================================
   FOOTER
   ============================================ */

footer {
    background-color: var(--foreground);
    color: white;
    padding: 3rem 0;
}

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

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.footer-section p {
    color: #D1D5DB;
}

.footer-section a {
    color: white;
    transition: color 0.2s;
}

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

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

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .phone-btn span {
        display: none;
    }
    
    .services-grid, .why-grid, .steps-grid, .trust-cards, .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .btn-cta {
        width: 100%;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}
