* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Arial', sans-serif;
}
body {
overflow-x: hidden;
background-color: #000;
color: #fff;
}
:root {
--primary-color: #3498db;
--secondary-color: #2c3e50;
--accent-light: #00a8ff;
--accent-dark: #0088cc;
--text-light: #ffffff;
--text-dark: #2c3e50;
}
/* Page Transition Animation */
.page-transition {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: #000;
z-index: 9999;
display: flex;
justify-content: center;
align-items: center;
transition: opacity 0.8s ease;
}
.[Link]-out {
opacity: 0;
pointer-events: none;
}
.page-transition svg {
width: 150px;
height: auto;
}
.page-transition svg path {
stroke-dasharray: 1000;
stroke-dashoffset: 1000;
animation: dash 2s linear forwards;
fill: var(--primary-color);
}
@keyframes dash {
to {
stroke-dashoffset: 0;
}
}
/* Video Background */
.video-background {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: -1;
overflow: hidden;
}
.video-background video {
min-width: 100%;
min-height: 100%;
object-fit: cover;
filter: brightness(0.5);
}
/* Section-specific video backgrounds */
.[Link] {
opacity: 0;
transition: opacity 1s ease;
}
.[Link] {
opacity: 0;
transition: opacity 1s ease;
}
.[Link] {
opacity: 1;
}
/* Header */
header {
position: fixed;
top: 0;
width: 100%;
padding: 20px 40px;
display: flex;
justify-content: space-between;
align-items: center;
z-index: 100;
transition: background-color 0.3s ease;
}
[Link] {
background-color: rgba(0, 0, 0, 0.9);
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}
/* Logo */
.logo-container {
display: flex;
justify-content: center;
width: 100%;
position: absolute;
left: 0;
top: 20px;
}
.logo {
height: 50px;
width: auto;
}
/* Menu */
.logo-container {
display: flex;
justify-content: center;
width: 100%;
position: absolute;
left: 0;
top: 20px;
}
.logo {
height: 50px;
width: auto;
filter: drop-shadow(0 0 5px var(--primary-color));
transition: transform 0.3s ease;
}
.logo:hover {
transform: scale(1.05);
}
/* Menu */
.menu-btn {
position: relative;
z-index: 102;
cursor: pointer;
display: flex;
flex-direction: column;
justify-content: space-between;
width: 30px;
height: 20px;
}
.menu-btn span {
display: block;
height: 2px;
width: 100%;
background-color: #fff;
transition: transform 0.3s ease, opacity 0.3s ease;
}
.[Link] span:nth-child(1) {
transform: rotate(45deg) translate(5px, 7px);
}
.[Link] span:nth-child(2) {
opacity: 0;
}
.[Link] span:nth-child(3) {
transform: rotate(-45deg) translate(5px, -7px);
}
.side-menu {
position: fixed;
top: 0;
left: -300px;
width: 300px;
height: 100%;
background-color: rgba(0, 0, 0, 0.7);
backdrop-filter: blur(10px);
z-index: 101;
padding: 100px 20px 20px;
transition: left 0.5s ease;
overflow-y: auto;
border-right: 1px solid rgba(52, 152, 219, 0.2);
}
.[Link] {
left: 0;
}
.side-menu ul {
list-style: none;
}
.side-menu ul li {
margin-bottom: 15px;
}
.side-menu ul li a {
color: #fff;
text-decoration: none;
font-size: 18px;
transition: color 0.3s ease, transform 0.3s ease;
display: block;
padding: 10px 0;
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.side-menu ul li a:hover {
color: var(--primary-color);
transform: translateX(10px);
}
/* Search */
.search-container {
position: relative;
margin-left: auto;
display: flex;
align-items: center;
}
.search-btn {
background: none;
border: 1px solid rgba(255, 255, 255, 0.3);
border-radius: 50%;
color: #fff;
font-size: 18px;
cursor: pointer;
transition: all 0.4s ease;
width: 40px;
height: 40px;
display: flex;
align-items: center;
justify-content: center;
z-index: 2;
}
.search-btn:hover {
color: var(--primary-color);
border-color: var(--primary-color);
box-shadow: 0 0 15px rgba(52, 152, 219, 0.3);
}
.search-box {
position: absolute;
right: 0;
width: 40px;
height: 40px;
overflow: hidden;
transition: all 0.6s cubic-bezier(0.68, -0.55, 0.27, 1.55);
display: flex;
align-items: center;
border-radius: 20px;
background-color: transparent;
}
.[Link] {
width: 300px;
background-color: rgba(0, 0, 0, 0.7);
backdrop-filter: blur(10px);
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
border: 1px solid rgba(52, 152, 219, 0.3);
}
.search-box input {
width: calc(100% - 50px);
padding: 0 15px;
border: none;
background: transparent;
color: #fff;
font-size: 16px;
outline: none;
letter-spacing: 1px;
opacity: 0;
transition: opacity 0.3s 0.2s ease;
margin-right: 40px;
}
.[Link] input {
opacity: 1;
}
.search-box input::placeholder {
color: rgba(255, 255, 255, 0.6);
font-style: italic;
}
/* Hero Section */
.hero {
height: 100vh;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
padding: 0 20px;
position: relative;
z-index: 1;
}
.hero h1 {
font-size: 4rem;
margin-bottom: 20px;
font-weight: 300;
letter-spacing: 5px;
text-transform: uppercase;
opacity: 0;
transform: translateY(30px);
animation: fadeInUp 1s forwards 0.5s;
text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
}
.hero p {
font-size: 1.5rem;
max-width: 800px;
margin-bottom: 30px;
letter-spacing: 1px;
opacity: 0;
transform: translateY(30px);
animation: fadeInUp 1s forwards 0.8s;
text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
}
@keyframes fadeInUp {
to {
opacity: 1;
transform: translateY(0);
}
}
.cta-btn {
padding: 15px 40px;
background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-dark)
100%);
border: none;
color: #fff;
font-size: 1rem;
text-transform: uppercase;
letter-spacing: 2px;
cursor: pointer;
transition: all 0.3s ease;
border-radius: 30px;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
opacity: 0;
transform: translateY(30px);
animation: fadeInUp 1s forwards 1.1s;
}
.cta-btn:hover {
transform: translateY(-5px);
box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
}
/* Overlay */
.overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.1);
z-index: 100;
visibility: hidden;
opacity: 0;
transition: opacity 0.3s ease, visibility 0.3s ease;
}
.[Link] {
visibility: visible;
opacity: 1;
}
/* NEW SECTIONS - FEATURES SECTION */
.features-section {
min-height: 100vh;
position: relative;
background-color: #000;
overflow: hidden;
padding: 100px 0;
opacity: 0;
transform: translateY(50px);
transition: opacity 1s ease, transform 1s ease;
}
.[Link] {
opacity: 1;
transform: translateY(0);
}
.features-container {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
position: relative;
z-index: 2;
}
.section-title {
text-align: center;
margin-bottom: 60px;
position: relative;
}
.section-title h2 {
font-size: 3rem;
font-weight: 300;
letter-spacing: 8px;
text-transform: uppercase;
display: inline-block;
margin-bottom: 20px;
color: #fff;
position: relative;
padding-bottom: 15px;
}
.section-title h2:after {
content: '';
position: absolute;
bottom: 0;
left: 50%;
transform: translateX(-50%);
width: 80px;
height: 2px;
background-color: var(--primary-color);
}
.section-title p {
font-size: 1.2rem;
max-width: 700px;
margin: 0 auto;
color: rgba(255, 255, 255, 0.8);
}
/* Content Slider for Features */
.features-slider-container {
position: relative;
margin: 50px auto;
max-width: 1000px;
overflow: hidden;
}
.features-slider {
display: flex;
transition: transform 0.5s ease;
}
.feature-slide {
min-width: 100%;
padding: 0 20px;
display: flex;
flex-direction: column;
align-items: center;
}
.feature-content {
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
background-color: rgba(0, 0, 0, 0.7);
border: 1px solid rgba(52, 152, 219, 0.2);
border-radius: 10px;
padding: 30px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
backdrop-filter: blur(10px);
max-width: 800px;
margin: 0 auto;
}
.feature-image {
width: 100%;
height: 350px;
border-radius: 8px;
overflow: hidden;
margin-bottom: 30px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.feature-image img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.5s ease;
}
.feature-slide:hover .feature-image img {
transform: scale(1.05);
}
.feature-text h3 {
font-size: 2rem;
margin-bottom: 15px;
color: var(--primary-color);
}
.feature-text p {
font-size: 1.1rem;
line-height: 1.6;
margin-bottom: 20px;
color: rgba(255, 255, 255, 0.9);
}
.features-navigation {
display: flex;
justify-content: center;
margin-top: 30px;
}
.slide-dot {
width: 12px;
height: 12px;
border-radius: 50%;
background-color: rgba(255, 255, 255, 0.3);
margin: 0 6px;
cursor: pointer;
transition: all 0.3s ease;
}
.[Link] {
background-color: var(--primary-color);
transform: scale(1.3);
}
.slider-btn {
position: absolute;
top: 50%;
transform: translateY(-50%);
width: 50px;
height: 50px;
border-radius: 50%;
background-color: rgba(0, 0, 0, 0.7);
color: #fff;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: all 0.3s ease;
z-index: 10;
border: 1px solid rgba(52, 152, 219, 0.3);
}
.slider-btn:hover {
background-color: var(--primary-color);
}
.[Link] {
left: 10px;
}
.[Link] {
right: 10px;
}
/* Feature Cards Grid */
.features-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 30px;
margin-top: 50px;
}
.feature-card {
background-color: rgba(0, 0, 0, 0.7);
border: 1px solid rgba(52, 152, 219, 0.2);
padding: 30px;
border-radius: 10px;
text-align: center;
transform: translateY(50px);
opacity: 0;
transition: transform 0.8s ease, opacity 0.8s ease, box-shadow 0.3s ease,
bordercolor 0.3s ease;
backdrop-filter: blur(5px);
}
.feature-card:hover {
box-shadow: 0 10px 30px rgba(52, 152, 219, 0.2);
border-color: rgba(52, 152, 219, 0.5);
transform: translateY(-5px) scale(1.02);
}
.[Link] {
transform: translateY(0);
opacity: 1;
}
.feature-card:nth-child(2) {
transition-delay: 0.2s;
}
.feature-card:nth-child(3) {
transition-delay: 0.4s;
}
.feature-card:nth-child(4) {
transition-delay: 0.6s;
}
.feature-card:nth-child(5) {
transition-delay: 0.8s;
}
.feature-card:nth-child(6) {
transition-delay: 1s;
}
.feature-icon {
width: 70px;
height: 70px;
margin: 0 auto 20px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-dark)
100%);
color: #fff;
font-size: 30px;
box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}
.feature-card h3 {
font-size: 1.5rem;
margin-bottom: 15px;
font-weight: 400;
color: var(--primary-color);
}
.feature-card p {
color: rgba(255, 255, 255, 0.7);
font-size: 1rem;
line-height: 1.6;
}
/* SPECS SECTION */
.specs-section {
min-height: 100vh;
background-color: #000;
position: relative;
padding: 100px 0;
overflow: hidden;
opacity: 0;
transform: translateY(50px);
transition: opacity 1s ease, transform 1s ease;
}
.[Link] {
opacity: 1;
transform: translateY(0);
}
.specs-container {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
position: relative;
display: flex;
flex-direction: column;
align-items: center;
z-index: 2;
}
/* 3D Car Showcase */
.car-showcase {
width: 100%;
margin: 50px 0;
position: relative;
display: flex;
justify-content: center;
perspective: 1000px;
}
.car-model-container {
width: 100%;
max-width: 900px;
height: 400px;
position: relative;
transform-style: preserve-3d;
transition: transform 1.5s ease;
}
.car-model {
width: 100%;
height: 100%;
position: relative;
overflow: hidden;
border-radius: 10px;
box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}
.car-model video {
width: 100%;
height: 100%;
object-fit: cover;
}
.car-controls {
display: flex;
justify-content: center;
margin-top: 30px;
}
.view-btn {
padding: 10px 20px;
margin: 0 10px;
background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-dark)
100%);
border: none;
border-radius: 30px;
color: #fff;
cursor: pointer;
transition: all 0.3s ease;
}
.view-btn:hover {
transform: translateY(-3px);
box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}
.specs-content {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
align-items: center;
margin-top: 50px;
width: 100%;
}
.specs-tabs {
width: 100%;
margin-bottom: 30px;
display: flex;
justify-content: center;
flex-wrap: wrap;
}
.spec-tab {
padding: 15px 30px;
margin: 5px;
background-color: rgba(0, 0, 0, 0.7);
border: 1px solid rgba(52, 152, 219, 0.2);
color: #fff;
cursor: pointer;
transition: all 0.3s ease;
border-radius: 30px;
}
.spec-tab:hover {
background-color: rgba(52, 152, 219, 0.1);
border-color: rgba(52, 152, 219, 0.5);
}
.[Link] {
background-color: var(--primary-color);
border-color: var(--primary-color);
color: #fff;
}
.specs-panels {
width: 100%;
}
.spec-panel {
display: none;
animation: fadeIn 0.5s forwards;
}
@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
.[Link] {
display: block;
}
.spec-panel-content {
display: flex;
flex-wrap: wrap;
align-items: center;
background-color: rgba(0, 0, 0, 0.7);
border: 1px solid rgba(52, 152, 219, 0.2);
border-radius: 10px;
padding: 30px;
backdrop-filter: blur(10px);
}
.spec-image {
flex: 0 0 40%;
padding-right: 30px;
}
.spec-image img {
width: 100%;
height: auto;
border-radius: 8px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.spec-details {
flex: 0 0 60%;
}
.spec-details h3 {
font-size: 2rem;
margin-bottom: 20px;
color: var(--primary-color);
}
.specs-list {
list-style: none;
}
.specs-list li {
margin-bottom: 20px;
padding-bottom: 20px;
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
display: flex;
opacity: 0;
transform: translateY(20px);
transition: opacity 0.6s ease, transform 0.6s ease;
}
.specs-list [Link] {
opacity: 1;
transform: translateY(0);
}
.specs-list li:last-child {
border-bottom: none;
}
.spec-icon {
flex: 0 0 50px;
height: 50px;
margin-right: 20px;
background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-dark)
100%);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
color: #fff;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}
.spec-text {
flex: 1;
}
.spec-text h4 {
font-size: 1.2rem;
margin-bottom: 5px;
color: #fff;
font-weight: 400;
}
.spec-text p {
color: rgba(255, 255, 255, 0.7);
font-size: 1rem;
line-height: 1.5;
}
.discover-more {
margin-top: 60px;
text-align: center;
}
.discover-more .cta-btn {
background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-dark)
100%);
border: none;
box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
color: #fff;
font-weight: 500;
}
.discover-more .cta-btn:hover {
transform: translateY(-3px);
box-shadow: 0 8px 20px rgba(52, 152, 219, 0.4);
}
/* Scroll indicator */
.scroll-indicator {
position: absolute;
bottom: 30px;
left: 50%;
transform: translateX(-50%);
width: 30px;
height: 50px;
display: flex;
flex-direction: column;
align-items: center;
opacity: 0.7;
transition: opacity 0.3s ease;
cursor: pointer;
z-index: 5;
}
.scroll-indicator:hover {
opacity: 1;
}
.scroll-indicator span {
display: block;
width: 10px;
height: 10px;
border-right: 2px solid #fff;
border-bottom: 2px solid #fff;
transform: rotate(45deg);
margin: -2px 0;
animation: scrollIndicator 2s infinite;
}
.scroll-indicator span:nth-child(2) {
animation-delay: 0.2s;
}
.scroll-indicator span:nth-child(3) {
animation-delay: 0.4s;
}
@keyframes scrollIndicator {
0% {
opacity: 0;
transform: rotate(45deg) translate(-10px, -10px);
}
50% {
opacity: 1;
}
100% {
opacity: 0;
transform: rotate(45deg) translate(10px, 10px);
}
}
/* Back to top button */
.back-to-top {
position: fixed;
bottom: -60px;
right: 30px;
width: 50px;
height: 50px;
background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-dark)
100%);
color: #fff;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
transition: bottom 0.5s ease, background 0.3s ease;
z-index: 99;
}
.[Link] {
bottom: 30px;
}
.back-to-top:hover {
background: linear-gradient(135deg, var(--accent-dark) 0%, var(--primary-color)
100%);
transform: translateY(-3px);
}
/* Responsive */
@media (max-width: 992px) {
.features-grid {
grid-template-columns: repeat(2, 1fr);
}
.specs-content {
flex-direction: column;
}
.spec-image, .spec-details {
flex: 0 0 100%;
}
.spec-image {
margin-bottom: 30px;
padding-right: 0;
}
}
@media (max-width: 768px) {
header {
padding: 20px;
}
.hero h1 {
font-size: 2.5rem;
}
.hero p {
font-size: 1rem;
}
.[Link] {
width: 250px;
}
.features-grid {
grid-template-columns: 1fr;
}
.section-title h2 {
font-size: 2.2rem;
}
.slider-btn {
width: 40px;
height: 40px;
}
}