/* ================= GLOBAL STYLES ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #0b0f19;
  color: #ffffff;
  overflow-x: hidden;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-subtitle {
  color: #00bfff;
  margin-bottom: 10px;
  font-weight: 600;
  font-size: 2rem;
}

.section-header h2 {
  font-size: 2.5rem;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 12px;
  text-decoration: none;
  transition: 0.3s ease;
  font-weight: 600;
}

.primary-btn {
  background: #00bfff;
  color: #fff;
}

.primary-btn:hover {
  transform: translateY(-3px);
  background: #0099dd;
  box-shadow: 0 10px 25px rgba(0, 191, 255, 0.45);
}

.secondary-btn {
  border: 1px solid #00bfff;
  color: #00bfff;
}

.secondary-btn:hover {
  background: #00bfff;
  color: #fff;
  border-color: #38d5ff;
  box-shadow: 0 10px 25px rgba(0, 191, 255, 0.35);
}

/* ================= NAVBAR ================= */
.header {
  position: sticky;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 999;
  backdrop-filter: blur(12px);
  background: rgba(11, 15, 25, 0.6);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
}

.logo span {
  color: #00bfff;
}

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: white;
  transition: 0.3s ease;
}

.nav-links a:hover {
  color: #00bfff;
}

.menu-btn {
  display: none;
  font-size: 2rem;
  cursor: pointer;
}

/* ================= HERO SECTION ================= */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-car-3d {
  position: relative;
  width: 100%;
  max-width: 900px;
  perspective: 1800px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-car-3d img {
  width: 100%;
  max-width: 850px;
  filter: drop-shadow(0 40px 50px rgba(0,0,0,0.55));
  animation: heroFloat 5s ease-in-out infinite;
  transition: 0.5s ease;
}

@keyframes heroFloat {
  0% {
    transform: rotateY(-14deg) rotateX(6deg) translateY(0px);
  }

  50% {
    transform: rotateY(-10deg) rotateX(4deg) translateY(-18px);
  }

  100% {
    transform: rotateY(-14deg) rotateX(6deg) translateY(0px);
  }
}

.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(0,191,255,0.15), transparent 30%),
    #0b0f19;
}

.hero-overlay {
  position: absolute;
  width: 500px;
  height: 500px;
  background: rgba(0,191,255,0.15);
  filter: blur(120px);
  top: -100px;
  right: -100px;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
  align-items: center;
}

.hero-text h1 {
  font-size: 4rem;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-text h1 span {
  color: #00bfff;
}

.hero-text p {
  color: #cbd5e1;
  margin-bottom: 30px;
  line-height: 1.8;
}
.hero-buttons {
  display: flex;
  gap: 20px;
}

/* ================= FEATURED CARS ================= */
.cars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 100px;
}

.car-card {
  perspective: 1200px;
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  min-height: 420px;
  transition: 0.4s ease;
}

.car-card img {
  filter: drop-shadow(0 25px 35px rgba(0,0,0,0.4));
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s ease;
}

.car-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9), transparent 60%);
  z-index: 1;
}

.car-content {
  position: absolute;
  bottom: 30px;
  left: 30px;
  z-index: 2;
}

.car-content h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.car-content p {
  color: #d1d5db;
  max-width: 280px;
  line-height: 1.7;
}

.car-card:hover {
  transform: translateY(-10px);
}

.car-card:hover img {
  transform: rotateY(0deg) scale(1.1);
}

/* ================= SERVICES ================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.service-card {
  background: #111827;
  border-radius: 24px;
  padding: 40px 30px;
  text-align: center;
  transition: 0.4s ease;
  border: 1px solid transparent;
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: #00bfff;
  box-shadow: 0 10px 30px rgba(0,191,255,0.2);
}

.service-card.active {
  border-color: #00bfff;
}

.service-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
  border-radius: 20px;
  margin-bottom: 25px;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s ease;
}

.service-card:hover .service-image img {
  transform: scale(1.08);
}

.service-card h3 {
  margin-bottom: 15px;
}

.service-card p {
  color: #94a3b8;
  line-height: 1.8;
}

.price {
  margin: 25px 0;
  color: #00bfff;
  font-size: 2rem;
  font-weight: 700;
}

.service-btn {
  padding: 12px 24px;
  border: none;
  border-radius: 12px;
  background: #00bfff;
  color: white;
  cursor: pointer;
  transition: 0.3s ease;
}

.service-btn:hover {
  transform: scale(1.05);
  background: #0099dd;
  box-shadow: 0 10px 20px rgba(0,191,255,0.3);
}

/* ================= OFFERS SECTION ================= */
.offers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 100px;
}

.offer-card {
  position: relative;
  padding: 40px 30px;
  border-radius: 28px;
  background: linear-gradient(145deg, #111827, #0f172a);
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  transition: 0.4s ease;
}

.offer-card::before {
  content: '';
  position: absolute;
  width: 250px;
  height: 250px;
  background: rgba(0,191,255,0.12);
  border-radius: 50%;
  top: -120px;
  right: -120px;
}

.offer-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 40px rgba(0,191,255,0.18);
}

.featured-offer {
  border: 1px solid #00bfff;
  transform: scale(1.04);
}

.offer-badge {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 30px;
  background: #00bfff;
  color: white;
  font-size: 0.85rem;
  margin-bottom: 25px;
  font-weight: 600;
}

.offer-card h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.offer-card p {
  color: #cbd5e1;
  line-height: 1.8;
}

.offer-price {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.offer-price span {
  text-decoration: line-through;
  color: #94a3b8;
  font-size: 1.2rem;
}

.offer-price small {
  font-size: 2rem;
  color: #00bfff;
  font-weight: 700;
}


/* ================= REVIEWS ================= */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.review-card {
  background: #111827;
  padding: 35px;
  border-radius: 24px;
  transition: 0.3s ease;
}

.review-card:hover {
  transform: translateY(-8px);
}

.review-card p {
  color: #cbd5e1;
  line-height: 1.8;
  margin-bottom: 25px;
}

.review-user {
  display: flex;
  align-items: center;
  gap: 15px;
}

.avatar {
  width: 50px;
  height: 50px;
  background: #00bfff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* ================= CONTACT ================= */
.contact-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
  align-items: center;
}

.contact-info p {
  color: #cbd5e1;
  line-height: 1.8;
}

.social-links {
  margin-top: 25px;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.social-links {
  margin-top: 30px;
}

.social-icon {
  width: 65px;
  height: 65px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  transition: 0.4s ease;
  overflow: hidden;
  position: relative;
}

.social-icon img {
  width: 32px;
  transition: 0.4s ease;
}

.social-icon::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 100%;
  left: 0;
  transition: 0.4s ease;
  z-index: -1;
}

.facebook::before {
  background: #1877f2;
}

.instagram::before {
  background: linear-gradient(45deg, #f9ce34, #ee2a7b, #6228d7);
}

.whatsapp::before {
  background: #25d366;
}

.social-icon:hover::before {
  top: 0;
}

.social-icon:hover {
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-8px) scale(1.08);
  box-shadow: 0 15px 30px rgba(0,191,255,0.2);
}

.social-icon:hover img {
  transform: scale(1.12);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.input-group {
  position: relative;
}

.input-group label {
  border-radius: 10px;
  position: absolute;
  left: 18px;
  top: 18px;
  color: #94a3b8;
  transition: 0.3s ease;
  pointer-events: none;
  background: #111827;
  padding: 0 8px;
}

.input-group input:focus + label,
.input-group input:not(:placeholder-shown) + label,
.input-group textarea:focus + label,
.input-group textarea:not(:placeholder-shown) + label {
  top: -10px;
  font-size: 0.85rem;
  color: #00bfff;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.1);
  background: #111827;
  color: white;
  outline: none;
  transition: 0.3s ease;
}

.contact-form textarea {
  resize: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #00bfff;
  box-shadow: 0 0 20px rgba(0,191,255,0.15);
}

.full-btn {
  width: 100%;
  border: none;
  cursor: pointer;
}

/* ================= FOOTER ================= */
.footer {
  padding: 30px 0;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: 1s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {

  .hero-content,
  .services-grid,
  .reviews-grid,
  .contact-container,
  .cars-grid,
  .offers-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    height: auto;
    margin-top: 40px;
  }

  .hero-text h1 {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {

  .hero {
    padding-top: 120px;
  }

  .hero-content {
    gap: 80px;
  }

  .hero-car-3d img {
    transform: none;
    max-width: 100%;
  }

  .nav-links {
    position: absolute;
    top: 80px;
    left: -100%;
    width: 100%;
    background: #111827;
    flex-direction: column;
    text-align: center;
    padding: 30px 0;
    transition: 0.4s ease;
  }

  .nav-links.active {
    left: 0;
  }

  .menu-btn {
    display: block;
  }

  .hero-text h1 {
    font-size: 2.4rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .section-header h2 {
    font-size: 2rem;
  }
}