/* =============================================
   SUPER DRIVER SERVICE CENTRE — Shared Styles
   ============================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary: #E31E24;
    --primary-dark: #b3161b;
    --bg: #050505;
    --glass-border: rgba(255, 255, 255, 0.1);
    --text: #ffffff;
    --muted: #71717a;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    padding-bottom: 80px;
}

/* ===== HEADER — with scroll hide/show ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    padding: 14px 16px;
    /* smooth slide up/down on scroll */
    transform: translateY(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Class added by JS when user scrolls down */
.site-header.header-hidden {
    transform: translateY(-110%);
}

.nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(10, 10, 10, 0.88);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 10px 24px;
    transition: background 0.3s ease, padding 0.3s ease;
}

/* Slightly compact when scrolled */
.site-header.scrolled .nav-inner {
    background: rgba(5, 5, 5, 0.96);
    padding: 8px 24px;
}

.nav-logo img {
    height: 44px;
    width: auto;
    object-fit: contain;
    display: block;
    transition: height 0.3s;
}

.site-header.scrolled .nav-logo img {
    height: 36px;
}

/* Desktop nav links */
.nav-links {
    display: none;
    gap: 28px;
    list-style: none;
}

.nav-links a {
    color: #a1a1aa;
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    transition: color .3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: #fff;
}

.nav-cta {
    display: none;
    align-items: center;
    gap: 16px;
}

.nav-helpline-label {
    font-size: 9px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.3em;
    display: block;
}

.nav-helpline-num {
    font-size: 14px;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    display: block;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    padding: 10px 22px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    text-decoration: none;
    transition: background .3s;
    white-space: nowrap;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

/* Mobile controls */
.mobile-hamburger,
.mobile-call {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    font-size: 22px;
    font-family: inherit;
    transition: background 0.2s;
}

.mobile-hamburger {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

.mobile-hamburger:hover {
    background: rgba(255, 255, 255, 0.12);
}

.mobile-call {
    background: rgba(227, 30, 36, 0.15);
    color: var(--primary);
    text-decoration: none;
}

.material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    font-style: normal;
    font-size: inherit;
    color: inherit;
    display: inline-block;
}

/* Mobile Drawer */
.mobile-drawer {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 998;
    background: rgba(0, 0, 0, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    text-align: center;
    overflow-y: auto;
    padding: 40px;
    /* Use visibility trick instead of display for smooth animation */
    opacity: 0;
    transform: translateX(100%);
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.mobile-drawer.open {
    display: flex;
    opacity: 1;
    transform: translateX(0);
    pointer-events: all;
}

.mobile-drawer a {
    color: #fff;
    text-decoration: none;
    font-size: 28px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    transition: color .2s;
    font-family: 'Montserrat', sans-serif;
}

.mobile-drawer a:hover {
    color: var(--primary);
}

.drawer-btns {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 340px;
    margin-top: 16px;
}

.drawer-btns a {
    display: block;
    padding: 16px;
    border-radius: 14px;
    font-weight: 800;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    text-decoration: none;
}

.drawer-btns .btn-call {
    background: var(--primary);
    color: #fff;
}

.drawer-btns .btn-wa {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* ===== GLASS CARD ===== */
.glass-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    transition: transform .4s ease, border-color .4s ease, box-shadow .4s ease;
}

.glass-card:hover {
    transform: translateY(-6px);
    border-color: rgba(227, 30, 36, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

/* ===== SECTIONS ===== */
.page-section {
    padding: 80px 24px;
}

.section-inner {
    max-width: 1280px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-header h2 {
    font-size: clamp(26px, 5vw, 46px);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -.02em;
    margin-bottom: 14px;
    font-family: 'Montserrat', sans-serif;
}

.section-header h2 .accent {
    color: var(--primary);
}

.section-header p {
    color: var(--muted);
    max-width: 500px;
    margin: 0 auto;
    font-size: 15px;
    line-height: 1.7;
}

/* ===== BUTTONS ===== */
.btn-call-3d {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(145deg, #ff232a, var(--primary-dark));
    box-shadow: 0 5px 0 #8a1216, 0 12px 24px rgba(227, 30, 36, 0.3);
    color: #fff;
    padding: 16px 36px;
    border-radius: 18px;
    font-weight: 800;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: .1em;
    text-decoration: none;
    transition: transform .2s, box-shadow .2s;
    font-family: 'Montserrat', sans-serif;
}

.btn-call-3d:active {
    transform: translateY(3px);
    box-shadow: 0 2px 0 #8a1216;
}

.btn-wa-ghost {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(227, 30, 36, 0.3);
    color: #fff;
    padding: 16px 36px;
    border-radius: 18px;
    font-weight: 800;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: .1em;
    text-decoration: none;
    transition: background .3s;
    font-family: 'Montserrat', sans-serif;
}

.btn-wa-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
}

.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.cta-row.center {
    justify-content: center;
}

.cta-call {
    flex: 1;
    min-width: 110px;
    background: var(--primary);
    color: #fff;
    padding: 13px;
    border-radius: 12px;
    text-align: center;
    font-weight: 800;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .12em;
    text-decoration: none;
    transition: background .3s;
}

.cta-call:hover {
    background: var(--primary-dark);
}

.cta-wa {
    flex: 1;
    min-width: 110px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 13px;
    border-radius: 12px;
    text-align: center;
    font-weight: 800;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .12em;
    text-decoration: none;
    transition: background .3s;
}

.cta-wa:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* ===== FOOTER ===== */
footer {
    background: #000;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 60px 24px 120px;
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand img {
    height: 40px;
    width: auto;
    margin-bottom: 16px;
    display: block;
}

.footer-brand p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
}

.footer-col h4 {
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .4em;
    margin-bottom: 16px;
    color: #fff;
}

.footer-col p,
.footer-col a {
    color: var(--muted);
    font-size: 13px;
    line-height: 2.1;
    display: block;
    text-decoration: none;
    transition: color .3s;
}

.footer-col a:hover {
    color: #fff;
}

.footer-phone {
    color: #fff !important;
    font-size: 18px !important;
    font-weight: 800 !important;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    color: #3f3f46;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: .3em;
}

/* ===== MOBILE STICKY BAR ===== */
.mobile-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(227, 30, 36, 0.2);
    padding: 8px 0 14px;
}

.mobile-bar a,
.mobile-bar button {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    color: #71717a;
    text-decoration: none;
    font-size: 8px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .15em;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px 0;
}

.bar-call {
    color: var(--primary) !important;
}

.bar-about {
    color: #a1a1aa !important;
}

.bar-wa .wa-bubble {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -28px;
    border: 4px solid var(--bg);
    box-shadow: 0 0 20px rgba(227, 30, 36, 0.4);
}

.bar-wa .wa-bubble .material-symbols-outlined {
    color: #fff;
    font-size: 24px;
}

.mobile-bar .material-symbols-outlined {
    font-size: 22px;
}

/* ===== PAGE HERO ===== */
.page-hero {
    padding: 140px 24px 60px;
    text-align: center;
    background: radial-gradient(ellipse at 50% 0%, rgba(227, 30, 36, 0.1) 0%, transparent 65%), var(--bg);
}

.page-hero .badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 10px;
    background: rgba(227, 30, 36, 0.1);
    border: 1px solid rgba(227, 30, 36, 0.25);
    color: var(--primary);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .4em;
    margin-bottom: 24px;
}

.page-hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(30px, 6vw, 60px);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -.02em;
    line-height: 1.1;
    margin-bottom: 16px;
}

.page-hero h1 .accent {
    color: var(--primary);
}

.page-hero p {
    color: var(--muted);
    max-width: 560px;
    margin: 0 auto 32px;
    font-size: 15px;
    line-height: 1.7;
}

.breadcrumb {
    font-size: 11px;
    color: var(--muted);
    margin-bottom: 20px;
}

.breadcrumb a {
    color: var(--muted);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #fff;
}

/* ===== RESPONSIVE ===== */
@media (min-width: 600px) {
    .two-col {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
}

@media (min-width: 1024px) {
    .nav-links {
        display: flex;
    }

    .nav-cta {
        display: flex;
    }

    .mobile-hamburger,
    .mobile-call {
        display: none !important;
    }

    .mobile-bar {
        display: none !important;
    }

    body {
        padding-bottom: 0;
    }

    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}