* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Open Sans', sans-serif;
  background: #ffffff;
  color: #333;
  overflow-x: hidden;
  line-height: 1.6;
  transition: background-color 0.3s ease, color 0.3s ease;
  scroll-behavior: smooth;
}

/* KEYFRAME ANIMATIONS */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* DARK MODE */
@media (prefers-color-scheme: dark) {
  body {
    background: #0a0a0a;
    color: #e0e0e0;
  }

  header {
    background: #000000 !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3) !important;
  }

  nav a {
    color: #e0e0e0 !important;
  }

  nav a:hover {
    color: #f4b400 !important;
  }

  .hamburger span {
    background: #e0e0e0 !important;
  }

  .mobile-menu {
    background: #1a1a1a !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5) !important;
  }

  .mobile-menu a {
    color: #e0e0e0 !important;
  }

  .section-title {
    color: #f4b400 !important;
  }

  .section-subtitle {
    color: #b0b0b0 !important;
  }

  .featured-section {
    background: #0f0f0f !important;
  }

  .car-card {
    background: #1a1a1a !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.4) !important;
  }

  .car-card:hover {
    box-shadow: 0 8px 20px rgba(244,180,0,0.2) !important;
  }

  .car-name {
    color: #e0e0e0 !important;
  }

  .about-section,
  .values-section {
    background: #0a0a0a !important;
  }

  .about-text p {
    color: #b0b0b0 !important;
  }

  .advantage-item h4 {
    color: #f4b400 !important;
  }

  .advantage-item p {
    color: #b0b0b0 !important;
  }

  .vision-section {
    background: #0f0f0f !important;
  }

  .vision-text {
    color: #b0b0b0 !important;
  }

  .mission-section {
    background: #0a0a0a !important;
  }

  .mission-text h3 {
    color: #f4b400 !important;
  }

  .mission-text p {
    color: #b0b0b0 !important;
  }

  .brands-section {
    background: #0f0f0f !important;
  }

  .brands-track img {
    filter: grayscale(100%) brightness(1.5);
  }
  
  .brands-track img:hover {
    filter: grayscale(0%) brightness(1);
  }

  .contact-section {
    background: #0a0a0a !important;
  }

  .contact-card {
    background: #1a1a1a !important;
    border: 1px solid #2a2a2a !important;
  }

  .contact-card:hover {
    box-shadow: 0 8px 20px rgba(244,180,0,0.2) !important;
    border-color: #f4b400 !important;
  }

  .contact-card h3 {
    color: #e0e0e0 !important;
  }

  footer {
    background: #1a1a1a !important;
  }

  .footer-section a {
    color: #b0b0b0 !important;
  }

  .footer-section a:hover {
    color: #f4b400 !important;
  }

  .footer-bottom {
    border-top: 1px solid #2a2a2a !important;
    color: #808080 !important;
  }
}

/* HEADER */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  background: #000000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow 0.3s ease;
  animation: fadeInDown 0.6s ease;
}

header img { 
  height: 40px;
  animation: fadeIn 0.8s ease;
}

nav { 
  display: flex; 
  gap: 35px;
  align-items: center;
}

nav a {
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  transition: all 0.3s ease;
  position: relative;
  animation: fadeInDown 0.6s ease;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #f4b400;
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

nav a:hover { 
  color: #f4b400;
  transform: translateY(-2px);
}

.phone-number {
  color: #f4b400;
  font-weight: 600;
  font-size: 16px;
  margin-left: 20px;
  animation: fadeIn 1s ease 0.3s both;
}

/* MOBILE NAV */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #ffffff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger:hover span {
  background: #f4b400;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background: #1a1a1a;
  position: absolute;
  top: 70px;
  right: 20px;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  z-index: 999;
  transition: all 0.3s ease;
  animation: fadeInDown 0.3s ease;
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu a {
  padding: 10px 0;
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
  transition: all 0.3s ease;
  animation: fadeInDown 0.4s ease;
}

.mobile-menu a:hover {
  color: #f4b400;
  transform: translateX(5px);
}

/* HERO SECTION */
.hero {
  position: relative;
  height: 750px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease;
  filter: brightness(0.2);
}

.hero-img.active { 
  opacity: 1;
  animation: scaleIn 1.5s ease;
}

.mobile-hero { display: none; }
.desktop-hero { display: block; }

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  max-width: 800px;
  padding: 0 20px;
  animation: fadeInUp 1s ease 0.3s both;
}

.hero-content h1 {
  font-size: 52px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
  animation: fadeInUp 1s ease 0.5s both;
}

.hero-content h2 {
  font-size: 28px;
  font-weight: 300;
  margin-bottom: 30px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
  animation: fadeInUp 1s ease 0.7s both;
}

.hero-btn {
  display: inline-block;
  padding: 15px 50px;
  background: #f4b400;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(244,180,0,0.3);
  animation: fadeInUp 1s ease 0.9s both;
  position: relative;
  overflow: hidden;
}

.hero-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s ease;
}

.hero-btn:hover::before {
  left: 100%;
}

.hero-btn:hover {
  background: #ffffff;
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,255,255,0.4);
}

/* SLIDER DOTS */
.slider-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 2;
  animation: fadeIn 1s ease 1s both;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot:hover {
  background: rgba(255,255,255,0.8);
  transform: scale(1.2);
}

.dot.active {
  background: #fff;
  width: 30px;
  border-radius: 5px;
}

/* SECTION TITLES */
.section-title {
  text-align: left;
  font-size: 36px;
  font-weight: 700;
  color: #333;
  margin: 50px 0 20px;
  transition: color 0.3s ease;
  opacity: 0;
  animation: slideInLeft 0.8s ease forwards;
  padding-left: 0;
}

.section-subtitle {
  text-align: left;
  font-size: 16px;
  color: #666;
  margin-bottom: 40px;
  max-width: 100%;
  padding: 0;
  transition: color 0.3s ease;
  opacity: 0;
  animation: slideInLeft 0.8s ease 0.2s forwards;
}

/* FEATURED CARS */
.featured-section {
  padding: 60px 40px 20px 40px;
  background: #f9f9f9;
  transition: background-color 0.3s ease;
  max-width: 1200px;
  margin: 0 auto;
}

.featured-section .section-title {
  padding-left: 0;
  margin-left: 0;
}

.cars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.car-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  cursor: pointer;
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

.car-card:nth-child(1) { animation-delay: 0.1s; }
.car-card:nth-child(2) { animation-delay: 0.2s; }
.car-card:nth-child(3) { animation-delay: 0.3s; }
.car-card:nth-child(4) { animation-delay: 0.4s; }
.car-card:nth-child(5) { animation-delay: 0.5s; }
.car-card:nth-child(6) { animation-delay: 0.6s; }
.car-card:nth-child(7) { animation-delay: 0.7s; }
.car-card:nth-child(8) { animation-delay: 0.8s; }
.car-card:nth-child(9) { animation-delay: 0.9s; }
.car-card:nth-child(10) { animation-delay: 1s; }

.car-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.car-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.car-card:hover img {
  transform: scale(1.05);
}

.car-info {
  padding: 15px 20px;
}

.car-name {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  text-align: center;
  transition: color 0.3s ease;
}

/* ABOUT SECTION */
.about-section {
  padding: 20px 40px 60px 40px;
  max-width: 1200px;
  margin: 0 auto;
  transition: background-color 0.3s ease;
}

.about-section .section-title,
.about-section .section-subtitle {
  padding-left: 0;
  margin-left: 0;
}

.about-content {
  margin-bottom: 50px;
  opacity: 0;
  animation: fadeIn 0.8s ease forwards;
}

.about-text p {
  font-size: 16px;
  color: #666;
  line-height: 1.8;
  margin-bottom: 15px;
  transition: color 0.3s ease;
  opacity: 0;
  animation: slideInLeft 0.6s ease forwards;
  text-align: left;
  padding-left: 0;
}

.about-text p:nth-child(1) { animation-delay: 0.2s; }
.about-text p:nth-child(2) { animation-delay: 0.3s; }
.about-text p:nth-child(3) { animation-delay: 0.4s; }
.about-text p:nth-child(4) { animation-delay: 0.5s; }

.about-highlight {
  color: #f4b400;
  font-weight: 600;
  font-size: 18px;
  margin-top: 20px;
}

/* ADVANTAGES */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.advantage-item {
  text-align: center;
  opacity: 0;
  animation: scaleIn 0.6s ease forwards;
  transition: transform 0.3s ease;
}

.advantage-item:nth-child(1) { animation-delay: 0.1s; }
.advantage-item:nth-child(2) { animation-delay: 0.2s; }
.advantage-item:nth-child(3) { animation-delay: 0.3s; }
.advantage-item:nth-child(4) { animation-delay: 0.4s; }
.advantage-item:nth-child(5) { animation-delay: 0.5s; }
.advantage-item:nth-child(6) { animation-delay: 0.6s; }

.advantage-item:hover {
  transform: translateY(-10px);
}

.advantage-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.advantage-item:hover img {
  transform: scale(1.05);
}

.advantage-item h4 {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.advantage-item p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  transition: color 0.3s ease;
}

/* VISION SECTION */
.vision-section {
  padding: 20px 40px 60px 40px;
  background: #f9f9f9;
  transition: background-color 0.3s ease;
}

.vision-container {
  max-width: 1200px;
  margin: 0 auto;
}

.vision-section .section-title {
  padding-left: 0;
  margin-left: 0;
}

.vision-text {
  font-size: 18px;
  color: #666;
  line-height: 1.8;
  transition: color 0.3s ease;
  opacity: 0;
  animation: slideInLeft 0.8s ease 0.3s forwards;
  text-align: left;
  padding-left: 0;
}

/* MISSION SECTION */
.mission-section {
  padding: 20px 40px 60px 40px;
  background: #fff;
  transition: background-color 0.3s ease;
  max-width: 1200px;
  margin: 0 auto;
}

.mission-content {
  max-width: 100%;
  margin: 0;
  display: flex;
  gap: 60px;
  align-items: center;
  opacity: 0;
  animation: fadeIn 0.8s ease forwards;
}

.mission-image {
  flex: 1;
  min-width: 300px;
  height: 350px;
  border-radius: 8px;
  animation: slideInLeft 0.8s ease;
  transition: transform 0.3s ease;
  overflow: hidden;
}

.mission-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.mission-desktop {
  display: block;
}

.mission-mobile {
  display: none;
}

.mission-image:hover {
  transform: scale(1.02);
}

.mission-text {
  flex: 1;
  animation: slideInRight 0.8s ease;
}

.mission-text h3 {
  font-size: 32px;
  font-weight: 700;
  color: #333;
  margin-bottom: 20px;
  transition: color 0.3s ease;
  text-align: left;
}

.mission-text p {
  font-size: 16px;
  color: #666;
  line-height: 1.8;
  transition: color 0.3s ease;
  text-align: left;
}

/* VALUES SECTION */
.values-section {
  padding: 20px 40px 60px 40px;
  max-width: 1200px;
  margin: 0 auto;
  background: #fff;
  transition: background-color 0.3s ease;
}

.values-section .section-title {
  padding: 0;
  margin-left: 0;
  margin-right: 0;
}

.values-section .section-subtitle {
  padding: 0;
  margin-left: 0;
  margin-right: 0;
}

/* BRANDS SECTION */
.brands-section {
  padding: 80px 40px;
  background: #f9f9f9;
  transition: background-color 0.3s ease;
}

.brands-section .section-title {
  text-align: center;
  animation: fadeInUp 0.8s ease forwards;
}

.brands-section .section-subtitle {
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 0.8s ease 0.2s forwards;
}

.brands-slider {
  max-width: 1200px;
  margin: 0 auto;
}

.brands-track {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
}

.brands-track img {
  height: 40px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all 0.3s ease;
  animation: fadeInUp 0.6s ease forwards;
}

.brands-track img:nth-child(1) { animation-delay: 0.1s; }
.brands-track img:nth-child(2) { animation-delay: 0.15s; }
.brands-track img:nth-child(3) { animation-delay: 0.2s; }
.brands-track img:nth-child(4) { animation-delay: 0.25s; }
.brands-track img:nth-child(5) { animation-delay: 0.3s; }
.brands-track img:nth-child(6) { animation-delay: 0.35s; }
.brands-track img:nth-child(7) { animation-delay: 0.4s; }
.brands-track img:nth-child(8) { animation-delay: 0.45s; }
.brands-track img:nth-child(9) { animation-delay: 0.5s; }
.brands-track img:nth-child(10) { animation-delay: 0.55s; }

.brands-track img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.2);
}

/* CONTACT SECTION */
.contact-section {
  padding: 80px 40px;
  background: #fff;
  transition: background-color 0.3s ease;
}

.contact-section .section-title {
  text-align: center;
}

.contact-container {
  max-width: 1000px;
  margin: 0 auto;
}

.contact-intro {
  text-align: center;
  font-size: 16px;
  color: #666;
  margin-bottom: 40px;
  max-width: 100%;
  opacity: 0;
  animation: slideInLeft 0.6s ease 0.2s forwards;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.contact-card {
  background: #f9f9f9;
  padding: 40px 30px;
  border-radius: 8px;
  text-align: center;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
  display: block;
  border: 1px solid transparent;
  opacity: 0;
  animation: scaleIn 0.6s ease forwards;
}

.contact-card:nth-child(1) { animation-delay: 0.2s; }
.contact-card:nth-child(2) { animation-delay: 0.4s; }
.contact-card:nth-child(3) { animation-delay: 0.6s; }

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  border-color: #f4b400;
}

.contact-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  transition: transform 0.3s ease;
}

.contact-card:hover .contact-icon {
  transform: scale(1.1) rotate(5deg);
}

.contact-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.contact-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.contact-card span {
  font-size: 16px;
  color: #f4b400;
  font-weight: 600;
}

/* FOOTER */
footer {
  background: #2c2c2c;
  color: #fff;
  padding: 50px 40px 30px;
  transition: background-color 0.3s ease;
  animation: fadeIn 0.8s ease;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 30px;
}

.footer-section {
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

.footer-section:nth-child(1) { animation-delay: 0.1s; }
.footer-section:nth-child(2) { animation-delay: 0.2s; }
.footer-section:nth-child(3) { animation-delay: 0.3s; }

.footer-section h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 15px;
}

.footer-section a {
  display: block;
  color: #ccc;
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.footer-section a:hover {
  color: #f4b400;
  transform: translateX(5px);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid #444;
  font-size: 14px;
  color: #999;
  transition: border-color 0.3s ease, color 0.3s ease;
  opacity: 0;
  animation: fadeIn 0.8s ease 0.5s forwards;
}

/* RESPONSIVE */
@media (min-width: 769px) {
  .about-text {
    max-width: 1200px;
    margin: 0 auto;
  }

  .vision-text {
    max-width: 1200px;
    margin: 0 auto;
  }

  .contact-intro {
    padding: 0;
  }
}
@media (max-width: 768px) {
  nav { display: none; }
  .hamburger { display: flex; }
  .phone-number { display: none; }

  header {
    padding: 15px 20px;
  }

  .hero {
    height: 700px;
  }

  .hero-content h1 {
    font-size: 32px;
  }

  .hero-content h2 {
    font-size: 18px;
  }

  .desktop-hero { display: none; }
  .mobile-hero { display: block; }

  .section-title {
    font-size: 28px;
    margin: 40px 0 15px;
  }

  .section-subtitle {
    margin-bottom: 30px;
  }

  .featured-section,
  .about-section,
  .vision-section,
  .mission-section,
  .values-section,
  .brands-section,
  .contact-section {
    padding: 40px 20px;
  }

  .brands-track {
    gap: 25px;
  }
  
  .brands-track img {
    height: 30px;
  }

  .cars-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .car-name {
    text-align: left;
  }

  .mission-content {
    flex-direction: column;
    gap: 30px;
  }

  .mission-image {
    height: 250px;
  }

  .mission-desktop {
    display: none;
  }

  .mission-mobile {
    display: block;
  }

  .advantages-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .advantage-item {
    text-align: left;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}