/* ============================================
   VF Auto Center — style.css
   Dark automotive theme, mobile-first
   ============================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg-dark: #111111;
    --bg-dark2: #1a1a1a;
    --card-dark: #222222;
    --card-dark2: #2a2a2a;
    --red: #E63946;
    --red-light: #FF4D5A;
    --white: #FFFFFF;
    --gray: #94a3b8;
    --gray-dark: #64748b;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    --radius: 12px;
    --radius-sm: 8px;
    --transition: .3s ease;
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
    font-family: var(--font-body);
    background: var(--bg-dark);
    color: var(--gray);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { color: var(--red); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--red-light); }

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

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.text-red { color: var(--red); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--font-heading); font-weight: 700;
    border: none; border-radius: var(--radius-sm); cursor: pointer;
    text-decoration: none; transition: all var(--transition);
    white-space: nowrap;
}
.btn--red {
    background: var(--red); color: var(--white);
    padding: 12px 28px; font-size: .95rem;
}
.btn--red:hover { background: var(--red-light); color: var(--white); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(230,57,70,.35); }
.btn--lg { padding: 16px 36px; font-size: 1.1rem; }
.btn--sm { padding: 10px 20px; font-size: .85rem; }
.btn--full { width: 100%; justify-content: center; }

/* ---------- Section Titles ---------- */
.section-title {
    font-family: var(--font-heading); font-weight: 900;
    font-size: 1.8rem; color: var(--white);
    text-align: center; margin-bottom: 8px;
}
.section-subtitle {
    text-align: center; color: var(--gray);
    max-width: 560px; margin: 0 auto 48px;
    font-size: .95rem;
}

/* ========================================
   HEADER — logo centered layout
   ======================================== */
.header {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    background: rgba(17,17,17,.85); backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,.05);
    transition: background var(--transition), box-shadow var(--transition);
}
.header--solid { background: rgba(17,17,17,.98); box-shadow: 0 2px 20px rgba(0,0,0,.5); }

.header__inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    height: 90px;
}

.header__left {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.header__logo {
    display: flex;
    justify-content: center;
}

.header__logo-img {
    height: 80px;
    width: auto;
    transition: height var(--transition);
}

.header__right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* Shrink logo on scroll */
.header--solid .header__inner { height: 64px; }
.header--solid .header__logo-img { height: 56px; }

/* Nav links */
.header__nav { display: none; gap: 28px; }
.header__link {
    color: var(--gray); font-size: .88rem; font-weight: 500;
    transition: color var(--transition); position: relative;
}
.header__link:hover { color: var(--white); }
.header__link::after {
    content: ''; position: absolute; bottom: -4px; left: 0;
    width: 0; height: 2px; background: var(--red);
    transition: width var(--transition);
}
.header__link:hover::after { width: 100%; }

.header__cta { display: none; }

/* Hamburger */
.hamburger {
    display: flex; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 8px;
}
.hamburger span { width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: all var(--transition); }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.header__nav.open {
    display: flex; flex-direction: column; gap: 0;
    position: fixed; top: 90px; left: 0; width: 100%;
    background: rgba(17,17,17,.98); border-bottom: 1px solid rgba(255,255,255,.05);
    padding: 8px 0; z-index: 999;
}
.header--solid ~ .header__nav.open,
.header--solid .header__nav.open { top: 64px; }
.header__nav.open .header__link {
    padding: 16px 24px; display: block; text-align: center;
    border-bottom: 1px solid rgba(255,255,255,.04); font-size: 1rem;
}

/* Footer logo */
.footer__logo-img { height: 64px; width: auto; }

/* ========================================
   HERO
   ======================================== */
.hero {
    padding: 130px 0 60px;
    background: linear-gradient(135deg, var(--bg-dark) 0%, #1a1a2e 50%, var(--bg-dark) 100%);
    position: relative; overflow: hidden;
}
.hero::before {
    content: ''; position: absolute; top: -50%; right: -30%;
    width: 600px; height: 600px; border-radius: 50%;
    background: radial-gradient(circle, rgba(230,57,70,.08) 0%, transparent 70%);
    pointer-events: none;
}
.hero__inner { position: relative; z-index: 1; text-align: center; }
.hero__title {
    font-family: var(--font-heading); font-weight: 900;
    font-size: 2.4rem; line-height: 1.15;
    color: var(--white); margin-bottom: 16px;
}
.hero__subtitle {
    font-size: 1.05rem; color: var(--gray);
    max-width: 520px; margin: 0 auto 32px; line-height: 1.7;
}
.hero__actions { margin-bottom: 40px; }
.hero__actions .btn { width: 100%; justify-content: center; }

.hero__trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 28px; }
.hero__trust-item {
    display: flex; align-items: center; gap: 6px;
    font-size: .82rem; color: var(--gray-dark);
}

/* ========================================
   SERVICES
   ======================================== */
.services { padding: 80px 0; background: var(--bg-dark2); }

.services__grid {
    display: grid; grid-template-columns: 1fr; gap: 24px;
}

.service-card {
    background: var(--card-dark);
    border-radius: var(--radius);
    border-top: 3px solid var(--red);
    padding: 32px 24px;
    position: relative;
    transition: transform var(--transition), box-shadow var(--transition);
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,.4); }

.service-card--featured { border-top-width: 4px; background: linear-gradient(180deg, rgba(230,57,70,.06) 0%, var(--card-dark) 40%); }

.service-card__badge {
    position: absolute; top: -1px; right: 20px;
    background: var(--red); color: var(--white);
    font-family: var(--font-heading); font-weight: 700; font-size: .7rem;
    padding: 4px 14px; border-radius: 0 0 6px 6px;
    text-transform: uppercase; letter-spacing: .5px;
}

.service-card__icon { margin-bottom: 16px; }
.service-card__title {
    font-family: var(--font-heading); font-weight: 800;
    font-size: 1.2rem; color: var(--white); margin-bottom: 10px;
}
.service-card__desc { font-size: .9rem; line-height: 1.6; margin-bottom: 16px; }
.service-card__list {
    list-style: none; margin-bottom: 24px;
    display: grid; gap: 8px;
}
.service-card__list li {
    font-size: .85rem; color: var(--gray);
    padding-left: 20px; position: relative;
}
.service-card__list li::before {
    content: ''; position: absolute; left: 0; top: 8px;
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--red);
}

/* ========================================
   WHY VF
   ======================================== */
.why { padding: 80px 0; background: var(--bg-dark); }

.why__grid {
    display: grid; grid-template-columns: 1fr; gap: 24px;
}

.why-card {
    background: var(--card-dark);
    border-radius: var(--radius);
    padding: 28px 24px;
    border-left: 3px solid var(--red);
    transition: transform var(--transition);
}
.why-card:hover { transform: translateY(-3px); }
.why-card__icon { margin-bottom: 12px; }
.why-card__title {
    font-family: var(--font-heading); font-weight: 800;
    font-size: 1.05rem; color: var(--white); margin-bottom: 8px;
}
.why-card__desc { font-size: .88rem; line-height: 1.6; }

/* ========================================
   GALLERY
   ======================================== */
.gallery { padding: 80px 0; background: var(--bg-dark2); }

.gallery__grid {
    display: grid; grid-template-columns: 1fr; gap: 24px;
}

.gallery-card {
    background: var(--card-dark);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform var(--transition);
}
.gallery-card:hover { transform: translateY(-3px); }

.gallery-card__img {
    position: relative; width: 100%;
    aspect-ratio: 16/10;
    background: var(--card-dark2);
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.gallery-card__img img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .4s ease;
}
.gallery-card:hover .gallery-card__img img {
    transform: scale(1.05);
}
.gallery-card__placeholder {
    opacity: .5;
}
.gallery-card__likes {
    position: absolute; bottom: 10px; right: 10px;
    background: rgba(0,0,0,.7); border-radius: 20px;
    padding: 4px 12px; display: flex; align-items: center; gap: 5px;
    font-size: .78rem; color: var(--white); font-weight: 600;
}
.gallery-card__title {
    font-family: var(--font-heading); font-weight: 700;
    font-size: .95rem; color: var(--white);
    padding: 16px 16px 4px;
}
.gallery-card__desc { font-size: .83rem; padding: 0 16px; line-height: 1.5; }
.gallery-card__link {
    display: inline-block; font-size: .83rem; font-weight: 600;
    padding: 12px 16px 16px;
}

/* ========================================
   STEPS
   ======================================== */
.steps { padding: 80px 0; background: var(--bg-dark); }

.steps__grid {
    display: flex; flex-direction: column;
    align-items: center; gap: 20px;
}

.step {
    background: var(--card-dark);
    border-radius: var(--radius);
    padding: 28px 24px; text-align: center;
    width: 100%; max-width: 340px;
}
.step__number {
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--red); color: var(--white);
    font-family: var(--font-heading); font-weight: 900; font-size: 1.3rem;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 14px;
}
.step__title {
    font-family: var(--font-heading); font-weight: 800;
    font-size: 1rem; color: var(--white); margin-bottom: 6px;
}
.step__desc { font-size: .85rem; }

.step__arrow { display: none; }

/* ========================================
   CONTACT
   ======================================== */
.contact { padding: 80px 0; background: var(--bg-dark2); }

.contact__grid {
    display: grid; grid-template-columns: 1fr; gap: 40px;
}

.contact__info { display: flex; flex-direction: column; gap: 24px; }
.contact__item {
    display: flex; gap: 16px; align-items: flex-start;
}
.contact__item svg { flex-shrink: 0; margin-top: 2px; }
.contact__item strong { color: var(--white); font-size: .9rem; display: block; margin-bottom: 2px; }
.contact__item p { font-size: .88rem; line-height: 1.5; }
.contact__item a { color: var(--red); }

/* Form */
.contact__form {
    background: var(--card-dark);
    border-radius: var(--radius);
    padding: 32px 24px;
    display: flex; flex-direction: column; gap: 18px;
}
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
    font-size: .82rem; font-weight: 600; color: var(--gray);
    text-transform: uppercase; letter-spacing: .5px;
}
.form-group input,
.form-group select,
.form-group textarea {
    background: var(--bg-dark); border: 1px solid rgba(255,255,255,.08);
    border-radius: var(--radius-sm); padding: 12px 16px;
    color: var(--white); font-family: var(--font-body); font-size: .9rem;
    transition: border-color var(--transition);
    outline: none; width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--red);
}
.form-group select { appearance: none; cursor: pointer; }
.form-group textarea { resize: vertical; min-height: 100px; }

/* ========================================
   CTA FINAL
   ======================================== */
.cta-final {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--bg-dark) 0%, #1a1a2e 50%, var(--bg-dark) 100%);
    position: relative; overflow: hidden;
}
.cta-final::before {
    content: ''; position: absolute; bottom: -40%; left: -20%;
    width: 500px; height: 500px; border-radius: 50%;
    background: radial-gradient(circle, rgba(230,57,70,.1) 0%, transparent 70%);
    pointer-events: none;
}
.cta-final__inner { text-align: center; position: relative; z-index: 1; }
.cta-final__title {
    font-family: var(--font-heading); font-weight: 900;
    font-size: 2rem; color: var(--white); margin-bottom: 12px;
}
.cta-final__desc { font-size: 1.05rem; margin-bottom: 32px; max-width: 480px; margin-left: auto; margin-right: auto; }

/* ========================================
   FOOTER
   ======================================== */
.footer {
    padding: 48px 0 24px;
    background: #0a0a0a; border-top: 1px solid rgba(255,255,255,.05);
}
.footer__inner { text-align: center; display: flex; flex-direction: column; gap: 20px; align-items: center; }
.footer__brand { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.footer__logo-img { height: 48px; width: auto; border-radius: 8px; }
.footer__logo { border-radius: 6px; }
.footer__tagline { font-size: .88rem; color: var(--gray-dark); }
.footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 24px; }
.footer__links a { color: var(--gray); font-size: .85rem; }
.footer__links a:hover { color: var(--white); }
.footer__info p { font-size: .82rem; color: var(--gray-dark); }
.footer__info a { color: var(--gray); }
.footer__copy p { font-size: .78rem; color: var(--gray-dark); }

/* ========================================
   FLOATING WHATSAPP
   ======================================== */
.whatsapp-float {
    position: fixed; bottom: 24px; right: 24px; z-index: 999;
    width: 60px; height: 60px; border-radius: 50%;
    background: #25D366; color: #fff;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 20px rgba(37,211,102,.4);
    transition: transform var(--transition), box-shadow var(--transition);
    animation: pulse-whatsapp 2s infinite;
}
.whatsapp-float:hover {
    transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,.55);
    color: #fff;
}

@keyframes pulse-whatsapp {
    0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,.4); }
    50% { box-shadow: 0 4px 30px rgba(37,211,102,.65), 0 0 0 12px rgba(37,211,102,.1); }
}

/* ========================================
   ANIMATIONS
   ======================================== */
[data-animate] {
    opacity: 0; transform: translateY(24px);
    transition: opacity .6s ease, transform .6s ease;
}
[data-animate].visible {
    opacity: 1; transform: translateY(0);
}

/* ========================================
   RESPONSIVE — Tablet (768px+)
   ======================================== */
@media (min-width: 768px) {
    .container { padding: 0 32px; }

    .section-title { font-size: 2.2rem; }

    .hero { padding: 140px 0 80px; }
    .hero__title { font-size: 3.2rem; }
    .hero__actions .btn { width: auto; }

    .services__grid { grid-template-columns: repeat(2, 1fr); }
    .service-card--featured { grid-column: span 2; }

    .why__grid { grid-template-columns: repeat(2, 1fr); }

    .gallery__grid { grid-template-columns: repeat(2, 1fr); }

    .steps__grid { flex-direction: row; justify-content: center; gap: 16px; }
    .step { max-width: 260px; }
    .step__arrow { display: flex; align-items: center; flex-shrink: 0; }

    .contact__grid { grid-template-columns: 1fr 1fr; }
}

/* ========================================
   RESPONSIVE — Desktop (1024px+)
   ======================================== */
@media (min-width: 1024px) {
    .header__inner { height: 110px; }
    .header__logo-img { height: 100px; }
    .header--solid .header__inner { height: 72px; }
    .header--solid .header__logo-img { height: 60px; }
    .header__nav { display: flex; }
    .header__cta { display: inline-flex; }
    .hamburger { display: none; }

    .hero__title { font-size: 3.6rem; }
    .hero__subtitle { font-size: 1.15rem; }

    .services__grid { grid-template-columns: repeat(3, 1fr); }
    .service-card--featured { grid-column: span 1; }

    .why__grid { grid-template-columns: repeat(4, 1fr); }

    .gallery__grid { grid-template-columns: repeat(4, 1fr); }

    .cta-final__title { font-size: 2.6rem; }
}
