/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Open Sans", sans-serif;
  line-height: 1.6;
  color: #f5f6fa;
  background-color: #2f3640;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(47, 54, 64, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(47, 54, 64, 0.98);
  box-shadow: 0 2px 20px rgba(0, 168, 255, 0.3);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-text {
  font-family: "Bebas Neue", cursive;
  font-size: 1.8rem;
  color: #00a8ff;
  text-shadow: 0 0 10px rgba(0, 168, 255, 0.5);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  color: #f5f6fa;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: #00a8ff;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #00a8ff, #0078d4);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger .bar {
  width: 25px;
  height: 3px;
  background: #f5f6fa;
  margin: 3px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #2f3640 0%, #40739e 100%);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("https://images.pexels.com/photos/358220/pexels-photo-358220.jpeg?auto=compress&cs=tinysrgb&w=1920") center/cover;
  opacity: 0.3;
}

.hero-bg::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(47, 54, 64, 0.8) 0%, rgba(64, 115, 158, 0.6) 100%);
}

.steam-effect {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.steam-particle {
  position: absolute;
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  animation: steam 4s infinite linear;
}

.steam-particle:nth-child(1) {
  left: 20%;
  animation-delay: 0s;
}

.steam-particle:nth-child(2) {
  left: 40%;
  animation-delay: 1s;
}

.steam-particle:nth-child(3) {
  left: 60%;
  animation-delay: 2s;
}

.steam-particle:nth-child(4) {
  left: 80%;
  animation-delay: 3s;
}

.steam-particle:nth-child(5) {
  left: 30%;
  animation-delay: 1.5s;
}

@keyframes steam {
  0% {
    bottom: -10px;
    opacity: 0;
    transform: translateX(0) scale(0.5);
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    bottom: 100vh;
    opacity: 0;
    transform: translateX(20px) scale(1.5);
  }
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 800px;
  padding: 0 20px;
}

.brand-name {
  font-family: "Bebas Neue", cursive;
  font-size: clamp(3rem, 8vw, 6rem);
  display: block;
  color: #00a8ff;
  text-shadow: 0 0 30px rgba(0, 168, 255, 0.8);
  margin-bottom: 0.5rem;
  animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
  from {
    text-shadow: 0 0 30px rgba(0, 168, 255, 0.8);
  }
  to {
    text-shadow: 0 0 40px rgba(0, 168, 255, 1), 0 0 60px rgba(0, 168, 255, 0.5);
  }
}

.hero-subtitle {
  font-family: "Bebas Neue", cursive;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  display: block;
  color: #f5f6fa;
  margin-bottom: 1rem;
}

.hero-description {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-features {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.8rem 1.2rem;
  border-radius: 25px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 168, 255, 0.3);
}

.feature-icon {
  font-size: 1.2rem;
}

.cta-button {
  position: relative;
  background: linear-gradient(45deg, #00a8ff, #0078d4);
  color: white;
  border: none;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 168, 255, 0.4);
}

.button-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: rotate(45deg);
  transition: all 0.6s ease;
  opacity: 0;
}

.cta-button:hover .button-glow {
  animation: shine 0.6s ease-in-out;
}

@keyframes shine {
  0% {
    left: -50%;
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    left: 150%;
    opacity: 0;
  }
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid #00a8ff;
  border-bottom: 2px solid #00a8ff;
  transform: rotate(45deg);
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* Section Titles */
.section-title {
  font-family: "Bebas Neue", cursive;
  font-size: clamp(2.5rem, 5vw, 4rem);
  text-align: center;
  margin-bottom: 3rem;
  color: #00a8ff;
  text-shadow: 0 0 20px rgba(0, 168, 255, 0.5);
}

/* Why Choose Us Section */
.why-us {
  padding: 80px 0;
  background: linear-gradient(135deg, #2f3640 0%, #353b48 100%);
}

.why-us-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.why-us-icons {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.service-icon {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(0, 168, 255, 0.1);
  border-radius: 15px;
  border: 1px solid rgba(0, 168, 255, 0.3);
  transition: all 0.3s ease;
}

.service-icon:hover {
  transform: translateX(10px);
  background: rgba(0, 168, 255, 0.2);
  box-shadow: 0 5px 20px rgba(0, 168, 255, 0.3);
}

.icon-svg {
  width: 50px;
  height: 50px;
}

.service-icon span {
  font-weight: 600;
  font-size: 1.1rem;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.feature-item-detail {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  border-left: 4px solid #00a8ff;
}

.feature-item-detail h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: #00a8ff;
}

.feature-item-detail p {
  opacity: 0.9;
  line-height: 1.6;
}

/* Services Section */
.services {
  padding: 80px 0;
  background: #2f3640;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  position: relative;
  background: linear-gradient(135deg, rgba(0, 168, 255, 0.1) 0%, rgba(0, 120, 212, 0.1) 100%);
  border: 1px solid rgba(0, 168, 255, 0.3);
  border-radius: 20px;
  padding: 2rem;
  transition: all 0.3s ease;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: #00a8ff;
  box-shadow: 0 20px 40px rgba(0, 168, 255, 0.3);
}

.service-card.featured {
  border-color: #00a8ff;
  background: linear-gradient(135deg, rgba(0, 168, 255, 0.2) 0%, rgba(0, 120, 212, 0.2) 100%);
}

.service-card.featured::before {
  content: "PALING POPULER";
  position: absolute;
  top: 20px;
  right: -30px;
  background: #00a8ff;
  color: white;
  padding: 5px 40px;
  font-size: 0.8rem;
  font-weight: 600;
  transform: rotate(45deg);
}

.service-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.service-header h3 {
  font-family: "Bebas Neue", cursive;
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: #00a8ff;
}

.price {
  font-size: 2rem;
  font-weight: 700;
  color: #f5f6fa;
}

.service-features {
  list-style: none;
}

.service-features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  padding-left: 1.5rem;
}

.service-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #00a8ff;
  font-weight: bold;
}

.service-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 168, 255, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover .service-glow {
  opacity: 1;
}

/* Gallery Section */
.gallery {
  padding: 80px 0;
  background: linear-gradient(135deg, #353b48 0%, #2f3640 100%);
}

.gallery-caption {
  text-align: center;
  font-size: 1.2rem;
  margin-bottom: 3rem;
  opacity: 0.8;
}

.gallery-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto 2rem;
}

.gallery-item {
  display: none;
}

.gallery-item.active {
  display: block;
}

.before-after {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.before,
.after {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
}

.before img,
.after img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.after {
  clip-path: polygon(50% 0%, 100% 0%, 100% 100%, 50% 100%);
  transition: clip-path 0.3s ease;
}

.label {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  font-weight: 600;
  font-size: 0.9rem;
}

.after .label {
  left: auto;
  right: 20px;
}

.slider-handle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background: #00a8ff;
  cursor: ew-resize;
  z-index: 10;
  transform: translateX(-50%);
}

.slider-handle::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  background: #00a8ff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 10px rgba(0, 168, 255, 0.5);
}

.gallery-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.gallery-btn {
  background: rgba(0, 168, 255, 0.2);
  border: 1px solid #00a8ff;
  color: #00a8ff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.gallery-btn:hover {
  background: #00a8ff;
  color: white;
}

.gallery-dots {
  display: flex;
  gap: 0.5rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: #00a8ff;
}

/* Reviews Section */
.reviews {
  padding: 80px 0;
  background: #2f3640;
}

.reviews-container {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  scroll-behavior: smooth;
}

.reviews-container::-webkit-scrollbar {
  height: 8px;
}

.reviews-container::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.reviews-container::-webkit-scrollbar-thumb {
  background: #00a8ff;
  border-radius: 4px;
}

.review-card {
  min-width: 350px;
  background: rgba(0, 168, 255, 0.1);
  border: 1px solid rgba(0, 168, 255, 0.3);
  border-radius: 15px;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 168, 255, 0.2);
}

.review-header {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.review-car {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  object-fit: cover;
}

.review-info h4 {
  color: #00a8ff;
  margin-bottom: 0.25rem;
}

.review-info p {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-bottom: 0.25rem;
}

.rating {
  color: #ffd700;
  font-size: 0.9rem;
}

.review-text {
  font-style: italic;
  line-height: 1.6;
  opacity: 0.9;
}

/* Booking Section */
.booking {
  padding: 80px 0;
  background: linear-gradient(135deg, #353b48 0%, #2f3640 100%);
}

.booking-form {
  max-width: 600px;
  margin: 0 auto;
  background: rgba(0, 168, 255, 0.05);
  padding: 2rem;
  border-radius: 20px;
  border: 1px solid rgba(0, 168, 255, 0.2);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #00a8ff;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid rgba(0, 168, 255, 0.3);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: #f5f6fa;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #00a8ff;
  background: rgba(0, 168, 255, 0.1);
  box-shadow: 0 0 10px rgba(0, 168, 255, 0.3);
}

.form-error {
  display: block;
  color: #ff4757;
  font-size: 0.9rem;
  margin-top: 0.25rem;
  min-height: 1.2rem;
}

.submit-button {
  width: 100%;
  background: linear-gradient(45deg, #00a8ff, #0078d4);
  color: white;
  border: none;
  padding: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.submit-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 168, 255, 0.4);
}

.submit-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.loading-car {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.loading-car.active {
  display: flex;
}

.loading-car .car {
  animation: drive 1s ease-in-out infinite;
}

@keyframes drive {
  0% {
    transform: translateX(-10px);
  }
  50% {
    transform: translateX(10px);
  }
  100% {
    transform: translateX(-10px);
  }
}

/* Footer */
.footer {
  background: linear-gradient(135deg, #1e272e 0%, #2f3640 100%);
  padding: 60px 0 20px;
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #00a8ff, transparent);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  font-family: "Bebas Neue", cursive;
  font-size: 1.5rem;
  color: #00a8ff;
  margin-bottom: 1rem;
}

.footer-section h4 {
  color: #00a8ff;
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: #f5f6fa;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-section ul li a:hover {
  color: #00a8ff;
  padding-left: 5px;
}

.contact-info p {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-info a {
  color: #00a8ff;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 168, 255, 0.2);
  opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: rgba(47, 54, 64, 0.98);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
    padding: 2rem 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .why-us-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-features {
    flex-direction: column;
    align-items: center;
  }

  .reviews-container {
    flex-direction: column;
    overflow-x: visible;
  }

  .review-card {
    min-width: auto;
  }

  .before-after {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .hero-content {
    padding: 0 15px;
  }

  .brand-name {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .booking-form {
    padding: 1.5rem;
    margin: 0 15px;
  }
}

/* Animation Classes for JavaScript */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.6s ease;
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.6s ease;
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}
