servic-uz / index.html
Zafar122's picture
I am a car mechanic. I make car bodies. I create a website so I can get customers. - Initial Deployment
cfc933d verified
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Precision Auto Body | Professional Car Body Repairs</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<style>
/* Custom CSS for animations and effects */
.hero-image {
background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1547036967-23d11aacaee0?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2000&q=80');
background-size: cover;
background-position: center;
min-height: 80vh;
}
.service-card:hover {
transform: translateY(-10px);
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.before-after {
position: relative;
overflow: hidden;
}
.before-after img {
width: 100%;
display: block;
}
.before-after .before {
position: absolute;
top: 0;
left: 0;
width: 50%;
height: 100%;
overflow: hidden;
}
.slider {
position: absolute;
top: 0;
left: 50%;
width: 4px;
height: 100%;
background: #fff;
z-index: 10;
cursor: ew-resize;
}
.slider:before {
content: '';
position: absolute;
width: 30px;
height: 30px;
border-radius: 50%;
background: #fff;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(20px); }
to { opacity: 1; transform: translateY(0); }
}
.fade-in {
animation: fadeIn 1s ease-out forwards;
}
</style>
</head>
<body class="font-sans bg-gray-50">
<!-- Navigation -->
<nav class="bg-gray-900 text-white sticky top-0 z-50 shadow-lg">
<div class="container mx-auto px-4 py-3 flex justify-between items-center">
<div class="flex items-center space-x-2">
<i class="fas fa-car-crash text-red-500 text-2xl"></i>
<span class="text-xl font-bold">Precision Auto Body</span>
</div>
<!-- Mobile menu button -->
<button id="mobile-menu-button" class="md:hidden focus:outline-none">
<i class="fas fa-bars text-2xl"></i>
</button>
<!-- Desktop menu -->
<div class="hidden md:flex space-x-8">
<a href="#services" class="hover:text-red-400 transition">Services</a>
<a href="#gallery" class="hover:text-red-400 transition">Gallery</a>
<a href="#about" class="hover:text-red-400 transition">About</a>
<a href="#testimonials" class="hover:text-red-400 transition">Testimonials</a>
<a href="#contact" class="bg-red-600 hover:bg-red-700 px-4 py-2 rounded transition">Contact</a>
</div>
</div>
<!-- Mobile menu -->
<div id="mobile-menu" class="hidden md:hidden bg-gray-800 px-4 py-2">
<a href="#services" class="block py-2 hover:text-red-400 transition">Services</a>
<a href="#gallery" class="block py-2 hover:text-red-400 transition">Gallery</a>
<a href="#about" class="block py-2 hover:text-red-400 transition">About</a>
<a href="#testimonials" class="block py-2 hover:text-red-400 transition">Testimonials</a>
<a href="#contact" class="block bg-red-600 hover:bg-red-700 px-4 py-2 rounded my-2 text-center transition">Contact</a>
</div>
</nav>
<!-- Hero Section -->
<section class="hero-image flex items-center justify-center text-white text-center">
<div class="container mx-auto px-4 py-20 fade-in">
<h1 class="text-4xl md:text-6xl font-bold mb-6">Expert Car Body Repairs</h1>
<p class="text-xl md:text-2xl mb-8 max-w-3xl mx-auto">Restoring your vehicle to its original condition with precision craftsmanship and attention to detail.</p>
<div class="flex flex-col sm:flex-row justify-center gap-4">
<a href="#contact" class="bg-red-600 hover:bg-red-700 px-8 py-4 rounded-lg text-lg font-semibold transition">Get a Free Estimate</a>
<a href="tel:+1234567890" class="bg-white hover:bg-gray-200 text-gray-900 px-8 py-4 rounded-lg text-lg font-semibold transition">
<i class="fas fa-phone mr-2"></i> Call Now
</a>
</div>
</div>
</section>
<!-- Services Section -->
<section id="services" class="py-16 bg-white">
<div class="container mx-auto px-4">
<h2 class="text-3xl md:text-4xl font-bold text-center mb-4">Our Services</h2>
<p class="text-gray-600 text-center max-w-2xl mx-auto mb-12">We offer comprehensive auto body repair services to handle any damage your vehicle may have sustained.</p>
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
<!-- Service Card 1 -->
<div class="service-card bg-gray-50 rounded-lg overflow-hidden shadow-md transition duration-300">
<div class="h-48 bg-gray-300 flex items-center justify-center">
<i class="fas fa-car-crash text-6xl text-red-500"></i>
</div>
<div class="p-6">
<h3 class="text-xl font-bold mb-3">Collision Repair</h3>
<p class="text-gray-600 mb-4">Professional repair of all types of collision damage, from minor dents to major structural repairs.</p>
<ul class="space-y-2">
<li class="flex items-center"><i class="fas fa-check text-green-500 mr-2"></i> Frame straightening</li>
<li class="flex items-center"><i class="fas fa-check text-green-500 mr-2"></i> Panel replacement</li>
<li class="flex items-center"><i class="fas fa-check text-green-500 mr-2"></i> Paint matching</li>
</ul>
</div>
</div>
<!-- Service Card 2 -->
<div class="service-card bg-gray-50 rounded-lg overflow-hidden shadow-md transition duration-300">
<div class="h-48 bg-gray-300 flex items-center justify-center">
<i class="fas fa-paint-roller text-6xl text-red-500"></i>
</div>
<div class="p-6">
<h3 class="text-xl font-bold mb-3">Paint & Refinishing</h3>
<p class="text-gray-600 mb-4">High-quality paint jobs that match your vehicle's original finish using premium materials.</p>
<ul class="space-y-2">
<li class="flex items-center"><i class="fas fa-check text-green-500 mr-2"></i> Color matching</li>
<li class="flex items-center"><i class="fas fa-check text-green-500 mr-2"></i> Clear coat application</li>
<li class="flex items-center"><i class="fas fa-check text-green-500 mr-2"></i> Scratch removal</li>
</ul>
</div>
</div>
<!-- Service Card 3 -->
<div class="service-card bg-gray-50 rounded-lg overflow-hidden shadow-md transition duration-300">
<div class="h-48 bg-gray-300 flex items-center justify-center">
<i class="fas fa-hammer text-6xl text-red-500"></i>
</div>
<div class="p-6">
<h3 class="text-xl font-bold mb-3">Dent Removal</h3>
<p class="text-gray-600 mb-4">Paintless dent removal for minor dings and dents that preserves your factory finish.</p>
<ul class="space-y-2">
<li class="flex items-center"><i class="fas fa-check text-green-500 mr-2"></i> Hail damage repair</li>
<li class="flex items-center"><i class="fas fa-check text-green-500 mr-2"></i> Door dings</li>
<li class="flex items-center"><i class="fas fa-check text-green-500 mr-2"></i> Crease removal</li>
</ul>
</div>
</div>
</div>
</div>
</section>
<!-- Why Choose Us Section -->
<section class="py-16 bg-gray-100">
<div class="container mx-auto px-4">
<h2 class="text-3xl md:text-4xl font-bold text-center mb-12">Why Choose Precision Auto Body?</h2>
<div class="grid grid-cols-1 md:grid-cols-3 gap-8">
<!-- Feature 1 -->
<div class="text-center p-6 bg-white rounded-lg shadow-sm">
<div class="w-20 h-20 bg-red-100 rounded-full flex items-center justify-center mx-auto mb-4">
<i class="fas fa-award text-3xl text-red-500"></i>
</div>
<h3 class="text-xl font-bold mb-3">Certified Technicians</h3>
<p class="text-gray-600">Our team consists of I-CAR certified professionals with years of experience in auto body repair.</p>
</div>
<!-- Feature 2 -->
<div class="text-center p-6 bg-white rounded-lg shadow-sm">
<div class="w-20 h-20 bg-red-100 rounded-full flex items-center justify-center mx-auto mb-4">
<i class="fas fa-shield-alt text-3xl text-red-500"></i>
</div>
<h3 class="text-xl font-bold mb-3">Lifetime Warranty</h3>
<p class="text-gray-600">We stand behind our work with a lifetime warranty on all repairs for as long as you own your vehicle.</p>
</div>
<!-- Feature 3 -->
<div class="text-center p-6 bg-white rounded-lg shadow-sm">
<div class="w-20 h-20 bg-red-100 rounded-full flex items-center justify-center mx-auto mb-4">
<i class="fas fa-clock text-3xl text-red-500"></i>
</div>
<h3 class="text-xl font-bold mb-3">Quick Turnaround</h3>
<p class="text-gray-600">We understand you need your vehicle back quickly and work efficiently to minimize downtime.</p>
</div>
</div>
</div>
</section>
<!-- Before/After Gallery -->
<section id="gallery" class="py-16 bg-white">
<div class="container mx-auto px-4">
<h2 class="text-3xl md:text-4xl font-bold text-center mb-4">Our Work</h2>
<p class="text-gray-600 text-center max-w-2xl mx-auto mb-12">See the transformation we've achieved for our customers.</p>
<div class="grid grid-cols-1 md:grid-cols-2 gap-8">
<!-- Before/After 1 -->
<div class="before-after rounded-lg overflow-hidden shadow-lg">
<img src="https://images.unsplash.com/photo-1608889825100-1d71f238c9d7?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1000&q=80" alt="After repair">
<div class="before">
<img src="https://images.unsplash.com/photo-1608889825271-9696281ab804?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1000&q=80" alt="Before repair">
</div>
<div class="slider"></div>
</div>
<!-- Before/After 2 -->
<div class="before-after rounded-lg overflow-hidden shadow-lg">
<img src="https://images.unsplash.com/photo-1608889825100-1d71f238c9d7?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1000&q=80" alt="After repair">
<div class="before">
<img src="https://images.unsplash.com/photo-1608889825271-9696281ab804?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1000&q=80" alt="Before repair">
</div>
<div class="slider"></div>
</div>
</div>
<div class="text-center mt-12">
<a href="#" class="inline-block bg-red-600 hover:bg-red-700 text-white px-6 py-3 rounded-lg font-semibold transition">
View Full Gallery <i class="fas fa-arrow-right ml-2"></i>
</a>
</div>
</div>
</section>
<!-- About Section -->
<section id="about" class="py-16 bg-gray-100">
<div class="container mx-auto px-4">
<div class="flex flex-col lg:flex-row items-center gap-12">
<div class="lg:w-1/2">
<img src="https://images.unsplash.com/photo-1541625602330-2276a2df5b6b?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1000&q=80" alt="Our workshop" class="rounded-lg shadow-lg w-full">
</div>
<div class="lg:w-1/2">
<h2 class="text-3xl md:text-4xl font-bold mb-6">About Precision Auto Body</h2>
<p class="text-gray-600 mb-4">Founded in 2010, Precision Auto Body has been serving the community with top-quality auto body repairs for over a decade. Our commitment to excellence and customer satisfaction has made us the preferred choice for auto body repairs in the area.</p>
<p class="text-gray-600 mb-6">We invest in the latest technology and training to ensure your vehicle is repaired to manufacturer specifications. Our facility is equipped with state-of-the-art equipment, including computerized frame straightening and paint mixing systems.</p>
<div class="space-y-4">
<div class="flex items-start">
<div class="bg-red-100 p-2 rounded-full mr-4">
<i class="fas fa-check text-red-600"></i>
</div>
<div>
<h4 class="font-bold">Factory-Trained Technicians</h4>
<p class="text-gray-600">Our team receives ongoing training to stay current with the latest repair techniques.</p>
</div>
</div>
<div class="flex items-start">
<div class="bg-red-100 p-2 rounded-full mr-4">
<i class="fas fa-check text-red-600"></i>
</div>
<div>
<h4 class="font-bold">Insurance Assistance</h4>
<p class="text-gray-600">We work directly with all major insurance companies to streamline the claims process.</p>
</div>
</div>
<div class="flex items-start">
<div class="bg-red-100 p-2 rounded-full mr-4">
<i class="fas fa-check text-red-600"></i>
</div>
<div>
<h4 class="font-bold">Eco-Friendly Practices</h4>
<p class="text-gray-600">We implement environmentally responsible practices in our repair processes.</p>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Testimonials -->
<section id="testimonials" class="py-16 bg-white">
<div class="container mx-auto px-4">
<h2 class="text-3xl md:text-4xl font-bold text-center mb-12">What Our Customers Say</h2>
<div class="grid grid-cols-1 md:grid-cols-3 gap-8">
<!-- Testimonial 1 -->
<div class="bg-gray-50 p-6 rounded-lg shadow-sm">
<div class="flex items-center mb-4">
<div class="w-12 h-12 bg-gray-300 rounded-full mr-4"></div>
<div>
<h4 class="font-bold">Sarah Johnson</h4>
<div class="flex text-yellow-400">
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
</div>
</div>
</div>
<p class="text-gray-600">"After my accident, Precision Auto Body restored my car to better than new condition. The paint match was perfect and the service was exceptional. Highly recommend!"</p>
</div>
<!-- Testimonial 2 -->
<div class="bg-gray-50 p-6 rounded-lg shadow-sm">
<div class="flex items-center mb-4">
<div class="w-12 h-12 bg-gray-300 rounded-full mr-4"></div>
<div>
<h4 class="font-bold">Michael Thompson</h4>
<div class="flex text-yellow-400">
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
</div>
</div>
</div>
<p class="text-gray-600">"The team handled everything with my insurance company and kept me informed throughout the process. My truck looks brand new again. Will definitely use them again if needed."</p>
</div>
<!-- Testimonial 3 -->
<div class="bg-gray-50 p-6 rounded-lg shadow-sm">
<div class="flex items-center mb-4">
<div class="w-12 h-12 bg-gray-300 rounded-full mr-4"></div>
<div>
<h4 class="font-bold">Emily Rodriguez</h4>
<div class="flex text-yellow-400">
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star-half-alt"></i>
</div>
</div>
</div>
<p class="text-gray-600">"I had several dents from hail damage removed paintlessly. You can't tell my car was ever damaged! Quick service and fair pricing. Very pleased with the results."</p>
</div>
</div>
</div>
</section>
<!-- CTA Section -->
<section class="py-16 bg-red-600 text-white">
<div class="container mx-auto px-4 text-center">
<h2 class="text-3xl md:text-4xl font-bold mb-6">Ready to Restore Your Vehicle?</h2>
<p class="text-xl mb-8 max-w-2xl mx-auto">Contact us today for a free estimate or to schedule your repair.</p>
<div class="flex flex-col sm:flex-row justify-center gap-4">
<a href="#contact" class="bg-white hover:bg-gray-100 text-red-600 px-8 py-4 rounded-lg text-lg font-semibold transition">Get a Free Estimate</a>
<a href="tel:+1234567890" class="bg-transparent hover:bg-red-700 border-2 border-white px-8 py-4 rounded-lg text-lg font-semibold transition">
<i class="fas fa-phone mr-2"></i> Call Now: (123) 456-7890
</a>
</div>
</div>
</section>
<!-- Contact Section -->
<section id="contact" class="py-16 bg-gray-100">
<div class="container mx-auto px-4">
<div class="flex flex-col lg:flex-row gap-12">
<div class="lg:w-1/2">
<h2 class="text-3xl md:text-4xl font-bold mb-6">Contact Us</h2>
<p class="text-gray-600 mb-8">Fill out the form below or give us a call to discuss your auto body repair needs.</p>
<div class="space-y-6">
<div class="flex items-start">
<div class="bg-red-100 p-3 rounded-full mr-4">
<i class="fas fa-map-marker-alt text-red-600"></i>
</div>
<div>
<h4 class="font-bold">Our Location</h4>
<p class="text-gray-600">123 Auto Body Lane<br>Repair City, RC 12345</p>
</div>
</div>
<div class="flex items-start">
<div class="bg-red-100 p-3 rounded-full mr-4">
<i class="fas fa-phone-alt text-red-600"></i>
</div>
<div>
<h4 class="font-bold">Phone</h4>
<p class="text-gray-600">(123) 456-7890</p>
</div>
</div>
<div class="flex items-start">
<div class="bg-red-100 p-3 rounded-full mr-4">
<i class="fas fa-envelope text-red-600"></i>
</div>
<div>
<h4 class="font-bold">Email</h4>
<p class="text-gray-600">info@precisionautobody.com</p>
</div>
</div>
<div class="flex items-start">
<div class="bg-red-100 p-3 rounded-full mr-4">
<i class="fas fa-clock text-red-600"></i>
</div>
<div>
<h4 class="font-bold">Business Hours</h4>
<p class="text-gray-600">Monday - Friday: 8:00 AM - 6:00 PM<br>Saturday: 9:00 AM - 2:00 PM<br>Sunday: Closed</p>
</div>
</div>
</div>
<div class="mt-8">
<h4 class="font-bold mb-4">Follow Us</h4>
<div class="flex space-x-4">
<a href="#" class="w-10 h-10 bg-red-600 hover:bg-red-700 text-white rounded-full flex items-center justify-center transition">
<i class="fab fa-facebook-f"></i>
</a>
<a href="#" class="w-10 h-10 bg-red-600 hover:bg-red-700 text-white rounded-full flex items-center justify-center transition">
<i class="fab fa-instagram"></i>
</a>
<a href="#" class="w-10 h-10 bg-red-600 hover:bg-red-700 text-white rounded-full flex items-center justify-center transition">
<i class="fab fa-twitter"></i>
</a>
</div>
</div>
</div>
<div class="lg:w-1/2">
<form class="bg-white p-8 rounded-lg shadow-md">
<div class="mb-6">
<label for="name" class="block text-gray-700 font-medium mb-2">Name</label>
<input type="text" id="name" class="w-full px-4 py-3 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-red-500">
</div>
<div class="mb-6">
<label for="email" class="block text-gray-700 font-medium mb-2">Email</label>
<input type="email" id="email" class="w-full px-4 py-3 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-red-500">
</div>
<div class="mb-6">
<label for="phone" class="block text-gray-700 font-medium mb-2">Phone</label>
<input type="tel" id="phone" class="w-full px-4 py-3 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-red-500">
</div>
<div class="mb-6">
<label for="vehicle" class="block text-gray-700 font-medium mb-2">Vehicle Make/Model</label>
<input type="text" id="vehicle" class="w-full px-4 py-3 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-red-500">
</div>
<div class="mb-6">
<label for="service" class="block text-gray-700 font-medium mb-2">Service Needed</label>
<select id="service" class="w-full px-4 py-3 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-red-500">
<option value="">Select a service</option>
<option value="collision">Collision Repair</option>
<option value="paint">Paint & Refinishing</option>
<option value="dent">Dent Removal</option>
<option value="other">Other</option>
</select>
</div>
<div class="mb-6">
<label for="message" class="block text-gray-700 font-medium mb-2">Message</label>
<textarea id="message" rows="4" class="w-full px-4 py-3 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-red-500"></textarea>
</div>
<button type="submit" class="w-full bg-red-600 hover:bg-red-700 text-white px-6 py-4 rounded-lg font-semibold transition">
Submit Request
</button>
</form>
</div>
</div>
</div>
</section>
<!-- Map -->
<div class="h-96 bg-gray-300">
<iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3022.215582631789!2d-73.9878449241646!3d40.74844097138968!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x89c259a9b3117469%3A0xd134e199a405a163!2sEmpire%20State%20Building!5e0!3m2!1sen!2sus!4v1689876426782!5m2!1sen!2sus" width="100%" height="100%" style="border:0;" allowfullscreen="" loading="lazy" referrerpolicy="no-referrer-when-downgrade"></iframe>
</div>
<!-- Footer -->
<footer class="bg-gray-900 text-white py-12">
<div class="container mx-auto px-4">
<div class="grid grid-cols-1 md:grid-cols-4 gap-8">
<div>
<div class="flex items-center space-x-2 mb-4">
<i class="fas fa-car-crash text-red-500 text-2xl"></i>
<span class="text-xl font-bold">Precision Auto Body</span>
</div>
<p class="text-gray-400">Providing expert auto body repairs with precision craftsmanship since 2010.</p>
</div>
<div>
<h4 class="text-lg font-bold mb-4">Quick Links</h4>
<ul class="space-y-2">
<li><a href="#services" class="text-gray-400 hover:text-white transition">Services</a></li>
<li><a href="#gallery" class="text-gray-400 hover:text-white transition">Gallery</a></li>
<li><a href="#about" class="text-gray-400 hover:text-white transition">About Us</a></li>
<li><a href="#testimonials" class="text-gray-400 hover:text-white transition">Testimonials</a></li>
<li><a href="#contact" class="text-gray-400 hover:text-white transition">Contact</a></li>
</ul>
</div>
<div>
<h4 class="text-lg font-bold mb-4">Services</h4>
<ul class="space-y-2">
<li><a href="#" class="text-gray-400 hover:text-white transition">Collision Repair</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Paint & Refinishing</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Dent Removal</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Frame Straightening</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Insurance Claims</a></li>
</ul>
</div>
<div>
<h4 class="text-lg font-bold mb-4">Newsletter</h4>
<p class="text-gray-400 mb-4">Subscribe to receive updates and special offers.</p>
<form class="flex">
<input type="email" placeholder="Your email" class="px-4 py-2 rounded-l-lg focus:outline-none text-gray-900 w-full">
<button type="submit" class="bg-red-600 hover:bg-red-700 px-4 py-2 rounded-r-lg transition">
<i class="fas fa-paper-plane"></i>
</button>
</form>
</div>
</div>
<div class="border-t border-gray-800 mt-12 pt-8 flex flex-col md:flex-row justify-between items-center">
<p class="text-gray-400 mb-4 md:mb-0">© 2023 Precision Auto Body. All rights reserved.</p>
<div class="flex space-x-6">
<a href="#" class="text-gray-400 hover:text-white transition">Privacy Policy</a>
<a href="#" class="text-gray-400 hover:text-white transition">Terms of Service</a>
</div>
</div>
</div>
</footer>
<!-- Floating Action Button -->
<div class="fixed bottom-6 right-6 z-50">
<a href="tel:+1234567890" class="w-16 h-16 bg-red-600 hover:bg-red-700 text-white rounded-full flex items-center justify-center shadow-lg transition animate-bounce">
<i class="fas fa-phone text-2xl"></i>
</a>
</div>
<script>
// Mobile menu toggle
document.getElementById('mobile-menu-button').addEventListener('click', function() {
const menu = document.getElementById('mobile-menu');
menu.classList.toggle('hidden');
});
// Before/After slider functionality
document.addEventListener('DOMContentLoaded', function() {
const beforeAfters = document.querySelectorAll('.before-after');
beforeAfters.forEach(container => {
const before = container.querySelector('.before');
const slider = container.querySelector('.slider');
let isDragging = false;
function moveSlider(e) {
if (!isDragging) return;
let containerRect = container.getBoundingClientRect();
let xPosition = e.clientX - containerRect.left;
// Limit the slider within the container
xPosition = Math.max(0, Math.min(xPosition, containerRect.width));
// Calculate percentage
let percentage = (xPosition / containerRect.width) * 100;
// Update before width and slider position
before.style.width = `${percentage}%`;
slider.style.left = `${percentage}%`;
}
// Mouse events
slider.addEventListener('mousedown', () => isDragging = true);
document.addEventListener('mouseup', () => isDragging = false);
document.addEventListener('mousemove', moveSlider);
// Touch events for mobile
slider.addEventListener('touchstart', () => isDragging = true);
document.addEventListener('touchend', () => isDragging = false);
document.addEventListener('touchmove', (e) => {
if (e.touches.length > 0) {
moveSlider(e.touches[0]);
}
});
});
// Animate elements on scroll
const animateOnScroll = function() {
const elements = document.querySelectorAll('.fade-in');
elements.forEach(element => {
const elementPosition = element.getBoundingClientRect().top;
const screenPosition = window.innerHeight / 1.3;
if (elementPosition < screenPosition) {
element.style.opacity = '1';
element.style.transform = 'translateY(0)';
}
});
};
window.addEventListener('scroll', animateOnScroll);
animateOnScroll(); // Run once on page load
});
</script>
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=Zafar122/servic-uz" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>