/* Lucky Automobile & Workshop — main stylesheet */
:root{
  --primary:#1A2744;
  --accent:#F97316;
  --bg:#FFFFFF;
  --surface:#F5F7FA;
  --text-dark:#111827;
  --text-light:#6B7280;
  --radius:8px;
  --shadow:0 2px 10px rgba(17,24,39,0.08);
  --shadow-hover:0 6px 20px rgba(17,24,39,0.14);
}

*{box-sizing:border-box;margin:0;padding:0;}

html{scroll-behavior:smooth;}

body{
  font-family:'Poppins',sans-serif;
  color:var(--text-dark);
  background:var(--bg);
  line-height:1.6;
  overflow-x:hidden;
}

h1,h2,h3,h4{
  font-family:'Rajdhani',sans-serif;
  font-weight:700;
  color:var(--primary);
  line-height:1.2;
}

img{max-width:100%;display:block;}

a{text-decoration:none;color:inherit;}

ul{list-style:none;}

.container{
  width:100%;
  max-width:1180px;
  margin:0 auto;
  padding:0 20px;
}

.section{padding:64px 0;}
.section-surface{background:var(--surface);}

.section-heading{
  text-align:center;
  margin-bottom:40px;
}
.section-heading h2{
  font-size:clamp(28px,4vw,38px);
  display:inline-block;
  position:relative;
  padding-bottom:14px;
}
.section-heading h2::after{
  content:"";
  position:absolute;
  left:50%;
  bottom:0;
  transform:translateX(-50%);
  width:70px;
  height:4px;
  background:var(--accent);
  border-radius:2px;
}
.section-heading p{
  color:var(--text-light);
  margin-top:10px;
  font-size:16px;
}

/* Buttons */
.btn{
  display:inline-block;
  padding:13px 28px;
  border-radius:var(--radius);
  font-weight:600;
  font-family:'Poppins',sans-serif;
  cursor:pointer;
  border:2px solid transparent;
  transition:transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  font-size:15px;
}
.btn:hover{transform:translateY(-2px);}
.btn-primary{background:var(--accent);color:#fff;}
.btn-primary:hover{background:#e0670f;box-shadow:var(--shadow-hover);}
.btn-outline{background:transparent;color:#fff;border-color:#fff;}
.btn-outline:hover{background:#fff;color:var(--primary);}
.btn-navy{background:var(--primary);color:#fff;}
.btn-navy:hover{background:#111c33;box-shadow:var(--shadow-hover);}
.btn-block{display:block;width:100%;text-align:center;}

/* ===== HEADER / NAV ===== */
.site-header{
  position:sticky;
  top:0;
  z-index:1000;
  background:var(--primary);
  box-shadow:0 2px 8px rgba(0,0,0,.15);
}
.navbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 20px;
  max-width:1180px;
  margin:0 auto;
}
.brand{
  display:flex;
  flex-direction:column;
  line-height:1.1;
}
.brand-name{
  font-family:'Rajdhani',sans-serif;
  font-weight:700;
  font-size:22px;
  color:#fff;
  letter-spacing:.5px;
}
.brand-name span{color:var(--accent);}
.brand-tag{
  font-size:11px;
  color:#c7cede;
  letter-spacing:.5px;
  text-transform:uppercase;
}
.nav-links{
  display:flex;
  align-items:center;
  gap:28px;
}
.nav-links a{
  color:#e7eaf3;
  font-weight:500;
  font-size:15px;
  padding:6px 2px;
  border-bottom:2px solid transparent;
  transition:color .15s ease, border-color .15s ease;
}
.nav-links a:hover,
.nav-links a.active{
  color:var(--accent);
  border-bottom-color:var(--accent);
}
.nav-cta{
  background:var(--accent);
  color:#fff !important;
  padding:9px 18px;
  border-radius:var(--radius);
  border-bottom:none !important;
}
.nav-cta:hover{background:#e0670f;color:#fff !important;}
.nav-toggle{
  display:none;
  flex-direction:column;
  gap:5px;
  background:none;
  border:none;
  cursor:pointer;
  padding:6px;
}
.nav-toggle span{
  width:26px;
  height:3px;
  background:#fff;
  border-radius:2px;
}

@media(max-width:900px){
  .nav-toggle{display:flex;}
  .nav-links{
    position:absolute;
    top:100%;
    left:0;
    right:0;
    background:var(--primary);
    flex-direction:column;
    align-items:flex-start;
    gap:0;
    max-height:0;
    overflow:hidden;
    transition:max-height .25s ease;
  }
  .nav-links.open{max-height:520px;}
  .nav-links a{
    width:100%;
    padding:14px 24px;
    border-bottom:1px solid rgba(255,255,255,.08);
  }
  .nav-links a.active{border-bottom:1px solid rgba(255,255,255,.08);}
  .nav-cta{margin:14px 24px;display:inline-block;}
}

/* ===== HERO ===== */
.hero{
  position:relative;
  background:linear-gradient(rgba(26,39,68,.88),rgba(26,39,68,.82)),
    url('https://images.unsplash.com/photo-1625047509248-ec889cbff17f?w=1600&q=80');
  background-size:cover;
  background-position:center;
  color:#fff;
  padding:110px 20px 90px;
  text-align:center;
}
.hero-inner{max-width:760px;margin:0 auto;}
.hero h1{
  font-size:clamp(32px,5.5vw,52px);
  color:#fff;
  margin-bottom:18px;
}
.hero p{
  font-size:clamp(16px,2.4vw,20px);
  color:#dfe3ee;
  margin-bottom:34px;
}
.hero-buttons{
  display:flex;
  gap:16px;
  justify-content:center;
  flex-wrap:wrap;
}

/* ===== STATS BAR ===== */
.stats-bar{
  background:var(--accent);
  padding:34px 20px;
}
.stats-grid{
  max-width:1000px;
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  text-align:center;
  gap:20px;
}
.stats-grid .stat-num{
  font-family:'Rajdhani',sans-serif;
  font-size:clamp(22px,3vw,32px);
  font-weight:700;
  color:#fff;
}
.stats-grid .stat-label{
  color:#fff5ec;
  font-size:14px;
  font-weight:500;
}

/* ===== CARDS ===== */
.grid-3{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:26px;
}
.grid-2{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:26px;
}
.card{
  background:#fff;
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:30px 26px;
  transition:transform .18s ease, box-shadow .18s ease;
}
.card:hover{transform:translateY(-4px);box-shadow:var(--shadow-hover);}
.card-photo{
  display:block;
  width:calc(100% + 52px);
  height:180px;
  margin:-30px -26px 20px;
  object-fit:cover;
}
.card .icon{
  width:56px;
  height:56px;
  border-radius:12px;
  background:rgba(249,115,22,.12);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:26px;
  margin-bottom:18px;
}
.card h3{font-size:21px;margin-bottom:10px;}
.card p{color:var(--text-light);font-size:14.5px;margin-bottom:14px;}
.card .learn-more{color:var(--accent);font-weight:600;font-size:14px;}
.card .learn-more:hover{text-decoration:underline;}

/* Why choose us */
.why-point{
  display:flex;
  align-items:flex-start;
  gap:14px;
  background:#fff;
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:22px 24px;
}
.why-point .check{
  flex-shrink:0;
  width:34px;
  height:34px;
  border-radius:50%;
  background:var(--accent);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:700;
}
.why-point h4{font-size:17px;margin-bottom:4px;}
.why-point p{color:var(--text-light);font-size:14px;}

/* Gallery preview / grid */
.gallery-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
}
.gallery-grid.cols-4{grid-template-columns:repeat(4,1fr);}
.img-placeholder{
  position:relative;
  background:var(--surface);
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:var(--shadow);
  min-height:180px;
}
.img-placeholder img{
  width:100%;
  height:100%;
  min-height:180px;
  object-fit:cover;
  display:block;
  transition:transform .25s ease;
}
.img-placeholder:hover img{transform:scale(1.05);}
.g-caption{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  padding:10px 14px 8px;
  background:linear-gradient(transparent, rgba(17,24,39,.82));
  color:#fff;
  font-size:12.5px;
  font-weight:600;
  letter-spacing:.2px;
}
.center-btn{text-align:center;margin-top:36px;}

/* Testimonials */
.testimonial-card{
  background:#fff;
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:28px 26px;
}
.stars{color:var(--accent);font-size:15px;margin-bottom:12px;}
.testimonial-card p.quote{font-style:italic;color:var(--text-dark);margin-bottom:16px;}
.testimonial-card .author{font-weight:600;color:var(--primary);font-size:14.5px;}

/* CTA banner */
.cta-banner{
  background:var(--accent);
  color:#fff;
  text-align:center;
  padding:56px 20px;
}
.cta-banner h2{color:#fff;font-size:clamp(24px,4vw,34px);margin-bottom:24px;}
.cta-banner .hero-buttons{margin-top:0;}

/* ===== FOOTER ===== */
.site-footer{
  background:var(--primary);
  color:#c7cede;
  padding:56px 0 0;
}
.footer-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:32px;
  padding-bottom:40px;
  border-bottom:1px solid rgba(255,255,255,.1);
}
.footer-grid h4{
  color:#fff;
  font-size:16px;
  margin-bottom:16px;
  letter-spacing:.4px;
}
.footer-grid p, .footer-grid li, .footer-grid a{
  font-size:14px;
  color:#c7cede;
}
.footer-grid ul li{margin-bottom:9px;}
.footer-grid ul li a:hover{color:var(--accent);}
.footer-logo{
  font-family:'Rajdhani',sans-serif;
  font-weight:700;
  font-size:19px;
  color:#fff;
  margin-bottom:10px;
}
.footer-logo span{color:var(--accent);}
.footer-grid .contact-line{margin-bottom:10px;display:flex;gap:8px;align-items:flex-start;}
.footer-bottom{
  text-align:center;
  padding:20px;
  font-size:13px;
  color:#9aa3ba;
}
.footer-bottom a{color:#9aa3ba;}
.footer-bottom a:hover{color:var(--accent);}

/* WhatsApp floating button */
.whatsapp-float{
  position:fixed;
  right:22px;
  bottom:22px;
  z-index:1200;
  width:58px;
  height:58px;
  border-radius:50%;
  background:#25D366;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 4px 14px rgba(0,0,0,.3);
  transition:transform .15s ease;
}
.whatsapp-float:hover{transform:scale(1.08);}

/* Page banner */
.page-banner{
  background:var(--primary);
  color:#fff;
  padding:70px 20px 50px;
  text-align:center;
}
.page-banner h1{color:#fff;font-size:clamp(28px,4.5vw,42px);}
.breadcrumb{
  margin-top:12px;
  font-size:14px;
  color:#c7cede;
}
.breadcrumb a{color:#c7cede;}
.breadcrumb a:hover{color:var(--accent);}

/* About page */
.info-card{
  background:#fff;
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:30px;
}
.gst-box{
  background:var(--surface);
  border-left:4px solid var(--accent);
  border-radius:var(--radius);
  padding:28px 30px;
}
.gst-box dl{display:grid;grid-template-columns:180px 1fr;row-gap:10px;}
.gst-box dt{font-weight:600;color:var(--primary);}
.gst-box dd{color:var(--text-dark);}
.map-embed{border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);}
.map-embed iframe{width:100%;height:380px;border:0;}

/* Services page */
.service-block{padding:56px 0;border-bottom:1px solid #eceef2;}
.service-block:last-of-type{border-bottom:none;}
.service-photo{
  width:100%;
  max-width:900px;
  height:280px;
  object-fit:cover;
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  margin-bottom:26px;
}
.service-head{display:flex;align-items:center;gap:16px;margin-bottom:16px;}
.service-head .icon-lg{
  width:64px;height:64px;border-radius:14px;
  background:rgba(249,115,22,.12);
  display:flex;align-items:center;justify-content:center;
  font-size:32px;flex-shrink:0;
}
.service-desc{color:var(--text-light);max-width:760px;margin-bottom:20px;}
.sub-services{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:10px 30px;
  max-width:760px;
  margin-bottom:26px;
}
.sub-services li{
  padding-left:22px;
  position:relative;
  color:var(--text-dark);
  font-size:14.5px;
}
.sub-services li::before{
  content:"✓";
  color:var(--accent);
  font-weight:700;
  position:absolute;
  left:0;
}

/* FAQ accordion */
.faq-item{
  background:#fff;
  border:1px solid #e5e8ee;
  border-radius:var(--radius);
  margin-bottom:12px;
  overflow:hidden;
}
.faq-item summary{
  cursor:pointer;
  padding:18px 22px;
  font-weight:600;
  color:var(--primary);
  font-family:'Rajdhani',sans-serif;
  font-size:17px;
  list-style:none;
  display:flex;
  justify-content:space-between;
  align-items:center;
}
.faq-item summary::-webkit-details-marker{display:none;}
.faq-item summary::after{
  content:"+";
  color:var(--accent);
  font-size:22px;
  font-weight:700;
  margin-left:12px;
}
.faq-item[open] summary::after{content:"−";}
.faq-item p{
  padding:0 22px 20px;
  color:var(--text-light);
  font-size:14.5px;
}

/* Gallery filter (CSS-only, radio-driven) */
.filter-wrap input[type="radio"]{
  position:absolute;
  opacity:0;
  pointer-events:none;
}
.filter-tabs{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:10px;
  margin-bottom:36px;
}
.filter-tabs label{
  padding:10px 22px;
  border:2px solid var(--primary);
  border-radius:30px;
  color:var(--primary);
  font-weight:600;
  font-size:14px;
  cursor:pointer;
  transition:background .15s ease, color .15s ease;
}
#tab-all:checked ~ .filter-tabs label[for="tab-all"],
#tab-workshop:checked ~ .filter-tabs label[for="tab-workshop"],
#tab-engine:checked ~ .filter-tabs label[for="tab-engine"],
#tab-denting:checked ~ .filter-tabs label[for="tab-denting"],
#tab-full:checked ~ .filter-tabs label[for="tab-full"]{
  background:var(--primary);
  color:#fff;
}
#tab-workshop:checked ~ .gallery-grid .g-item{display:none;}
#tab-workshop:checked ~ .gallery-grid .g-item.workshop{display:block;}
#tab-engine:checked ~ .gallery-grid .g-item{display:none;}
#tab-engine:checked ~ .gallery-grid .g-item.engine{display:block;}
#tab-denting:checked ~ .gallery-grid .g-item{display:none;}
#tab-denting:checked ~ .gallery-grid .g-item.denting{display:block;}
#tab-full:checked ~ .gallery-grid .g-item{display:none;}
#tab-full:checked ~ .gallery-grid .g-item.full{display:block;}
.gallery-note{
  text-align:center;
  color:var(--text-light);
  font-size:13.5px;
  margin-top:30px;
  font-style:italic;
}

/* Contact page */
.contact-grid{
  display:grid;
  grid-template-columns:1fr 1.3fr;
  gap:46px;
  align-items:start;
}
.contact-detail-block{margin-bottom:26px;}
.contact-detail-block h4{
  font-size:16px;
  margin-bottom:8px;
  color:var(--primary);
}
.contact-detail-block p{color:var(--text-dark);font-size:14.5px;}
.social-links{display:flex;gap:12px;margin-top:10px;}
.social-links a{
  background:var(--primary);
  color:#fff;
  padding:9px 18px;
  border-radius:var(--radius);
  font-size:13.5px;
  font-weight:600;
}
.social-links a:hover{background:var(--accent);}

.form-card{
  background:#fff;
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:32px;
}
.form-row{margin-bottom:18px;}
.form-row label{
  display:block;
  font-size:14px;
  font-weight:600;
  color:var(--primary);
  margin-bottom:6px;
}
.form-row input,
.form-row select,
.form-row textarea{
  width:100%;
  padding:12px 14px;
  border:1px solid #d7dbe3;
  border-radius:var(--radius);
  font-family:'Poppins',sans-serif;
  font-size:14.5px;
  color:var(--text-dark);
  background:#fff;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus{
  outline:none;
  border-color:var(--accent);
}
.form-note{font-size:13px;color:var(--text-light);margin-top:14px;text-align:center;}
.form-success{
  display:none;
  background:#e9f9ef;
  border:1px solid #34a853;
  color:#1e7a3b;
  padding:14px 18px;
  border-radius:var(--radius);
  margin-bottom:18px;
  font-size:14px;
}
.form-success.show{display:block;}

/* Legal pages */
.legal-content{max-width:820px;margin:0 auto;}
.legal-content h2{margin-top:34px;margin-bottom:12px;font-size:22px;}
.legal-content h2:first-child{margin-top:0;}
.legal-content p, .legal-content li{color:var(--text-dark);font-size:15px;margin-bottom:10px;}
.legal-content ul{padding-left:20px;list-style:disc;}
.legal-content .updated{color:var(--text-light);font-size:13.5px;margin-bottom:26px;}

/* 404 page */
.error-page{
  min-height:60vh;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:80px 20px;
}
.error-page .code{
  font-family:'Rajdhani',sans-serif;
  font-size:clamp(70px,14vw,140px);
  font-weight:700;
  color:var(--accent);
  line-height:1;
}
.error-page h1{margin:10px 0 14px;}
.error-page p{color:var(--text-light);margin-bottom:28px;max-width:460px;margin-left:auto;margin-right:auto;}

/* Owner profile */
.owner-card{
  display:flex;
  align-items:center;
  gap:22px;
  background:#fff;
  box-shadow:var(--shadow);
  border-radius:var(--radius);
  padding:26px;
}
.owner-avatar{
  width:78px;height:78px;border-radius:50%;
  background:var(--primary);
  color:#fff;
  display:flex;align-items:center;justify-content:center;
  font-family:'Rajdhani',sans-serif;
  font-size:26px;
  font-weight:700;
  flex-shrink:0;
}
.owner-card h4{font-size:19px;}
.owner-card p{color:var(--text-light);font-size:14px;}

/* Responsive */
@media(max-width:900px){
  .grid-3{grid-template-columns:1fr;}
  .grid-2{grid-template-columns:1fr;}
  .gallery-grid{grid-template-columns:repeat(2,1fr);}
  .gallery-grid.cols-4{grid-template-columns:repeat(2,1fr);}
  .stats-grid{grid-template-columns:1fr;gap:26px;}
  .footer-grid{grid-template-columns:repeat(2,1fr);}
  .contact-grid{grid-template-columns:1fr;}
  .sub-services{grid-template-columns:1fr;}
  .gst-box dl{grid-template-columns:140px 1fr;}
  .owner-card{flex-direction:column;text-align:center;}
  .service-photo{height:200px;}
}
@media(max-width:520px){
  .footer-grid{grid-template-columns:1fr;}
  .hero{padding:80px 16px 60px;}
}
