SpeedWay Rental – Affordable Cars in BC
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: ‘Arial’, sans-serif; line-height: 1.6; color: #333; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
/* Header & Hero */
header { background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
url(‘https://images.unsplash.com/photo-1506905925346-21bda4d32df4?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80’);
background-size: cover; background-position: center; height: 100vh;
display: flex; align-items: center; justify-content: center; text-align: center; color: white; }
.hero-content h1 { font-size: 4rem; margin-bottom: 20px; text-shadow: 2px 2px 4px rgba(0,0,0,0.7); }
.hero-content p { font-size: 1.5rem; margin-bottom: 30px; }
.cta-button { background: #ff6b35; color: white; padding: 15px 40px; font-size: 1.3rem;
border: none; border-radius: 50px; cursor: pointer; text-decoration: none;
transition: transform 0.3s, box-shadow 0.3s; display: inline-block; }
.cta-button:hover { transform: scale(1.05); box-shadow: 0 10px 25px rgba(255,107,53,0.4); }
/* Navigation */
nav { background: #1a1a1a; padding: 1rem 0; position: sticky; top: 0; z-index: 100; }
nav ul { list-style: none; display: flex; justify-content: center; flex-wrap: wrap; }
nav li { margin: 0 15px; }
nav a { color: white; text-decoration: none; font-weight: bold; transition: color 0.3s; }
nav a:hover { color: #ff6b35; }
/* Cars Section */
.cars-section { padding: 80px 0; background: #f8f9fa; }
.section-title { text-align: center; font-size: 2.5rem; margin-bottom: 60px; color: #2c3e50; }
.cars-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 30px; }
.car-card { background: white; border-radius: 15px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.1);
transition: transform 0.3s, box-shadow 0.3s; }
.car-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.2); }
.car-image { height: 250px; position: relative; }
.car-image img { width: 100%; height: 100%; object-fit: cover; }
.car-info { padding: 30px; text-align: center; }
.car-name { font-size: 1.8rem; margin-bottom: 10px; color: #2c3e50; }
.car-price { font-size: 2.2rem; font-weight: bold; color: #ff6b35; margin: 15px 0; }
.car-features { list-style: none; margin: 20px 0; }
.car-features li { padding: 8px 0; color: #666; font-size: 1.1rem; }
.book-now { background: #27ae60; color: white; padding: 12px 30px; border: none;
border-radius: 25px; cursor: pointer; font-size: 1.1rem; margin-top: 15px;
transition: background 0.3s; }
.book-now:hover { background: #219a52; }
/* Video Section */
.video-section { padding: 80px 0; background: #2c3e50; color: white; text-align: center; }
.video-container { max-width: 800px; margin: 0 auto 40px; border-radius: 15px;
overflow: hidden; box-shadow: 0 15px 35px rgba(0,0,0,0.3); }
.video-container iframe { width: 100%; height: 450px; }
/* Promotions Section */
.promo-section { padding: 80px 0; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white; text-align: center; }
.promo-content h2 { font-size: 2.5rem; margin-bottom: 20px; }
.promo-content p { font-size: 1.3rem; margin-bottom: 40px; max-width: 600px; margin-left: auto; margin-right: auto; }
/* Footer */
footer { background: #1a1a1a; color: white; text-align: center; padding: 40px 0; }
.footer-content { display: flex; justify-content: space-around; flex-wrap: wrap; margin-bottom: 20px; }
.footer-content div { margin: 10px; flex: 1; min-width: 200px; }
.bc-badge { background: #ff6b35; padding: 12px 25px; border-radius: 25px;
font-weight: bold; display: inline-block; margin: 20px 0; font-size: 1.1rem; }
/* Mobile Responsive */
@media (max-width: 768px) {
.hero-content h1 { font-size: 2.5rem; }
.hero-content p { font-size: 1.2rem; }
nav ul { flex-direction: column; text-align: center; }
nav li { margin: 5px 0; }
.cars-grid { grid-template-columns: 1fr; }
.footer-content { flex-direction: column; text-align: center; }
}
Our Reliable Fleet
Premium Sedan
$70/day
- β
Well Maintained & BC Registered
- β
Automatic Transmission
- β
Fuel Efficient
- β
Perfect for City & Highway
Mini SUV
$70/day
- β
Spacious & Comfortable
- β
Regular Maintenance
- β
Great for Tourists
- β
Airport Pickup Available
Full Size SUV
$90/day
- β
Low Mileage
- β
Family Friendly
- β
Bluetooth Connectivity
- β
Winter Tires Included
Your Ride, Your Freedom
// Smooth scrolling for navigation links
document.querySelectorAll(‘a[href^=”#”]’).forEach(anchor => {
anchor.addEventListener(‘click’, function (e) {
e.preventDefault();
const target = document.querySelector(this.getAttribute(‘href’));
if (target) {
target.scrollIntoView({
behavior: ‘smooth’,
block: ‘start’
});
}
});
});
// Book Now button click handler – UPDATED PRICING
document.querySelectorAll(‘.book-now’).forEach(btn => {
btn.addEventListener(‘click’, function() {
const carNames = [‘Premium Sedan ($70/day)’, ‘Mini SUV ($70/day)’, ‘Full Size SUV ($90/day)’];
const randomCar = carNames[Math.floor(Math.random() * carNames.length)];
alert(`π Great choice! ${randomCar}\n\nCall 604-XXX-XXXX or WhatsApp to reserve your car now!\n\nAvailability checked instantly.`);
});
});
// Add animation on scroll
const observer = new IntersectionObserver((entries) => {
entries.forEach(entry => {
if (entry.isIntersecting) {
entry.target.style.opacity = ‘1’;
entry.target.style.transform = ‘translateY(0)’;
}
});
});
document.querySelectorAll(‘.car-card’).forEach(card => {
card.style.opacity = ‘0’;
card.style.transform = ‘translateY(30px)’;
card.style.transition = ‘opacity 0.6s ease, transform 0.6s ease’;
observer.observe(card);
});