/* ============================================================
   South Vegas Handyman — shared stylesheet
   Plain CSS, no preprocessor. Used by every page.
   Colors are PLACEHOLDERS tuned to a clean handyman look — adjust
   --accent etc. to match the real logo once images are downloaded.
   ============================================================ */

:root {
    --ink:        #1c2733;   /* near-black headings / header bg */
    --ink-soft:   #41505e;   /* body text */
    --accent:     #d9531e;   /* primary CTA / brand accent (orange) */
    --accent-dk:  #b8400f;   /* hover */
    --line:       #e3e7eb;   /* borders */
    --bg:         #ffffff;
    --bg-alt:     #f5f7f9;   /* alt section background */
    --maxw:       1140px;
    --radius:     10px;
    --shadow:     0 6px 22px rgba(20,35,50,.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
    color: var(--ink-soft);
    line-height: 1.6;
    background: var(--bg);
}
h1, h2, h3 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); }
p { margin: 0 0 1em; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

.skip-link {
    position: absolute; left: -999px; top: 0; background: var(--accent);
    color: #fff; padding: 10px 16px; z-index: 1000;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-block; font-weight: 600; padding: 12px 22px;
    border-radius: var(--radius); border: 2px solid transparent;
    cursor: pointer; transition: .15s ease; text-align: center;
}
.btn:hover { text-decoration: none; }
.btn--primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn--primary:hover { background: var(--accent-dk); border-color: var(--accent-dk); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn--ghost:hover { background: rgba(255,255,255,.12); }
.section .btn--ghost { color: var(--ink); border-color: var(--line); }
.section .btn--ghost:hover { background: var(--bg-alt); }
.btn--lg { padding: 15px 30px; font-size: 1.05rem; }

/* ---------- Top utility bar ---------- */
.topbar { background: var(--ink); color: #cdd6df; font-size: .9rem; }
.topbar-inner { display: flex; align-items: center; gap: 18px; padding: 8px 20px; flex-wrap: wrap; }
.topbar a { color: #fff; }
.topbar-phone { font-weight: 700; }
.topbar-social { margin-left: auto; display: flex; gap: 14px; }

/* ---------- Header / nav ---------- */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 100; }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; }
.logo img { max-height: 54px; width: auto; }
.logo-text { font-weight: 800; font-size: 1.25rem; color: var(--ink); }
.main-nav ul { list-style: none; display: flex; align-items: center; gap: 22px; margin: 0; padding: 0; }
.main-nav a { color: var(--ink); font-weight: 600; }
.main-nav a:hover { color: var(--accent); text-decoration: none; }
.nav-cta a { color: #fff; }
.nav-cta a:hover { color: #fff; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 26px; height: 3px; background: var(--ink); border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
    background: linear-gradient(rgba(20,35,50,.72), rgba(20,35,50,.72)), var(--ink);
    color: #fff; padding: 90px 0;
}
/* When the real hero photo is added, set it here:
   background-image: linear-gradient(...), url('./img/hero.jpg'); background-size: cover; */
.hero-kicker { text-transform: uppercase; letter-spacing: .12em; font-weight: 600; color: var(--accent); margin-bottom: .4em; }
.hero h1 { color: #fff; }
.hero-sub { font-size: 1.15rem; max-width: 620px; color: #e6ebf0; }
.hero-badges { list-style: none; display: flex; gap: 22px; padding: 0; margin: 18px 0 26px; flex-wrap: wrap; }
.hero-badges li { font-weight: 600; color: #fff; position: relative; padding-left: 26px; }
.hero-badges li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.section--alt .hero-badges li, .section .hero-badges li { color: var(--ink); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section--alt { background: var(--bg-alt); }
.section-head { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.kicker { display: inline-block; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; color: var(--accent); font-size: .85rem; margin-bottom: .5em; }
.section-cta { text-align: center; margin-top: 36px; }

/* ---------- Services grid ---------- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.service-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 24px; box-shadow: var(--shadow); transition: transform .15s ease;
}
.service-card:hover { transform: translateY(-4px); }
.service-card h3 { font-size: 1.15rem; }
.service-card p { margin: 0; font-size: .96rem; }

/* ---------- About ---------- */
.about-inner { max-width: 820px; margin: 0 auto; }
.about-license { padding: 14px 18px; background: #fff; border-left: 4px solid var(--accent); border-radius: 6px; }
.about-sign { font-style: italic; color: var(--ink); font-weight: 600; }

/* ---------- Service areas ---------- */
.areas-list { list-style: none; display: flex; gap: 14px; justify-content: center; padding: 0; flex-wrap: wrap; }
.areas-list li { background: var(--bg-alt); border: 1px solid var(--line); border-radius: 999px; padding: 10px 24px; font-weight: 600; color: var(--ink); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--accent); color: #fff; text-align: center; padding: 64px 0; }
.cta-band h2 { color: #fff; }
.cta-band .btn--primary { background: #fff; color: var(--accent); border-color: #fff; }
.cta-band .btn--primary:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #b6c1cc; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; padding: 56px 20px; }
.site-footer a { color: #fff; }
.footer-brand { font-weight: 800; font-size: 1.2rem; color: #fff; }
.footer-col h3 { color: #fff; font-size: 1rem; margin-top: 18px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin: 4px 0; }
.footer-social { display: flex; gap: 14px; margin-top: 10px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); font-size: .9rem; padding: 16px 0; }
.footer-bottom p { margin: 0; text-align: center; }

/* ============================================================
   Sub-page components (services, areas, reviews, gallery,
   estimate, privacy). Added for the full site build.
   ============================================================ */

/* ---------- Compact page banner ---------- */
.page-hero {
    background: linear-gradient(rgba(20,35,50,.80), rgba(20,35,50,.80)), var(--ink);
    color: #fff; padding: 60px 0; text-align: center;
}
.page-hero h1 { color: #fff; margin-bottom: .2em; }
.page-hero .hero-kicker { margin-bottom: .8em; }
.page-hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }
.page-hero .btn--ghost { color: #fff; border-color: rgba(255,255,255,.7); }

/* ---------- Styled image placeholder ---------- */
.placeholder {
    display: flex; align-items: center; justify-content: center; text-align: center;
    background: repeating-linear-gradient(45deg, #eef1f4, #eef1f4 14px, #e7ebef 14px, #e7ebef 28px);
    color: #8a98a6; font-weight: 600; font-size: .85rem; letter-spacing: .03em;
    border: 1px dashed #c4ccd4; border-radius: var(--radius); padding: 14px; min-height: 170px;
}
.placeholder span { max-width: 80%; }

/* ---------- Services (image cards) ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.svc-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.svc-card .placeholder, .svc-card img { min-height: 190px; height: 190px; object-fit: cover; border: 0; border-radius: 0; width: 100%; }
.svc-card .svc-body { padding: 20px 22px; }
.svc-card h3 { font-size: 1.2rem; margin-bottom: .4em; }
.svc-card p { margin: 0; font-size: .95rem; }

/* ---------- Service areas ---------- */
.areas-two { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.area-map .placeholder { min-height: 320px; }
.areas-list--lg li { font-size: 1.05rem; }

/* ---------- Reviews ---------- */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.review-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 26px; box-shadow: var(--shadow);
}
.review-stars { color: var(--accent); font-size: 1.1rem; letter-spacing: 2px; margin-bottom: 10px; }
.review-card blockquote { margin: 0 0 14px; font-style: italic; color: var(--ink-soft); }
.review-card cite { font-style: normal; font-weight: 700; color: var(--ink); }
.review-platforms { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }
.note {
    background: #fff8f2; border: 1px solid #f1d8c4; border-left: 4px solid var(--accent);
    border-radius: 6px; padding: 14px 18px; color: var(--ink-soft); font-size: .92rem; margin: 0 auto 36px; max-width: 720px;
}

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.gallery-grid .placeholder { min-height: 200px; }

/* ---------- Estimate steps + form ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; margin-top: 12px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.step-num {
    display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px;
    border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800; font-size: 1.1rem; margin-bottom: 14px;
}
.step h3 { font-size: 1.15rem; }
.estimate-form { max-width: 640px; margin: 0 auto; }
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.form-row input, .form-row textarea {
    width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px;
    font-family: inherit; font-size: 1rem; color: var(--ink); background: #fff;
}
.form-row input:focus, .form-row textarea:focus { outline: 2px solid var(--accent); border-color: var(--accent); }
.form-row textarea { min-height: 130px; resize: vertical; }
.estimate-form .btn { width: 100%; }
.contact-bullets { list-style: none; padding: 0; margin: 0 0 26px; display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; }
.contact-bullets li { font-weight: 600; color: var(--ink); position: relative; padding-left: 26px; }
.contact-bullets li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }

/* ---------- Prose (privacy) ---------- */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: 1.4rem; margin-top: 1.4em; }
.prose p, .prose li { color: var(--ink-soft); }
.prose ul { padding-left: 20px; }

/* ---------- Mobile ---------- */
@media (max-width: 860px) {
    .nav-toggle { display: flex; }
    .main-nav { position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); display: none; }
    .main-nav.open { display: block; }
    .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
    .main-nav li { border-top: 1px solid var(--line); }
    .main-nav a { display: block; padding: 14px 20px; }
    .nav-cta { padding: 12px 20px; }
    .nav-cta a { display: block; }
    .topbar-social { margin-left: 0; width: 100%; }
    .areas-two { grid-template-columns: 1fr; gap: 28px; }
}
