/* ===== Diesel Care Auto Spare Parts - site stylesheet ===== */

:root {
    --dark: #12181f;
    --dark-2: #1b2430;
    --dark-3: #232f3d;
    --accent: #dc2626;
    --accent-2: #f87171;
    --text-light: #eef1f4;
    --muted: #97a1ad;
    --muted-dark: #616b78;
    --bg: #ffffff;
    --bg-alt: #f5f6f8;
    --white: #ffffff;
    --border: #e7e9ec;
    --radius: 8px;
    --shadow: 0 4px 18px rgba(18, 24, 31, 0.06);
    --shadow-lg: 0 16px 40px rgba(18, 24, 31, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--dark);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

h1, h2, h3, h4, h5 { font-weight: 700; line-height: 1.25; margin: 0 0 14px; }

p { margin: 0 0 14px; color: var(--muted-dark); }

ul { margin: 0 0 14px; padding-left: 20px; color: var(--muted-dark); }
ul li { margin-bottom: 6px; }

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: .4px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all .2s ease;
    white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #b91c1c; transform: translateY(-1px); }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: var(--dark-2); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--dark); border: 1.5px solid var(--border); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-enquiry { background: var(--accent); color: #fff; padding: 11px 22px; font-size: 13px; border-radius: 4px; }
.btn-enquiry:hover { background: #b91c1c; }
.btn-lg { padding: 16px 34px; font-size: 15px; }
.btn-sm { padding: 8px 18px; font-size: 12px; }

/* ===== WhatsApp floating button ===== */
.wa-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    box-shadow: 0 10px 24px rgba(37, 211, 102, 0.45);
    animation: wa-pulse 2.4s infinite;
}
.wa-float:hover { background: #1fb955; }
@keyframes wa-pulse {
    0% { box-shadow: 0 10px 24px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 10px 24px rgba(37, 211, 102, 0.45), 0 0 0 14px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 10px 24px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ===== Utility top bar ===== */
.topbar { background: var(--dark); border-bottom: 1px solid rgba(255,255,255,0.08); }
.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    height: 38px;
    font-size: 12.5px;
}
.topbar-company { color: var(--muted); font-weight: 500; }
.topbar-contact { display: flex; align-items: center; gap: 22px; }
.topbar-contact a { display: flex; align-items: center; gap: 7px; color: var(--muted); }
.topbar-contact a:hover { color: var(--accent-2); }
.topbar-contact svg { color: var(--accent-2); flex-shrink: 0; }

/* ===== Header ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 500;
    background: var(--white);
    box-shadow: 0 1px 0 var(--border);
}
.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 84px;
    gap: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: var(--accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
    flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { color: var(--dark); font-size: 17px; letter-spacing: .3px; }
.brand-text small { color: var(--muted-dark); font-size: 11px; }

.header-actions { display: flex; align-items: center; gap: 18px; }
.header-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--dark);
    font-weight: 700;
    font-size: 14.5px;
}
.header-phone svg { color: var(--accent); }
.header-phone:hover { color: var(--accent); }

.nav-strip {
    background: var(--dark);
    border-top: 1px solid rgba(255,255,255,0.06);
}
.main-nav { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.main-nav a {
    display: block;
    padding: 14px 0;
    color: var(--text-light);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    opacity: .82;
    transition: opacity .2s;
    border-bottom: 2px solid transparent;
}
.main-nav a:hover { opacity: 1; color: var(--accent-2); }

.nav-dropdown { position: relative; }
.nav-dropdown > a { display: flex; align-items: center; gap: 5px; }
.nav-dropdown > a svg { transition: transform .2s; }
.nav-dropdown:hover > a svg { transform: rotate(180deg); }
.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    padding: 8px;
    display: none;
    flex-direction: column;
    gap: 2px;
    z-index: 50;
}
.nav-dropdown:hover .nav-dropdown-menu { display: flex; }
.nav-dropdown-menu a {
    color: var(--dark);
    text-transform: none;
    letter-spacing: 0;
    font-weight: 600;
    font-size: 13.5px;
    padding: 9px 12px;
    border-radius: 6px;
    opacity: 1;
}
.nav-dropdown-menu a:hover { background: #fdecec; color: var(--accent); }
.nav-dropdown-menu .nav-dropdown-all {
    border-top: 1px solid var(--border);
    margin-top: 4px;
    padding-top: 12px;
    color: var(--accent);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}
.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--dark);
    transition: all .25s;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero banner (single image) ===== */
.hero-banner { line-height: 0; background: var(--dark); }
.hero-banner a { display: block; }
.hero-banner img { width: 100%; height: auto; display: block; }

/* ===== Hero ===== */
.hero {
    background: radial-gradient(circle at 20% 20%, #1c2632, var(--dark) 60%);
    color: #fff;
    padding: 90px 0 70px;
    position: relative;
    overflow: hidden;
}
.hero::after {
    content: "";
    position: absolute;
    right: -120px;
    top: -80px;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(245,113,31,0.25), transparent 70%);
}
.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 20px;
    align-items: center;
}
.hero-inner { max-width: 620px; }
.hero-visual { display: flex; align-items: center; justify-content: center; }
.hero-visual svg { max-width: 420px; }
.hero .eyebrow {
    display: inline-block;
    color: var(--accent-2);
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-size: 12.5px;
    margin-bottom: 16px;
}
.hero h1 { font-size: 42px; color: #fff; margin-bottom: 18px; }
.hero p.lead { color: var(--muted); font-size: 17px; max-width: 620px; }

.hero-bullets { display: flex; gap: 28px; flex-wrap: wrap; margin: 28px 0 6px; }
.hero-bullets div { display: flex; align-items: center; gap: 10px; color: var(--text-light); font-weight: 600; font-size: 14px; }
.hero-bullets svg { color: var(--accent-2); flex-shrink: 0; }

.hero-actions { display: flex; gap: 14px; margin-top: 26px; flex-wrap: wrap; }

.page-hero {
    background: var(--dark);
    color: #fff;
    padding: 56px 0;
}
.page-hero .eyebrow {
    color: var(--accent-2); font-weight: 700; letter-spacing: 1.5px;
    text-transform: uppercase; font-size: 12px; margin-bottom: 10px; display: block;
}
.page-hero h1 { color: #fff; margin-bottom: 8px; font-size: 32px; }
.page-hero p { color: var(--muted); margin: 0; max-width: 640px; }

/* ===== Sections ===== */
.section { padding: 64px 0; scroll-margin-top: 140px; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 680px; margin: 0 auto 44px; text-align: center; }
.section-head .eyebrow {
    color: var(--accent); font-weight: 700; letter-spacing: 1.5px;
    text-transform: uppercase; font-size: 12.5px; display: block; margin-bottom: 10px;
}
.section-head h2 { font-size: 28px; margin-bottom: 10px; }
.section-head p { margin: 0; }

/* ===== Grids ===== */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

/* ===== Feature blocks (circular icon badges, centered) ===== */
.feature { text-align: center; padding: 10px; }
.feature-icon {
    width: 74px;
    height: 74px;
    border-radius: 50%;
    background: #fdecec;
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
}
.feature h3 { font-size: 14.5px; text-transform: uppercase; letter-spacing: .4px; margin-bottom: 8px; }
.feature p { margin: 0; font-size: 14px; }

.card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px 26px;
    transition: all .25s ease;
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: transparent; }
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p { margin: 0; font-size: 14.5px; }

.stat-row { display: flex; gap: 40px; flex-wrap: wrap; margin-top: 30px; }
.stat-item strong { display: block; font-size: 30px; color: var(--dark); }
.stat-item span { color: var(--muted-dark); font-size: 13.5px; }

/* ===== Category / product cards (flat, white, centered) ===== */
.cat-card {
    display: block;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-align: center;
    overflow: hidden;
    transition: all .2s ease;
    color: inherit;
    text-decoration: none;
}
.cat-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: transparent; }
a.cat-card:hover h4 { color: var(--accent); }

.cat-image {
    width: 100%;
    height: 168px;
    background: var(--bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--border);
}
.cat-image svg { width: 78%; height: 78%; }
.cat-image img { width: 100%; height: 100%; object-fit: cover; }

.cat-thumb {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fdecec;
    color: var(--accent);
    margin: 24px auto 16px;
}
.cat-body { padding: 20px 22px 26px; }
.cat-body h4 { font-size: 15px; margin-bottom: 6px; }
.cat-body p { font-size: 13.5px; margin: 0 0 16px; }
.cat-body .btn { width: 100%; }

/* ===== Brand chips ===== */
.brand-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 14px;
}
.brand-chip {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px 14px;
    text-align: center;
    font-weight: 700;
    font-size: 13.5px;
    color: var(--dark);
    transition: all .2s ease;
}
.brand-chip:hover { border-color: var(--accent); color: var(--accent); background: #fdecec; transform: translateY(-2px); }

/* ===== Blog ===== */
.blog-toc {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 26px;
    margin-bottom: 50px;
}
.blog-toc h3 { font-size: 15px; text-transform: uppercase; letter-spacing: .4px; margin-bottom: 14px; }
.blog-toc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 8px 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.blog-toc-grid a { font-size: 14px; color: var(--muted-dark); }
.blog-toc-grid a:hover { color: var(--accent); }

.blog-group-title {
    font-size: 22px;
    margin: 56px 0 26px;
    padding-top: 26px;
    border-top: 1px solid var(--border);
    text-transform: uppercase;
    letter-spacing: .3px;
}
.blog-group-title:first-of-type { border-top: none; margin-top: 0; padding-top: 0; }

.brand-post {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 30px;
    margin-bottom: 20px;
    scroll-margin-top: 140px;
}
.brand-post h3 { font-size: 19px; margin-bottom: 14px; color: var(--dark); }
.brand-post h3 span { color: var(--accent); font-weight: 600; }
.brand-post p { margin-bottom: 10px; font-size: 14.5px; }
.brand-post p strong { color: var(--dark); }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: start; }
.contact-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    margin-bottom: 20px;
}
.contact-card h3 { font-size: 14.5px; text-transform: uppercase; letter-spacing: .4px; margin-bottom: 16px; }
.contact-row { display: flex; gap: 12px; margin-bottom: 12px; font-size: 14.5px; color: var(--muted-dark); }
.contact-row strong { color: var(--dark); min-width: 70px; flex-shrink: 0; }
.contact-cta {
    background: var(--dark);
    border-radius: var(--radius);
    padding: 40px 30px;
    color: #fff;
    text-align: center;
}
.contact-cta h3 { color: #fff; font-size: 20px; margin-bottom: 10px; }
.contact-cta p { color: var(--muted); margin-bottom: 22px; }

/* ===== Footer ===== */
.site-footer { background: var(--dark); color: var(--muted); padding: 60px 0 0; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 40px; }
.footer-brand { margin-bottom: 16px; }
.footer-brand .brand-text strong { color: #fff; }
.footer-about p { color: var(--muted); font-size: 14px; }
.footer-col h4 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .4px; margin-bottom: 16px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: var(--muted); font-size: 14px; }
.footer-links a:hover { color: var(--accent-2); }
.footer-col p { color: var(--muted); font-size: 14px; margin-bottom: 10px; }
.footer-col a:hover { color: var(--accent-2); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 24px 24px 30px;
    text-align: center;
}
.footer-social { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-bottom: 18px; font-size: 13px; text-transform: uppercase; letter-spacing: .3px; }
.footer-social span { color: var(--muted); text-transform: none; }
.footer-social a { color: var(--text-light); font-weight: 600; }
.footer-social a:hover { color: var(--accent-2); }
.footer-copy { font-size: 13px; margin-bottom: 8px; }
.footer-disclaimer { font-size: 12px; color: #5b6675; max-width: 900px; margin: 0 auto; }

/* ===== Responsive ===== */
@media (max-width: 980px) {
    .grid-3, .grid-2, .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
    .hero-visual svg { max-width: 320px; }
}

@media (max-width: 860px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-visual { display: none; }
}

@media (max-width: 760px) {
    .topbar-company { display: none; }
    .topbar-contact { gap: 16px; }
    .header-phone span { display: none; }
    .main-nav {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        padding: 6px 24px 16px;
        gap: 0;
    }
    .main-nav.open { display: flex; }
    .main-nav a { padding: 10px 0; width: 100%; border-bottom: 1px solid rgba(255,255,255,0.06); }
    .nav-toggle { display: flex; }
    .header-actions .btn-enquiry { display: none; }
    .nav-dropdown { width: 100%; }
    .nav-dropdown-menu {
        display: flex;
        position: static;
        border: none;
        box-shadow: none;
        background: transparent;
        padding: 0 0 6px 14px;
    }
    .nav-dropdown-menu a { color: var(--text-light); opacity: .82; border-bottom: none; padding: 8px 0; }
    .nav-dropdown-menu .nav-dropdown-all { border-top: 1px solid rgba(255,255,255,0.1); color: var(--accent-2); }
    .hero h1 { font-size: 28px; }
    .hero-bullets { flex-direction: column; gap: 10px; }
    .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .section { padding: 44px 0; }
}
