/*
Theme Name: VIAJAHOY Final Requested Fix
Theme URI: https://viajahoycars.com/
Author: ChatGPT
Description: Clean English car rental WordPress theme with Cars admin, Customizer controls, WhatsApp booking, mobile controls, and social links.
Version: 10.0
Requires at least: 5.8
Tested up to: 6.7
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: viajahoy
*/
:root{--yellow:#ffcc00;--yellow-dark:#e6b800;--black:#0b0b0b;--text:#111827;--muted:#6b7280;--line:#eceff3;--bg:#fff;--soft:#f7f8fb;--logo-desktop:220px;--logo-mobile:155px;--hero-title-mobile:36px;--car-image-mobile:210px;--radius:20px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fff;color:var(--text);font-family:Inter,Poppins,"Segoe UI",Arial,sans-serif;line-height:1.6}a{text-decoration:none;color:inherit}img{max-width:100%;height:auto}.container{width:min(1180px,92%);margin:auto}.site-header{background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:999;box-shadow:0 10px 30px rgba(0,0,0,.04)}.header-inner{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:82px}.brand{display:flex;align-items:center}.brand img,.custom-logo{display:block;width:auto;max-width:var(--logo-desktop);max-height:68px;object-fit:contain}.main-nav{display:flex;align-items:center;gap:30px;font-size:14px;font-weight:900;text-transform:uppercase;letter-spacing:.02em}.main-nav a{position:relative;padding:30px 0}.main-nav a:hover:after,.main-nav a.active:after{content:"";position:absolute;left:0;right:0;bottom:20px;height:4px;border-radius:8px;background:var(--yellow)}.header-right{display:flex;align-items:center;gap:16px}.phone-top{display:flex;align-items:center;gap:10px;color:#111}.phone-top .small{font-size:12px;color:#555;line-height:1.1}.phone-top strong{font-size:20px;line-height:1.1}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:10px;padding:14px 24px;font-weight:950;cursor:pointer;transition:.2s}.btn-yellow{background:var(--yellow);color:#111}.btn-yellow:hover{background:var(--yellow-dark);transform:translateY(-1px)}.btn-black{background:#111;color:#fff}.btn-black:hover{transform:translateY(-1px);box-shadow:0 12px 24px rgba(0,0,0,.18)}.menu-toggle{display:none;background:#111;color:#fff;border:0;border-radius:10px;padding:10px 13px;font-weight:900}.hero{background:linear-gradient(90deg,rgba(255,255,255,.96),rgba(255,255,255,.78)),var(--hero-bg,linear-gradient(180deg,#f3f4f6,#fff));background-size:cover;background-position:center;min-height:430px;display:flex;align-items:center;border-bottom:1px solid #eee;position:relative;overflow:hidden}.hero:before{content:"";position:absolute;right:0;top:0;bottom:0;width:58%;background:linear-gradient(90deg,rgba(255,255,255,0),rgba(255,255,255,.2))}.hero-grid{position:relative;z-index:1;display:grid;grid-template-columns:.9fr 1.1fr;align-items:center;gap:28px;padding:70px 0}.hero h1{font-size:clamp(38px,4.8vw,58px);line-height:1.05;margin:0 0 14px;font-weight:950;letter-spacing:-.055em;color:#111}.hero h1 span{display:block;color:var(--yellow-dark)}.hero p{max-width:520px;margin:0;color:#333;font-size:17px}.hero-actions{margin-top:26px;display:flex;gap:12px;flex-wrap:wrap}.hero-car{display:flex;justify-content:center;align-items:flex-end}.hero-car img{width:min(680px,100%);filter:drop-shadow(0 28px 35px rgba(0,0,0,.18));object-fit:contain}.fleet-intro{text-align:center;padding:42px 0 18px}.kicker{color:var(--yellow-dark);font-size:13px;font-weight:950;letter-spacing:.1em;text-transform:uppercase}.fleet-intro h2{font-size:clamp(32px,3.5vw,46px);line-height:1.1;margin:7px 0 8px;letter-spacing:-.04em}.fleet-intro p{margin:0;color:#6b7280}.cars-section{padding:30px 0 70px}.cars-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}.car-card{background:#fff;border:1px solid #e5e7eb;border-radius:14px;overflow:hidden;box-shadow:0 10px 28px rgba(0,0,0,.05);transition:.2s}.car-card:hover{transform:translateY(-4px);box-shadow:0 20px 42px rgba(0,0,0,.1)}.car-image{height:210px;background:#f6f7f9;display:flex;align-items:center;justify-content:center;overflow:hidden}.car-image img{width:100%;height:100%;object-fit:cover}.car-body{padding:18px}.car-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px}.car-body h3{font-size:20px;line-height:1.15;margin:0;font-weight:950;letter-spacing:-.02em}.badge{font-size:12px;padding:5px 10px;border-radius:999px;background:#ffe680;color:#7a5f00;font-weight:900;white-space:nowrap}.specs{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;border-top:1px solid #eee;border-bottom:1px solid #eee;padding:12px 0;margin:12px 0;text-align:center}.spec{font-size:12px;color:#555}.spec strong{display:block;color:#111;font-size:12px}.price{text-align:center;margin:12px 0 14px;color:#555}.price strong{display:block;color:#111;font-size:25px;line-height:1.1}.car-card .btn{width:100%;padding:12px 13px;border-radius:8px}.view-all{text-align:center;margin-top:28px}.about{background:#fff;padding:10px 0 60px}.about-card{background:var(--soft);border:1px solid var(--line);border-radius:22px;padding:34px;display:grid;grid-template-columns:1.3fr .7fr;gap:24px}.about-card h2{font-size:34px;margin:0 0 10px;letter-spacing:-.04em}.info-list{display:grid;gap:10px}.info-list div{background:#fff;border:1px solid #eee;border-radius:12px;padding:12px 14px;font-weight:800}.footer{background:#111;color:#f5f5f5;padding:48px 0 20px}.footer-grid{display:grid;grid-template-columns:1.15fr .85fr 1fr;gap:34px}.footer-logo{background:#fff;border-radius:4px;padding:6px;max-width:170px;width:auto;height:auto;margin-bottom:16px}.footer h3,.footer h4{margin:0 0 13px;color:var(--yellow);font-size:16px;text-transform:uppercase}.footer p,.footer a{color:#d4d4d4}.footer ul{padding:0;margin:0;list-style:none;display:grid;gap:8px}.socials{display:flex;flex-wrap:wrap;gap:11px;margin-top:16px}.socials a{width:42px;height:42px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:#202020;border:1px solid #333;color:#fff}.socials a:hover{background:var(--yellow);color:#111}.socials svg{width:20px;height:20px;fill:currentColor}.copyright{border-top:1px solid #2b2b2b;margin-top:32px;padding-top:18px;text-align:center;color:#aaa;font-size:14px}.pagination{display:flex;justify-content:center;gap:7px;margin-top:30px}.pagination .page-numbers{background:#fff;border:1px solid #e5e7eb;border-radius:9px;padding:8px 12px;font-weight:900}.pagination .current{background:#111;color:#fff}.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}
@media(max-width:1080px){.cars-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.phone-top{display:none}.brand img,.custom-logo{max-width:var(--logo-desktop)}}
@media(max-width:850px){.header-inner{min-height:72px}.brand img,.custom-logo{max-width:var(--logo-mobile);max-height:54px}.menu-toggle{display:inline-flex}.main-nav{display:none;position:absolute;top:76px;left:4%;right:4%;background:#fff;border:1px solid #eee;border-radius:14px;box-shadow:0 20px 50px rgba(0,0,0,.15);padding:15px;flex-direction:column;align-items:flex-start;gap:0}.main-nav.open{display:flex}.main-nav a{padding:10px 4px}.main-nav a:after{display:none}.header-right .btn-yellow{display:none}.hero-grid{grid-template-columns:1fr;padding:44px 0}.hero-car{order:-1}.hero-car img{max-height:230px}.hero{text-align:center}.hero p{margin:auto}.hero-actions{justify-content:center}.cars-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.about-card,.footer-grid{grid-template-columns:1fr}}
@media(max-width:560px){.container{width:min(94%,1180px)}.hero h1{font-size:var(--hero-title-mobile)}.hero p{font-size:15px}.hero-actions .btn{width:100%}.cars-grid{grid-template-columns:1fr}.car-image{height:var(--car-image-mobile)}.fleet-intro{padding-top:34px}.fleet-intro h2{font-size:31px}.specs{grid-template-columns:repeat(4,1fr);gap:4px}.spec{font-size:11px}.footer{text-align:left}.mobile-hide-hero-car .hero-car{display:none}.mobile-compact-header .header-inner{min-height:64px}.mobile-compact-header .brand img,.mobile-compact-header .custom-logo{max-height:46px}}

/* V7 fixes: smaller WhatsApp icons and cleaner top/home layout */
.btn svg,
.header-right .btn svg,
.hero-actions .btn svg,
.car-card .btn svg,
.single-car .btn svg{
  width:16px!important;
  height:16px!important;
  min-width:16px!important;
  max-width:16px!important;
  display:inline-block;
  vertical-align:middle;
  flex:0 0 16px;
  fill:currentColor;
}
.header-right .btn-yellow svg{width:15px!important;height:15px!important;min-width:15px!important;}
.car-card .btn svg{width:14px!important;height:14px!important;min-width:14px!important;}

.site-header{background:rgba(255,255,255,.98);backdrop-filter:saturate(160%) blur(8px)}
.header-inner{min-height:74px;gap:18px}.brand img,.custom-logo{max-height:58px}.main-nav{gap:24px}.main-nav a{padding:25px 0}.main-nav a:hover:after,.main-nav a.active:after{bottom:16px;height:3px}.header-right .btn{padding:12px 18px;border-radius:9px}.phone-top strong{font-size:18px}.phone-top .small{font-size:11px}.hero{min-height:500px;background:linear-gradient(90deg,#fff 0%,rgba(255,255,255,.94) 36%,rgba(255,255,255,.72) 63%,rgba(255,255,255,.4) 100%),var(--hero-bg,linear-gradient(180deg,#f4f5f7,#ffffff));}.hero-grid{padding:56px 0 62px;grid-template-columns:.85fr 1.15fr}.hero h1{font-size:clamp(40px,4.6vw,62px);max-width:560px}.hero h1 span{color:#f4bd00}.hero p{font-size:16px;max-width:500px}.hero-actions{margin-top:24px}.hero-actions .btn{min-width:145px}.hero-car img{width:min(720px,100%);max-height:390px;object-fit:contain}.fleet-intro{padding-top:48px}
@media(max-width:850px){.header-inner{min-height:68px}.brand img,.custom-logo{max-height:48px;max-width:var(--logo-mobile)}.header-right{gap:8px}.hero{min-height:auto;background:linear-gradient(180deg,#fff 0%,#f7f8fb 100%)}.hero-grid{padding:26px 0 38px;gap:14px}.hero-car{order:2}.hero-car img{max-height:210px}.hero h1{font-size:36px}.hero p{font-size:15px}.hero-actions{margin-top:18px}.main-nav{top:70px}.btn svg{width:15px!important;height:15px!important;min-width:15px!important}.socials a{width:38px;height:38px}.socials svg{width:18px;height:18px}}
@media(max-width:560px){.site-header{position:sticky}.header-inner{min-height:64px}.brand img,.custom-logo{max-height:44px;max-width:145px}.menu-toggle{padding:9px 11px;font-size:13px}.hero-grid{padding:22px 0 32px}.hero h1{font-size:32px;letter-spacing:-.045em}.hero p{font-size:14px}.hero-actions .btn{width:100%;padding:12px 16px}.hero-car img{max-height:185px}.fleet-intro{padding:30px 0 10px}.cars-section{padding-top:16px}.header-right .btn-yellow{display:none}.car-card .btn{font-size:14px}.car-card .btn svg{width:13px!important;height:13px!important;min-width:13px!important}.footer-logo{max-width:145px}.socials a{width:36px;height:36px}.socials svg{width:17px;height:17px}}


/* V8 hero background redesign + reliable logo sizing */
:root{--hero-overlay:82%;--hero-position:center;--header-height:82px;}
.brand{min-width:0;line-height:0;}
.brand .custom-logo,.brand img{width:var(--logo-desktop)!important;max-width:var(--logo-desktop)!important;height:auto!important;max-height:none!important;object-fit:contain!important;display:block!important;}
.custom-logo-link{display:block!important;line-height:0!important;}
.site-header .container{max-width:1240px;}
.hero{
  min-height:560px!important;
  background-image:linear-gradient(90deg,rgba(255,255,255,.96) 0%,rgba(255,255,255,.88) 38%,rgba(255,255,255,.35) 68%,rgba(255,255,255,.14) 100%),var(--hero-bg)!important;
  background-size:cover!important;
  background-position:var(--hero-position)!important;
  display:flex!important;
  align-items:center!important;
  border-bottom:0!important;
}
.hero:before{display:none!important;}
.hero:after{content:"";position:absolute;inset:auto 0 0 0;height:8px;background:linear-gradient(90deg,var(--yellow),#111,var(--yellow));}
.hero-grid{display:block!important;max-width:620px;padding:94px 0!important;}
.hero h1{text-align:left!important;font-size:clamp(42px,5vw,72px)!important;line-height:.98!important;margin-bottom:18px!important;}
.hero h1 span{color:#f4bd00!important;}
.hero p{text-align:left!important;margin:0!important;font-size:18px!important;color:#333!important;max-width:540px!important;}
.hero-actions{justify-content:flex-start!important;margin-top:30px!important;}
.hero-car{display:none!important;}
.btn{min-height:50px;}
.hero .btn-yellow{box-shadow:0 12px 25px rgba(255,204,0,.28);}
.hero .btn-black{box-shadow:0 14px 28px rgba(0,0,0,.18);}
@media(max-width:850px){
  .brand .custom-logo,.brand img{width:var(--logo-mobile)!important;max-width:var(--logo-mobile)!important;}
  .hero{min-height:520px!important;background-image:linear-gradient(180deg,rgba(255,255,255,.96) 0%,rgba(255,255,255,.86) 50%,rgba(255,255,255,.45) 100%),var(--hero-bg)!important;background-position:center!important;}
  .hero-grid{padding:62px 0!important;max-width:100%;}
  .hero h1,.hero p{text-align:center!important;margin-left:auto!important;margin-right:auto!important;}
  .hero-actions{justify-content:center!important;}
  .header-inner{min-height:72px;}
}
@media(max-width:560px){
  .brand .custom-logo,.brand img{width:var(--logo-mobile)!important;max-width:var(--logo-mobile)!important;}
  .hero{min-height:500px!important;}
  .hero-grid{padding:48px 0!important;}
  .hero h1{font-size:var(--hero-title-mobile)!important;}
  .hero p{font-size:15px!important;}
}


/* Final requested fixes: remove About block/footer logo, keep logo sizing, add mobile phone beside logo */
.about{display:none!important;}
.footer-logo{display:none!important;}
.mobile-phone-inline{display:none;}
@media(max-width:850px){
  .mobile-phone-inline{display:inline-flex;align-items:center;gap:5px;margin-left:10px;color:#111;font-weight:950;font-size:14px;line-height:1;white-space:nowrap;}
  .mobile-phone-inline .phone-icon{color:var(--yellow-dark);font-size:14px;line-height:1;}
  .brand-wrap{display:flex;align-items:center;min-width:0;flex:1 1 auto;}
  .brand{flex:0 1 auto;}
  .header-right{flex:0 0 auto;margin-left:8px;}
}
@media(max-width:420px){
  .mobile-phone-inline{font-size:12px;margin-left:7px;}
}


/* Requested only: refined small specification icons for gear, fuel and A/C */
.spec .spec-icon{display:block;width:13px;height:13px;margin:0 auto 3px;color:#6b7280;line-height:0;}
.spec .spec-icon svg{width:13px;height:13px;display:block;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}
.spec:hover .spec-icon{color:var(--yellow-dark);}
@media(max-width:560px){.spec .spec-icon{width:12px;height:12px;margin-bottom:2px}.spec .spec-icon svg{width:12px;height:12px}}

/* Final correction: professional compact car-spec icons */
.car-card .specs{
  align-items:start;
}
.car-card .spec{
  min-width:0;
  font-size:12px;
  color:#666;
  line-height:1.25;
}
.car-card .spec .spec-icon{
  display:block !important;
  width:14px !important;
  height:14px !important;
  margin:0 auto 5px !important;
  color:#4b5563 !important;
  line-height:0 !important;
}
.car-card .spec .spec-icon svg{
  width:14px !important;
  height:14px !important;
  display:block !important;
  fill:none !important;
  stroke:currentColor !important;
  stroke-width:1.8 !important;
  stroke-linecap:round !important;
  stroke-linejoin:round !important;
}
.car-card .spec strong{
  display:block;
  font-size:12px;
  line-height:1.2;
  margin-bottom:3px;
  color:#111827;
  font-weight:900;
}
.car-card .price{
  text-align:center;
  margin:14px 0 16px;
  color:#666;
  font-size:18px;
  line-height:1.25;
}
.car-card .price strong{
  display:block;
  color:#111;
  font-size:28px;
  line-height:1.15;
  font-weight:950;
  direction:ltr;
}
@media(max-width:560px){
  .car-card .spec .spec-icon,
  .car-card .spec .spec-icon svg{
    width:13px !important;
    height:13px !important;
  }
  .car-card .spec{font-size:11px;}
  .car-card .spec strong{font-size:11px;}
}

/* Final requested correction: emoji specs only, no large SVG icons */
.car-card .emoji-specs{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px 10px;
  text-align:left;
  padding:12px 0;
}
.car-card .emoji-specs .spec{
  display:flex;
  align-items:center;
  gap:6px;
  font-size:13px;
  font-weight:700;
  color:#374151;
  line-height:1.2;
  white-space:nowrap;
}
.car-card .emoji-specs .spec-emoji{
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  width:16px!important;
  height:16px!important;
  min-width:16px!important;
  margin:0!important;
  font-size:14px!important;
  line-height:1!important;
}
@media(max-width:560px){
  .car-card .emoji-specs{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 8px;}
  .car-card .emoji-specs .spec{font-size:12px;gap:5px;}
  .car-card .emoji-specs .spec-emoji{width:15px!important;height:15px!important;min-width:15px!important;font-size:13px!important;}
}
