* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    color: #ffffff;
    line-height: 1.6;
}

.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.video-background iframe {
    width: 100vw;
    height: 56.25vw;
    min-height: 100vh;
    min-width: 177.77vh;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

header {
    background: rgba(0, 0, 0, 0.8);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffd700;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #ffd700;
}

main {
    padding-top: 80px;
}

.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: rgba(0, 0, 0, 0.5);
    perspective: 1000px;
}

.hero-content {
    transform-style: preserve-3d;
    transition: transform 0.5s ease;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: #ffd700;
    transform-style: preserve-3d;
    perspective: 1000px;
    transition: transform 0.5s ease;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    position: relative;
}

.hero h1:hover {
    transform: rotateX(10deg) rotateY(10deg);
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.5),
        4px 4px 8px rgba(0, 0, 0, 0.3),
        6px 6px 12px rgba(0, 0, 0, 0.2);
}

.hero h1::before {
    content: 'Welcome to Rockstar Autoworks™';
    position: absolute;
    color: rgba(255, 215, 0, 0.3);
    transform: translateZ(-20px);
    filter: blur(2px);
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero p {
    font-size: 1.5rem;
    transform: translateZ(10px);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.services {
    padding: 5rem 2rem;
    background: rgba(0, 0, 0, 0.8);
}

.services h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #ffd700;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card i {
    font-size: 3rem;
    color: #ffd700;
    margin-bottom: 1rem;
}

.contact {
    padding: 5rem 2rem;
    background: rgba(0, 0, 0, 0.9);
}

.contact h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #ffd700;
}

.contact-info {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.address, .contact-details {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 10px;
}

.address i, .contact-details i {
    color: #ffd700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

footer {
    background: rgba(0, 0, 0, 0.9);
    text-align: center;
    padding: 1rem;
    color: #ffd700;
}

@media (max-width: 768px) {
    nav {
        flex-direction: column;
        text-align: center;
    }

    nav ul {
        margin-top: 1rem;
    }

    nav ul li {
        margin: 0 1rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.2rem;
    }
} 