html {
  scroll-behavior: smooth;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #0f1019;
  color: white;
  line-height: 1.6;
}


.glass-navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  color: white;
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav-left {
  font-weight: bold;
  font-size: 1.1rem;
}

.nav-right a {
  color: white;
  margin-left: 1rem;
  text-decoration: none;
}


.intro {
  position: relative;
  text-align: center;
  margin-top: 2rem;
  margin-bottom: 4rem;
}

.glass-box {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  margin: 0 auto;
  max-width: 70%;
  border-radius: 1rem;
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 2;
}

.intro-wrapper {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
   width: 100%;
  position: relative;
  z-index: 0;
}

.car-image {
  max-width: 350px;
  opacity: 1;
  height: auto;
  transition: opacity 0.3 ease;
}

.left-car {
  animation: float-left 3s ease-in-out infinite;
}
.type-r-img {
  position: relative;
  z-index: 2; 
}
.center-car {
  animation: float-center 3s ease-in-out infinite;
}

.gt3-img {
  position: relative;
  z-index: 3; 
}

.right-car {
  animation: float-right 3s ease-in-out infinite;
}
.g80-img {
  position: relative;
  z-index: 1;
}

@keyframes float-left {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(5px);
  }
}
@keyframes float-center {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(3px);
  }
}

@keyframes float-right {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}
.about-section {
  padding: 4rem 2rem;
  display: flex;
  justify-content: center;
}

.about-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  max-width: 1000px;
  gap: 3rem;
  width: 100%;
  flex-wrap: wrap;
  justify-content: center;
  padding-left: 5rem;
}

.about-left {
  flex: 1;
  color: #fff;
  min-width: 280px;
}

.about-left h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.about-left p,
.about-left ul {
  font-size: 1rem;
  line-height: 1.6;
}

.about-left ul {
  padding-left: 1.2rem;
}

.about-right {
  flex: 1;
  display: flex;
  justify-content: center;
}

.about-right img {
  max-width: 280px;
  width: 100%;
  height: auto;
  border-radius: 3rem;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}


 #projects {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  margin: 4rem auto;
  max-width: 60%;
  border-radius: 1rem;
  backdrop-filter: blur(10px);
  text-align: center;
}


footer {
  text-align: center;
  padding: 2rem;
  color: #888;
  font-size: 0.9rem;
}