
/*
Theme Name: English Family Car
Theme URI: https://example.com/
Author: English Family Car
Description: Responsive WordPress car-rental homepage recreated from the supplied English Family Car reference design.
Version: 1.5.1
Text Domain: english-family-car
*/
:root{
  --yellow:#ffd20a;
  --yellow2:#ffbf00;
  --navy:#07141d;
  --ink:#0c1520;
  --muted:#66717d;
  --white:#fff;
  --border:#e7ebef;
  --shadow:0 10px 28px rgba(9,25,37,.12);
  --radius:15px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;color:var(--ink);font-family:Poppins,Arial,sans-serif;background:#fff}
a{text-decoration:none;color:inherit}
img{max-width:100%;display:block}
button,input,select{font:inherit}
.efc-wrap{overflow:hidden}
.efc-container{width:min(1180px,calc(100% - 48px));margin:auto}
.efc-top{
  position:absolute;z-index:20;left:0;right:0;top:0;
  background:rgba(4,13,20,.94);color:#fff;
}
.efc-nav{height:76px;display:flex;align-items:center;gap:28px}
.efc-brand img{width:150px;height:auto}
.efc-menu{margin-left:auto;display:flex;align-items:center;gap:30px;font-size:13px;font-weight:600}
.efc-menu a{opacity:.95}
.efc-menu a:hover,.efc-menu a.active{color:var(--yellow)}
.efc-account{font-size:12px;white-space:nowrap}
.efc-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:9px;
  background:var(--yellow);color:#07131a;border:0;border-radius:999px;
  padding:14px 24px;font-weight:800;cursor:pointer;
  box-shadow:0 5px 12px rgba(0,0,0,.12)
}
.efc-btn:hover{background:#ffd92e;transform:translateY(-1px)}
.efc-hero{
  min-height:505px;position:relative;color:#fff;
  background:#07141d url("assets/hero.jpg") center/cover no-repeat;
  padding:145px 0 80px;
}
.efc-hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(2,13,19,.78) 0%,rgba(2,13,19,.3) 48%,rgba(2,13,19,0) 75%)}
.efc-hero .efc-container{position:relative;z-index:2}
.efc-copy{max-width:560px}
.efc-copy h1{font-size:40px;line-height:1.05;margin:0 0 10px;font-weight:800}
.efc-copy h1 span{display:block;color:var(--yellow);font-size:47px;font-style:italic;font-weight:800}
.efc-copy>p{font-size:19px;font-weight:700;margin:14px 0 20px}
.efc-features{display:flex;gap:0;margin:0 0 20px}
.efc-feature{display:flex;align-items:center;gap:8px;padding:0 18px;border-right:1px solid rgba(255,255,255,.3);font-size:11px;font-weight:700}
.efc-feature:first-child{padding-left:0}
.efc-feature:last-child{border:0}
.efc-feature .ico{font-size:26px;color:var(--yellow)}
.efc-search{
  position:relative;z-index:5;margin-top:-42px;background:#fff;border-radius:16px;
  box-shadow:var(--shadow);padding:17px;display:grid;
  grid-template-columns:1.2fr 1.2fr .9fr .9fr auto;gap:10px;
}
.efc-field label{display:block;font-size:11px;color:#46515d;margin:0 0 6px 10px}
.efc-field select,.efc-field input{
  width:100%;height:44px;border:1px solid #e5e9ee;border-radius:8px;
  padding:0 12px;background:#fff;color:#67717b;font-size:12px
}
.efc-search .efc-btn{height:44px;border-radius:8px;padding:0 22px;font-size:12px}
.efc-section{padding:42px 0}
.efc-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:20px}
.efc-kicker{font-size:10px;font-weight:800;letter-spacing:.8px;text-transform:uppercase;display:flex;align-items:center;gap:8px}
.efc-kicker:before{content:"";width:32px;height:6px;background:var(--yellow);display:block}
.efc-title{font-size:29px;margin:5px 0 0;font-weight:800}
.efc-title span{color:var(--yellow2)}
.efc-sub{font-size:13px;color:#4e5964;max-width:520px;margin:0}
.efc-link{font-size:12px;font-weight:700;white-space:nowrap}
.efc-fleet{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.efc-card{border:1px solid var(--border);border-radius:12px;overflow:hidden;background:#fff;box-shadow:0 5px 18px rgba(20,35,45,.07)}
.efc-card img{width:100%;height:134px;object-fit:cover}
.efc-card-body{padding:10px 14px 13px}
.efc-card h3{font-size:14px;margin:0 0 11px}
.efc-meta{display:flex;justify-content:space-between;color:#25303a;font-size:9px;gap:6px;margin-bottom:12px}
.efc-meta span{white-space:nowrap}
.efc-card .efc-btn{width:100%;height:32px;padding:0;border-radius:8px;font-size:10px}
.efc-why{background:var(--navy) url("assets/why-bg.jpg") center/cover no-repeat;color:#fff;position:relative}
.efc-why:before{content:"";position:absolute;inset:0;background:rgba(4,17,25,.88)}
.efc-why .efc-container{position:relative;z-index:1}
.efc-why-grid{display:grid;grid-template-columns:1.3fr repeat(4,1fr);gap:0}
.efc-why-intro{padding-right:35px}
.efc-why-intro h2{font-size:24px;color:var(--yellow);margin:5px 0 10px}
.efc-why-intro p{font-size:12px;line-height:1.7;margin:0 0 14px;color:#e6ebef}
.efc-benefit{text-align:center;padding:20px 14px;border-left:1px solid rgba(255,255,255,.2)}
.efc-benefit .big{font-size:38px;color:var(--yellow);line-height:1}
.efc-benefit strong{display:block;margin-top:10px;font-size:12px}
.efc-benefit small{display:block;margin-top:3px;font-size:10px;color:#f0f0f0}
.efc-reviews{background:#f7fbfd url("assets/reviews-bg.jpg") center/cover no-repeat}
.efc-reviews-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.efc-review{background:rgba(255,255,255,.95);border-radius:11px;padding:18px;display:grid;grid-template-columns:54px 1fr;gap:12px;box-shadow:0 4px 12px rgba(0,0,0,.07)}
.efc-review img{width:54px;height:54px;border-radius:50%;object-fit:cover}
.efc-review p{font-size:10px;line-height:1.55;margin:0 0 10px}
.efc-review strong{font-size:10px}
.efc-stars{color:#ffd000;font-size:13px;margin-top:4px}
.efc-footer{background:var(--navy) url("assets/footer-bg.jpg") center/cover no-repeat;color:#fff;position:relative}
.efc-footer:before{content:"";position:absolute;inset:0;background:rgba(3,14,21,.92)}
.efc-footer .efc-container{position:relative;z-index:1}
.efc-footer-main{display:grid;grid-template-columns:1.2fr .8fr 1.2fr .7fr;gap:30px;padding:34px 0 25px}
.efc-footer-logo{width:170px;margin-bottom:10px}
.efc-tagline{color:var(--yellow);font-size:14px;font-weight:800;font-style:italic}
.efc-footer h4{color:var(--yellow);font-size:13px;margin:0 0 10px}
.efc-footer a,.efc-footer p{display:block;font-size:11px;line-height:1.8;color:#fff}
.efc-social{display:flex;gap:16px;justify-content:flex-end;font-size:20px}
.efc-bottom{border-top:1px solid rgba(255,255,255,.2);padding:12px 0;display:flex;justify-content:space-between;font-size:9px}
.efc-mobile{display:none}
@media(max-width:900px){
  .efc-menu,.efc-account{display:none}
  .efc-mobile{display:block;margin-left:auto;font-size:27px}
  .efc-brand img{width:132px}
  .efc-nav{height:68px}
  .efc-hero{min-height:620px;padding-top:125px;background-position:center top}
  .efc-copy h1{font-size:31px}
  .efc-copy h1 span{font-size:36px}
  .efc-features{flex-wrap:wrap;gap:12px}
  .efc-feature{padding:0 12px 0 0;border:0}
  .efc-search{grid-template-columns:1fr 1fr;position:relative;margin-top:-35px}
  .efc-search .efc-btn{grid-column:1/-1}
  .efc-fleet{grid-template-columns:repeat(2,1fr)}
  .efc-why-grid{grid-template-columns:1fr 1fr}
  .efc-why-intro{grid-column:1/-1;padding:0 0 18px}
  .efc-reviews-grid{grid-template-columns:1fr}
  .efc-footer-main{grid-template-columns:1fr 1fr}
  .efc-social{justify-content:flex-start}
}
@media(max-width:560px){
  .efc-container{width:min(100% - 28px,1180px)}
  .efc-hero{min-height:650px;background-position:57% top}
  .efc-copy{padding-top:35px}
  .efc-copy h1{font-size:27px}
  .efc-copy h1 span{font-size:31px}
  .efc-copy>p{font-size:16px}
  .efc-features{display:grid;grid-template-columns:1fr 1fr}
  .efc-feature{font-size:10px}
  .efc-search{grid-template-columns:1fr;padding:12px}
  .efc-search .efc-btn{grid-column:auto}
  .efc-heading{align-items:flex-start;flex-direction:column}
  .efc-title{font-size:25px}
  .efc-fleet{grid-template-columns:1fr 1fr;gap:10px}
  .efc-card img{height:105px}
  .efc-card-body{padding:9px}
  .efc-meta{font-size:8px;display:block}
  .efc-meta span{display:block;margin:3px 0}
  .efc-why-grid{grid-template-columns:1fr 1fr}
  .efc-benefit{padding:16px 8px}
  .efc-footer-main{grid-template-columns:1fr}
  .efc-bottom{display:block;line-height:1.8}
}

/* Standard inner pages */
.efc-page-wrap{background:#fff}
.efc-page-hero{min-height:330px;position:relative;background:var(--navy) url("assets/hero.jpg") center/cover no-repeat;color:#fff;padding:145px 0 70px}
.efc-page-hero-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(2,13,19,.88),rgba(2,13,19,.45),rgba(2,13,19,.2))}
.efc-page-hero-inner{position:relative;z-index:1}
.efc-page-hero .efc-kicker{color:#fff}
.efc-page-hero h1{font-size:44px;line-height:1.05;margin:10px 0 10px;font-weight:800}
.efc-page-hero p{max-width:680px;font-size:16px;line-height:1.7;margin:0 0 20px;color:#f0f4f7}
.efc-page-content-wrap{padding:55px 0;background-color:#fff;background-position:center;background-size:cover}
.efc-page-content-card{background:rgba(255,255,255,.97);border:1px solid var(--border);border-radius:15px;box-shadow:var(--shadow);padding:35px 40px}
.efc-page-article h1{margin-top:0}
.efc-content{font-size:15px;line-height:1.8;color:#44505c}
.efc-content h2,.efc-content h3,.efc-content h4{color:var(--ink);margin:28px 0 10px}
.efc-content ul{padding-left:22px}
.efc-content a{color:#b88700;text-decoration:underline}
@media(max-width:560px){
  .efc-page-hero{min-height:300px;padding:125px 0 55px}
  .efc-page-hero h1{font-size:31px}
  .efc-page-content-wrap{padding:30px 0}
  .efc-page-content-card{padding:24px 18px}
}

/* ========== About page (exact replica of reference design) ========== */
.efc-about-page{background:#fff}
.efc-about-hero{
  min-height:420px;
  position:relative;
  background:var(--navy) center/cover no-repeat;
  color:#fff;
  padding:160px 0 90px;
  display:flex;
  align-items:center;
}
.efc-about-hero-overlay{
  position:absolute;inset:0;
  background:linear-gradient(100deg,rgba(2,13,19,.92) 0%,rgba(2,13,19,.55) 45%,rgba(2,13,19,.25) 100%);
}
.efc-about-hero-inner{position:relative;z-index:1;max-width:720px}
.efc-about-hero h1{
  font-size:48px;line-height:1.1;margin:0 0 14px;font-weight:800;letter-spacing:-.02em;
}
.efc-about-hero h1 span{color:var(--yellow)}
.efc-about-hero-sub{
  font-size:17px;line-height:1.55;margin:0 0 28px;color:#e8eef3;font-weight:500;
}
.efc-about-btn{
  display:inline-flex;align-items:center;gap:10px;
  background:var(--yellow);color:var(--ink);
  font-weight:700;font-size:15px;
  padding:14px 26px;border-radius:8px;
  text-decoration:none;transition:background .2s,transform .15s;
  box-shadow:0 4px 14px rgba(0,0,0,.25);
}
.efc-about-btn:hover{background:var(--yellow2);transform:translateY(-1px)}
.efc-about-btn .efc-play{font-size:11px;line-height:1}

.efc-about-story{padding:70px 0 40px;background:#fff}
.efc-about-story-grid{
  display:grid;
  grid-template-columns:1fr 1.05fr;
  gap:50px;
  align-items:center;
}
.efc-about-kicker{
  display:flex;align-items:center;gap:12px;
  font-size:13px;font-weight:700;letter-spacing:.12em;
  color:var(--ink);margin-bottom:18px;text-transform:uppercase;
}
.efc-about-line{
  display:inline-block;width:36px;height:3px;background:var(--yellow);border-radius:2px;
}
.efc-about-story-text p{
  font-size:15px;line-height:1.85;color:#44505c;margin:0 0 16px;
}
.efc-about-story-text p:last-child{margin-bottom:0}
.efc-about-story-image{
  position:relative;
  border-radius:14px;
  overflow:hidden;
  box-shadow:0 18px 40px rgba(9,25,37,.18);
}
.efc-about-story-image img{
  display:block;width:100%;height:auto;object-fit:cover;
  min-height:320px;max-height:400px;object-position:center;
}
.efc-about-flag{
  position:absolute;top:18px;right:18px;
  background:rgba(255,255,255,.95);
  padding:6px 8px;border-radius:4px;
  box-shadow:0 4px 12px rgba(0,0,0,.2);
  line-height:0;
}

.efc-about-benefits{padding:20px 0 60px;background:#fff}
.efc-about-benefits-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}
.efc-about-benefit{
  background:#f8fafb;
  border:1px solid #e8edf1;
  border-radius:12px;
  padding:28px 20px 24px;
  text-align:center;
  transition:box-shadow .2s,transform .15s;
}
.efc-about-benefit:hover{
  box-shadow:0 10px 28px rgba(9,25,37,.1);
  transform:translateY(-2px);
}
.efc-about-icon{
  width:56px;height:56px;margin:0 auto 14px;
  display:flex;align-items:center;justify-content:center;
  background:rgba(255,210,10,.12);
  border-radius:50%;
}
.efc-about-benefit strong{
  display:block;font-size:16px;font-weight:700;color:var(--ink);margin-bottom:8px;
}
.efc-about-benefit small{
  display:block;font-size:13px;line-height:1.55;color:#5a6672;
}

.efc-about-quote{
  background:var(--navy);
  color:#fff;
  padding:48px 0;
  position:relative;
  overflow:hidden;
  text-align:center;
}
.efc-about-quote:before,
.efc-about-quote:after{
  content:"";
  position:absolute;
  bottom:0;
  width:180px;height:120px;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 80'%3E%3Cpath fill='%23091a24' d='M10 80 Q30 20 50 80 Q70 10 90 80 Q100 40 120 80 Z'/%3E%3Cpath fill='%230b1f2c' d='M0 80 Q25 30 45 80 Q65 15 85 80 Q105 35 120 80 Z'/%3E%3C/svg%3E") no-repeat bottom center;
  background-size:contain;
  opacity:.9;
  pointer-events:none;
}
.efc-about-quote:before{left:0}
.efc-about-quote:after{right:0;transform:scaleX(-1)}
.efc-about-quote p{
  position:relative;z-index:1;
  font-size:22px;line-height:1.5;font-weight:500;
  margin:0;max-width:780px;margin-left:auto;margin-right:auto;
  color:#f0f4f7;
}
.efc-about-quote p span{color:var(--yellow);font-weight:600}

@media(max-width:960px){
  .efc-about-story-grid{grid-template-columns:1fr;gap:32px}
  .efc-about-benefits-grid{grid-template-columns:1fr 1fr}
  .efc-about-hero h1{font-size:36px}
  .efc-about-hero{min-height:360px;padding:140px 0 70px}
}
@media(max-width:560px){
  .efc-about-hero{min-height:320px;padding:120px 0 55px}
  .efc-about-hero h1{font-size:28px}
  .efc-about-hero-sub{font-size:15px}
  .efc-about-story{padding:40px 0 24px}
  .efc-about-benefits-grid{grid-template-columns:1fr}
  .efc-about-quote p{font-size:17px;padding:0 8px}
  .efc-about-quote{padding:36px 0}
  .efc-about-story-image img{min-height:220px;max-height:280px}
}

/* ========== Vehicle archive page ========== */
.efc-archive-page{background:#fff}
.efc-archive-hero{
  min-height:320px;position:relative;
  background:var(--navy) center/cover no-repeat;color:#fff;
  padding:140px 0 60px;display:flex;align-items:center;
}
.efc-archive-hero-overlay{
  position:absolute;inset:0;
  background:linear-gradient(100deg,rgba(2,13,19,.9) 0%,rgba(2,13,19,.5) 50%,rgba(2,13,19,.25) 100%);
}
.efc-archive-hero-inner{position:relative;z-index:1;max-width:720px}
.efc-archive-hero .efc-kicker{color:var(--yellow)}
.efc-archive-hero h1{font-size:42px;line-height:1.1;margin:8px 0 12px;font-weight:800}
.efc-archive-hero h1 span{color:var(--yellow)}
.efc-archive-hero p{font-size:16px;line-height:1.6;margin:0;color:#e8eef3;max-width:560px}
.efc-archive-search-wrap{margin-top:-36px;position:relative;z-index:2;padding-bottom:10px}
.efc-archive-list{padding-top:30px}
.efc-archive-fleet{margin-top:10px}
.efc-archive-empty{text-align:center;padding:40px 20px;color:var(--muted);font-size:15px}
@media(max-width:960px){
  .efc-archive-hero h1{font-size:32px}
  .efc-archive-hero{min-height:280px;padding:120px 0 50px}
}
@media(max-width:560px){
  .efc-archive-hero{min-height:260px;padding:110px 0 45px}
  .efc-archive-hero h1{font-size:26px}
  .efc-archive-search-wrap{margin-top:-28px}
}
