/*
Theme Name: TEO VAN Premium
Theme URI: https://teovanrental.gr/
Author: TEO VAN
Description: Editable premium block theme for TEO VAN commercial van rentals.
Version: 2.1.2
Text Domain: teo-van
*/

:root{--teo-navy:#07182b;--teo-blue:#0878ea;--teo-electric:#44b7ff;--teo-ink:#102033;--teo-soft:#eef6ff;--teo-line:#d9e7f5}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--teo-ink);background:#f7fbff;font-family:Inter,Arial,sans-serif}.wp-site-blocks{overflow:hidden}a{text-underline-offset:4px}
.teo-header{position:absolute;z-index:20;top:0;left:0;right:0;padding:22px max(24px,4vw);background:linear-gradient(180deg,rgba(239,248,255,.97),rgba(239,248,255,.78),transparent)}.teo-header .wp-block-site-logo img{filter:drop-shadow(0 5px 12px rgba(4,45,90,.15))}.teo-header .wp-block-navigation-item__content{font-size:.88rem;font-weight:700;color:#102c49}.teo-header .wp-block-button__link{background:#0878ea!important;color:white!important;border-radius:999px;padding:.8rem 1.1rem}
.teo-hero{position:relative;min-height:100svh;padding:clamp(150px,18vh,220px) max(24px,6vw) 100px;display:flex;align-items:center;background:#bfe3ff url('assets/hero-commercial.png') center/cover no-repeat}.teo-hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(240,249,255,.98),rgba(218,239,255,.86) 39%,rgba(9,33,59,.08) 70%),linear-gradient(0deg,rgba(4,20,38,.4),transparent 45%)}.teo-hero>*{position:relative;z-index:1}.teo-kicker{font-weight:800;letter-spacing:.18em;text-transform:uppercase;color:#0068d4}.teo-hero h1{max-width:760px;margin:.7rem 0 1.3rem;font-size:clamp(3.4rem,7vw,7.6rem);line-height:.87;letter-spacing:-.065em;text-transform:uppercase;color:#061b31}.teo-hero p{max-width:590px;font-size:clamp(1.05rem,1.6vw,1.28rem);color:#31526f}.teo-primary .wp-block-button__link{background:linear-gradient(135deg,#0878ea,#005bbb);color:#fff;border-radius:5px;font-weight:800}.teo-secondary .wp-block-button__link{background:rgba(255,255,255,.72);color:#092746;border:1px solid #a9cce9;border-radius:5px;font-weight:800}
.teo-section{padding:clamp(80px,10vw,140px) max(24px,6vw)}.teo-section-title{font-size:clamp(2.5rem,5.4vw,5.8rem);line-height:.94;letter-spacing:-.055em;text-transform:uppercase;max-width:1050px}.teo-intro{max-width:650px;color:#54708a;font-size:1.1rem}.teo-fleet{background:#f7fbff}.teo-fleet-grid{margin-top:48px}.teo-card{height:100%;overflow:hidden;border:1px solid var(--teo-line);border-radius:18px;background:#fff;box-shadow:0 18px 55px rgba(12,70,124,.09);transition:.35s ease}.teo-card:hover{transform:translateY(-7px);box-shadow:0 28px 70px rgba(12,70,124,.16)}.teo-card .wp-block-image{margin:0;overflow:hidden;background:#eaf4fc}.teo-card .wp-block-image img{width:100%;aspect-ratio:4/3;object-fit:cover;transition:.55s ease}.teo-card:hover .wp-block-image img{transform:scale(1.035)}.teo-card-copy{padding:26px}.teo-card h3{font-size:1.55rem;margin:0 0 .6rem}.teo-meta{color:#0878ea;font-size:.78rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.teo-card p{color:#60788f}
.teo-why{background:#0a2037;color:white}.teo-why .teo-section-title{color:white}.teo-why-grid{margin-top:54px}.teo-feature{padding:28px 0;border-top:1px solid rgba(255,255,255,.18)}.teo-feature strong{display:block;font-size:clamp(2rem,4vw,4rem);color:#4cbaff}.teo-feature p{font-size:1.05rem;margin:.5rem 0;color:#c6d9ea}.teo-cinematic{min-height:72vh;padding:max(90px,12vw) max(24px,6vw);display:flex;align-items:center;background:#0c2845 url('assets/cinematic-commercial.png') center/cover fixed no-repeat;color:white;position:relative}.teo-cinematic:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(4,20,38,.2),rgba(4,20,38,.82))}.teo-cinematic>*{position:relative;margin-left:auto;z-index:1;max-width:680px}.teo-cinematic h2{font-size:clamp(3rem,7vw,7rem);line-height:.9;letter-spacing:-.06em;margin:0}.teo-contact{background:linear-gradient(135deg,#e9f6ff,#cdeaff);text-align:center}.teo-contact .teo-section-title{margin-left:auto;margin-right:auto}.teo-contact p{margin-left:auto;margin-right:auto}.teo-contact .wp-block-buttons{justify-content:center}.teo-footer{background:#061527;color:#c8d9e9;padding:60px max(24px,6vw)}.teo-footer a{color:white}.teo-footer .wp-block-site-logo{margin-bottom:20px}.teo-float-call{display:none}
@media(max-width:800px){.teo-header{padding:16px 18px}.teo-header .wp-block-navigation{display:none}.teo-hero{min-height:900px;align-items:flex-end;padding:420px 20px 100px;background-position:67% center}.teo-hero:before{background:linear-gradient(180deg,rgba(225,243,255,.82),rgba(5,26,48,.38) 48%,rgba(4,18,34,.93) 75%)}.teo-hero h1,.teo-hero p{color:white}.teo-kicker{color:#8dd4ff}.teo-section{padding:80px 20px}.teo-fleet-grid,.teo-why-grid{display:block!important}.teo-card,.teo-feature{margin-bottom:22px}.teo-cinematic{background-attachment:scroll;background-position:42% center;min-height:620px;align-items:flex-end}.teo-float-call{display:flex;position:fixed;z-index:50;right:16px;bottom:16px;background:#0878ea;color:#fff;border-radius:999px;padding:14px 20px;font-weight:800;box-shadow:0 14px 35px rgba(0,89,187,.4)}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.teo-card,.teo-card img{transition:none}.teo-cinematic{background-attachment:scroll}}

@keyframes teoElementorReveal{from{opacity:0;transform:translate3d(0,46px,0)}to{opacity:1;transform:none}}
.teo-elementor-revealed{visibility:visible!important;animation:teoElementorReveal .78s cubic-bezier(.2,.75,.25,1) var(--teo-reveal-delay,0ms) both}
@media(prefers-reduced-motion:reduce){.teo-elementor-revealed{animation:none!important}}

/* Full-bleed editable sections and motion layer */
.wp-site-blocks,.wp-block-post-content{padding:0!important;margin:0!important;max-width:none!important}
.wp-block-post-content>.wp-block-group{width:100vw;max-width:none!important;margin-left:calc(50% - 50vw)!important;margin-right:calc(50% - 50vw)!important}
.wp-block-post-content>:first-child{margin-top:0!important}.wp-block-post-content>:last-child{margin-bottom:0!important}
.wp-block-button__link{transition:transform .3s ease,box-shadow .3s ease}.wp-block-button__link:hover{transform:translateY(-3px);box-shadow:0 14px 30px rgba(0,91,187,.22)}
.teo-motion{opacity:0;transform:translateY(34px);transition:opacity .75s cubic-bezier(.22,1,.36,1),transform .75s cubic-bezier(.22,1,.36,1)}.teo-motion.is-visible{opacity:1;transform:none}
.teo-hero{animation:teoHeroDrift 10s ease-in-out infinite alternate}.teo-hero-copy{animation:teoHeroIn 1.15s cubic-bezier(.22,1,.36,1) both}.teo-hero:after{content:"";position:absolute;width:34vw;height:34vw;right:-12vw;bottom:-18vw;border-radius:50%;background:rgba(68,183,255,.22);filter:blur(18px);animation:teoGlow 4.5s ease-in-out infinite alternate}.teo-card{animation:teoCardFloat 5s ease-in-out infinite}.teo-card:nth-child(2){animation-delay:.7s}.teo-card:nth-child(3){animation-delay:1.4s}
@keyframes teoHeroIn{from{opacity:0;transform:translateY(55px) scale(.98)}to{opacity:1;transform:none}}@keyframes teoHeroDrift{from{background-position:48% center}to{background-position:54% center}}@keyframes teoGlow{to{transform:scale(1.3);opacity:.62}}@keyframes teoCardFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}
@media(max-width:800px){.teo-hero{animation:teoHeroDriftMobile 9s ease-in-out infinite alternate}.teo-card{animation-duration:4.5s}}@keyframes teoHeroDriftMobile{from{background-position:64% center}to{background-position:72% center}}

/* Motion 1.3 — GPU accelerated, stronger and smoother */
.teo-hero{overflow:hidden;background:#bfe3ff!important;animation:none!important}
.teo-hero:before{inset:-5%;background:linear-gradient(90deg,rgba(240,249,255,.98),rgba(218,239,255,.84) 39%,rgba(9,33,59,.06) 70%),linear-gradient(0deg,rgba(4,20,38,.4),transparent 45%),url('assets/hero-commercial.png') center/cover no-repeat;will-change:transform;animation:teoCinematicZoom 9s cubic-bezier(.45,.05,.55,.95) infinite alternate}
.teo-motion{opacity:0;filter:blur(9px);transform:translate3d(0,72px,0) scale(.94);will-change:transform,opacity,filter;transition:opacity .95s cubic-bezier(.16,1,.3,1),transform .95s cubic-bezier(.16,1,.3,1),filter .8s ease}.teo-motion.is-visible{opacity:1;filter:blur(0);transform:translate3d(0,0,0) scale(1)}
.teo-card{animation:none!important;transition:transform .55s cubic-bezier(.16,1,.3,1),box-shadow .55s ease}.teo-card .wp-block-image img{will-change:transform;animation:teoVanBreath 7s ease-in-out infinite alternate}.teo-card:nth-child(2) .wp-block-image img{animation-delay:-2.2s}.teo-card:nth-child(3) .wp-block-image img{animation-delay:-4.4s}
.teo-feature strong,.teo-feature h3{display:inline-block;font-size:clamp(2rem,4vw,4rem);color:#4cbaff;margin:0;animation:teoNumberPulse 3.8s ease-in-out infinite alternate}.teo-feature:nth-child(2) strong,.teo-feature:nth-child(2) h3{animation-delay:.4s}.teo-feature:nth-child(3) strong,.teo-feature:nth-child(3) h3{animation-delay:.8s}.teo-feature:nth-child(4) strong,.teo-feature:nth-child(4) h3{animation-delay:1.2s}
@keyframes teoCinematicZoom{0%{transform:translate3d(-1.5%,0,0) scale(1.02)}100%{transform:translate3d(1.5%,-1%,0) scale(1.12)}}
@keyframes teoVanBreath{0%{transform:scale(1.01) translate3d(-.5%,0,0)}100%{transform:scale(1.09) translate3d(1.2%,-1%,0)}}
@keyframes teoNumberPulse{0%{transform:translate3d(0,0,0);text-shadow:0 0 0 rgba(68,183,255,0)}100%{transform:translate3d(0,-8px,0);text-shadow:0 0 26px rgba(68,183,255,.65)}}
@media(max-width:800px){.teo-hero:before{background:linear-gradient(180deg,rgba(225,243,255,.76),rgba(5,26,48,.3) 46%,rgba(4,18,34,.94) 75%),url('assets/hero-commercial.png') 67% center/cover no-repeat;animation-duration:8s}.teo-motion{transform:translate3d(0,54px,0) scale(.95)}}

/* Motion 1.4 — scroll performance pass */
html{scroll-behavior:smooth;scrollbar-gutter:stable}.teo-cinematic{background-attachment:scroll!important}
.teo-motion{filter:none!important;transform:translate3d(0,64px,0) scale(.955);transition:opacity .85s cubic-bezier(.16,1,.3,1),transform .85s cubic-bezier(.16,1,.3,1)!important;backface-visibility:hidden;perspective:1000px}
.teo-motion.is-visible{filter:none!important;transform:translate3d(0,0,0) scale(1)}
.teo-card,.teo-card img,.teo-hero:before{backface-visibility:hidden;transform-style:preserve-3d}.teo-card{contain:layout paint style}
.teo-footer .wp-block-site-logo{display:inline-flex!important;align-items:center;justify-content:center;background:#f4faff;padding:12px 18px;border:1px solid rgba(68,183,255,.32);border-radius:14px;box-shadow:0 12px 32px rgba(0,0,0,.22)}.teo-footer .wp-block-site-logo img{display:block!important;opacity:1!important;filter:none!important;max-width:230px;height:auto}
.teo-footer-inner{display:grid;grid-template-columns:minmax(240px,1.15fr) minmax(260px,1fr);gap:42px;align-items:start}.teo-footer-brand h3{margin:.9rem 0}.teo-footer-details{display:grid;gap:13px}.teo-footer-details p{margin:0}.teo-footer-label{display:block;color:#6dc6ff;font-size:.74rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase;margin-bottom:3px}.teo-footer-details a{color:#fff;text-decoration:none}.teo-footer-details a:hover{text-decoration:underline}.teo-map-link{display:inline-flex;align-items:center;gap:8px;font-weight:800}.teo-footer-copy{grid-column:1/-1;border-top:1px solid rgba(255,255,255,.14);padding-top:22px;margin-top:8px;color:#8faac2}
@media(max-width:700px){.teo-footer-inner{grid-template-columns:1fr;gap:30px}.teo-footer-copy{grid-column:auto}}
.elementor .teo-hero-copy{position:relative;z-index:2;max-width:1180px;width:100%;margin:auto}.elementor .teo-fleet-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;margin-top:48px}.elementor .teo-card{display:flex;flex-direction:column;padding:0}.elementor .teo-card .elementor-widget-image img{width:100%;aspect-ratio:4/3;object-fit:cover}.elementor .teo-card-copy{padding:26px}.elementor .teo-why-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px}.elementor .teo-cinematic-copy{position:relative;z-index:2;margin-left:auto;max-width:680px}.elementor .teo-button-row{display:flex;flex-wrap:wrap;gap:12px}.elementor .teo-button-row .elementor-button{background:#0878ea;color:#fff;border-radius:5px;font-weight:800}.elementor .teo-contact{text-align:center}.elementor .teo-contact .teo-button-row{justify-content:center}@media(max-width:800px){.elementor .teo-fleet-grid,.elementor .teo-why-grid{grid-template-columns:1fr}.elementor .teo-hero{min-height:900px;padding:420px 20px 100px}.elementor .teo-cinematic{min-height:620px}}

/* Motion 1.5 — smooth hero asset loading */
.teo-hero{background:linear-gradient(90deg,#f0f9ff 0%,#d9efff 52%,#b9dcf5 100%)!important}
.teo-hero:before{opacity:0;animation:teoHeroFade 1.65s cubic-bezier(.22,1,.36,1) .12s forwards,teoCinematicZoom 9s cubic-bezier(.45,.05,.55,.95) 1.75s infinite alternate}
@keyframes teoHeroFade{from{opacity:0}to{opacity:1}}
