/*
Theme Name: Roofer Schaumburg
Theme URI: https://rooferschaumburg.com
Author: Roofing Pros
Description: Custom WordPress theme for Roofing Pros Schaumburg IL landing page
Version: 1.0
*/

/* --- RESET & VARIABLES --- */
:root {
    --primary-navy: #0F172A;
    --secondary-slate: #334155;
    --accent-gold: #C5A059;
    --accent-gold-hover: #B08D4B;
    --text-dark: #1E293B;
    --text-light: #F8FAFC;
    --white: #FFFFFF;
    --bg-light: #F1F5F9;

    --shadow-card: 0 10px 30px -5px rgba(0, 0, 0, 0.1);
    --shadow-float: 0 20px 40px -5px rgba(0, 0, 0, 0.2);

    --container-width: 1200px;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--primary-navy);
    line-height: 1.2;
}

a { text-decoration: none; transition: 0.3s ease; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* --- UTILITIES --- */
.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

.text-center { text-align: center; }
.text-gold { color: var(--accent-gold); }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }

.btn-gold {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-gold) 0%, #a68542 100%);
    color: var(--white);
    padding: 1rem 2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.4);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(197, 160, 89, 0.6);
}

/* --- HEADER --- */
header {
    background: var(--white);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 0.75rem 0;
}

.nav-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo img {
    height: 40px;
    width: auto;
}

.cta-phone {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.cta-phone .label { font-size: 0.8rem; text-transform: uppercase; color: var(--secondary-slate); letter-spacing: 1px; }
.cta-phone .number { font-size: 1.25rem; font-weight: 700; color: var(--primary-navy); }

/* --- HERO SECTION --- */
.hero {
    position: relative;
    padding-top: 120px;
    padding-bottom: 80px;
    background-color: var(--primary-navy);
    background-image: linear-gradient(rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.7)), url('https://images.unsplash.com/photo-1600596542815-e32c8cc13196?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    min-height: 85vh;
    display: flex;
    align-items: center;
}

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

.hero-content {
    color: var(--white);
}

.hero-logo {
    max-width: 280px;
    margin-bottom: 1.5rem;
}

.hero-tag {
    display: inline-block;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-stars {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 1rem;
}

.hero-stars .stars {
    color: #FBBF24;
    font-size: 1.4rem;
    letter-spacing: 2px;
}

.hero-stars .rating-text {
    font-size: 0.9rem;
    color: #E2E8F0;
    font-weight: 600;
}

.hero-content h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 1.2rem;
    color: #E2E8F0;
    margin-bottom: 2rem;
    font-weight: 300;
}

/* --- LEAD FORM --- */
.lead-form-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow-float);
    border-top: 5px solid var(--accent-gold);
}

.lead-form-card h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.lead-form-card .sub-text {
    text-align: center;
    color: var(--secondary-slate);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

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

.form-control {
    width: 100%;
    padding: 1rem;
    border: 1px solid #CBD5E1;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: 0.3s;
}

.form-control:focus {
    border-color: var(--accent-gold);
    outline: none;
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.2);
}

.form-btn {
    width: 100%;
    text-align: center;
}

.privacy-note {
    font-size: 0.75rem;
    color: #94A3B8;
    text-align: center;
    margin-top: 1rem;
}

/* --- TRUST BAR --- */
.trust-bar {
    background: #F8FAFC;
    padding: 2rem 0;
    border-bottom: 1px solid #E2E8F0;
}

.trust-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--secondary-slate);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.checkmark { color: var(--accent-gold); font-size: 1.2rem; }

/* --- VALUE PROPS --- */
.section-padding { padding: 6rem 0; }

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid #E2E8F0;
    transition: 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card);
    border-color: var(--accent-gold);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: var(--primary-navy);
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
}

.feature-card h3 { font-size: 1.4rem; margin-bottom: 1rem; }
.feature-card p { color: var(--secondary-slate); font-size: 0.95rem; }

/* --- PROCESS SECTION --- */
.bg-dark {
    background-color: var(--primary-navy);
    color: var(--white);
}

.bg-dark h2 { color: var(--white); }
.bg-dark p { color: #CBD5E1; }

.process-steps {
    display: flex;
    justify-content: space-between;
    margin-top: 4rem;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 50px;
    right: 50px;
    height: 2px;
    background: rgba(255,255,255,0.2);
    z-index: 0;
}

.step {
    position: relative;
    z-index: 1;
    text-align: center;
    width: 30%;
}

.step-num {
    width: 50px;
    height: 50px;
    background: var(--accent-gold);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin: 0 auto 1.5rem auto;
    border: 4px solid var(--primary-navy);
}

.step h3 { margin-bottom: 1rem; color: var(--white); }

/* --- PORTFOLIO GRID --- */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.portfolio-item {
    position: relative;
    height: 300px;
    overflow: hidden;
    border-radius: 4px;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.portfolio-item:hover img { transform: scale(1.05); }

.caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.1rem;
}

/* --- SURFER SEO CONTENT SECTION --- */
.seo-content {
    padding: 4rem 0;
    border-top: 1px solid #E2E8F0;
}

.seo-content h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    margin-top: 2.5rem;
}

.seo-content h3 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    margin-top: 2rem;
}

.seo-content p {
    color: var(--secondary-slate);
    font-size: 1rem;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.seo-content ul,
.seo-content ol {
    list-style: disc;
    padding-left: 2rem;
    margin-bottom: 1.5rem;
}

.seo-content ol {
    list-style: decimal;
}

.seo-content li {
    color: var(--secondary-slate);
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.seo-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.seo-content table th,
.seo-content table td {
    padding: 0.75rem 1rem;
    border: 1px solid #E2E8F0;
    text-align: left;
}

.seo-content table th {
    background: var(--primary-navy);
    color: var(--white);
    font-weight: 700;
}

.seo-content table td {
    color: var(--secondary-slate);
}

.seo-content table tr:nth-child(even) td {
    background: #F8FAFC;
}

.seo-content img {
    border-radius: 8px;
    margin: 2rem 0;
    width: 100%;
    max-width: 800px;
}

.seo-content strong {
    color: var(--text-dark);
}

/* --- FOOTER --- */
footer {
    background: #0B1120;
    color: #94A3B8;
    padding: 3rem 0;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 2rem;
}

.footer-links a { color: #94A3B8; margin-left: 2rem; }
.footer-links a:hover { color: var(--accent-gold); }

/* --- RESPONSIVE --- */
@media (max-width: 968px) {
    .hero-grid { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
    .hero-content h1 { font-size: 2.2rem; }
    .hero-logo { margin-left: auto; margin-right: auto; }
    .hero-stars { justify-content: center; }
    .features-grid, .portfolio-grid { grid-template-columns: 1fr; }
    .process-steps { flex-direction: column; gap: 2rem; }
    .process-steps::before { display: none; }
    .step { width: 100%; }
    .footer-flex { flex-direction: column; gap: 1rem; text-align: center; }
    .footer-links a { margin: 0 10px; }
    .logo img { height: 32px; }
}
