/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Define reusable animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInFromBottom {
  from { 
    transform: translateY(50px);
    opacity: 0;
  }
  to { 
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: #334155;
  background-color: #f8fafc;
  scroll-behavior: smooth;
  animation: fadeIn 1s ease-out;
}

@keyframes highlightSection {
  0% { box-shadow: 0 0 0 rgba(249, 115, 22, 0); }
  50% { box-shadow: 0 0 20px rgba(249, 115, 22, 0.3); }
  100% { box-shadow: 0 0 0 rgba(249, 115, 22, 0); }
}

section.highlight {
  animation: highlightSection 1.5s ease-in-out;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.btn {
  background-color: #f97316;
  color: white;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 9999px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn:hover {
  background-color: #ea580c;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

.btn:active {
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(249, 115, 22, 0.3);
}

.btn::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  transform: scale(0);
  transition: transform 0.4s ease-out;
  transform-origin: center;
}

.btn:hover::after {
  transform: scale(1.5);
  opacity: 0;
}

.orange {
  color: #f97316;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(8px);
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 5rem;
  padding: 0 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
  display: flex;
  align-items: center;
}
.logo img {
  width: 40px;
  height: 40px;
  margin-right: 10px;

}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  padding: 5px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #f97316;
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: #f97316;
}

.nav-links a:hover::after {
  width: 100%;
}

.mobile-menu {
  display: none;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}
.mobile-menu.active {
  display: block;
}


/* Hero Section */
.hero {
  height: 70vh;
  background-image: url('images/2016-Honda-Fit2.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* Creates parallax effect */
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  border-radius: 10px;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
}

.hero-content {
  position: relative;
  padding: 0 1rem;
  animation: fadeIn 1.5s ease-out;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  animation: slideInFromBottom 1s ease-out 0.3s both;
}

.hero p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  animation: slideInFromBottom 1s ease-out 0.6s both;
}

.hero .btn {
  animation: slideInFromBottom 1s ease-out 0.9s both;
}

/* About Section */
.about {
  padding: 5rem 0;
  background-color: #f8fafc;
}
.about h2{text-align: center;
  margin-bottom: 2rem;
  color: #f97316;
  background-color: #1a1a1a;
  padding: 1rem;
  border-radius: 20px

}
@keyframes slideInFromLeft {
  from { 
    transform: translateX(-50px);
    opacity: 0;
  }
  to { 
    transform: translateX(0);
    opacity: 1;
  }
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.section-header.animate {
  opacity: 1;
  transform: translateY(0);
}

.section-header h2 {
  font-size: 2.5rem;
  color: #f97316;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  width: 50px;
  height: 3px;
  background-color: #f97316;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  transition: width 0.5s ease;
}

.section-header:hover h2::after {
  width: 100px;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-card {
  background-color: white;
  padding: 2rem;
  border-radius: 0.5rem;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.5s ease, box-shadow 0.5s ease, opacity 0.5s ease;
  opacity: 0;
  transform: translateY(30px);
}

.feature-card.animate {
  opacity: 1;
  transform: translateY(0);
}

.feature-card:nth-child(1) {
  transition-delay: 0.1s;
}

.feature-card:nth-child(2) {
  transition-delay: 0.3s;
}

.feature-card:nth-child(3) {
  transition-delay: 0.5s;
}

.feature-card:hover {
  transform: translateY(-0.25rem);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.feature-card i {
  color: #f97316;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
}
.lucide-shield{
  color: #f97316;
}

/* Services Section */
.services {
  padding: 5rem 0;
  background-color: white;
}
.services h2{text-align: center;
  margin-bottom: 2rem;
  color: #f97316;
  background-color: #1a1a1a;
  padding: 1rem;
  border-radius: 20px
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.service-card {
  background-color: #f8fafc;
  padding: 1.5rem;
  border-radius: 0.5rem;
  text-align: center;
  transition: all 0.5s ease;
  opacity: 0;
  transform: translateY(30px);
}

.service-card.animate {
  opacity: 1;
  transform: translateY(0);
}

.service-card:nth-child(1) {
  transition-delay: 0.1s;
}

.service-card:nth-child(2) {
  transition-delay: 0.3s;
}

.service-card:nth-child(3) {
  transition-delay: 0.5s;
}

.service-card:nth-child(4) {
  transition-delay: 0.7s;
}

.service-card:hover {
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.service-card i {
  color: #f97316;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
}
.lucide-car{
  color: #f97316;
}
.lucide-calendar{
  color: #f97316;
}
.lucide-user-check{
  color: #f97316;
}
.lucide-map-pin{
  color: #f97316;
}
.lucide-clock{
  color: #f97316;
}

/* Fleet Section */
.fleet {
  padding: 5rem 0;
  background-color: #f8fafc;
}
.fleet h2{text-align: center;
  margin-bottom: 2rem;
  color: #f97316;
  background-color: #1a1a1a;
  padding: 1rem;
  border-radius: 20px
}

.carousel-container {
  position: relative;
  overflow: hidden;
}

.carousel {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.carousel-item {
  flex: 0 0 100%;
  padding: 0 1rem;
  opacity: 0;
  animation: fadeIn 0.8s ease-out forwards;
}

.carousel-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.car-image {
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.carousel-item:hover .car-image {
  transform: scale(1.03);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.carousel-item img:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.car-details {
  background-color: white;
  padding: 1.5rem;
  border-radius: 0.5rem;
  margin-top: -2rem;
  position: relative;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  animation: slideInFromBottom 0.5s ease-out 0.2s both;
}

.car-details:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.car-details h3 {
  margin-bottom: 1rem;
}

.car-details .price {
  margin-bottom: 1rem;
}

.car-details .price span {
  color: #f97316;
  font-size: 1.5rem;
  font-weight: bold;
}

.car-details ul {
  list-style: none;
  margin-bottom: 1.5rem;
}

.car-details li::before {
  content: "•";
  color: #f97316;
  margin-right: 0.5rem;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  transition: background-color 0.3s;
}

.carousel-btn:hover {
  background-color: rgba(0, 0, 0, 0.75);
}

.carousel-btn.prev {
  left: 0;
  border-radius: 0 0.25rem 0.25rem 0;
}

.carousel-btn.next {
  right: 0;
  border-radius: 0.25rem 0 0 0.25rem;
}

/* Contact Section */
.contact {
  padding: 5rem 0;
  background-color: white;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 500px;
  margin: 0 auto;
  animation: fadeIn 1s ease-out;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #e2e8f0;
  border-radius: 30px;
  transition: all 0.3s ease;
  animation: fadeIn 0.5s ease-out;
  background-color: #fff;
}

.form-group input:hover,
.form-group textarea:hover {
  border-color: #f97316;
}

.form-group:nth-child(1) input { animation-delay: 0.1s; }
.form-group:nth-child(2) input { animation-delay: 0.2s; }
.form-group:nth-child(3) input { animation-delay: 0.3s; }
.form-group:nth-child(4) textarea { animation-delay: 0.4s; }

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #f97316;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.2);
  transform: translateY(-2px);
}

.error-message {
  color: #ef4444;
  font-size: 0.875rem;
  margin-top: 0.25rem;
  margin-left: 0.5rem;
  display: none;
}
.contact h2 {text-align: center;
  margin-bottom: 2rem;
  color: #f97316;
  background-color: #1a1a1a;
  padding: 1rem;
  border-radius: 20px}


/* Footer */
.footer {
  background-color: black;
  color: white;
  padding: 3rem 0;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
  animation: fadeIn 1s ease-out;
}

.footer-info {
  max-width: 400px;
}

.footer-info h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  color: #9ca3af;
  transition: all 0.3s ease;
  display: inline-block;
}

.social-links a:hover {
  color: #f97316;
  transform: translateY(-3px) scale(1.1);
}

.footer-links h4,
.footer-contact h4 {
  margin-bottom: 1rem;
}

.footer-links ul,
.footer-contact ul {
  list-style: none;
}

.footer-links a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #f97316;
}

.footer-contact li {
  color: #9ca3af;
  margin-bottom: 0.5rem;
  text-decoration: none;
}

.footer-contact li a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-contact li a:hover {
  color: #f97316;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #374151;
  color: #9ca3af;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 5rem;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.9);
    padding: 1rem;
    flex-direction: column;
    gap: 1rem;
  }

  .nav-links.active {
    display: flex;
  }

  .mobile-menu {
    display: block;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }
}

/* Facebook Section */
.facebook {
  padding: 5rem 0;
  text-align: center;
  
}

.facebook iframe {
  max-width: 100%;
  height: 1200px;
  border-radius: 10px;
  overflow: hidden;
  border: none;
  transition: all 0.3s ease;
  cursor: pointer;
}
.facebook iframe:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}
.facebook h1 {
  text-align: center;
  margin-bottom: 2rem;
  color: #f97316;
  background-color: #1a1a1a;
  padding: 1rem;
  border-radius: 20px
}

/* Responsive Styles */
@media (max-width: 600px) {
  .facebook iframe {
      width: 100% !important;
  }
}

@media (max-width: 768px) {
  .carousel-container {
      width: 100% !important;
  }
}