/*
Theme Name: SD Concrete Pros
Theme URI: https://sdconcretepros.com
Author: SD Concrete Pros
Author URI: https://sdconcretepros.com
Description: High-conversion landing page theme for SD Concrete Pros - San Diego's trusted concrete contractor. Optimized for lead generation and local SEO.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sd-concrete-pros
Tags: one-page, custom-logo, translation-ready
*/

/* ===== RESET & VARIABLES ===== */
:root {
    --concrete: #3a3a3a;
    --concrete-light: #5c5c5c;
    --sand: #f5f0e8;
    --sand-dark: #e8e0d0;
    --accent: #c8702a;
    --accent-hover: #a85a1e;
    --accent-glow: rgba(200, 112, 42, 0.25);
    --success: #2d8a4e;
    --white: #ffffff;
    --text: #2a2a2a;
    --text-light: #6b6b6b;
    --danger: #c0392b;
    --radius: 6px;
    --shadow: 0 4px 24px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 48px rgba(0,0,0,0.12);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { transition: all 0.25s ease; }

/* ===== ANNOUNCEMENT BAR ===== */
.announcement-bar {
    background: var(--concrete);
    color: var(--white);
    text-align: center;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
    z-index: 200;
}
.announcement-bar::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 200%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.04), transparent);
    animation: shimmer 3s infinite;
}
@keyframes shimmer { to { transform: translateX(50%); } }
.announcement-bar .highlight { color: var(--accent); font-weight: 700; }
.announcement-bar .pulse-dot {
    display: inline-block;
    width: 8px; height: 8px;
    background: #2ecc71;
    border-radius: 50%;
    margin-right: 8px;
    animation: pulse 2s infinite;
    vertical-align: middle;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

/* ===== HEADER ===== */
.site-header {
    background: rgba(255,255,255,0.97);
    padding: 14px 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 150;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}
.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.site-logo {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 800;
    color: var(--concrete);
    text-decoration: none;
    letter-spacing: -0.5px;
}
.site-logo em { color: var(--accent); font-style: normal; }
.header-right { display: flex; align-items: center; gap: 24px; }
.header-phone {
    font-weight: 700;
    font-size: 18px;
    color: var(--concrete);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}
.header-phone:hover { color: var(--accent); }
.header-phone svg { flex-shrink: 0; }
.header-cta {
    background: var(--accent);
    color: var(--white);
    padding: 12px 28px;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.3px;
}
.header-cta:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px var(--accent-glow);
    color: var(--white);
}
.main-nav { display: flex; gap: 28px; align-items: center; }
.main-nav a {
    text-decoration: none;
    color: var(--text-light);
    font-size: 15px;
    font-weight: 500;
}
.main-nav a:hover { color: var(--accent); }

/* ===== HERO ===== */
.hero-section {
    background: linear-gradient(170deg, var(--concrete) 0%, #2a2a2a 50%, #1a1a1a 100%);
    color: var(--white);
    padding: 80px 24px 90px;
    position: relative;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='m36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}
.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
    color: rgba(255,255,255,0.9);
    backdrop-filter: blur(4px);
}
.hero-badge .stars { color: #f4c542; letter-spacing: 2px; }
.hero-section h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
}
.hero-section h1 em {
    color: var(--accent);
    font-style: normal;
    position: relative;
}
.hero-section h1 em::after {
    content: '';
    position: absolute;
    bottom: 2px; left: 0;
    width: 100%; height: 4px;
    background: var(--accent);
    opacity: 0.3;
    border-radius: 2px;
}
.hero-sub {
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255,255,255,0.75);
    margin-bottom: 32px;
    max-width: 520px;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 36px; }

/* ===== BUTTONS ===== */
.btn-primary {
    background: var(--accent);
    color: var(--white);
    padding: 16px 36px;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: none;
    cursor: pointer;
    letter-spacing: 0.3px;
    font-family: inherit;
}
.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px var(--accent-glow);
    color: var(--white);
}
.btn-secondary {
    background: transparent;
    color: var(--white);
    padding: 16px 36px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
}
.btn-secondary:hover {
    border-color: var(--white);
    background: rgba(255,255,255,0.05);
    color: var(--white);
}

/* ===== TRUST STRIP ===== */
.hero-trust { display: flex; gap: 32px; flex-wrap: wrap; }
.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: rgba(255,255,255,0.7);
}
.trust-item .icon {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}
.trust-item strong { color: rgba(255,255,255,0.9); }

/* ===== HERO FORM ===== */
.hero-form-card {
    background: var(--white);
    border-radius: 12px;
    padding: 36px;
    box-shadow: var(--shadow-lg);
    color: var(--text);
}
.form-header { text-align: center; margin-bottom: 24px; }
.form-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 6px;
    color: var(--concrete);
}
.form-header p { color: var(--text-light); font-size: 14px; }
.form-urgency {
    background: #fef3e8;
    border: 1px solid #fde0c0;
    border-radius: var(--radius);
    padding: 10px 14px;
    text-align: center;
    margin-bottom: 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
}
.form-group { margin-bottom: 14px; }
.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--concrete);
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #ddd;
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 15px;
    color: var(--text);
    transition: border-color 0.2s;
    background: #fafafa;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    outline: none;
    background: var(--white);
    box-shadow: 0 0 0 3px var(--accent-glow);
}
.form-group textarea { resize: vertical; min-height: 70px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-submit {
    width: 100%;
    background: var(--accent);
    color: var(--white);
    padding: 16px;
    border: none;
    border-radius: var(--radius);
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    letter-spacing: 0.3px;
    margin-top: 4px;
}
.form-submit:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 24px var(--accent-glow);
}
.form-footer {
    text-align: center;
    margin-top: 12px;
    font-size: 12px;
    color: var(--text-light);
}
.form-success {
    background: #eafbf0;
    border: 2px solid var(--success);
    border-radius: 10px;
    padding: 32px;
    text-align: center;
    display: none;
}
.form-success h3 { color: var(--success); margin-bottom: 8px; font-size: 22px; }
.form-success p { color: var(--text-light); }

/* ===== PROOF BAR ===== */
.proof-bar {
    background: var(--sand);
    padding: 32px 24px;
    border-bottom: 1px solid var(--sand-dark);
}
.proof-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}
.proof-stat .number {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 900;
    color: var(--accent);
    line-height: 1;
}
.proof-stat .label {
    font-size: 14px;
    color: var(--text-light);
    margin-top: 4px;
    font-weight: 500;
}

/* ===== SECTIONS GENERIC ===== */
.content-section { padding: 80px 24px; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-tag {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 12px;
}
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    color: var(--concrete);
    letter-spacing: -0.5px;
}
.section-sub {
    font-size: 17px;
    color: var(--text-light);
    max-width: 600px;
    line-height: 1.7;
}

/* ===== SERVICES ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 48px;
}
.service-card {
    background: var(--white);
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s;
    position: relative;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 4px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s;
    z-index: 2;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
    box-shadow: var(--shadow);
    border-color: transparent;
    transform: translateY(-3px);
}
.service-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}
.service-card-body { padding: 24px; }
.service-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--concrete);
}
.service-card p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 16px;
}
.service-card .price-range {
    font-size: 13px;
    font-weight: 600;
    color: var(--success);
    margin-bottom: 14px;
}
.service-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.service-link:hover { gap: 10px; color: var(--accent-hover); }

/* ===== GALLERY ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 48px;
}
.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 4/3;
    cursor: pointer;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item .overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    padding: 20px 16px 14px;
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s;
}
.gallery-item:hover .overlay { opacity: 1; }

/* ===== WHY CHOOSE ===== */
.why-section { background: var(--sand); }
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 48px;
}
.why-card {
    background: var(--white);
    border-radius: 10px;
    padding: 28px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.why-card .icon-wrap {
    width: 48px; height: 48px;
    background: #fef3e8;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 22px;
}
.why-card h4 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--concrete);
}
.why-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* ===== GUARANTEE ===== */
.guarantee-section {
    background: var(--concrete);
    color: var(--white);
    text-align: center;
}
.guarantee-inner { max-width: 700px; margin: 0 auto; }
.guarantee-badge {
    width: 80px; height: 80px;
    border: 3px solid var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 36px;
}
.guarantee-inner h2 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 16px;
}
.guarantee-inner p {
    font-size: 17px;
    color: rgba(255,255,255,0.75);
    line-height: 1.7;
    margin-bottom: 28px;
}
.guarantee-points { display: flex; justify-content: center; gap: 36px; flex-wrap: wrap; }
.guarantee-points span {
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}
.check { color: #2ecc71; font-size: 18px; }

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}
.testimonial-card {
    background: var(--white);
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 28px;
    position: relative;
}
.testimonial-card .stars {
    color: #f4c542;
    font-size: 16px;
    letter-spacing: 2px;
    margin-bottom: 14px;
}
.testimonial-card blockquote {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text);
    margin-bottom: 18px;
    font-style: italic;
    border: none;
    padding: 0;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--sand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    color: var(--accent);
}
.author-info .name { font-weight: 700; font-size: 14px; color: var(--concrete); }
.author-info .location { font-size: 12px; color: var(--text-light); }
.review-source {
    position: absolute;
    top: 20px; right: 24px;
    font-size: 11px;
    color: var(--text-light);
    font-weight: 500;
    background: var(--sand);
    padding: 3px 10px;
    border-radius: 50px;
}

/* ===== PROCESS ===== */
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}
.step { text-align: center; position: relative; }
.step-number {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 800;
    margin: 0 auto 16px;
}
.step h4 { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: var(--concrete); }
.step p { font-size: 14px; color: var(--text-light); line-height: 1.5; }

/* ===== SERVICE AREAS ===== */
.areas-section { background: var(--sand); }
.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
    margin-top: 32px;
}
.area-tag {
    background: var(--white);
    padding: 10px 16px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    text-align: center;
    border: 1px solid #eee;
    text-decoration: none;
    display: block;
}
.area-tag:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-1px);
}

/* ===== FINAL CTA ===== */
.final-cta-section {
    background: linear-gradient(135deg, var(--accent) 0%, #a85a1e 100%);
    color: var(--white);
    text-align: center;
    padding: 80px 24px;
    position: relative;
    overflow: hidden;
}
.final-cta-section::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 60%);
}
.final-cta-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 900;
    margin-bottom: 16px;
    position: relative;
}
.final-cta-section p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}
.btn-white {
    background: var(--white);
    color: var(--accent);
    padding: 18px 44px;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
}
.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    color: var(--accent);
}
.urgency-line {
    margin-top: 16px;
    font-size: 14px;
    opacity: 0.85;
    font-weight: 500;
    position: relative;
}

/* ===== FOOTER ===== */
.site-footer {
    background: #1a1a1a;
    color: rgba(255,255,255,0.7);
    padding: 56px 24px 28px;
}
.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}
.site-footer h5 {
    color: var(--white);
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 16px;
}
.site-footer p,
.site-footer a {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
    text-decoration: none;
}
.site-footer a:hover { color: var(--accent); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.footer-bottom {
    max-width: 1200px;
    margin: 36px auto 0;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.08);
    text-align: center;
    font-size: 13px;
    color: rgba(255,255,255,0.4);
}

/* ===== STICKY MOBILE CTA ===== */
.mobile-cta {
    display: none;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: var(--white);
    padding: 12px 16px;
    box-shadow: 0 -4px 24px rgba(0,0,0,0.12);
    z-index: 200;
    gap: 10px;
}
.mobile-cta a {
    flex: 1;
    text-align: center;
    padding: 14px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
}
.mobile-cta .call-btn { background: var(--concrete); color: var(--white); }
.mobile-cta .quote-btn { background: var(--accent); color: var(--white); }

/* ===== SCROLL ANIMATIONS ===== */
.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero-inner { grid-template-columns: 1fr; gap: 40px; }
    .main-nav { display: none; }
    .header-phone { font-size: 15px; }
    .header-cta { display: none; }
    .proof-bar-inner { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .services-grid { grid-template-columns: 1fr; }
    .why-grid,
    .testimonials-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .process-steps { grid-template-columns: repeat(2, 1fr); }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .mobile-cta { display: flex; }
    body { padding-bottom: 70px; }
    .form-row { grid-template-columns: 1fr; }
    .hero-trust { gap: 20px; }
    .guarantee-points { flex-direction: column; align-items: center; gap: 12px; }
}
