File size: 3,081 Bytes
6539c85
 
 
 
 
 
 
 
 
b58cb62
 
62622b0
4e0b6d7
62622b0
 
 
4e0b6d7
 
6539c85
 
62622b0
b58cb62
8e0b6db
638a422
b58cb62
62622b0
 
 
 
 
 
 
 
 
 
 
 
 
b58cb62
 
 
 
 
 
 
 
 
 
 
 
 
 
62622b0
b58cb62
 
6539c85
7617675
6539c85
 
62622b0
6539c85
 
 
 
 
 
b58cb62
6539c85
 
62622b0
6539c85
 
 
62622b0
6539c85
 
 
 
 
62622b0
6539c85
b58cb62
6539c85
b58cb62
6539c85
 
b58cb62
6539c85
 
62622b0
 
 
 
 
 
 
 
 
 
 
b58cb62
 
6539c85
 
62622b0
b58cb62
 
6539c85
 
b58cb62
 
 
 
 
 
 
 
 
 
6539c85
 
 
b58cb62
 
6539c85
 
 
 
62622b0
 
 
7617675
6539c85
 
 
 
7617675
6539c85
62622b0
 
 
 
 
9e76c53
 
6539c85
 
7617675
b58cb62
6539c85
 
 
62622b0
 
6539c85
 
b58cb62
6539c85
62622b0
b58cb62
6539c85
 
b58cb62
 
7617675
6539c85
b58cb62
 
 
 
 
 
6539c85
b58cb62
62622b0
b58cb62
6539c85
 
b58cb62
 
 
 
 
c6b5c6c
b58cb62
6539c85
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    overflow-x: hidden;
    max-width: 1200px;
    margin: 0 auto;
    padding: 5px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.hero-section, .models-carousel, .fsd-carousel, .solar-carousel, .offers, .charging {
    position: relative;
    height: 589px;
    width: auto;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-section {
    border-radius: 0 0 20px 20px;
}

.models-carousel, .fsd-carousel, .solar-carousel, .offers, .charging {
    border-radius: 20px;
    background-color: #f9f9f9; /* Lighter background for visibility */
}

.logo-link {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
}

.logo {
    width: 50px;
    height: auto;
}

.hero-carousel, .carousel {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.hero-slide, .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.hero-slide.active, .slide.active {
    opacity: 1;
}

.hero-slide img, .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content, .caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 5;
}

.charging-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: black;
    z-index: 5;
}

.hero-content h1, .caption h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.hero-content p, .caption p {
    font-size: 16px;
    margin-bottom: 20px;
}

.buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

button {
    width: 200px;
    padding: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    font-size: 14px;
}

.offers {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    gap: 20px;
}

.offer-card {
    background: #f4f4f4;
    padding: 20px;
    border-radius: 4px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.offer-images {
    display: flex;
    gap: 10px;
    margin: 10px 0;
}

.offer-images img {
    width: 100%;
    height: auto;
}

.charging iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.solar-carousel .caption {
    color: black;
}

footer {
    text-align: center;
    padding: 20px;
    font-size: 12px;
    color: gray;
}

@media (max-width: 768px) {
    .hero-section, .models-carousel, .fsd-carousel, .solar-carousel, .offers, .charging {
        height: 60vh;
    }

    .buttons {
        flex-direction: column;
    }

    button {
        width: 200px;
    }
}