
/*
Theme Name: DriveNow Car Rental
Theme URI: https://example.com/
Author: Custom
Description: Modern responsive car-rental WordPress theme inspired by the DriveNow homepage mockup. No plugins required.
Version: 1.0.0
Text Domain: drivenow
*/
:root{--navy:#061526;--blue:#0c2a49;--yellow:#ffc400;--text:#10243d;--muted:#66758a;--bg:#f7f9fc;--card:#fff}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--text);background:#fff;line-height:1.5}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto}
.container{width:min(1180px,92%);margin:auto}.site-header{position:absolute;z-index:20;top:0;left:0;right:0;color:#fff;background:linear-gradient(180deg,rgba(0,0,0,.55),transparent);padding:20px 0}.nav{display:flex;align-items:center;justify-content:space-between;gap:30px}.logo{width:175px}.menu{display:flex;gap:30px;align-items:center;font-size:14px;font-weight:600}.menu a:hover{color:var(--yellow)}.hamb{display:none;font-size:28px}
.hero{min-height:720px;background-image:linear-gradient(90deg,rgba(3,14,27,.82),rgba(3,14,27,.12)),url("assets/hero.jpg");background-size:cover;background-position:center;display:flex;align-items:center;color:#fff;padding:110px 0 80px}.hero-grid{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:40px}.eyebrow{font-size:13px;letter-spacing:3px;font-weight:700}.hero h1{font-size:clamp(42px,5vw,70px);line-height:1.02;margin:15px 0}.hero p{font-size:18px;max-width:550px;color:#edf2f7}.yellow{color:var(--yellow)}
.booking{background:#fff;color:var(--text);border-radius:18px;padding:22px;box-shadow:0 20px 50px rgba(0,0,0,.22)}.fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.field{border:1px solid #e2e8f0;border-radius:10px;padding:13px 14px}.field label{display:block;font-size:12px;font-weight:700;color:#20364f;margin-bottom:4px}.field input,.field select{width:100%;border:0;outline:0;font:inherit;color:#66758a;background:transparent}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:10px;padding:14px 22px;background:var(--yellow);color:#111;font-weight:800;cursor:pointer}.booking .btn{width:100%;margin-top:12px;font-size:15px}
.features{background:var(--navy);color:#fff}.feature-grid{display:grid;grid-template-columns:repeat(4,1fr);padding:28px 0}.feature{display:flex;gap:12px;padding:10px 20px;border-right:1px solid rgba(255,255,255,.15)}.feature:last-child{border:0}.feature .ico{font-size:25px;color:var(--yellow)}.feature strong{display:block}.feature span{font-size:12px;color:#c8d2df}
.section{padding:70px 0}.section-head{display:flex;align-items:end;justify-content:space-between;margin-bottom:28px}.section-head h2{font-size:34px;line-height:1.1;margin:5px 0}.section-head p{margin:0;color:var(--muted)}.link{color:#1266d6;font-weight:700}
.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.card{background:#fff;border:1px solid #e6ebf2;border-radius:16px;padding:15px;box-shadow:0 8px 25px rgba(15,35,60,.06)}.card-img{height:145px;background:#f4f7fa;border-radius:12px;display:flex;align-items:center;justify-content:center;overflow:hidden}.card-img img{width:100%;height:100%;object-fit:cover}.card h3{margin:12px 0 3px;font-size:18px}.price{font-size:13px;color:var(--muted)}
.offer{border-radius:18px;overflow:hidden;background:linear-gradient(90deg,#061526,#173653);color:#fff;padding:42px;margin:0 0 70px}.offer h2{font-size:40px;margin:6px 0 12px;max-width:520px}.offer p{color:#dce5ef;max-width:500px}
.why{background:var(--bg)}.why-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:25px}.why-item{padding:15px}.why-icon{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:#fff;font-size:22px;margin-bottom:12px}.testimonials{background:#f2f5f8}.quote{background:#fff;border-radius:16px;padding:24px;border:1px solid #e6ebf2}.stars{color:#ffc400;letter-spacing:2px}
.site-footer{background:#061526;color:#cbd6e2;padding:55px 0 20px}.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1.2fr;gap:40px}.site-footer h3{color:#fff}.site-footer ul{padding:0;list-style:none;line-height:2}.copyright{border-top:1px solid rgba(255,255,255,.12);margin-top:35px;padding-top:18px;font-size:12px}
@media(max-width:900px){.menu{display:none}.hamb{display:block}.hero{min-height:auto;padding:120px 0 45px}.hero-grid{grid-template-columns:1fr}.hero h1{font-size:48px}.booking{max-width:600px}.cards{grid-template-columns:repeat(2,1fr)}.feature-grid{grid-template-columns:repeat(2,1fr)}.feature:nth-child(2){border-right:0}.why-grid{grid-template-columns:repeat(2,1fr)}.footer-grid{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.container{width:90%}.logo{width:145px}.hero{padding-top:105px}.hero h1{font-size:40px}.hero p{font-size:15px}.fields{grid-template-columns:1fr}.feature-grid{grid-template-columns:1fr 1fr}.feature{padding:10px 8px}.feature:nth-child(odd){border-right:1px solid rgba(255,255,255,.15)}.feature:nth-child(even){border-right:0}.cards{grid-template-columns:1fr 1fr;gap:10px}.card{padding:10px}.card-img{height:105px}.card h3{font-size:15px}.section{padding:45px 0}.section-head h2{font-size:27px}.offer{padding:28px 22px;margin-bottom:45px}.offer h2{font-size:30px}.why-grid{grid-template-columns:1fr 1fr;gap:10px}.footer-grid{grid-template-columns:1fr}.site-footer{padding-top:40px}}
