/* ============================================================
   Auto Ink Automotive — modern site theme
   Self-contained. Replaces the old Bootstrap-3 theme stack.
   ============================================================ */

:root {
    --ink:        #0e1116;   /* near-black charcoal   */
    --ink-2:      #161b22;   /* raised dark surface   */
    --ink-3:      #1f2630;   /* card on dark          */
    --line:       #2a323d;   /* borders on dark       */
    --red:        #e03127;   /* brand red             */
    --red-dark:   #b6241c;
    --amber:      #ffb400;   /* rating / accent       */
    --paper:      #f6f7f9;   /* light section bg      */
    --paper-2:    #ffffff;
    --text:       #1a1f26;   /* dark text on light    */
    --muted:      #5b6472;   /* muted text on light   */
    --muted-dk:   #9aa6b4;   /* muted text on dark    */
    --white:      #ffffff;
    --radius:     14px;
    --radius-sm:  10px;
    --shadow:     0 18px 40px -18px rgba(6, 10, 16, .35);
    --shadow-sm:  0 8px 20px -12px rgba(6, 10, 16, .35);
    --maxw:       1160px;
    --head: "Barlow Condensed", "Oswald", "Arial Narrow", system-ui, sans-serif;
    --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--body);
    font-size: 17px;
    line-height: 1.7;
    color: var(--text);
    background: var(--paper-2);
    -webkit-font-smoothing: antialiased;
}

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

a { color: var(--red); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--red-dark); }

h1, h2, h3, h4 {
    font-family: var(--head);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: .3px;
    margin: 0 0 .4em;
    color: inherit;
}

p { margin: 0 0 1em; }

.container {
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 22px;
}

.eyebrow {
    font-family: var(--head);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 15px;
    font-weight: 600;
    color: var(--red);
    margin: 0 0 12px;
}

.section { padding: 88px 0; }
.section--light { background: var(--paper); }
.section--dark  { background: var(--ink); color: #dfe4ea; }

.section-head { max-width: 720px; margin: 0 auto 54px; text-align: center; }
.section-head h2 { font-size: clamp(34px, 5vw, 52px); text-transform: uppercase; }
.section-head p { color: var(--muted); font-size: 18px; }
.section--dark .section-head p { color: var(--muted-dk); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--head);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-size: 17px;
    padding: 14px 30px;
    border-radius: 999px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform .12s ease, background .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-dark); color: #fff; }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn--ghost:hover { border-color: #fff; color: #fff; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; color: #fff; }

/* ============================================================
   Top bar + navigation
   ============================================================ */
.topbar {
    background: #090c10;
    color: var(--muted-dk);
    font-size: 14px;
    border-bottom: 1px solid rgba(255,255,255,.05);
}
.topbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 44px;
    gap: 16px;
}
.topbar a { color: var(--muted-dk); }
.topbar a:hover { color: #fff; }
.topbar .tb-left { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar .tb-left span i { color: var(--red); margin-right: 7px; }
.topbar .tb-social { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; }
.topbar .tb-social a {
    width: 30px; height: 30px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,.06);
}
.topbar .tb-social a:hover { background: var(--red); color: #fff; }

.nav {
    position: sticky; top: 0; z-index: 50;
    background: rgba(14, 17, 22, .96);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
}
.nav .container {
    display: flex; align-items: center; justify-content: space-between;
    min-height: 78px;
}
.nav-brand { display: flex; align-items: center; }
.nav-brand .logo-img {
    height: 52px; width: auto; display: block;
}

.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
    font-family: var(--head); font-weight: 600; text-transform: uppercase;
    letter-spacing: 1.4px; font-size: 17px; color: #cdd4de;
    padding: 10px 16px; border-radius: 8px;
}
.nav-links a:hover, .nav-links a.active { color: #fff; background: rgba(255,255,255,.06); }
.nav-links .nav-cta { margin-left: 10px; }
.nav-links .nav-cta a { background: var(--red); color: #fff; }
.nav-links .nav-cta a:hover { background: var(--red-dark); }

.nav-toggle {
    display: none; background: none; border: 0; cursor: pointer;
    width: 44px; height: 44px; color: #fff;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
    content: ""; display: block; width: 24px; height: 2px; background: #fff;
    position: relative; transition: .2s;
}
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after  { position: absolute; top: 7px; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
    position: relative;
    min-height: 640px;
    display: flex; align-items: center;
    color: #fff;
    overflow: hidden;
    background: var(--ink);
}
.hero-slide {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    opacity: 0; transition: opacity 1.1s ease;
}
.hero-slide.is-active { opacity: 1; }
.hero::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(105deg, rgba(9,12,16,.94) 0%, rgba(9,12,16,.82) 42%, rgba(9,12,16,.35) 100%);
}
.hero .container { position: relative; z-index: 2; }
.hero-inner { max-width: 660px; padding: 60px 0; }
.hero .eyebrow { color: var(--red); }
.hero h1 {
    font-size: clamp(42px, 7vw, 82px);
    text-transform: uppercase;
    margin-bottom: 18px;
}
.hero h1 .accent { color: var(--red); }
.hero p { font-size: 20px; color: #d3d9e0; max-width: 560px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-badges {
    display: flex; gap: 30px; flex-wrap: wrap;
    margin-top: 42px; padding-top: 26px;
    border-top: 1px solid rgba(255,255,255,.12);
}
.hero-badges div b {
    font-family: var(--head); font-size: 34px; color: #fff; display: block; line-height: 1;
}
.hero-badges div span { color: var(--muted-dk); font-size: 14px; text-transform: uppercase; letter-spacing: 1px; }

/* ---------- Trust strip ---------- */
.trust {
    background: var(--red);
    color: #fff;
}
.trust .container {
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px;
    padding-top: 26px; padding-bottom: 26px;
}
.trust-item { display: flex; align-items: center; gap: 14px; }
.trust-item i { font-size: 26px; opacity: .9; }
.trust-item b { font-family: var(--head); font-size: 20px; text-transform: uppercase; letter-spacing: .5px; display: block; line-height: 1.1; }
.trust-item span { font-size: 13.5px; opacity: .85; }

/* ============================================================
   Service cards
   ============================================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}
.service-card {
    background: var(--paper-2);
    border: 1px solid #e7e9ee;
    border-radius: var(--radius);
    padding: 34px 30px;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    border-color: transparent;
}
.service-card .ic {
    width: 62px; height: 62px; border-radius: 14px;
    background: rgba(224,49,39,.10); color: var(--red);
    display: grid; place-items: center; font-size: 26px;
    margin-bottom: 20px; transition: .18s ease;
}
.service-card:hover .ic { background: var(--red); color: #fff; }
.service-card h3 { font-size: 25px; text-transform: uppercase; margin-bottom: 10px; }
.service-card ul { list-style: none; margin: 0; padding: 0; color: var(--muted); }
.service-card li { padding: 4px 0 4px 22px; position: relative; }
.service-card li::before {
    content: "\f105"; font-family: FontAwesome; color: var(--red);
    position: absolute; left: 4px; top: 4px;
}

/* ============================================================
   About / split feature
   ============================================================ */
.split {
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow); }
.split-body h2 { font-size: clamp(32px, 4.5vw, 46px); text-transform: uppercase; }
.split-list { list-style: none; margin: 22px 0 30px; padding: 0; }
.split-list li { display: flex; gap: 14px; padding: 10px 0; align-items: flex-start; }
.split-list i {
    color: #16a34a; margin-top: 4px; font-size: 18px;
    flex: none;
}
.split--dark .split-body h2 { color: #fff; }
.split--dark .split-body p { color: var(--muted-dk); }

/* ============================================================
   Stats band
   ============================================================ */
.stats {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center;
}
.stats .stat b {
    font-family: var(--head); font-size: 56px; color: var(--red); line-height: 1; display: block;
}
.stats .stat span { color: var(--muted-dk); text-transform: uppercase; letter-spacing: 1.5px; font-size: 14px; }

/* ============================================================
   Testimonials
   ============================================================ */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.review {
    background: var(--ink-2);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px;
    color: #d7dce3;
}
.review .stars { color: var(--amber); margin-bottom: 14px; font-size: 15px; letter-spacing: 2px; }
.review p { font-style: italic; color: #c7cdd6; }
.review .who { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.review .who .av {
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--red); color: #fff; display: grid; place-items: center;
    font-family: var(--head); font-size: 20px; font-weight: 700;
}
.review .who b { color: #fff; font-family: var(--body); font-weight: 600; display: block; line-height: 1.2; }
.review .who small { color: var(--muted-dk); }

/* ============================================================
   Portfolio / gallery
   ============================================================ */
.gallery {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.gallery a {
    position: relative; display: block; overflow: hidden;
    border-radius: var(--radius-sm); aspect-ratio: 1/1; background: #e7e9ee;
}
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery a:hover img { transform: scale(1.08); }
.gallery a::after {
    content: "\f00e"; font-family: FontAwesome;
    position: absolute; inset: 0; display: grid; place-items: center;
    color: #fff; font-size: 26px;
    background: rgba(14,17,22,.55); opacity: 0; transition: .25s;
}
.gallery a:hover::after { opacity: 1; }

/* ---------- Auto slideshow ---------- */
.slideshow {
    position: relative;
    max-width: 940px;
    margin: 0 auto 54px;
    aspect-ratio: 16 / 10;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--ink);
}
.slideshow-slide {
    position: absolute; inset: 0;
    opacity: 0; transition: opacity 1s ease;
}
.slideshow-slide.is-active { opacity: 1; }
.slideshow-slide img { width: 100%; height: 100%; object-fit: cover; }
.slideshow-arrow {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
    width: 50px; height: 50px; border: 0; cursor: pointer;
    border-radius: 50%; background: rgba(14,17,22,.55); color: #fff; font-size: 20px;
    display: grid; place-items: center; transition: background .15s ease;
}
.slideshow-arrow:hover { background: var(--red); }
.slideshow-arrow.prev { left: 16px; }
.slideshow-arrow.next { right: 16px; }
.slideshow-dots {
    position: absolute; left: 0; right: 0; bottom: 16px; z-index: 3;
    display: flex; justify-content: center; gap: 10px;
}
.slideshow-dots button {
    width: 11px; height: 11px; border-radius: 50%; padding: 0; cursor: pointer;
    border: 2px solid #fff; background: transparent; opacity: .7; transition: .15s ease;
}
.slideshow-dots button.is-active { background: var(--red); border-color: var(--red); opacity: 1; }

/* ============================================================
   CTA band
   ============================================================ */
.cta {
    background:
        linear-gradient(rgba(9,12,16,.90), rgba(9,12,16,.90)),
        url('../images/slider/bg2.jpg') center/cover fixed;
    color: #fff; text-align: center;
}
.cta h2 { font-size: clamp(34px, 5vw, 56px); text-transform: uppercase; }
.cta p { color: var(--muted-dk); font-size: 19px; max-width: 620px; margin: 0 auto 28px; }
.cta .phone {
    font-family: var(--head); font-size: clamp(38px, 6vw, 64px); color: var(--red);
    display: inline-block; margin-bottom: 8px;
}
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   Page header (interior pages)
   ============================================================ */
.page-hero {
    position: relative; color: #fff; text-align: center;
    padding: 84px 0 74px;
    background:
        linear-gradient(rgba(9,12,16,.86), rgba(9,12,16,.86)),
        url('../images/slider/bg1.jpg') center/cover;
}
.page-hero h1 { font-size: clamp(40px, 6vw, 64px); text-transform: uppercase; }
.page-hero .crumb { color: var(--muted-dk); font-family: var(--head); letter-spacing: 2px; text-transform: uppercase; }
.page-hero .crumb a { color: var(--muted-dk); }
.page-hero .crumb a:hover { color: #fff; }

/* ============================================================
   Contact
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: stretch; }
.info-card {
    background: var(--paper-2); border: 1px solid #e7e9ee; border-radius: var(--radius);
    padding: 34px; box-shadow: var(--shadow-sm);
}
.info-row { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid #eef0f3; }
.info-row:last-child { border-bottom: 0; }
.info-row .ic {
    width: 48px; height: 48px; flex: none; border-radius: 12px;
    background: rgba(224,49,39,.10); color: var(--red);
    display: grid; place-items: center; font-size: 20px;
}
.info-row h4 { font-family: var(--body); font-size: 14px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin: 0 0 3px; }
.info-row p { margin: 0; font-size: 17px; }
.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-height: 420px; }
.map-wrap iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

.hours-table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.hours-table td { padding: 9px 0; border-bottom: 1px solid #eef0f3; }
.hours-table td:last-child { text-align: right; font-weight: 600; }
.hours-table .today td { color: var(--red); }

/* ============================================================
   Booking page
   ============================================================ */
.booking-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 40px; align-items: start; }
.booking-info h2 { font-size: clamp(30px, 4vw, 42px); text-transform: uppercase; }
.booking-info .split-list { margin: 20px 0 26px; }
.booking-widget-wrap { position: sticky; top: 100px; }
.booking-widget {
    background: var(--paper-2); border: 1px solid #e7e9ee; border-radius: var(--radius);
    box-shadow: var(--shadow); overflow: hidden; min-height: 440px;
    display: flex; flex-direction: column;
}
.booking-widget iframe { width: 100%; border: 0; display: block; }
.booking-fallback {
    flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; padding: 54px 34px;
}
.booking-fallback i { font-size: 52px; color: var(--red); margin-bottom: 18px; }
.booking-fallback h3 { font-size: 28px; text-transform: uppercase; margin-bottom: 8px; }
.booking-fallback p { color: var(--muted); max-width: 360px; margin-bottom: 22px; }
.booking-fallback .btn { min-width: 240px; justify-content: center; }

@media (max-width: 900px) {
    .booking-grid { grid-template-columns: 1fr; gap: 30px; }
    .booking-widget-wrap { position: static; }
}

/* ============================================================
   Footer
   ============================================================ */
.footer { background: #090c10; color: var(--muted-dk); padding: 66px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer h4 { color: #fff; text-transform: uppercase; font-size: 19px; letter-spacing: 1px; margin-bottom: 18px; }
.footer a { color: var(--muted-dk); }
.footer a:hover { color: #fff; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer ul li { padding: 6px 0; }
.footer .f-brand b { font-family: var(--head); font-size: 28px; color: #fff; text-transform: uppercase; letter-spacing: 1px; }
.footer .f-brand p { margin-top: 12px; max-width: 300px; }
.footer .f-social { display: flex; gap: 10px; margin-top: 16px; }
.footer .f-social a {
    width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.06);
    display: grid; place-items: center;
}
.footer .f-social a:hover { background: var(--red); color: #fff; }
.footer .f-contact li { display: flex; gap: 12px; }
.footer .f-contact i { color: var(--red); margin-top: 5px; }
.footer-bottom {
    margin-top: 54px; border-top: 1px solid rgba(255,255,255,.07);
    padding: 22px 0; font-size: 14px;
    display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}

/* ---------- Back to top ---------- */
.back-to-top {
    position: fixed; right: 24px; bottom: 24px; z-index: 60;
    width: 48px; height: 48px; border-radius: 12px;
    background: var(--red); color: #fff;
    display: grid; place-items: center; font-size: 20px;
    opacity: 0; pointer-events: none; transition: .25s; box-shadow: var(--shadow);
}
.back-to-top.show { opacity: 1; pointer-events: auto; }
.back-to-top:hover { background: var(--red-dark); color: #fff; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
    .services-grid, .reviews-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery { grid-template-columns: repeat(3, 1fr); }
    .stats { grid-template-columns: repeat(2, 1fr); gap: 34px; }
    .split { grid-template-columns: 1fr; gap: 34px; }
    .split-media { order: -1; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
    body { font-size: 16px; }
    .section { padding: 62px 0; }
    .topbar .tb-left span:not(.tb-phone) { display: none; }
    .nav-toggle { display: block; }
    .nav-links {
        position: absolute; top: 78px; left: 0; right: 0;
        flex-direction: column; align-items: stretch; gap: 0;
        background: var(--ink); border-bottom: 1px solid var(--line);
        padding: 10px 16px 18px; display: none;
    }
    .nav-links.open { display: flex; }
    .nav-links a { padding: 13px 12px; border-radius: 8px; }
    .nav-links .nav-cta { margin: 8px 0 0; }
    .nav-links .nav-cta a { justify-content: center; }
    .hero { min-height: 560px; }
    .hero-badges { gap: 22px; }
    .services-grid, .reviews-grid, .gallery { grid-template-columns: 1fr; }
    .gallery { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; }
}
