body {
  margin: 0;
  font-family: 'Segoe UI', 'Roboto', Arial, sans-serif;
  background: #f5f8fa;
  color: #222;
  scroll-behavior: smooth;
}

.founder-top {
  background: linear-gradient(120deg, #4f8cff 10%, #111 100%);
  padding-top: 3.5rem;
  padding-bottom: 1.6rem;
  text-align: center;
  box-shadow: 0 8px 36px 0 rgba(79,140,255,0.18);
  position: relative;
  z-index: 5;
}

.founder-photo-square {
  width: 220px;
  height: 220px;
  border-radius: 18px;
  object-fit: cover;
  border: 8px solid #fff;
  box-shadow:
    0 8px 48px 0 rgba(79,140,255,0.29),
    0 2px 12px 0 #2227;
  margin-bottom: 1.2rem;
  transition: transform 0.25s, box-shadow 0.25s;
  background: #fff;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.founder-photo-square:hover {
  transform: scale(1.07) rotate(-1.5deg);
  box-shadow:
    0 16px 60px 0 rgba(79,140,255,0.38),
    0 4px 16px 0 #0004;
}

.founder-top-name {
  color: #fff;
  font-size: 2.4rem;
  margin-bottom: 0.3rem;
  text-shadow: 0 4px 12px #2228;
  letter-spacing: 1px;
}

.founder-top-quote {
  color: #e0e7ff;
  font-size: 1.18rem;
  font-style: italic;
  margin-bottom: 0.2rem;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #111;
  padding: 1rem 2rem;
  box-shadow: 0 3px 16px rgba(60,60,60,0.17);
}

.logo {
  color: #fff;
  font-weight: bold;
  font-size: 1.5rem;
  letter-spacing: 1px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.2s, text-shadow 0.2s;
}

nav ul li a:hover, .hero-btn:hover {
  color: #4f8cff;
  text-shadow: 0 2px 16px #4f8cff99;
}

/* HERO SECTION WITH SPORTSCAR BACKGROUND */
.hero {
  min-height: 55vh;
  background: 
    linear-gradient(90deg, rgba(0,0,0,0.50) 0%, rgba(79,140,255,0.14) 100%),
    url('images/1500x500.jpeg') center center/cover no-repeat;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
}

.hero-content {
  text-align: center;
  margin: 5rem auto 3rem auto;
  max-width: 600px;
  z-index: 1;
  position: relative;
  background: rgba(17, 17, 17, 0.7);
  border-radius: 24px;
  box-shadow: 0 8px 40px rgba(79,140,255,0.10);
  padding: 2.5rem 2rem 2rem 2rem;
  backdrop-filter: blur(2px);
}

.hero-content h2 {
  font-size: 2.4rem;
  margin-bottom: 1rem;
  min-height: 3rem;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.hero-btn {
  background: linear-gradient(90deg, #4f8cff 60%, #2563eb 100%);
  color: #fff;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 25px;
  font-size: 1.1rem;
  text-decoration: none;
  box-shadow: 0 2px 12px rgba(79,140,255,0.20);
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
  font-weight: 500;
}

.hero-btn:hover {
  background: linear-gradient(90deg, #2563eb 60%, #4f8cff 100%);
  color: #fff;
  transform: translateY(-2px) scale(1.06);
  box-shadow: 0 4px 24px rgba(79,140,255,0.28);
}

.cars-list {
  padding: 4rem 1rem 2rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.cars-list h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: #222;
}

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

.car-card {
  background: #fff;
  border-radius: 18px;
  padding: 1.5rem 1rem;
  box-shadow: 0 2px 16px rgba(0,0,0,0.13);
  text-align: center;
  transition: transform 0.18s, box-shadow 0.18s;
  border: 1.5px solid #e6effe;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.car-card-3d {
  box-shadow: 0 8px 36px 0 rgba(79,140,255,0.12), 0 2px 8px 0 #2222;
  border: 1.5px solid #c4d7fa;
}

.car-card-3d:hover {
  transform: translateY(-10px) scale(1.045) rotate(-0.8deg);
  box-shadow: 0 16px 56px 0 rgba(79,140,255,0.19), 0 4px 24px 0 #2222;
  border-color: #4f8cff88;
}

.car-img {
  width: 100%;
  max-width: 240px;
  height: 150px;
  object-fit: cover;
  margin-bottom: 1rem;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(79,140,255,0.09);
}

.car-price {
  font-weight: bold;
  color: #4f8cff;
  margin: 0.5rem 0;
  font-size: 1.09rem;
}

.car-desc {
  color: #444;
  font-size: 0.97rem;
  margin-bottom: 0.2rem;
}

/* Image Slider Styles */
.slider-section {
  background: #f5f8fa;
  padding: 3rem 0 3rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.image-slider-outer {
  max-width: 620px;
  margin: 0 auto;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 36px 0 rgba(79,140,255,0.12), 0 2px 8px 0 #2222;
  position: relative;
  overflow: hidden;
  padding: 1rem 1rem 2rem 1rem;
}
.image-slider {
  width: 100%;
  height: 330px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.slider-img {
  width: 100%;
  max-width: 580px;
  height: 320px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(79,140,255,0.13);
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  transition: opacity .8s;
  z-index: 1;
  pointer-events: none;
}
.slider-img.active {
  opacity: 1;
  z-index: 2;
  pointer-events: auto;
}
.slider-indicators {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 1.3rem;
}
.slider-indicators span {
  display: inline-block;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #d1e0ff;
  margin: 0 6px;
  cursor: pointer;
  border: 2px solid #4f8cff;
  transition: background .2s;
}
.slider-indicators span.active {
  background: #4f8cff;
}

.owner-section {
  background: linear-gradient(120deg, #4f8cff 30%, #111 100%);
  padding: 4rem 0;
  display: flex;
  justify-content: center;
}

.owner-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(79,140,255,0.15);
  padding: 2rem 2.5rem;
  max-width: 420px;
  text-align: center;
  margin-top: -2.6rem;
  z-index: 3;
  position: relative;
}

.owner-card-3d {
  box-shadow: 0 8px 36px 0 rgba(79,140,255,0.14), 0 2px 8px 0 #2222;
  border: 1.5px solid #c4d7fa;
}

.owner-title {
  font-weight: 600;
  color: #4f8cff;
  margin-bottom: 0.6rem;
}

.owner-desc {
  font-style: italic;
  color: #222;
  margin: 1rem 0 1.2rem 0;
}

.owner-socials {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.2rem;
}

.owner-socials a {
  color: #4f8cff;
  text-decoration: none;
  font-size: 1.1rem;
  transition: color 0.2s;
}

.owner-socials a:hover {
  color: #111;
}

.contact-section {
  max-width: 550px;
  margin: 4rem auto;
  padding: 2rem 1rem;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.14);
  text-align: center;
}

.contact-section h2 {
  margin-bottom: 1rem;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0 0;
}

.contact-list li {
  margin-bottom: 1rem;
}

.contact-list a {
  color: #4f8cff;
  font-size: 1.1rem;
  text-decoration: none;
  transition: color 0.2s;
}

.contact-list a:hover {
  color: #111;
}

footer {
  background: #111;
  color: #fff;
  text-align: center;
  padding: 2rem 1rem 1rem 1rem;
  margin-top: 2rem;
  font-size: 1rem;
  box-shadow: 0 -3px 16px rgba(60,60,60,0.12);
}

@media (max-width: 900px) {
  .cars-grid {
    grid-template-columns: 1fr 1fr;
  }
  .slider-img {
    height: 200px;
    max-width: 350px;
  }
  .image-slider {
    height: 210px;
  }
}

@media (max-width: 700px) {
  .founder-photo-square {
    width: 130px;
    height: 130px;
  }
  .hero-content {
    padding: 1.2rem 0.6rem;
  }
  .slider-img {
    height: 120px;
    max-width: 170px;
  }
  .image-slider {
    height: 130px;
  }
}

@media (max-width: 600px) {
  nav {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }
  .hero-content {
    margin: 2rem auto;
    padding: 1rem 0.3rem;
  }
  .cars-grid {
    grid-template-columns: 1fr;
  }
  .owner-card {
    padding: 1.2rem 0.6rem;
  }
  .founder-photo-square {
    width: 100px;
    height: 100px;
  }
  .slider-img {
    height: 90px;
    max-width: 140px;
  }
  .image-slider {
    height: 100px;
  }
}