/* 3D Car Showcase Section */
.car-showcase-section {
    position: relative;
    width: 100%;
    height: 100vh;
    background-color: #000;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.car-showcase-content {
    position: absolute;
    left: 5%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    max-width: 500px;
    opacity: 0; /* for gsap */
}

.car-showcase-content .car-title {
    font-size: 4vw;
    line-height: 1.1;
    color: #fff;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.car-showcase-content .car-title span {
    font-size: 1.2vw;
    color: var(--primary-color);
    letter-spacing: 5px;
    display: block;
    margin-top: 10px;
}

.car-showcase-content .car-desc {
    color: #ccc;
    font-size: 16px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.car-showcase-content .car-btn {
    display: inline-block;
    padding: 12px 30px;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 2px;
    font-size: 13px;
    transition: all 0.3s ease;
}

.car-showcase-content .car-btn:hover {
    background-color: var(--primary-color);
    color: #000;
}

.car-model-wrapper {
    width: 65%;
    height: 100%;
    position: relative;
    z-index: 5;
    /* initial state for GSAP animation: user wants left to right move */
    transform: translateX(-100%);
    opacity: 0;
}

.car-model-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 992px) {
    .car-showcase-section {
        flex-direction: column;
        justify-content: center;
    }
    
    .car-showcase-content {
        position: relative;
        left: 0;
        top: 0;
        transform: none;
        text-align: center;
        padding: 40px 20px 0;
        z-index: 10;
    }
    
    .car-showcase-content .car-title {
        font-size: 40px;
    }
    
    .car-showcase-content .car-title span {
        font-size: 16px;
    }
    
    .car-model-wrapper {
        width: 100%;
        height: 60vh;
        margin-top: 0px;
    }
}
