:root {
    --bg: #07101f;
    --panel: #0d1c35;
    --panel-light: #112a52;
    --blue: #0069ff;
    --blue-bright: #2e9dff;
    --white: #ffffff;
    --muted: #aebbd0;
    --line: rgba(255,255,255,.13);
    --shadow: 0 24px 80px rgba(0, 0, 0, .35);
    --soft-shadow: 0 18px 46px rgba(0, 0, 0, .28);
    --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--white);
    background:
        radial-gradient(circle at 15% 0%, rgba(46,157,255,.26), transparent 28%),
        linear-gradient(145deg, #050b16 0%, var(--bg) 48%, #02050a 100%);
    line-height: 1.6;
}

a { color: inherit; }

.hero {
    min-height: 570px;
    padding: 18px clamp(18px, 5vw, 72px) 58px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(110deg, rgba(0,105,255,.19), transparent 56%),
        radial-gradient(circle at 23% 38%, rgba(46,157,255,.28), transparent 26%);
    pointer-events: none;
}
.hero::after {
    content: "";
    position: absolute;
    right: clamp(-80px, -4vw, -24px);
    top: 82px;
    width: min(520px, 46vw);
    aspect-ratio: 1 / 1;
    background: url("assets/ventech-car-wrenches-bg.png") center / contain no-repeat;
    opacity: .14;
    filter: saturate(1.2) blur(.2px);
    mix-blend-mode: screen;
    pointer-events: none;
}

.nav, .hero-content, main, footer { position: relative; z-index: 1; }
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 10px 12px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 22px;
    background: rgba(4,11,23,.48);
    backdrop-filter: blur(16px);
    box-shadow: var(--soft-shadow);
}
.brand img {
    width: min(250px, 54vw);
    display: block;
    border-radius: 14px;
    filter: drop-shadow(0 10px 24px rgba(0,0,0,.38));
}
.nav-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.nav-links a {
    text-decoration: none;
    color: var(--muted);
    padding: 9px 13px;
    border: 1px solid transparent;
    border-radius: 999px;
}
.nav-links a:hover {
    color: var(--white);
    border-color: var(--line);
    background: rgba(255,255,255,.05);
}

.hero-content {
    max-width: 690px;
    padding-top: 66px;
}
.eyebrow {
    margin: 0 0 12px;
    color: var(--blue-bright);
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
    font-size: .82rem;
}
h1, h2, h3 { line-height: 1.05; margin: 0; }
h1 { font-size: clamp(2.35rem, 5.6vw, 5.15rem); letter-spacing: -0.055em; }
h2 { font-size: clamp(2rem, 4vw, 3.6rem); letter-spacing: -0.04em; }
h3 { font-size: 1.45rem; }
.intro {
    color: var(--muted);
    max-width: 640px;
    font-size: 1.08rem;
    margin: 20px 0 28px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 13px 22px;
    border-radius: 999px;
    border: 1px solid var(--line);
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.primary {
    background: linear-gradient(135deg, var(--blue), var(--blue-bright));
    color: var(--white);
    box-shadow: 0 16px 38px rgba(0,105,255,.3);
    border-color: rgba(255,255,255,.18);
}
.secondary { background: rgba(255,255,255,.08); color: var(--white); }
.ghost { background: transparent; color: var(--muted); }
.ghost:hover { color: var(--white); background: rgba(255,255,255,.06); }

.section {
    width: min(1160px, calc(100% - 36px));
    margin: 0 auto 28px;
    padding: clamp(26px, 5vw, 56px);
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(13,28,53,.82), rgba(8,18,36,.74));
    backdrop-filter: blur(18px);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: -48px;
}
.stats div {
    padding: 8px;
    border-left: 3px solid var(--blue-bright);
}
.stats strong { display: block; font-size: 1.5rem; }
.stats span { color: var(--muted); }
.section-heading { margin-bottom: 28px; max-width: 760px; }
.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.card {
    background: linear-gradient(180deg, rgba(255,255,255,.1), rgba(255,255,255,.035));
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 26px;
}
.card p, .booking-copy p, .contact p, footer p { color: var(--muted); }

.booking-section {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 34px;
    align-items: start;
}
.booking-copy ul { color: var(--muted); padding-left: 18px; }
code {
    color: #dcecff;
    background: rgba(255,255,255,.09);
    padding: 2px 6px;
    border-radius: 7px;
}
.booking-form {
    background: var(--white);
    color: #172033;
    padding: clamp(22px, 4vw, 34px);
    border-radius: 22px;
    box-shadow: var(--shadow);
}
.grid.two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
label {
    display: block;
    font-weight: 800;
    margin-bottom: 14px;
}
input, select, textarea {
    width: 100%;
    margin-top: 7px;
    border: 1px solid #d8dfec;
    border-radius: 14px;
    padding: 13px 14px;
    font: inherit;
    color: #172033;
    background: #f8fbff;
}
textarea { resize: vertical; }
.submit { width: 100%; border: 0; font-size: 1rem; }
.notice {
    padding: 14px 16px;
    border-radius: 16px;
    margin-bottom: 18px;
    font-weight: 800;
}
.notice p { margin: 0; }
.notice.success { background: #e5fff2; color: #05723d; }
.notice.error { background: #ffecec; color: #a11111; }
.contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: center;
}
.contact-panel {
    background: rgba(255,255,255,.07);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 22px;
}
footer {
    width: min(1160px, calc(100% - 36px));
    margin: 0 auto;
    padding: 22px 0 44px;
    text-align: center;
}

@media (max-width: 860px) {
    .nav { align-items: flex-start; flex-direction: column; }
    .hero { min-height: auto; }
    .hero::after { width: 78vw; right: -28vw; top: 130px; opacity: .09; }
    .hero-content { padding-top: 48px; }
    .stats, .cards, .booking-section, .contact, .grid.two { grid-template-columns: 1fr; }
    .stats { margin-top: -28px; }
}

/* Admin panel */
.admin-body {
    min-height: 100vh;
    background: radial-gradient(circle at top left, #173d83 0, #07101f 48%, #03070f 100%);
}
.admin-shell {
    width: min(1320px, calc(100% - 28px));
    margin: 0 auto;
    padding: 34px 0;
}
.admin-card {
    border: 1px solid var(--line);
    background: rgba(13,28,53,.88);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: clamp(22px, 4vw, 42px);
}
.admin-top {
    display: flex;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}
.admin-top h1 { font-size: clamp(2rem, 4vw, 4rem); }
.admin-brand img {
    width: min(300px, 48vw);
    display: block;
    filter: drop-shadow(0 12px 26px rgba(0,0,0,.35));
}
.admin-login {
    max-width: 520px;
    margin: 20px auto 0;
}
.admin-help {
    color: #526072;
    margin-bottom: 0;
}
.admin-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.admin-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin: 18px 0;
}
.admin-summary div {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255,255,255,.06);
}
.admin-summary strong {
    display: block;
    font-size: 2rem;
    line-height: 1;
}
.admin-summary span { color: var(--muted); }
.filter-form {
    max-width: 300px;
    margin: 20px 0;
}
.filter-form label { color: var(--white); }
.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255,255,255,.04);
}
.admin-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 1050px;
}
.admin-table th,
.admin-table td {
    padding: 14px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--line);
}
.admin-table th {
    color: #dcecff;
    background: rgba(0,105,255,.15);
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.admin-table td {
    color: #eef5ff;
    font-size: .95rem;
}
.admin-table a { color: #9dccff; }
.status-pill {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.12);
    color: #ffffff;
    font-weight: 800;
    white-space: nowrap;
}
.status-pending { background: rgba(255, 183, 3, .22); }
.status-confirmed { background: rgba(46, 157, 255, .24); }
.status-in-progress { background: rgba(130, 97, 255, .24); }
.status-completed { background: rgba(0, 204, 136, .24); }
.status-cancelled { background: rgba(255, 82, 82, .24); }
.row-form {
    display: grid;
    gap: 8px;
    margin-bottom: 8px;
}
.row-form select {
    min-width: 150px;
    padding: 10px;
    border-radius: 12px;
}
.small-button {
    border: 0;
    border-radius: 999px;
    padding: 10px 12px;
    font-weight: 800;
    cursor: pointer;
    color: var(--white);
    background: linear-gradient(135deg, var(--blue), var(--blue-bright));
}
.small-button.danger {
    background: #b42323;
}

@media (max-width: 860px) {
    .admin-top,
    .admin-summary {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: flex-start;
    }
}
