/*
Theme Name: ScrapBikes
Theme URI: https://www.scrapbikes.co.uk/
Author: ScrapBikes
Description: A clean, responsive WordPress theme for ScrapBikes with configurable contact details and built-in support for the ScrapBikes valuation form shortcode.
Version: 1.0.1
Text Domain: scrapbikes
*/

:root {
    --sb-blue: #0b9bd3;
    --sb-blue-dark: #087ca9;
    --sb-charcoal: #232629;
    --sb-grey: #6d7479;
    --sb-light: #f4f6f7;
    --sb-border: #dfe4e7;
    --sb-white: #ffffff;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--sb-white);
    color: var(--sb-charcoal);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.55;
}

a {
    color: var(--sb-blue-dark);
}

img {
    max-width: 100%;
    height: auto;
}

.sb-shell {
    width: min(1140px, calc(100% - 36px));
    margin: 0 auto;
}

.site-header {
    background: #fff;
    border-bottom: 1px solid var(--sb-border);
    position: sticky;
    top: 0;
    z-index: 50;
}

.site-header-inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-logo img {
    display: block;
    max-height: 52px;
    width: auto;
}

.site-title {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 800;
}

.site-title a {
    color: var(--sb-charcoal);
    text-decoration: none;
}

.site-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-nav a {
    color: var(--sb-charcoal);
    text-decoration: none;
    font-weight: 700;
}

.site-nav a:hover {
    color: var(--sb-blue);
}

.sb-header-contact {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.sb-mini-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 14px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 800;
    border: 1px solid var(--sb-border);
    color: var(--sb-charcoal);
    background: #fff;
}

.sb-mini-btn-primary {
    background: var(--sb-blue);
    border-color: var(--sb-blue);
    color: #fff;
}

.sb-hero {
    background:
        radial-gradient(circle at 85% 25%, rgba(11,155,211,.16), transparent 28%),
        linear-gradient(135deg, #202427 0%, #30363a 100%);
    color: #fff;
    padding: 72px 0;
    overflow: hidden;
}

.sb-hero-grid {
    display: grid;
    grid-template-columns: 1.35fr .65fr;
    gap: 54px;
    align-items: center;
}

.sb-kicker,
.sb-eyebrow {
    color: var(--sb-blue);
    font-weight: 800;
    letter-spacing: .08em;
    font-size: .8rem;
}

.sb-hero h1 {
    color: #fff;
    font-size: clamp(2.35rem, 6vw, 4.65rem);
    line-height: .98;
    max-width: 760px;
    margin: 12px 0 22px;
    letter-spacing: -.035em;
}

.sb-lead {
    max-width: 700px;
    font-size: 1.18rem;
    color: #d9dde0;
    margin: 0 0 28px;
}

.sb-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.sb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 20px;
    border-radius: 7px;
    text-decoration: none;
    font-weight: 800;
    transition: transform .15s ease, opacity .15s ease;
}

.sb-btn:hover {
    transform: translateY(-1px);
}

.sb-btn-primary {
    background: var(--sb-blue);
    color: #fff;
}

.sb-btn-secondary {
    border: 1px solid rgba(255,255,255,.45);
    color: #fff;
    background: transparent;
}

.sb-trust-row {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
    margin-top: 26px;
    color: #d6dadd;
    font-size: .95rem;
}

.sb-hero-card {
    position: relative;
    min-height: 360px;
    border: 1px solid rgba(255,255,255,.11);
    background: rgba(255,255,255,.055);
    border-radius: 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: rotate(2deg);
    padding: 28px;
}

.sb-cash {
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 900;
    line-height: .9;
    color: var(--sb-blue);
    letter-spacing: -.06em;
    margin-top: 4px;
}

.sb-card-caption {
    font-size: 1.1rem;
    color: #ddd;
    margin-top: 8px;
}

.sb-strip {
    background: var(--sb-blue);
    color: #fff;
}

.sb-strip-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.sb-strip-grid > div {
    padding: 18px 22px;
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
    border-right: 1px solid rgba(255,255,255,.22);
}

.sb-strip-grid > div:last-child {
    border-right: 0;
}

.sb-strip strong {
    width: 29px;
    height: 29px;
    flex: 0 0 29px;
    border-radius: 50%;
    background: #fff;
    color: var(--sb-blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.sb-section {
    padding: 72px 0;
}

.sb-section-alt {
    background: var(--sb-light);
}

.sb-section-heading {
    max-width: 760px;
    margin: 0 auto 36px;
    text-align: center;
}

.sb-section-heading h2,
.sb-bottom-cta h2 {
    color: var(--sb-charcoal);
    font-size: clamp(1.9rem, 4vw, 3rem);
    line-height: 1.08;
    margin: 8px 0 14px;
    letter-spacing: -.025em;
}

.sb-section-heading p {
    color: var(--sb-grey);
    font-size: 1.06rem;
    margin: 0;
}

.sb-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.sb-feature-grid article {
    border: 1px solid var(--sb-border);
    border-radius: 12px;
    padding: 28px;
    background: #fff;
}

.sb-icon {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(11,155,211,.12);
    color: var(--sb-blue);
    font-weight: 900;
    font-size: 1.25rem;
    margin-bottom: 18px;
}

.sb-feature-grid h3 {
    margin: 0 0 8px;
}

.sb-feature-grid p {
    margin: 0;
    color: var(--sb-grey);
}

.sb-form-frame {
    max-width: 920px;
    margin: 0 auto;
}

.sb-form-frame .scrapbikes-valuation-wrap {
    margin: 0 auto;
}

.sb-form-frame .scrapbikes-valuation-form {
    border-radius: 12px;
    border-color: var(--sb-border);
    box-shadow: 0 12px 38px rgba(28,33,36,.08);
}

.sb-form-frame .scrapbikes-submit {
    background: var(--sb-blue);
}

.sb-missing {
    padding: 24px;
    background: white;
    border: 1px solid var(--sb-border);
    border-radius: 10px;
}

.sb-area-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.sb-area-grid a {
    display: block;
    padding: 16px 18px;
    border: 1px solid var(--sb-border);
    border-radius: 8px;
    text-decoration: none;
    color: var(--sb-charcoal);
    font-weight: 700;
    background: #fff;
    transition: border-color .15s ease, transform .15s ease;
}

.sb-area-grid a::after {
    content: " →";
    color: var(--sb-blue);
}

.sb-area-grid a:hover {
    border-color: var(--sb-blue);
    transform: translateY(-1px);
}

.sb-bottom-cta {
    background: var(--sb-charcoal);
    color: white;
    padding: 48px 0;
}

.sb-bottom-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 30px;
    align-items: center;
}

.sb-bottom-cta h2 {
    color: #fff;
    margin-bottom: 0;
}

.sb-contact-line {
    margin: 12px 0 0;
    color: #d9dde0;
}

.sb-contact-line a {
    color: #fff;
    font-weight: 700;
}

.sb-btn-light {
    background: #fff;
    color: var(--sb-charcoal);
}

.sb-btn-outline-light {
    border: 1px solid rgba(255,255,255,.5);
    color: #fff;
}

.site-main {
    min-height: 50vh;
}

.content-wrap {
    width: min(900px, calc(100% - 36px));
    margin: 48px auto;
}

.entry-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 20px;
}

.site-footer {
    background: #17191b;
    color: #cfd3d6;
    padding: 34px 0;
}

.site-footer a {
    color: #fff;
}

.site-footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

@media (max-width: 920px) {
    .site-header-inner {
        align-items: flex-start;
        flex-direction: column;
        padding: 14px 0;
    }

    .sb-hero-grid {
        grid-template-columns: 1fr;
    }

    .sb-feature-grid {
        grid-template-columns: 1fr;
    }

    .sb-area-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sb-bottom-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .sb-shell {
        width: min(100% - 24px, 1140px);
    }

    .sb-hero {
        padding: 54px 0;
    }

    .sb-strip-grid {
        grid-template-columns: 1fr;
        padding: 8px 0;
    }

    .sb-strip-grid > div {
        justify-content: flex-start;
        border-right: 0;
        padding: 10px 4px;
    }

    .sb-section {
        padding: 52px 0;
    }

    .sb-area-grid {
        grid-template-columns: 1fr;
    }

    .sb-actions,
    .sb-header-contact {
        flex-direction: column;
        width: 100%;
    }

    .sb-btn,
    .sb-mini-btn {
        width: 100%;
    }

    .sb-trust-row {
        gap: 10px 18px;
    }

    .site-nav ul {
        flex-direction: column;
        gap: 8px;
    }
}


/* Editable WordPress homepage content */
.sb-home-editor-content {
    padding-top: 0;
}
.sb-home-editor-content-inner {
    max-width: 920px;
    margin: 0 auto;
}
.sb-home-editor-content-inner > :first-child {
    margin-top: 0;
}
.sb-home-editor-content-inner > :last-child {
    margin-bottom: 0;
}
