.container {
    width: 100%;
    min-height: 100vh;
    display: flex;
    position: relative;
}

.sidebar {
    width: 80px;
    background-color: #fff;
    height: 100vh;
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
    box-shadow: 1px 0 10px rgba(0,0,0,0.05);
    z-index: 100;
}

.main-logo {
    width: 50px;
    margin-bottom: 50px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.main-logo:hover {
    transform: scale(1.1);
}

.thumbnail-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.thumbnail {
    width: 60px;
    height: 40px;
    cursor: pointer;
    object-fit: cover;
    border-radius: 2px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.thumbnail:hover {
    opacity: 1;
}

.thumbnail.active {
    border-color: #333;
    opacity: 1;
}

.content {
    margin-left: 80px;
    width: calc(100% - 80px);
    height: 100vh;
    position: relative;
}



.gallery {
    height: 100%;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.slide {
    height: 100%;
    width: 100%;
    position: absolute;
    display: flex;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.slide.active {
    opacity: 1;
}

.car-info {
    width: 45%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 40px 80px;
    position: relative;
    z-index: 2;
    background-color: #fff;
}

.car-name {
    font-size: 90px;
    font-weight: 300;
    margin-bottom: 40px;
    color: #333;
    letter-spacing: 1px;
    transform: translateY(50px);
    opacity: 0;
    transition: all 1s ease 0.3s;
    line-height: 1;
}

.slide.active .car-name {
    transform: translateY(0);
    opacity: 1;
}

.slide-number {
    font-size: 180px;
    font-weight: 200;
    position: absolute;
    bottom: 0;
    left: 40px;
    color: #d8d8d8;
    z-index: 1;
    line-height: 0.8;
}

.page-indicator {
    position: absolute;
    bottom: 30px;
    left: 40px;
    font-size: 14px;
    color: #777;
}

.car-image-container {
    width: 55%;
    height: 100%;
    position: relative;
    overflow: hidden;
    background: #003984;
    /* background: linear-gradient(135deg, #333, #222); */
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%);
}

.car-image {
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-40%, -50%) scale(0.9);
    transition: all 1s ease;
    opacity: 0;
}

.slide.active .car-image {
    transform: translate(-40%, -50%) scale(1);
    opacity: 1;
}

.car-specs {
    display: flex;
    gap: 40px;
    /* margin-top: 80px; */
    transform: translateY(30px);
    opacity: 0;
    transition: all 1s ease 0.6s;
}

.slide.active .car-specs {
    transform: translateY(0);
    opacity: 1;
}

.spec {
    text-align: center;
    width: 70px;
}

.spec-icon {
    font-size: 20px;
    margin-bottom: 10px;
    color: #333;
}

.spec-value {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.spec-label {
    font-size: 10px;
    color: #777;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.navigation {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 10;
    transform: translateY(-50%);
}

.nav-btn {
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 24px;
    color: #777;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    color: #333;
}

@media (max-width: 1024px) {
    .car-name {
        font-size: 70px;
    }
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }
    .slide-number {
        right: 40px!important;
        left: auto!important;
    }
    
    .sidebar {
        width: 100%;
        height: 70px;
        flex-direction: row;
        padding: 0 20px;
        top: 70px;
        justify-content: start;
        overflow-y: scroll;
    }
    
    .main-logo {
        margin-bottom: 0;
        margin-right: 30px;
    }
    
    .thumbnail-container {
        flex-direction: row;
    }
    
    .content {
        margin-left: 0;
        margin-top: 70px;
        width: 100%;
        height: calc(100vh - 70px);
    }
    
    .car-info, .car-image-container {
        width: 100%;
        height: 50%;
        padding: 110px 40px 80px;
    }
    
    .slide {
        flex-direction: column;
    }
    
    .car-image-container {
        clip-path: polygon(0 15%, 100% 0, 100% 100%, 0 100%);
    }
    
    .car-image {
        width: 90%;
        transform: translate(-50%, -40%) scale(0.9);
    }
    
    .slide.active .car-image {
        transform: translate(-50%, -40%) scale(1);
    }
    
    .car-name {
        font-size: 40px;
        margin-bottom: 10px;
    }
    
    .car-specs {
        margin-top: 20px;
    }
}
@media (max-width: 500px) {
    .slide-number {
        right: 0px!important;
        left: auto!important;
        font-size: 70px;
    }
}