/* === HOME PAGE CSS === */

/* ==== HERO ==== */
.hero {
    width: min(1200px, calc(100% - 48px)); 
    margin: 0 auto; 
    padding: 46px 0 24px; 

    display: grid; 
    grid-template-columns: 1.15fr 1fr; 
    gap: 40px; 
    align-items: center; 

    position: relative; 
    isolation: isolate; 
}

/* to create a background image behind hero block */ 
.hero::before{
  content: ""; 
  position: absolute; 
  inset: 0; 

  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.75) 40%,
    rgba(0, 0, 0, 0.60) 70%, 
    rgba(0, 0, 0, 0.85) 100%
    ), 
    url("/assets/images/wheelworx_logo.png"); /* add appropriate image here */

    background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat;

    opacity: 0.55;
    z-index: -1; 
}

.hero-badge{
    display: inline-flex; 
    padding: 10px 16px; 
    border-radius: 999px; 
    background: rgba(196, 30, 58, 0.18);
    border: 1px solid rgba(196, 30, 58, 0.35);
    color: rgba(255, 255, 255, 0.92); 
    font-weight: 700;
    letter-spacing: .4px;
    margin-bottom: 14px; 
}

.hero h1{
  font-size: clamp(38px, 4.2vw, 64px)
}

.highlight{
  color: var(--red);
}

.hero-description{
  max-width: 520px; 
  margin-top: 10px; 
    
}

.hero-buttons{
  display: flex; 
  gap: 14px; 
  margin: 20px 0 22px;

}

/* trust features row */ 
.hero-features{
  display:flex; 
  gap: 14px; 
  flex-wrap: wrap; 
  margin-top: 16px; 
}

.feature{
  flex: 0 1 220px; 
  max-width: 240px; 

  display: flex; 
  gap: 12px; 
  align-items: center;

  padding: 12px 14px; 
  border-radius: 16px;

  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* icon box */

.hero-features{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 18px;
  align-items: center;
}

.feature{
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;

  padding: 0 !important;
  border-radius: 0 !important;

  display: flex;
  align-items: center;      
  gap: 12px;
  min-height: 44px;
}

.feature .feature-icon{
  width: 38px;
  height: 38px;
  border-radius: 12px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 38px;

  background: rgba(255,255,255,0.08);  
  border: 1px solid rgba(255,255,255,0.12);
}

/* icon styling (lucide) */
.feature .feature-icon svg{
  width: 18px;
  height: 18px;
  stroke: var(--red);     
  fill: none;
}

/* text next to icon stays tight + aligned */
.feature strong{
  display: block;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.1;
  margin: 0;
}

.feature p{
  margin: 2px 0 0;
  font-size: 12px;
  line-height: 1.2;
  color: rgba(255,255,255,0.68);
}

/* Hero image and badges */
.hero-image-wrapper{
    position: relative; 
    border-radius: 22px; 
    overflow: hidden; 
    box-shadow: var(--shadow); 
}

.hero-image-wrapper img{
    width: 100%;
    height: 420px; 
    object-fit: cover; 
    transform: scale(1.02); 
}

.rating-badge{
    position: absolute; 
    top: 22px; 
    right: 22px; 
    background: var(--red); 
    color: #fff;
    padding: 18px 20px; 
    border-radius: 18px; 
    box-shadow: 0 18px 55px rgba(196, 30, 58, 0.35);
    display: flex; 
    flex-direction: column; 
    gap: 2px; 
    font-weight: 800; 
    font-size: 25px;
}

.stats-badge{
    position: absolute; 
    bottom: 18px; 
    left: 18p; 
    background: rgba(255, 255, 255, 0.95);
    color: #111;
    padding: 14px 18px; 
    border-radius: 16px; 
    box-shadow: var(--shadow-soft); 
    display: flex; 
    flex-direction: column; 
    gap: 2px; 
    font-weight: 900; 
}

/* ==== SERVICES PREVIEW ==== */ 

.services-preview{
  padding: 90px 0 80px;
  background: radial-gradient(
    circle at top, 
    #1a1d21 0%,
    #0f1114 40%,
    #0b0d10 100%
  );
}

/* the header div */
.services-preview > div:first-child{
  width: min(900px, calc(100% - 48px));
  margin: 0 auto 46px;
  text-align: center;
}

/* badge */
.services-preview .section-badge{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;

  background: rgba(196,30,58,0.12);
  border: 1px solid rgba(196,30,58,0.35);

  color: var(--red);
  font-weight: 800;
  letter-spacing: .6px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

/* title */
.services-preview h2{
  margin: 0 0 10px;
  font-size: clamp(32px, 3.2vw, 48px);
  color: #fff;
}

/* subtitle */
.services-preview > div:first-child p{
  margin: 0 auto;
  max-width: 62ch;
  color: rgba(255,255,255,0.60);
  line-height: 1.6;
}

/* grid */
.services-grid{
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;

  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

/* card */
.service-card{ 
  position: relative; 
  overflow: visible;
  border-radius: 18px;

  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 16px 50px rgba(0,0,0,0.45);

  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  cursor: pointer;

  display: flex;
  flex-direction: column;
}

/* the top media wrapper  */
.service-card > div{
  position: relative;
  height: 210px;
  overflow: visible;
  border-radius: 18px 18px 0 0;
}

/* image */
.service-card img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;

  transform: scale(1.02);
  transition: transform .35s ease;
}

/* red icon block */
.service-card .service-icon{
  position: absolute;
  left: 18px;
  top: 187px; 
                
  width: 46px;
  height: 46px;
  border-radius: 14px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: #c41e3a;
  color: #fff;
  font-size: 20px;

  box-shadow: 0 18px 55px rgba(196,30,58,0.25);
  z-index: 10;
}

/* content area */
.service-card h3{
  margin: 0;
  padding: 40px 18px 8px; 
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}

.service-card p{
  margin: 0;
  padding: 0 18px 18px;

  color: rgba(255,255,255,0.62);
  font-size: 14px;
  line-height: 1.55;
}

/* hover effect: red glow + zoom like screenshot */
.service-card:hover{
  transform: translateY(-5px);
  border-color: rgba(196,30,58,0.35);
  box-shadow:
    0 22px 75px rgba(196,30,58,0.22),
    0 0 0 1px rgba(196,30,58,0.40);
}

.service-card:hover img{
  transform: scale(1.07);
}

/* ==== VIEW ALL SERVICES BUTTON ==== */

.services-cta{
  text-align: center;
  margin-top: 50px;
}

.view-services-btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 14px 28px;
  border-radius: 12px;

  background: #ffffff;
  color: #c41e3a;
  font-weight: 700;
  text-decoration: none;

  border: 2px solid #ffffff;

  transition: all .25s ease;
  cursor: pointer;
}

/* arrow spacing */
.view-services-btn .arrow{
  transition: transform .25s ease;
}

/* hover effect*/
.view-services-btn:hover{
  background: #c41e3a;
  color: #ffffff;
  border-color: #c41e3a;
  box-shadow: 0 12px 35px rgba(196,30,58,0.35);
}

.view-services-btn:hover .arrow{
  transform: translateX(4px);
}

/* === WHY WHEELWORX === */
.why-wheelworx{
  padding: 90px 0;
  background: #050505;
}

.why-wheelworx{
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;

  display: grid;
  grid-template-columns: 1.15fr 1fr; 
  gap: 46px;
  align-items: start;
}

/* LEFT BLOCK */
.why-container{
  max-width: 640px;
}

.why-container .section-badge{
  display: inline-flex;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(196,30,58,0.18);
  border: 1px solid rgba(196,30,58,0.35);
  color: rgba(255,255,255,0.86);
  font-weight: 800;
  letter-spacing: .4px;
  margin-bottom: 14px;
}

.why-container h2{
  margin: 0 0 14px;
  font-size: clamp(34px, 3.4vw, 56px);
  line-height: 1.05;
  color: #fff;
}

.why-container p{
  margin: 0 0 18px;
  color: rgba(255,255,255,0.70);
  max-width: 62ch;
  line-height: 1.65;
}

/* CHECKLIST with red check icons */
.why-checklist{
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.why-checklist li{
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.90);
  font-weight: 600;
}

/* red check in circle */
.why-checklist li::before{
  content: "✓";
  width: 22px;
  height: 22px;
  border-radius: 999px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: rgba(196,30,58,0.20);
  border: 1px solid rgba(196,30,58,0.55);
  color: #ff3b5c; /* bright red */
  font-size: 14px;
  flex: 0 0 22px;
}

/* 2x2 cards*/
.why-content{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-content: start;
}

/* each card wrapper */
.why-benefits{
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 14px 40px rgba(0,0,0,0.45);
  min-height: 170px;
}

/* benefit layout inside card */
.benefit-item{
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 14px;
  margin: 0;
}

/* red icon square */
.benefit-icon{
  width: 48px;
  height: 48px;
  border-radius: 14px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: #c41e3a;
  color: #fff;
  font-size: 20px;
  box-shadow: 0 18px 55px rgba(196,30,58,0.25);
}

.benefit-item h3{
  margin: 0 0 8px;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
}

.benefit-item p{
  margin: 0;
  color: rgba(255,255,255,0.70);
  font-size: 14px;
  line-height: 1.55;
}



/* ==== CTA BAND ==== */ 
.cta {
    background: var(--red);
    padding: 72px 0; 

}

.cta-content{
    width: min(900px, calc(100% - 48px)); 
    margin-inline: auto; 
    text-align: center; 
    padding: 62px 0; 
}

.cta-content h2{
    font-size: clamp(32px, 3.4vw, 54px); 
    color: #fff; 
}

.cta-content p{
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 22px; 
}

.cta-buttons{
    display:flex;
    gap: 18px; 
    justify-content: center; 
    flex-wrap: wrap; 
}

.cta-buttons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    padding: 14px 28px;
    border-radius: 12px;

    background: #ffffff;
    color: #c41e3a;

    font-weight: 700;
    text-decoration: none;

    border: none;
    cursor: pointer;

    transition: all .25s ease;
}

/* hover effect */ 
.cta-buttons a:hover{
    background: #f2f2f2;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

/* Arrow Spacing */ 
.cta-buttons .arrow{
    font-size: 18px; 
}

/* phone icon */
.cta-buttons .phone-icon{
    font-size: 18px; 

}


/* Get Free Quote */
.cta-buttons .btn-primary{
  background: #ffffff;
  color: #c41e3a;
  border: 2px solid #ffffff;
}

.cta-buttons .btn-primary:hover{
  background: #f1f1f1;                 
  border-color: #f1f1f1;
  box-shadow: 0 12px 35px rgba(0,0,0,0.18);
}

/* Contact Us */
.cta-buttons .btn-secondary{
  background: #ffffff;
  color: #ffffff;
  border: 2px solid rgba(255,255,255,0.70);
}

.cta-buttons .btn-secondary:hover{
  background: rgba(0,0,0,0.18);
  border-color: #ffffff;
  box-shadow: 0 12px 35px rgba(0,0,0,0.22);
}

/*responsive*/
@media (max-width: 980px){
  .hero{ grid-template-columns: 1fr; }
  .services-grid{ grid-template-columns: repeat(2, minmax(0, 11fr)); }
  .hero-image-wrapper img{ height: 360px; }
  .why-wheelworx .container{grid-template-columns: 1fr;}
}

@media (max-width: 560px){
  .services-grid{ grid-template-columns: 1fr; }
}
