* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #f5f5f5;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.back-link {
    text-decoration: none;
    color: #333;
    font-weight: 600;
}

.nav-path {
    color: #666;
}

.nav-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.nav-actions input {
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.my-account {
    padding: 0.5rem 1rem;
    background: #2c5282;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.car-details {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
}

.car-showcase {
    position: relative;
}

/* Photo Slider Styles */
.photo-slider {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.car-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.car-image.active {
    opacity: 1;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    z-index: 10;
}

.slider-arrow:hover {
    background: rgba(0,0,0,0.8);
    transform: translateY(-50%) scale(1.1);
}

.slider-arrow.prev {
    left: 15px;
}

.slider-arrow.next {
    right: 15px;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: white;
    transform: scale(1.2);
}

.dot:hover {
    background: rgba(255,255,255,0.8);
}

/* Video Section Styles */
.video-section {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.video-section h3 {
    color: #333;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
}

.video-section h3 i {
    color: #2c5282;
}

.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    border-radius: 8px;
    overflow: hidden;
}

.car-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

/* Action Buttons Styles */
.action-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.call-btn {
    background: linear-gradient(135deg, #48bb78, #38a169);
    color: white;
}

.email-btn {
    background: linear-gradient(135deg, #4299e1, #3182ce);
    color: white;
}

.share-btn {
    background: linear-gradient(135deg, #ed8936, #dd6b20);
    color: white;
}

.action-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.action-btn i {
    font-size: 1.5rem;
}

.action-btn span {
    font-size: 0.9rem;
}

/* Share Menu Styles */
.share-menu {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: 100;
}

.share-menu.active {
    transform: translateY(0);
}

.share-options {
    padding: 1.5rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.share-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 8px;
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.share-option.facebook {
    background: #1877f2;
}

.share-option.twitter {
    background: #1da1f2;
}

.share-option.whatsapp {
    background: #25d366;
}

.share-option.copy-link {
    background: #6b7280;
}

.share-option:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.share-option i {
    font-size: 1.2rem;
}

/* Car Info Styles */
.car-info h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #333;
}

.description {
    color: #444;
    line-height: 1.6;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.specifications {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.specifications h2 {
    margin-bottom: 1rem;
    color: #333;
    font-size: 1.3rem;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.spec-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.spec-item span:first-child {
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
}

.spec-item span:last-child {
    font-weight: 600;
    color: #333;
    font-size: 1.1rem;
}

/* Single Document Section */
.document-section {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.document-section h2 {
    margin-bottom: 1rem;
    color: #333;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.3rem;
}

.document-section h2 i {
    color: #2c5282;
}

.document-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.document-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
}

.document-item i {
    color: #dc3545;
    font-size: 2rem;
    min-width: 40px;
}

.document-info h4 {
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.document-info p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.doc-link {
    color: #2c5282;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(44, 82, 130, 0.1);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.doc-link:hover {
    background: rgba(44, 82, 130, 0.2);
    transform: translateX(2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .car-details {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .specs-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .car-details {
        padding: 0 1rem;
        gap: 1.5rem;
    }
    
    .action-buttons {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .action-btn {
        padding: 1.25rem;
        flex-direction: row;
        justify-content: center;
    }
    
    .action-btn i {
        font-size: 1.25rem;
    }
    
    .share-options {
        grid-template-columns: 1fr;
    }
    
    .slider-container {
        height: 300px;
    }
    
    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .slider-arrow.prev {
        left: 10px;
    }
    
    .slider-arrow.next {
        right: 10px;
    }
    
    .video-container {
        padding-bottom: 75%;
    }
    
    nav {
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-actions {
        width: 100%;
        justify-content: space-between;
    }
}

@media (max-width: 480px) {
    .car-details {
        margin: 1rem auto;
    }
    
    .car-info h1 {
        font-size: 1.5rem;
    }
    
    .action-btn {
        font-size: 0.9rem;
    }
    
    .slider-dots {
        bottom: 10px;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
    
    .document-item {
        flex-direction: column;
        text-align: center;
    }
    
    .document-item i {
        align-self: center;
    }
}