/* ===============================================
   ISUZU MIGORI - MODERN CORPORATE REDESIGN
   Smartlake Motors | Professional Automotive Service
   =============================================== */

/* RESET & BASE STYLES */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

* {
  -webkit-tap-highlight-color: transparent ;
}

:root {
  /* Brand Colors - Strict Isuzu Palette */
  --isuzu-red: #EF0000;
  --isuzu-red-dark: #B10000;
  --isuzu-red-light: #FF2424;
  --isuzu-black: #1B1B1B;
  --isuzu-gray: #6D6D6D;
  --isuzu-gray-light: #9E9E9E;
  
  /* Neutral Colors */
  --white: #FFFFFF;
  --gray-50: #FAFAFA;
  --gray-100: #F5F5F5;
  --gray-200: #EEEEEE;
  --gray-300: #E0E0E0;
  --gray-800: #424242;
  --gray-900: #212121;
  
  /* Typography */
  --font-primary: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-secondary: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  
  /* Spacing */
  --section-padding: clamp(60px, 10vw, 100px);
  --container-padding: clamp(20px, 5vw, 40px);
  
  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
  
  /* Transitions */
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.6;
  color: var(--isuzu-gray);
  background: var(--white);
  overflow-x: hidden;
  min-width: 320px;
}

::selection {
  background: var(--isuzu-red);
  color: var(--white);
}


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

img[loading="lazy"] {
  background-color: #f0f0f0;
  min-height: 200px;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  font-weight: 700;
  line-height: 1.2;
  color: var(--isuzu-black);
  margin: 0;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.02em;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.01em;
}

h4 {
  font-size: 1.25rem;
  font-weight: 600;
}

p {
  margin: 0;
  line-height: 1.7;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-base);
}

/* CONTAINER */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
  width: 100%;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-secondary);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition-base);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--isuzu-red);
  color: var(--white);
  border-color: var(--isuzu-red);
}

.btn-primary:hover {
  background: var(--isuzu-red-dark);
  border-color: var(--isuzu-red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(239, 0, 0, 0.25);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--isuzu-black);
  border-color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--isuzu-black);
  border-color: var(--gray-300);
}

.btn-outline:hover {
  background: var(--isuzu-black);
  color: var(--white);
  border-color: var(--isuzu-black);
}

.btn-full {
  width: 100%;
}

.cta-btn {
  background: var(--isuzu-red);
  color: var(--white);
  padding: 12px 28px;
  border-radius: 6px;
  font-family: var(--font-secondary);
  font-size: 0.9375rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition-base);
}

.cta-btn:hover {
  background: var(--isuzu-red-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(239, 0, 0, 0.25);
}



/* ===============================================
   HERO SECTION
   =============================================== */

.hero {
  position: relative;
  height: calc(100vh - 6em);
  /* min-height: 650px; */
  margin-top: 6em;
  overflow: hidden;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  pointer-events: none;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  will-change: transform;
  contain: paint;
  /* object-fit: cover; */
}


/* Optimize hero slider transitions */
.hero-slide {
  will-change: opacity;
  contain: layout style paint;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.6) 0%,
    rgba(0, 0, 0, 0.4) 40%,
    rgba(0, 0, 0, 0.2) 70%,
    transparent 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 650px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(239, 0, 0, 0.15);
  border: 1px solid rgba(239, 0, 0, 0.3);
  border-radius: 50px;
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 600;
  width: fit-content;
  margin-bottom: 24px;
  margin-top: 54px;
  backdrop-filter: blur(8px);
}

.hero-badge svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.hero-title {
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.1;
  font-weight: 500;
}

.hero-description {
  color: rgb(255, 255, 255);
  font-size: 1.125rem;
  margin-bottom: 32px;
  line-height: 1.7;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero Slider Controls */
.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-base);
}

.slider-nav:hover {
  background: var(--isuzu-red);
  border-color: var(--isuzu-red);
  transform: translateY(-50%) scale(1.1);
}

.slider-nav.prev {
  left: 32px;
}

.slider-nav.next {
  right: 32px;
}

.slider-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: var(--transition-base);
}

.slider-dot:hover {
  background: rgba(255, 255, 255, 0.7);
  transform: scale(1.2);
}

.slider-dot.active {
  background: var(--isuzu-red);
  width: 32px;
  border-radius: 5px;
}

/* ===============================================
   STATS SECTION
   =============================================== */

.stats {
  padding: 60px 0;
  background: var(--isuzu-black);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 48px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-primary);
  font-size: clamp(3rem, 5vw, 4rem);
  font-weight: 400;
  color: var(--isuzu-red);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  color: var(--white);
  font-size: 0.9375rem;
  font-weight: 500;
}

/* ===============================================
   SECTION HEADERS
   =============================================== */

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  background: var(--gray-100);
  color: var(--isuzu-red);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 50px;
  margin-bottom: 16px;
}

.section-title {
  margin-bottom: 16px;
}

.section-description {
  font-size: 1.125rem;
  color: var(--isuzu-gray);
}

.section-cta {
  text-align: center;
  margin-top: 48px;
}

/* ===============================================
   ABOUT SECTION
   =============================================== */

.about {
  padding: var(--section-padding) 0;
  background: var(--white);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 60px;
}

.about-image {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.about-certified {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 100px;
  height: 100px;
  background: #21212125;
  border-radius: 8px;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.2;
}

.about-certified svg {
  width: 40px;
  height: 40px;
}

.vmv-grid {
  display: grid;
  gap: 32px;
  margin-bottom: 40px;
}

.vmv-item {
  display: flex;
  gap: 20px;
}

.vmv-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: var(--gray-100);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--isuzu-red);
}

.vmv-item h3 {
  margin-bottom: 8px;
  color: var(--isuzu-black);
}

.vmv-item p {
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* ===============================================
   SERVICES SECTION
   =============================================== */

.services {
  padding: var(--section-padding) 0;
  background: var(--gray-50);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.service-card {
  position: relative;
  background: var(--white);
  padding: 40px 32px;
  border-radius: 12px;
  border: 1px solid var(--gray-200);
  transition: var(--transition-base);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  width: 72px;
  height: 72px;
  background: var(--gray-100);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--isuzu-red);
  margin-bottom: 24px;
  transition: var(--transition-base);
}

.service-card:hover .service-icon {
  background: var(--isuzu-red);
  color: var(--white);
  transform: scale(1.05);
}

.service-card h3 {
  margin-bottom: 12px;
  font-size: 1.5rem;
}

.service-card p {
  margin-bottom: 20px;
  line-height: 1.7;
}

.service-link {
  display: inline-flex;
  position: absolute;
  align-items: center;
  gap: 8px;
  color: var(--isuzu-red);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: var(--transition-base);
  bottom: 1em;
}

.service-link:hover {
  gap: 12px;
  color: var(--isuzu-red-dark);
}

/* ===============================================
   WHY US SECTION
   =============================================== */

.why-us {
  padding: var(--section-padding) 0;
  background: var(--white);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.why-card {
  background: var(--gray-50);
  padding: 40px 32px;
  border-radius: 12px;
  border: 2px solid var(--gray-200);
  position: relative;
  overflow: hidden;
  transition: var(--transition-base);
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--isuzu-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition-base);
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  /* border-color: var(--isuzu-red); */
}

.why-card:hover::before {
  transform: scaleX(1);
}

.why-number {
  font-family: var(--font-secondary);
  font-size: 3rem;
  font-weight: 700;
  color: var(--gray-300);
  line-height: 1;
  margin-bottom: 16px;
}

.why-icon {
  width: 64px;
  height: 64px;
  background: var(--white);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--isuzu-red);
  margin-bottom: 24px;
}

.why-card h3 {
  margin-bottom: 12px;
  font-size: 1.5rem;
}

.why-card p {
  line-height: 1.7;
}

/* ===============================================
   TESTIMONIALS SECTION
   =============================================== */

.testimonials {
  padding: var(--section-padding) 0;
  background: var(--gray-50);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.testimonial-card {
  background: var(--white);
  padding: 32px;
  border-radius: 12px;
  border: 1px solid var(--gray-200);
  transition: var(--transition-base);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.testimonial-rating {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
}

.testimonial-rating svg {
  color: #f2d200;
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 24px;
  color: var(--isuzu-gray);
  font-style: italic;
  height: 60%;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--isuzu-red);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}

.author-name {
  font-weight: 600;
  color: var(--isuzu-black);
  margin-bottom: 2px;
}

.author-title {
  font-size: 0.875rem;
  color: var(--isuzu-gray);
}

/* ===============================================
   FAQ SECTION
   =============================================== */

.faq {
  padding: var(--section-padding) 0;
  background: var(--white);
}

.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition-base);
}

.faq-item.active {
  border-color: var(--isuzu-red);
}

.faq-question {
  width: 100%;
  padding: 24px 32px;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-secondary);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--isuzu-black);
  transition: var(--transition-base);
}

.faq-question:hover {
  color: var(--isuzu-red);
}

.faq-question svg {
  flex-shrink: 0;
  transition: var(--transition-base);
  color: var(--isuzu-gray);
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
  color: var(--isuzu-red);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding: 0 32px 24px;
  line-height: 1.7;
}

/* ===============================================
   CONTACT SECTION
   =============================================== */

.contact {
  padding: var(--section-padding) 0;
  background: var(--gray-50);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info h2 {
  margin: 16px 0 12px;
}

.contact-info > p {
  margin-bottom: 40px;
  font-size: 1.0625rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-detail {
  display: flex;
  gap: 20px;
}

.contact-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: var(--white);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--isuzu-red);
}

.contact-detail h4 {
  margin-bottom: 6px;
  color: var(--isuzu-black);
}

.contact-detail p {
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* Contact Form */
.contact-form {
  background: var(--white);
  padding: 48px;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
}

.contact-form h3 {
  margin-bottom: 8px;
  font-size: 1.75rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--isuzu-black);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--gray-300);
  border-radius: 8px;
  font-family: var(--font-primary);
  font-size: 0.9375rem;
  color: var(--isuzu-black);
  transition: var(--transition-base);
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--isuzu-red);
  box-shadow: 0 0 0 3px rgba(239, 0, 0, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}


/* ===============================================
   WHATSAPP FLOAT
   =============================================== */

.whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  z-index: 999;
  transition: var(--transition-base);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.6);
}

/* ===============================================
   RESPONSIVE DESIGN
   =============================================== */

@media (max-width: 1024px) {

  .hero {
    height: calc(100vh - 5em);
    margin-top: 5em;
  }



  .cta-btn {
    display: none;
  }

  .about-content,
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 60px;
  }


  .hero-title {
    font-size: 2.25rem;
  }

  .hero-description {
    font-size: 1rem;
  }



  .slider-nav {
    display: none;
  }

  .slider-nav.prev {
    left: 16px;
  }

  .slider-nav.next {
    right: 16px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .services-grid,
  .why-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 32px 24px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {


  .hero-content {
    padding: 0 20px;
  }

  
  .btn {
    width: 80%;
    justify-content: center;
  }

  .slider-dots{
    bottom: 25px;
  }


  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat-number {
    font-size: 3rem;
  }

  .about-image img{
    height: 300px;
  }

  .vmv-item{
    flex-direction: column;
  }

  .service-card,
  .why-card,
  .testimonial-card {
    padding: 32px 24px;
  }

  .faq-question {
    padding: 20px 24px;
    font-size: 1rem;
  }

  .faq-answer p {
    padding: 0 24px 20px;
  }

  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;

  }
}

/* ===============================================
   ANIMATIONS
   =============================================== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.8s ease forwards;
}

.slide-in-left {
  animation: slideInLeft 0.8s ease forwards;
}

.slide-in-right {
  animation: slideInRight 0.8s ease forwards;
}