/* ============================================
   VAN RENT — Custom CSS (tema albastru UE / alb)
   Identic ca abordare cu Auto Sebastian
   ============================================ */

:root {
    --blue:      #003399;
    --blue-dark: #002277;
    --blue-mid:  #1a4db3;
    --blue-light:#e8eef8;
    --gold:      #FFCC00;
    --white:     #ffffff;
    --surface:   #f4f7fd;
    --surface2:  #eaf0fb;
    --text:      #0d1b2e;
    --text-soft: #3a4e6a;
    --muted:     #6b7fa0;
    --border:    rgba(0,51,153,.12);
}

html, body {
    overflow-x: hidden;
    background: var(--white);
    color: var(--text);
}

.nav-link {
    position: relative;
    color: var(--text-soft);
    transition: color .25s ease;
    padding: 4px 0;
}
.nav-link:hover { color: var(--blue); }
.nav-link::after {
    content: '';
    position: absolute;
    left: 50%; bottom: -6px;
    width: 0; height: 2px;
    background: var(--blue);
    transition: width .3s ease, left .3s ease;
}
.nav-link:hover::after,
.nav-link.is-active::after { width: 100%; left: 0; }
.nav-link.is-active { color: var(--blue); font-weight: 600; }

[data-reveal] {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .85s cubic-bezier(.2,.7,.2,1), transform .85s cubic-bezier(.2,.7,.2,1);
}
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal][data-delay="100"] { transition-delay: .1s; }
[data-reveal][data-delay="200"] { transition-delay: .2s; }
[data-reveal][data-delay="300"] { transition-delay: .3s; }
[data-reveal][data-delay="400"] { transition-delay: .4s; }
[data-reveal][data-delay="500"] { transition-delay: .5s; }

.bg-grain { position: relative; }
.bg-grain::before {
    content: '';
    position: absolute; inset: 0;
    pointer-events: none; opacity: .025; z-index: 1;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/></svg>");
}

.hero {
    background:
        linear-gradient(120deg, rgba(0,34,119,.95) 0%, rgba(0,51,153,.70) 55%, rgba(0,34,119,.30) 100%),
        url('https://images.unsplash.com/photo-1609520778763-cf01eed24d54?auto=format&fit=crop&w=2000&q=85') center/cover no-repeat;
    color: #fff;
}
.page-hero {
    background: linear-gradient(160deg, #002277 0%, #003399 55%, #1a4db3 100%);
    color: #fff;
    position: relative; overflow: hidden;
}
.page-hero::after {
    content: '';
    position: absolute; inset: 0;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='60' height='60'><circle cx='30' cy='30' r='1.5' fill='%23FFCC00' opacity='.2'/></svg>") repeat;
    pointer-events: none;
}

.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 11.5px; font-weight: 600;
    text-transform: uppercase; letter-spacing: .3em;
    color: var(--blue);
}
.eyebrow::before { content: ''; width: 28px; height: 2px; background: var(--blue); }

.eyebrow-light {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 11.5px; font-weight: 600;
    text-transform: uppercase; letter-spacing: .3em;
    color: var(--gold);
}
.eyebrow-light::before { content: ''; width: 28px; height: 2px; background: var(--gold); }

.section-title {
    font-family: 'Bebas Neue', Impact, sans-serif;
    font-size: clamp(2.25rem, 5vw, 3.8rem);
    line-height: 1; letter-spacing: .02em;
    color: var(--text);
}

.service-card {
    background: var(--white);
    border: 1px solid var(--border);
    box-shadow: 0 4px 24px rgba(0,51,153,.06);
    border-radius: 14px;
    transition: transform .3s, border-color .3s, box-shadow .3s;
}
.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0,51,153,.30);
    box-shadow: 0 16px 48px rgba(0,51,153,.14);
}

.feature-icon {
    width: 56px; height: 56px;
    border-radius: 9999px;
    background: var(--blue);
    display: inline-flex; align-items: center; justify-content: center;
    color: #fff; flex-shrink: 0;
    box-shadow: 0 6px 20px rgba(0,51,153,.35);
}

.form-input {
    width: 100%; padding: 14px 16px;
    background: var(--surface2);
    border: 1.5px solid rgba(0,51,153,.14);
    border-radius: 8px; color: var(--text);
    font-size: 15px; font-family: inherit;
    transition: border-color .25s, background .25s, box-shadow .25s;
}
.form-input:focus {
    outline: none;
    border-color: var(--blue);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0,51,153,.11);
}
.form-input::placeholder { color: var(--muted); }
.form-input.is-error { border-color: #dc2626; background: rgba(220,38,38,.04); }
.form-label {
    display: block; font-size: 11.5px; font-weight: 600;
    text-transform: uppercase; letter-spacing: .15em;
    color: var(--text-soft); margin-bottom: 8px;
}

.hp-field { position:absolute!important; left:-10000px!important; width:1px!important; height:1px!important; overflow:hidden!important; }

.btn-primary {
    display: inline-flex; align-items: center; gap: 10px;
    background: var(--blue); color: #fff;
    padding: 14px 28px; border-radius: 8px;
    font-weight: 600; text-transform: uppercase; letter-spacing: .1em; font-size: 14px;
    transition: all .3s; border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--blue-dark); box-shadow: 0 8px 30px rgba(0,51,153,.40); transform: translateY(-1px); }

.btn-ghost {
    display: inline-flex; align-items: center; gap: 10px;
    background: transparent; color: var(--blue);
    padding: 13px 27px; border-radius: 8px;
    font-weight: 600; text-transform: uppercase; letter-spacing: .1em; font-size: 14px;
    border: 1.5px solid var(--blue); transition: all .3s;
}
.btn-ghost:hover { background: var(--blue); color: #fff; }

.btn-white {
    display: inline-flex; align-items: center; gap: 10px;
    background: #fff; color: var(--blue);
    padding: 14px 28px; border-radius: 8px;
    font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: 14px;
    transition: all .3s; border: none; cursor: pointer;
}
.btn-white:hover { background: var(--gold); }

.btn-outline-white {
    display: inline-flex; align-items: center; gap: 10px;
    background: transparent; color: #fff;
    padding: 13px 27px; border-radius: 8px;
    font-weight: 600; text-transform: uppercase; letter-spacing: .1em; font-size: 14px;
    border: 1.5px solid rgba(255,255,255,.65); transition: all .3s;
}
.btn-outline-white:hover { border-color: #fff; background: rgba(255,255,255,.12); }

.spec-box {
    background: var(--surface);
    border: 1px solid rgba(0,51,153,.09);
    border-radius: 8px; padding: 14px 16px;
}
.spec-label { font-size: 10px; text-transform:uppercase; letter-spacing:.2em; color:var(--muted); margin-bottom:4px; }
.spec-value { font-weight:600; color:var(--text); font-size:15px; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--surface); }
::-webkit-scrollbar-thumb { background: #b8c8e0; border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--blue); }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms!important; transition-duration: 0.01ms!important; }
    [data-reveal] { opacity: 1; transform: none; }
}
