/* 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;
}

/* 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);
}


/* ===============================================
   HEADER
   =============================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: var(--transition-base);
  height: 6em;
  width: 100vw;
  min-width: 320px;
}

.header-content {
  max-width: 1400px;
  margin: 0 auto;
  min-width: 320px;
  padding: 0 var(--container-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  height: 6em;
  overflow: hidden;
}

.header-logos {
  display: flex;
  align-items: center;
  gap: 16px;
}

.isuzu {
  width: 100px;
}

.isuzu-migori{
  width: 100px;
  text-align: right;
  color: rgb(47, 47, 47);
  font-weight: 600;
}

/* Smartlake logo styling */
.Smartlake{
  width: 100px;
  margin-left: -0.6em;
}

.logo {
  height: 45px;
  width: auto;
  object-fit: contain;
}

.logo-divider {
  width: 1.5px;
  height: 4em;
  background: var(--isuzu-red);
}

.nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  font-size: 1.02rem;
  font-weight: 400;
  color: var(--isuzu-gray);
  position: relative;
  padding: 8px 0;
  transition: var(--transition-base);
}


.nav-link:hover,
.nav-link.active {
  color: var(--isuzu-red);
}



.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.mobile-toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--isuzu-black);
  transition: var(--transition-base);
  border-radius: 2px;
}

.mobile-toggle.active span:nth-child(1) {
  transform: translateY(7.3px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-7.3px) rotate(-45deg);
}


@media (max-width: 1024px) {
  .nav {
    position: fixed;
    top: 5em;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: #eeeeeeef;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    box-shadow: var(--shadow-md);
  }

  .header{
    height: 5em;
  }

  .header-content {
    height: 5em;
  }

  .nav.active {
    max-height: 500px;
  }

  .nav-link {
    width: 100%;
    padding: 20px var(--container-padding);
    border-bottom: 1px solid var(--gray-200);
  }

  .mobile-toggle {
    display: flex;
  }

  .header .cta-btn{
    display: none;
  }

}

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

  .isuzu-migori{
    width: 80px;
  }

  .Smartlake{
    width: 84px;
  }

  /* .logo-divider {
    height: 30px;
  } */

}

@media (max-width: 480px) {
  /* .header-logos {
    gap: 8px;
  } */

  .logo {
    height: 32px;
  }

  /* .logo-divider {
    height: 24px;
  } */

}