/*
Theme Name: Roofing Lead Gen Pro
Theme URI: https://roof-contractors.net/
Description: A high-performance, Zero-DB programmatic SEO theme for nationwide roofing lead generation.
Author: Antigravity
Version: 1.0.0
*/

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary: #0f172a;
    --accent: #f59e0b;
    --text-main: #334155;
    --text-light: #64748b;
    --bg-main: #f8fafc;
    --white: #ffffff;
    --success: #22c55e;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--secondary);
    font-weight: 800;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: 0.3s;
}

a:hover {
    color: var(--primary-dark);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header & Navigation */
header {
    background: var(--white);
    padding: 1rem 0;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

.header-phone {
    background: var(--primary);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 1.125rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--secondary) 0%, #1e293b 100%);
    color: var(--white);
    padding: 6rem 0;
    text-align: center;
}

.hero h1 {
    color: var(--white);
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    color: var(--text-light);
}

.cta-button {
    background: var(--accent);
    color: var(--secondary);
    padding: 1.25rem 2.5rem;
    border-radius: 0.5rem;
    font-weight: 800;
    font-size: 1.25rem;
    display: inline-block;
}

/* Cards & Content */
.card {
    background: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    margin-bottom: 2rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: -3rem;
}

/* Sticky Footer CTA for Mobile */
.mobile-sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--success);
    color: var(--white);
    padding: 1rem;
    text-align: center;
    font-weight: 800;
    font-size: 1.25rem;
    display: none;
    z-index: 999;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.25rem;
    }

    .mobile-sticky-cta {
        display: block;
    }
}