/* =====================================================================
   Toady's Total Wash — static landing page styles
   Navy + gold service theme. Self-contained, no build step.
   Colors and fonts mirror the live site.
   ===================================================================== */

:root {
    --bg: #0a1733;            /* deep navy (page background) */
    --bg-elevated: #112347;   /* lifted navy panel */
    --navy-deep: #060f24;     /* near-black navy */
    --accent: #e3b23c;        /* gold */
    --text: #f4f7ff;          /* near-white */
    --text-mute: #aab4cf;     /* muted blue-grey */
    --hairline: rgba(255,255,255,0.10);
    --radius: 14px;
    --gutter: 5vw;
    --maxw: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }

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

.container {
    max-width: var(--maxw);
    margin: 0 auto;
    padding-left: var(--gutter);
    padding-right: var(--gutter);
}

h1, h2, h3 { font-family: 'Anton', 'Barlow Condensed', Impact, sans-serif; font-weight: 400; line-height: 1.05; letter-spacing: 0.01em; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-block;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.95rem 1.9rem;
    border-radius: 10px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: transform 0.15s, background 0.15s, border-color 0.15s;
    text-align: center;
}
.btn-primary { background: var(--accent); color: var(--navy-deep); }
.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.06); }
.btn-outline { background: rgba(255,255,255,0.04); color: var(--text); border-color: var(--hairline); }
.btn-outline:hover { transform: translateY(-2px); border-color: var(--accent); }
.btn-large { font-size: 1.15rem; padding: 1.05rem 2.4rem; }

/* ---------- Navigation ---------- */
.site-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(6, 15, 36, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--hairline);
}
.nav-inner {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0.8rem var(--gutter);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.nav-brand { display: flex; align-items: center; gap: 0.7rem; }
.nav-brand img { height: 40px; width: auto; border-radius: 6px; }
.nav-brand-name {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 1.35rem;
    letter-spacing: 0.02em;
    color: var(--text);
}
.nav-links { display: flex; align-items: center; gap: 1.6rem; }
.nav-links a {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: 0.03em;
    color: var(--text-mute);
    transition: color 0.15s;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.nav-phone { color: var(--accent); }
.nav-links a.nav-phone:hover { color: var(--text); }
.nav-links .btn { font-size: 0.95rem; padding: 0.7rem 1.3rem; }
/* The nav CTA is a .btn-primary but also an <a> inside .nav-links, so the
   generic nav-link color above would wash it out. Force the dark navy text
   (and keep it dark on hover) for a strong, readable gold button. */
.nav-links a.btn-primary,
.nav-links a.btn-primary:hover { color: var(--navy-deep); }
.nav-toggle { display: none; background: none; border: 1px solid var(--hairline); border-radius: 8px; padding: 0.5rem 0.65rem; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); margin: 4px 0; }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 82vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--bg);
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
/* Left-to-right navy gradient so the headline (left) stays readable */
.hero-bg::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(100deg,
        rgba(8,18,41,0.97) 0%,
        rgba(8,18,41,0.86) 32%,
        rgba(8,18,41,0.45) 52%,
        rgba(8,18,41,0.15) 70%,
        rgba(8,18,41,0.05) 100%);
}
.hero-mobile-img { display: none; }
.hero-content { position: relative; z-index: 2; max-width: 620px; padding: 3.5rem var(--gutter); }
.eyebrow {
    display: inline-block;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    border: 1px solid rgba(227,178,60,0.4);
    border-radius: 6px;
    padding: 0.55rem 1rem;
    margin-bottom: 1.5rem;
}
.hero h1 { font-size: clamp(2.8rem, 6vw, 5rem); margin-bottom: 1.25rem; text-shadow: 0 2px 20px rgba(0,0,0,0.4); }
.hero-sub {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 600;
    font-size: 1.3rem;
    letter-spacing: 0.01em;
    color: var(--text);
    max-width: 34rem;
    margin-bottom: 1rem;
}
.hero-lead { font-size: 1.2rem; color: var(--text-mute); max-width: 30rem; margin-bottom: 2rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.75rem; }
.hero-ctas .phone-link { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero-ctas .phone-link svg { width: 18px; height: 18px; fill: var(--accent); }

/* Trust badges */
.trust-badges { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.trust-badge {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 600;
    font-size: 0.92rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text);
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--hairline);
    border-radius: 30px;
    padding: 0.5rem 1.1rem;
}
.trust-badge::before { content: '✓ '; color: var(--accent); }

/* No-Pressure Estimates seal */
.hero-seal {
    position: absolute;
    z-index: 3;
    right: 4%;
    bottom: 12%;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 40%, #16284e, #0a1733);
    border: 2px solid var(--accent);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5), inset 0 0 0 6px rgba(227,178,60,0.12);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transform: rotate(-8deg);
    font-family: 'Anton', sans-serif;
    line-height: 1;
}
.hero-seal .seal-top { font-size: 1.5rem; color: var(--accent); }
.hero-seal .seal-mid { font-size: 1.15rem; margin: 2px 0; }
.hero-seal .seal-bot { font-size: 1rem; color: var(--accent); }

/* ---------- Section shells ---------- */
section { padding: 5rem 0; }
.section-title { font-size: clamp(2rem, 4vw, 3rem); text-align: center; text-transform: uppercase; }
.section-title::after {
    content: '';
    display: block;
    width: 64px; height: 4px;
    background: var(--accent);
    margin: 0.9rem auto 0;
    border-radius: 2px;
}
.section-sub { text-align: center; color: var(--text-mute); font-size: 1.05rem; margin-top: 0.85rem; }

/* ---------- Services list ---------- */
.services-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem 2rem;
    max-width: 880px;
    margin: 2.5rem auto 0;
}
.service-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.1rem 1.25rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--hairline);
    border-radius: var(--radius);
    transition: border-color 0.15s, transform 0.15s;
}
.service-item:hover { border-color: var(--accent); transform: translateY(-2px); }
.service-item-icon { flex: 0 0 auto; color: var(--accent); display: flex; }
.service-item-icon svg { width: 34px; height: 34px; }
.service-name { font-family: 'Barlow Condensed', sans-serif; font-size: 1.25rem; font-weight: 700; color: var(--text); margin-bottom: 0.15rem; text-transform: uppercase; letter-spacing: 0.02em; }
.service-desc { font-size: 0.9rem; color: var(--text-mute); }

/* ---------- Before / After showcase ---------- */
.ba-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem 1.75rem; margin-top: 2.75rem; }
.ba-pair { background: rgba(255,255,255,0.03); border: 1px solid var(--hairline); border-radius: var(--radius); overflow: hidden; }
.ba-label { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 1.15rem; letter-spacing: 0.02em; color: var(--text); padding: 1rem 1.25rem 0.85rem; text-align: center; text-transform: uppercase; }
.ba-images { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; }
.ba-shot { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy-deep); }
.ba-shot img { width: 100%; height: 100%; object-fit: cover; }
.ba-tag {
    position: absolute; bottom: 0.5rem; left: 0.5rem;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
    padding: 0.22rem 0.65rem; border-radius: 4px; color: #fff;
}
.ba-tag-before { background: rgba(180, 60, 50, 0.92); }
.ba-tag-after { background: rgba(40, 140, 70, 0.94); }

/* ---------- Why choose us ---------- */
.why-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; margin-top: 2.5rem; }
.why-photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.why-photo img { width: 100%; height: 100%; object-fit: cover; }
.why-list { display: flex; flex-direction: column; gap: 1.4rem; }
.why-item { display: flex; gap: 1rem; align-items: flex-start; }
.why-check { flex: 0 0 auto; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: var(--navy-deep); display: flex; align-items: center; justify-content: center; font-weight: 800; }
.why-item h3 { font-family: 'Barlow Condensed', sans-serif; font-size: 1.2rem; text-transform: uppercase; letter-spacing: 0.02em; margin-bottom: 0.15rem; }
.why-item p { color: var(--text-mute); font-size: 0.95rem; }

/* ---------- Service area ---------- */
.area-band { background: linear-gradient(135deg, var(--bg-elevated), var(--navy-deep)); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.area-band .section-title { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
.area-list { text-align: center; color: var(--text-mute); font-size: 1.1rem; max-width: 800px; margin: 1.5rem auto 0; line-height: 2; }
.area-list .pin { color: var(--accent); }

/* ---------- Contact / estimate form ---------- */
.contact-wrap { max-width: 640px; margin: 2.5rem auto 0; background: rgba(255,255,255,0.03); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 2.5rem; }
.form-row { margin-bottom: 1.25rem; }
.form-row label { display: block; font-family: 'Barlow Condensed', sans-serif; font-weight: 600; font-size: 1rem; letter-spacing: 0.03em; text-transform: uppercase; margin-bottom: 0.4rem; color: var(--text); }
.form-row input, .form-row select, .form-row textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    background: var(--navy-deep);
    border: 1px solid var(--hairline);
    border-radius: 8px;
    color: var(--text);
    font-family: inherit;
    font-size: 1rem;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { outline: none; border-color: var(--accent); }
.form-row textarea { resize: vertical; min-height: 110px; }
.contact-actions { text-align: center; margin-top: 1.5rem; }
.contact-actions .btn { width: 100%; }
.contact-or { text-align: center; color: var(--text-mute); margin-top: 1.5rem; font-size: 0.95rem; }
.contact-or a { color: var(--accent); font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--hairline); padding: 2.5rem 0; text-align: center; color: var(--text-mute); font-size: 0.9rem; }
.site-footer a { color: var(--accent); }

/* =====================================================================
   MOBILE  (the frog image stacks on top, text below, seal in panel corner)
   ===================================================================== */
@media (max-width: 860px) {
    .nav-links { display: none; }
    .nav-toggle { display: block; }
    .nav-links.open {
        display: flex;
        position: absolute;
        top: 100%; left: 0; right: 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        background: var(--navy-deep);
        padding: 1.25rem var(--gutter);
        border-bottom: 1px solid var(--hairline);
    }
    .why-wrap { grid-template-columns: 1fr; gap: 2rem; }
    .ba-grid { grid-template-columns: 1fr; gap: 2.25rem; }
}

@media (max-width: 720px) {
    /* Hero becomes: frog image panel on top, text below on solid navy */
    .hero { display: block; min-height: 0; background: var(--bg); }
    .hero-bg { display: none; }
    .hero-seal { display: none; }   /* shown inside the mobile image panel instead */

    .hero-mobile-img {
        display: block;
        position: relative;
        width: 100%;
        background: var(--navy-deep);
        line-height: 0;
    }
    .hero-mobile-img img { width: 100%; height: auto; }
    .hero-mobile-img::after {
        content: '';
        position: absolute; left: 0; right: 0; bottom: 0;
        height: 80px;
        background: linear-gradient(180deg, transparent, var(--bg));
    }
    /* Seal in the top-right of the frog panel */
    .hero-mobile-img .hero-seal {
        display: flex;
        position: absolute;
        top: 14px; right: 14px;
        bottom: auto;
        width: 88px; height: 88px;
    }
    .hero-mobile-img .hero-seal .seal-top { font-size: 0.95rem; }
    .hero-mobile-img .hero-seal .seal-mid { font-size: 0.72rem; margin: 1px 0; }
    .hero-mobile-img .hero-seal .seal-bot { font-size: 0.62rem; }

    .hero-content { max-width: none; padding: 1rem var(--gutter) 2.5rem; }
    .hero h1 { font-size: clamp(2.4rem, 11vw, 3.6rem); }

    .services-list { grid-template-columns: 1fr; }
    /* Before/after pairs STAY side-by-side on mobile so comparison reads */
    .ba-images { grid-template-columns: 1fr 1fr; }

    section { padding: 3.5rem 0; }
    .contact-wrap { padding: 1.5rem; }
}

@media (max-width: 400px) {
    .hero-mobile-img .hero-seal { width: 78px; height: 78px; }
    .hero-mobile-img .hero-seal .seal-top { font-size: 0.85rem; }
    .hero-mobile-img .hero-seal .seal-mid { font-size: 0.64rem; }
    .hero-mobile-img .hero-seal .seal-bot { font-size: 0.56rem; }
}
