BladePTK commited on
Commit
72e7194
Β·
verified Β·
1 Parent(s): 190150b

this design is very simple and common, i need and original and professional design

Browse files
Files changed (8) hide show
  1. README.md +9 -5
  2. car-wash.html +67 -0
  3. components/footer.js +132 -0
  4. components/navbar.js +108 -0
  5. components/particles.js +65 -0
  6. index.html +96 -19
  7. script.js +48 -0
  8. style.css +131 -18
README.md CHANGED
@@ -1,10 +1,14 @@
1
  ---
2
- title: Sparklematic Auto Elegance
3
- emoji: πŸ“‰
4
- colorFrom: gray
5
- colorTo: yellow
6
  sdk: static
7
  pinned: false
 
 
8
  ---
9
 
10
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
1
  ---
2
+ title: SparkleMatic Auto Elegance πŸš—βœ¨
3
+ colorFrom: yellow
4
+ colorTo: blue
5
+ emoji: 🐳
6
  sdk: static
7
  pinned: false
8
+ tags:
9
+ - deepsite-v3
10
  ---
11
 
12
+ # Welcome to your new DeepSite project!
13
+ This project was created with [DeepSite](https://huggingface.co/deepsite).
14
+
car-wash.html ADDED
@@ -0,0 +1,67 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Car Wash | Shine & Shield Auto Spa</title>
7
+ <link rel="stylesheet" href="style.css">
8
+ <script src="https://cdn.tailwindcss.com"></script>
9
+ <script src="https://unpkg.com/feather-icons"></script>
10
+ <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
11
+ </head>
12
+ <body class="bg-gradient-to-br from-blue-50 to-indigo-100 min-h-screen">
13
+ <custom-navbar></custom-navbar>
14
+
15
+ <main class="container mx-auto px-4 py-24">
16
+ <section class="max-w-4xl mx-auto bg-white bg-opacity-80 backdrop-filter backdrop-blur-lg rounded-2xl shadow-xl overflow-hidden">
17
+ <div class="md:flex">
18
+ <div class="md:w-1/2 p-8 md:p-12">
19
+ <h1 class="text-3xl font-bold text-gray-800 mb-4">Premium Car Wash</h1>
20
+ <p class="text-gray-600 mb-6">Our signature wash combines cutting-edge technology with premium products to give your vehicle a showroom-worthy shine.</p>
21
+
22
+ <div class="space-y-4">
23
+ <div class="flex items-start">
24
+ <i data-feather="check-circle" class="text-blue-500 mr-3 mt-1 flex-shrink-0"></i>
25
+ <div>
26
+ <h3 class="font-medium text-gray-800">Exterior Wash</h3>
27
+ <p class="text-gray-600">Gentle yet thorough cleaning using pH-balanced shampoos</p>
28
+ </div>
29
+ </div>
30
+
31
+ <div class="flex items-start">
32
+ <i data-feather="check-circle" class="text-blue-500 mr-3 mt-1 flex-shrink-0"></i>
33
+ <div>
34
+ <h3 class="font-medium text-gray-800">Wheel & Tire Care</h3>
35
+ <p class="text-gray-600">Specialized cleaning for wheels and tire dressing</p>
36
+ </div>
37
+ </div>
38
+
39
+ <div class="flex items-start">
40
+ <i data-feather="check-circle" class="text-blue-500 mr-3 mt-1 flex-shrink-0"></i>
41
+ <div>
42
+ <h3 class="font-medium text-gray-800">Drying & Finishing</h3>
43
+ <p class="text-gray-600">Streak-free drying with microfiber towels</p>
44
+ </div>
45
+ </div>
46
+ </div>
47
+
48
+ <a href="/book.html" class="mt-8 inline-block bg-gradient-to-r from-blue-500 to-indigo-600 text-white px-6 py-3 rounded-lg font-medium shadow-lg hover:shadow-xl transition duration-300 transform hover:-translate-y-1">
49
+ Book Now
50
+ </a>
51
+ </div>
52
+
53
+ <div class="md:w-1/2 bg-blue-50 flex items-center justify-center p-8">
54
+ <img src="http://static.photos/automotive/1024x576/1" alt="Car Wash" class="rounded-lg shadow-md w-full h-auto object-cover">
55
+ </div>
56
+ </div>
57
+ </section>
58
+ </main>
59
+
60
+ <custom-footer></custom-footer>
61
+
62
+ <script src="components/navbar.js"></script>
63
+ <script src="components/footer.js"></script>
64
+ <script src="script.js"></script>
65
+ <script>feather.replace();</script>
66
+ </body>
67
+ </html>
components/footer.js ADDED
@@ -0,0 +1,132 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ class CustomFooter extends HTMLElement {
2
+ connectedCallback() {
3
+ this.attachShadow({ mode: 'open' });
4
+ this.shadowRoot.innerHTML = `
5
+ <style>
6
+ footer {
7
+ background: rgba(255, 255, 255, 0.8);
8
+ backdrop-filter: blur(10px);
9
+ color: #374151;
10
+ padding: 4rem 2rem;
11
+ border-top: 1px solid rgba(0,0,0,0.05);
12
+ }
13
+ .footer-container {
14
+ max-width: 1200px;
15
+ margin: 0 auto;
16
+ display: grid;
17
+ grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
18
+ gap: 2rem;
19
+ }
20
+ .footer-logo {
21
+ font-size: 1.25rem;
22
+ font-weight: 700;
23
+ background: linear-gradient(90deg, #4f46e5, #7c3aed);
24
+ -webkit-background-clip: text;
25
+ -webkit-text-fill-color: transparent;
26
+ display: flex;
27
+ align-items: center;
28
+ gap: 0.5rem;
29
+ margin-bottom: 1rem;
30
+ }
31
+ .footer-links h3 {
32
+ font-size: 1rem;
33
+ font-weight: 600;
34
+ margin-bottom: 1rem;
35
+ color: #111827;
36
+ }
37
+ .footer-links ul {
38
+ list-style: none;
39
+ padding: 0;
40
+ margin: 0;
41
+ }
42
+ .footer-links li {
43
+ margin-bottom: 0.5rem;
44
+ }
45
+ .footer-links a {
46
+ color: #4b5563;
47
+ text-decoration: none;
48
+ transition: color 0.2s;
49
+ }
50
+ .footer-links a:hover {
51
+ color: #4f46e5;
52
+ }
53
+ .social-links {
54
+ display: flex;
55
+ gap: 1rem;
56
+ margin-top: 1rem;
57
+ }
58
+ .social-links a {
59
+ color: #4b5563;
60
+ transition: color 0.2s;
61
+ }
62
+ .social-links a:hover {
63
+ color: #4f46e5;
64
+ }
65
+ .copyright {
66
+ text-align: center;
67
+ margin-top: 3rem;
68
+ padding-top: 2rem;
69
+ border-top: 1px solid rgba(0,0,0,0.05);
70
+ color: #6b7280;
71
+ font-size: 0.875rem;
72
+ }
73
+ @media (max-width: 768px) {
74
+ .footer-container {
75
+ grid-template-columns: 1fr;
76
+ }
77
+ }
78
+ </style>
79
+ <footer>
80
+ <div class="footer-container">
81
+ <div class="footer-about">
82
+ <div class="footer-logo">
83
+ <i data-feather="activity"></i>
84
+ <span>Shine & Shield</span>
85
+ </div>
86
+ <p>Premium automotive care services to keep your vehicle looking flawless.</p>
87
+ </div>
88
+
89
+ <div class="footer-links">
90
+ <h3>Services</h3>
91
+ <ul>
92
+ <li><a href="/car-wash.html">Car Wash</a></li>
93
+ <li><a href="/detailing.html">Detailing</a></li>
94
+ <li><a href="/polarization.html">Polarization</a></li>
95
+ <li><a href="/carpet-care.html">Carpet Care</a></li>
96
+ </ul>
97
+ </div>
98
+
99
+ <div class="footer-links">
100
+ <h3>Company</h3>
101
+ <ul>
102
+ <li><a href="/about.html">About Us</a></li>
103
+ <li><a href="/team.html">Our Team</a></li>
104
+ <li><a href="/locations.html">Locations</a></li>
105
+ <li><a href="/careers.html">Careers</a></li>
106
+ </ul>
107
+ </div>
108
+
109
+ <div class="footer-links">
110
+ <h3>Contact</h3>
111
+ <ul>
112
+ <li><a href="tel:+1234567890">+1 (234) 567-890</a></li>
113
+ <li><a href="mailto:info@shineandshield.com">info@shineandshield.com</a></li>
114
+ <li><a href="/contact.html">Contact Form</a></li>
115
+ </ul>
116
+ <div class="social-links">
117
+ <a href="#"><i data-feather="facebook"></i></a>
118
+ <a href="#"><i data-feather="instagram"></i></a>
119
+ <a href="#"><i data-feather="twitter"></i></a>
120
+ <a href="#"><i data-feather="youtube"></i></a>
121
+ </div>
122
+ </div>
123
+ </div>
124
+
125
+ <div class="copyright">
126
+ &copy; ${new Date().getFullYear()} Shine & Shield Auto Spa. All rights reserved.
127
+ </div>
128
+ </footer>
129
+ `;
130
+ }
131
+ }
132
+ customElements.define('custom-footer', CustomFooter);
components/navbar.js ADDED
@@ -0,0 +1,108 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ class CustomNavbar extends HTMLElement {
2
+ connectedCallback() {
3
+ this.attachShadow({ mode: 'open' });
4
+ this.shadowRoot.innerHTML = `
5
+ <style>
6
+ nav {
7
+ background: rgba(15, 23, 42, 0.9);
8
+ backdrop-filter: blur(16px);
9
+ padding: 1.5rem 3rem;
10
+ display: flex;
11
+ justify-content: space-between;
12
+ align-items: center;
13
+ position: fixed;
14
+ top: 0;
15
+ left: 0;
16
+ right: 0;
17
+ z-index: 1000;
18
+ border-bottom: 1px solid rgba(59, 113, 254, 0.3);
19
+ box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
20
+ transition: all 0.3s ease;
21
+ }
22
+
23
+ nav.scrolled {
24
+ padding: 1rem 3rem;
25
+ background: rgba(15, 23, 42, 0.95);
26
+ box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
27
+ }
28
+ .logo {
29
+ font-size: 1.5rem;
30
+ font-weight: 700;
31
+ background: linear-gradient(90deg, var(--primary), var(--primary-dark));
32
+ box-shadow: 0 4px 15px rgba(59, 113, 254, 0.4);
33
+ -webkit-background-clip: text;
34
+ -webkit-text-fill-color: transparent;
35
+ display: flex;
36
+ align-items: center;
37
+ gap: 0.5rem;
38
+ }
39
+ .nav-links {
40
+ display: flex;
41
+ gap: 2rem;
42
+ list-style: none;
43
+ margin: 0;
44
+ padding: 0;
45
+ align-items: center;
46
+ }
47
+ .nav-links a {
48
+ color: #374151;
49
+ text-decoration: none;
50
+ font-weight: 500;
51
+ transition: color 0.2s;
52
+ position: relative;
53
+ }
54
+ .nav-links a:hover {
55
+ color: #4f46e5;
56
+ }
57
+ .nav-links a::after {
58
+ content: '';
59
+ position: absolute;
60
+ bottom: -5px;
61
+ left: 0;
62
+ width: 0;
63
+ height: 2px;
64
+ background: #4f46e5;
65
+ transition: width 0.3s;
66
+ }
67
+ .nav-links a:hover::after {
68
+ width: 100%;
69
+ }
70
+ .book-btn {
71
+ background: linear-gradient(90deg, #4f46e5, #7c3aed);
72
+ color: white;
73
+ padding: 0.5rem 1.5rem;
74
+ border-radius: 9999px;
75
+ font-weight: 500;
76
+ transition: transform 0.2s, box-shadow 0.2s;
77
+ box-shadow: 0 4px 10px rgba(79, 70, 229, 0.3);
78
+ }
79
+ .book-btn:hover {
80
+ transform: translateY(-2px);
81
+ box-shadow: 0 6px 15px rgba(79, 70, 229, 0.4);
82
+ }
83
+ @media (max-width: 768px) {
84
+ nav {
85
+ padding: 1rem;
86
+ }
87
+ .nav-links {
88
+ display: none;
89
+ }
90
+ }
91
+ </style>
92
+ <nav>
93
+ <a href="/" class="logo">
94
+ <i data-feather="activity"></i>
95
+ <span>Shine & Shield</span>
96
+ </a>
97
+ <ul class="nav-links">
98
+ <li><a href="/">Home</a></li>
99
+ <li><a href="/services.html">Services</a></li>
100
+ <li><a href="/about.html">About</a></li>
101
+ <li><a href="/contact.html">Contact</a></li>
102
+ <li><a href="/book.html" class="book-btn">Book Now</a></li>
103
+ </ul>
104
+ </nav>
105
+ `;
106
+ }
107
+ }
108
+ customElements.define('custom-navbar', CustomNavbar);
components/particles.js ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ class ParticleBackground extends HTMLElement {
2
+ connectedCallback() {
3
+ this.initParticles();
4
+ }
5
+
6
+ initParticles() {
7
+ const script = document.createElement('script');
8
+ script.src = 'https://cdn.jsdelivr.net/particles.js/2.0.0/particles.min.js';
9
+ script.onload = () => {
10
+ particlesJS('particles-js', {
11
+ "particles": {
12
+ "number": { "value": 80, "density": { "enable": true, "value_area": 800 } },
13
+ "color": { "value": "#3B71FE" },
14
+ "shape": { "type": "circle" },
15
+ "opacity": {
16
+ "value": 0.5,
17
+ "random": false,
18
+ "anim": { "enable": false, "speed": 1, "opacity_min": 0.1, "sync": false }
19
+ },
20
+ "size": {
21
+ "value": 3,
22
+ "random": true,
23
+ "anim": { "enable": false, "speed": 40, "size_min": 0.1, "sync": false }
24
+ },
25
+ "line_linked": {
26
+ "enable": true,
27
+ "distance": 150,
28
+ "color": "#3B71FE",
29
+ "opacity": 0.2,
30
+ "width": 1
31
+ },
32
+ "move": {
33
+ "enable": true,
34
+ "speed": 2,
35
+ "direction": "none",
36
+ "random": false,
37
+ "straight": false,
38
+ "out_mode": "out",
39
+ "bounce": false,
40
+ "attract": { "enable": false, "rotateX": 600, "rotateY": 1200 }
41
+ }
42
+ },
43
+ "interactivity": {
44
+ "detect_on": "canvas",
45
+ "events": {
46
+ "onhover": { "enable": true, "mode": "grab" },
47
+ "onclick": { "enable": true, "mode": "push" },
48
+ "resize": true
49
+ },
50
+ "modes": {
51
+ "grab": { "distance": 140, "line_linked": { "opacity": 1 } },
52
+ "bubble": { "distance": 400, "size": 40, "duration": 2, "opacity": 8, "speed": 3 },
53
+ "repulse": { "distance": 200, "duration": 0.4 },
54
+ "push": { "particles_nb": 4 },
55
+ "remove": { "particles_nb": 2 }
56
+ }
57
+ },
58
+ "retina_detect": true
59
+ });
60
+ };
61
+ document.head.appendChild(script);
62
+ }
63
+ }
64
+
65
+ customElements.define('particle-background', ParticleBackground);
index.html CHANGED
@@ -1,19 +1,96 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
19
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Shine & Shield Auto Spa</title>
7
+ <link rel="stylesheet" href="style.css">
8
+ <script src="https://cdn.tailwindcss.com"></script>
9
+ <script src="https://unpkg.com/feather-icons"></script>
10
+ <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
11
+ <script src="https://cdn.jsdelivr.net/npm/vanta@latest/dist/vanta.net.min.js"></script>
12
+ </head>
13
+ <body>
14
+ <div class="particle-bg" id="particles-js"></div>
15
+ <custom-navbar></custom-navbar>
16
+
17
+ <main class="container mx-auto px-4 py-12">
18
+ <section class="text-center mb-24">
19
+ <h1 class="text-5xl md:text-7xl font-bold bg-clip-text text-transparent bg-gradient-to-r from-primary to-accent mb-6">
20
+ SparkleMatic Auto Elegance
21
+ </h1>
22
+ <p class="text-2xl text-gray-300 max-w-3xl mx-auto leading-relaxed">
23
+ Futuristic automotive detailing with nanotechnology protection and ceramic coatings
24
+ </p>
25
+ <div class="mt-12 animate-float">
26
+ <img src="http://static.photos/automotive/640x360/5" alt="Luxury Car" class="mx-auto rounded-2xl shadow-2xl w-full max-w-2xl">
27
+ </div>
28
+ </section>
29
+ <div class="bento-grid">
30
+ <!-- Row 1 -->
31
+ <div class="bento-row">
32
+ <a href="/car-wash.html" class="bento-card bg-gradient-to-br from-blue-500 to-indigo-600">
33
+ <div class="card-content">
34
+ <i data-feather="droplet" class="card-icon"></i>
35
+ <h3>Car Wash</h3>
36
+ <p>Spotless exterior cleaning</p>
37
+ </div>
38
+ </a>
39
+
40
+ <a href="/detailing.html" class="bento-card bg-gradient-to-br from-purple-500 to-pink-500">
41
+ <div class="card-content">
42
+ <i data-feather="star" class="card-icon"></i>
43
+ <h3>Detailing</h3>
44
+ <p>Showroom perfection</p>
45
+ </div>
46
+ </a>
47
+ </div>
48
+
49
+ <!-- Row 2 -->
50
+ <div class="bento-row">
51
+ <a href="/polarization.html" class="bento-card bg-gradient-to-br from-amber-500 to-orange-500">
52
+ <div class="card-content">
53
+ <i data-feather="sun" class="card-icon"></i>
54
+ <h3>Polarization</h3>
55
+ <p>UV protection & privacy</p>
56
+ </div>
57
+ </a>
58
+
59
+ <a href="/carpet-care.html" class="bento-card bg-gradient-to-br from-emerald-500 to-teal-600">
60
+ <div class="card-content">
61
+ <i data-feather="layers" class="card-icon"></i>
62
+ <h3>Carpet Care</h3>
63
+ <p>Deep clean interior fabrics</p>
64
+ </div>
65
+ </a>
66
+
67
+ <a href="/store.html" class="bento-card bg-gradient-to-br from-rose-500 to-red-500">
68
+ <div class="card-content">
69
+ <i data-feather="shopping-bag" class="card-icon"></i>
70
+ <h3>Store</h3>
71
+ <p>Premium car care products</p>
72
+ </div>
73
+ </a>
74
+ </div>
75
+ </div>
76
+ </main>
77
+
78
+ <custom-footer></custom-footer>
79
+
80
+ <script src="components/navbar.js"></script>
81
+ <script src="components/footer.js"></script>
82
+ <script src="script.js"></script>
83
+ <script>
84
+ feather.replace();
85
+ VANTA.NET({
86
+ el: "body",
87
+ color: 0x7c8aff,
88
+ backgroundColor: 0xf8fafc,
89
+ points: 8,
90
+ maxDistance: 18,
91
+ spacing: 16
92
+ });
93
+ </script>
94
+ <script src="https://huggingface.co/deepsite/deepsite-badge.js"></script>
95
+ </body>
96
+ </html>
script.js ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ // Advanced UI Interactions
3
+ document.addEventListener('DOMContentLoaded', () => {
4
+ // Animate elements on scroll
5
+ const animateOnScroll = () => {
6
+ const elements = document.querySelectorAll('.scroll-animate');
7
+ elements.forEach(el => {
8
+ const rect = el.getBoundingClientRect();
9
+ const isVisible = (rect.top <= window.innerHeight * 0.8);
10
+ if (isVisible) {
11
+ el.classList.add('animate-fadeInUp');
12
+ }
13
+ });
14
+ };
15
+
16
+ window.addEventListener('scroll', animateOnScroll);
17
+ animateOnScroll();
18
+
19
+ // Initialize smooth scroll for anchor links
20
+ document.querySelectorAll('a[href^="#"]').forEach(anchor => {
21
+ anchor.addEventListener('click', function(e) {
22
+ e.preventDefault();
23
+ document.querySelector(this.getAttribute('href')).scrollIntoView({
24
+ behavior: 'smooth'
25
+ });
26
+ });
27
+ });
28
+
29
+ // Initialize tooltips
30
+ const tooltipTriggerList = [].slice.call(document.querySelectorAll('[data-bs-toggle="tooltip"]'));
31
+ tooltipTriggerList.map(function (tooltipTriggerEl) {
32
+ return new bootstrap.Tooltip(tooltipTriggerEl);
33
+ });
34
+
35
+ console.log('SparkleMatic Auto Elegance loaded');
36
+ });
37
+
38
+ // Parallax effect
39
+ window.addEventListener('scroll', function() {
40
+ const scrollPosition = window.pageYOffset;
41
+ const parallaxElements = document.querySelectorAll('.parallax');
42
+
43
+ parallaxElements.forEach(element => {
44
+ const speed = parseFloat(element.dataset.speed) || 0.5;
45
+ const yPos = -(scrollPosition * speed);
46
+ element.style.transform = `translate3d(0, ${yPos}px, 0)`;
47
+ });
48
+ });
style.css CHANGED
@@ -1,28 +1,141 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  body {
2
- padding: 2rem;
3
- font-family: -apple-system, BlinkMacSystemFont, "Arial", sans-serif;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4
  }
5
 
6
- h1 {
7
- font-size: 16px;
8
- margin-top: 0;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9
  }
10
 
11
- p {
12
- color: rgb(107, 114, 128);
13
- font-size: 15px;
14
- margin-bottom: 10px;
15
- margin-top: 5px;
16
  }
17
 
18
- .card {
19
- max-width: 620px;
20
- margin: 0 auto;
21
- padding: 16px;
22
- border: 1px solid lightgray;
23
- border-radius: 16px;
24
  }
25
 
26
- .card p:last-child {
27
- margin-bottom: 0;
 
 
 
28
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ /* Futuristic Automotive Design System */
3
+ @import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap');
4
+
5
+ :root {
6
+ --primary: #3B71FE;
7
+ --primary-dark: #1A56DB;
8
+ --secondary: #F9C74F;
9
+ --dark: #1F2937;
10
+ --light: #F9FAFB;
11
+ --accent: #FF5A5F;
12
+ --glass: rgba(255, 255, 255, 0.1);
13
+ --glass-border: rgba(255, 255, 255, 0.2);
14
+ }
15
+
16
  body {
17
+ font-family: 'Manrope', sans-serif;
18
+ overflow-x: hidden;
19
+ background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
20
+ color: var(--light);
21
+ min-height: 100vh;
22
+ }
23
+
24
+ h1, h2, h3, h4, h5 {
25
+ font-family: 'Space Grotesk', sans-serif;
26
+ font-weight: 700;
27
+ }
28
+
29
+ .glass-card {
30
+ background: var(--glass);
31
+ backdrop-filter: blur(16px);
32
+ border-radius: 24px;
33
+ border: 1px solid var(--glass-border);
34
+ overflow: hidden;
35
+ transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
36
+ }
37
+
38
+ .glass-card:hover {
39
+ transform: translateY(-8px);
40
+ box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
41
+ border-color: rgba(255, 255, 255, 0.3);
42
+ }
43
+
44
+ .particle-bg {
45
+ position: fixed;
46
+ top: 0;
47
+ left: 0;
48
+ width: 100%;
49
+ height: 100%;
50
+ z-index: -1;
51
+ pointer-events: none;
52
+ }
53
+
54
+ .micro-interaction {
55
+ transition: all 0.3s ease;
56
  }
57
 
58
+ .micro-interaction:hover {
59
+ transform: scale(1.05);
60
+ }
61
+ .bento-grid {
62
+ max-width: 1200px;
63
+ margin: 0 auto;
64
+ }
65
+
66
+ .bento-row {
67
+ display: flex;
68
+ gap: 1.5rem;
69
+ margin-bottom: 1.5rem;
70
+ }
71
+
72
+ .bento-card {
73
+ flex: 1;
74
+ border-radius: 1.5rem;
75
+ padding: 2rem;
76
+ min-height: 200px;
77
+ transition: all 0.3s ease;
78
+ position: relative;
79
+ overflow: hidden;
80
+ display: flex;
81
+ align-items: flex-end;
82
+ box-shadow: 0 10px 30px -10px rgba(0,0,0,0.1);
83
+ backdrop-filter: blur(10px);
84
+ border: 1px solid rgba(255,255,255,0.2);
85
+ text-decoration: none;
86
+ }
87
+
88
+ .bento-card::before {
89
+ content: '';
90
+ position: absolute;
91
+ top: 0;
92
+ left: 0;
93
+ right: 0;
94
+ bottom: 0;
95
+ background: rgba(255,255,255,0.1);
96
+ z-index: 1;
97
  }
98
 
99
+ .bento-card:hover {
100
+ transform: translateY(-5px);
101
+ box-shadow: 0 15px 40px -10px rgba(0,0,0,0.2);
 
 
102
  }
103
 
104
+ .bento-card:nth-child(1) {
105
+ flex: 2;
 
 
 
 
106
  }
107
 
108
+ .card-content {
109
+ position: relative;
110
+ z-index: 2;
111
+ color: white;
112
+ width: 100%;
113
  }
114
+
115
+ .card-content h3 {
116
+ font-size: 1.5rem;
117
+ font-weight: 600;
118
+ margin-bottom: 0.5rem;
119
+ }
120
+
121
+ .card-content p {
122
+ font-size: 1rem;
123
+ opacity: 0.9;
124
+ }
125
+
126
+ .card-icon {
127
+ width: 48px;
128
+ height: 48px;
129
+ margin-bottom: 1.5rem;
130
+ stroke-width: 1.5;
131
+ }
132
+
133
+ @media (max-width: 768px) {
134
+ .bento-row {
135
+ flex-direction: column;
136
+ }
137
+
138
+ .bento-card:nth-child(1) {
139
+ flex: 1;
140
+ }
141
+ }