/* Bike Shop styles */
:root {
    --bg: #f4f7fb;
    --surface: #ffffff;
    --surface-alt: #f8fbff;
    --text: #0f172a;
    --muted: #64748b;
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --accent: #14b8a6;
    --border: rgba(15, 23, 42, 0.08);
    --shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
    background: linear-gradient(180deg, #f8fbff 0%, #f3f7ff 100%);
    color: var(--text);
    line-height: 1.6;
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(20, 184, 166, 0.12), transparent 32%), radial-gradient(circle at bottom left, rgba(37, 99, 235, 0.15), transparent 36%);
    pointer-events: none;
    z-index: -1;
}

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

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

header.navbar,
.hero,
.section,
.shop-content,
.repair-services,
.contact-section,
.footer-inner,
.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
}

header.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem clamp(1rem, 3vw, 2rem);
    background: rgba(255, 255, 255, 0.84);
    backdrop-filter: blur(16px);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid var(--border);
}

.nav-brand a {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.brand-logo,
.footer-logo {
    width: 52px;
    height: 52px;
    object-fit: contain;
    border-radius: 16px;
    padding: 0.35rem;
    background: linear-gradient(135deg, #ffffff 0%, #e0f2fe 100%);
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.16);
}

.brand-name {
    display: block;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.brand-tagline {
    display: block;
    font-size: 0.8rem;
    color: var(--muted);
}

.nav-links {
    display: flex;
    gap: 1.25rem;
}

.nav-links a {
    color: var(--muted);
    font-weight: 700;
    position: relative;
    padding: 0.25rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: width 0.25s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
    color: var(--text);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.search-form {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--surface-alt);
    padding: 0.3rem;
    border-radius: 999px;
    border: 1px solid var(--border);
}

.search-form input {
    border: none;
    background: transparent;
    padding: 0.55rem 0.8rem;
    min-width: 180px;
    outline: none;
}

.search-form button {
    border: none;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    padding: 0.6rem 0.8rem;
    border-radius: 999px;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.2);
}

.cart-link {
    padding: 0.7rem 1rem;
    border-radius: 999px;
    background: var(--text);
    color: #fff;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

.cart-count {
    display: inline-grid;
    place-items: center;
    min-width: 1.5rem;
    padding: 0 0.45rem;
    height: 1.5rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    font-size: 0.9rem;
}

.hero,
.repair-hero,
.contact-hero,
.shop-hero {
    padding: clamp(2.5rem, 5vw, 4.5rem) clamp(1rem, 3vw, 2rem) 3rem;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    gap: clamp(1.5rem, 3vw, 3rem);
    align-items: center;
    min-height: clamp(430px, 70vh, 620px);
    margin: clamp(1rem, 3vw, 2rem) auto 2rem;
    padding: clamp(2.2rem, 4vw, 3.5rem);
    border-radius: 2rem;
    background: linear-gradient(120deg, rgba(255,255,255,0.97) 0%, rgba(240,249,255,0.94) 100%);
    border: 1px solid rgba(255,255,255,0.7);
    box-shadow: 0 24px 55px rgba(15, 23, 42, 0.08);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: auto -8% -20% auto;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.16) 0%, rgba(37, 99, 235, 0) 72%);
    pointer-events: none;
}

.hero-copy,
.repair-hero-inner,
.contact-hero-inner,
.shop-hero-copy {
    max-width: 760px;
}

.hero-copy .eyebrow {
    display: inline-block;
    margin-bottom: 0.85rem;
    color: var(--primary);
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-size: 0.78rem;
}

.hero-copy h1,
.repair-hero-inner h1,
.contact-hero-inner h1,
.shop-hero-copy h1 {
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.05;
    margin: 0 0 1rem;
    letter-spacing: -0.03em;
}

.hero-copy p,
.repair-hero-inner p,
.contact-hero-inner p,
.shop-hero-copy p,
.section-copy p,
.category-card p,
.featured-item p,
.product-card p,
.repair-card p,
.trust-grid p,
.contact-form p {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.75;
    margin: 0;
}

.hero-actions,
.repair-booking {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.6rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.95rem 1.35rem;
    border-radius: 999px;
    font-weight: 800;
    border: 1px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(37, 99, 235, 0.16);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #3b82f6);
    color: #fff;
}

.btn-secondary {
    background: #fff;
    color: var(--text);
    border-color: var(--border);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.hero-visual {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hero-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 1.4rem 1.5rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.75);
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-card--accent {
    background: linear-gradient(135deg, #2563eb 0%, #14b8a6 100%);
    color: #fff;
}

.hero-card--accent p {
    color: rgba(255, 255, 255, 0.86);
}

.hero-card h3 {
    margin: 0 0 0.45rem;
    font-size: 1.1rem;
}

.section {
    padding: 0 clamp(1rem, 3vw, 2rem) 4rem;
}

.section-copy {
    max-width: 760px;
    margin-bottom: 1.6rem;
}

.section-copy h2,
.repair-intro h2,
.shop-intro h2,
.contact-form h2 {
    font-size: clamp(1.5rem, 2.2vw, 2rem);
    margin: 0 0 0.6rem;
    letter-spacing: -0.02em;
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.section-head.centered {
    justify-content: center;
    text-align: center;
}

.section-head.centered p {
    margin: 0.3rem 0 0;
    color: var(--muted);
}

.category-grid,
.featured-grid,
.repair-grid,
.product-grid,
.trust-grid,
.usp-grid {
    display: grid;
    gap: 1.2rem;
}

.product-row {
    display: grid;
    gap: 1.2rem;
}

.product-row.featured-row {
    grid-template-columns: repeat(3, minmax(220px, 1fr));
    justify-content: center;
}

.category-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.featured-grid,
.trust-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.repair-grid,
.product-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.category-card,
.featured-item,
.repair-card,
.product-card,
.contact-form,
.usp-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 1.4rem;
    padding: 1.35rem;
    box-shadow: var(--shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.category-card:hover,
.featured-item:hover,
.repair-card:hover,
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 40px rgba(15, 23, 42, 0.12);
    border-color: rgba(37, 99, 235, 0.2);
}

.category-card h3,
.featured-item h4,
.repair-card h3,
.product-card h3,
.usp-item h3 {
    margin: 0.1rem 0 0.45rem;
    font-size: 1.1rem;
}

.product-card.featured-card {
    padding: 1.35rem;
}

.product-card.featured-card .product-info {
    padding: 0;
}

.usp-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.usp-icon {
    font-size: 1.35rem;
    margin-bottom: 0.6rem;
}

.product-card {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    height: 100%;
}

.product-card p {
    flex: 1;
}

.price-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem;
    margin-top: auto;
}

.price-row del {
    color: var(--muted);
}

.product-card .product-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: auto;
}

.product-card .product-actions > * {
    flex: 1 1 180px;
}

.product-card .product-actions .btn {
    width: 100%;
}

.product-card span {
    display: inline-block;
    margin-top: 0.75rem;
    font-weight: 800;
    color: var(--primary);
}

.section.featured,
.section.trust {
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.03) 0%, rgba(20, 184, 166, 0.03) 100%);
    border-radius: 1.8rem;
    padding: 2.5rem clamp(1rem, 3vw, 2rem);
    margin: 0 clamp(1rem, 3vw, 2rem) 3rem;
}

.trust-grid > div {
    padding: 1rem 0;
}

.trust-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 1.4rem;
    padding: 1.35rem;
    box-shadow: var(--shadow);
}

.trust-icon {
    font-size: 1.35rem;
    margin-bottom: 0.6rem;
}

.shop-hero,
.repair-hero,
.contact-hero {
    background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.16), transparent 42%), linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #fff;
}

.shop-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 1rem clamp(1rem, 3vw, 2rem);
    margin: 0 auto 1.5rem;
    max-width: 1200px;
}

.shop-categories a {
    padding: 0.75rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.9);
    color: var(--text);
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.shop-categories a.active,
.shop-categories a:hover {
    background: linear-gradient(135deg, var(--primary), #3b82f6);
    color: #fff;
    border-color: transparent;
}

.shop-content {
    padding: 0 clamp(1rem, 3vw, 2rem) 4rem;
}

.shop-intro,
.repair-intro {
    margin-bottom: 1.4rem;
}

.repair-services {
    padding: 0 clamp(1rem, 3vw, 2rem) 4rem;
}

.repair-note {
    font-size: 0.95rem;
    color: var(--muted);
    margin-top: 0.8rem;
}

.contact-section {
    padding: 0 clamp(1rem, 3vw, 2rem) 4rem;
}

.contact-container {
    max-width: 760px;
    margin: 0 auto;
}

.contact-form {
    display: grid;
    gap: 1rem;
}

.contact-form label {
    display: grid;
    gap: 0.45rem;
    font-weight: 700;
    color: var(--text);
}

.contact-form input,
.contact-form textarea {
    border: 1px solid var(--border);
    background: #f8fafc;
    border-radius: 1rem;
    padding: 0.9rem 1rem;
    font: inherit;
    color: var(--text);
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: 2px solid rgba(37, 99, 235, 0.16);
    border-color: var(--primary);
}

.footer {
    background: #0f172a;
    color: #f8fafc;
    padding: 2.5rem clamp(1rem, 3vw, 2rem) 2rem;
    margin-top: auto;
}

.footer-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    align-items: start;
}

.footer-brand p,
.footer-contact p,
.footer-links a {
    margin: 0.55rem 0 0;
    color: #cbd5e1;
}

.footer-links h4,
.footer-contact h4 {
    margin-bottom: 0.6rem;
    font-size: 1rem;
}

.footer-links a {
    display: block;
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    margin-top: 2rem;
    text-align: center;
    color: #94a3b8;
    font-size: 0.95rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1rem;
}

@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }

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

    header.navbar {
        flex-wrap: wrap;
        gap: 0.85rem;
    }

    .nav-links {
        order: 3;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .nav-actions {
        width: 100%;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .search-form {
        flex: 1 1 220px;
    }

    .search-form input {
        min-width: 0;
        flex: 1;
    }
}

@media (max-width: 640px) {
    header.navbar {
        padding: 1rem;
    }

    .hero {
        padding: 1.4rem;
        border-radius: 1.35rem;
    }

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

    .nav-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .search-form {
        width: 100%;
    }

    .cart-link {
        justify-content: center;
    }

    .hero,
    .section,
    .shop-content,
    .repair-services,
    .contact-section {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }

    .shop-categories {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .product-card .product-actions {
        flex-direction: column;
    }

    .product-card .product-actions > * {
        flex-basis: auto;
    }
}
