/* Porsche Next Font */
@font-face {
    font-family: 'Porsche Next';
    src: url('https://cdn.ui.porsche.com/porsche-design-system/fonts/porsche-next-latin-regular.b8f1c20.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Porsche Next';
    src: url('https://cdn.ui.porsche.com/porsche-design-system/fonts/porsche-next-latin-semi-bold.b5f6fca.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Porsche Next', 'Arial Narrow', Arial, 'Heiti SC', 'SimHei', sans-serif;
    line-height: calc(6px + 2.125ex);
    color: #010205;
    background-color: #f5f5f5;
    max-width: 100vw;
    overflow-x: hidden;
    letter-spacing: normal;
    font-size: 1.1rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: #f5f5f5;
    color: #010205;
    padding: 2rem 0;
    text-align: center;
    border-bottom: none;
}

.vehicle-title {
    font-size: clamp(2.2rem, 3.5vw, 3.5rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    margin: 0 0 1rem 0;
    color: #010205;
}

.vehicle-subtitle {
    font-size: 1.2rem;
    font-weight: 400;
    color: #666;
    margin: 0;
    letter-spacing: 0.01em;
}

/* Highlight Section */
.highlight-section {
    background: transparent;
    color: #010205;
    padding: 2rem 0;
}

.highlight-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.highlight-content {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin: 0 auto;
    text-align: left;
    line-height: calc(6px + 2.125ex);
}

.highlight-content {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin: 0 auto;
}

.highlight-content p {
    margin-bottom: 1.5rem;
    font-size: 1.15rem;
    font-weight: 400;
    color: #010205;
}

.highlight-content p:last-child {
    margin-bottom: 0;
}

.highlight-content .config-link {
    color: #010205;
    text-decoration: underline;
    font-weight: 400;
    transition: all 0.3s ease;
    font-size: 1.15rem;
}

.highlight-content .config-link:hover {
    color: #666;
}

.strikethrough {
    text-decoration: line-through;
    color: #666;
}

/* Hero Section */
.hero {
    background: transparent;
    padding: 2rem 0;
    margin-bottom: 0;
}

.hero .container {
    background: transparent;
    padding: 0 20px;
    margin: 0 auto;
    max-width: 1200px;
}

.hero-content {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin: 0 auto;
}

.hero-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
    max-width: 100%;
    overflow: hidden;
}

/* Gallery Styles */
.gallery-container {
    position: relative;
}

.hero-image {
    position: relative;
    max-width: 100%;
    overflow: hidden;
}

.main-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
    max-width: 100%;
    width: 100%;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
}

.main-image img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    display: block;
    transition: transform 0.3s ease;
    object-fit: contain;
}

.main-image:hover img {
    transform: scale(1.02);
}

.gallery-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    pointer-events: none;
}

.gallery-btn {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
}

.gallery-btn:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

.thumbnail-container {
    margin-top: 1rem;
}

.thumbnails {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 0.5rem 0;
}

.thumbnail {
    flex-shrink: 0;
    width: 80px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail.active {
    border-color: #0075e1;
}

.thumbnail:hover {
    transform: scale(1.05);
}

/* Hero Specs */
.hero-specs {
    position: sticky;
    top: 2rem;
}

.spec-card {
    background: white;
    border-radius: 4px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #e3e4e5;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #f1f3f4;
}

.spec-item:last-child {
    border-bottom: none;
}

.spec-item.price {
    border-top: 2px solid #0075e1;
    border-bottom: none;
    margin-top: 1rem;
    padding-top: 1.5rem;
}

.spec-item.contact {
    border-top: 1px solid #e9ecef;
    padding-top: 1rem;
}

.spec-item.contact .spec-value a {
    color: #010205;
    text-decoration: underline;
    font-weight: 400;
}

.spec-item.contact .spec-value a:hover {
    color: #666;
}

.spec-label {
    font-weight: 400;
    color: #6c757d;
    font-size: 1rem;
    text-transform: none;
    letter-spacing: normal;
}

.spec-value {
    font-weight: 400;
    color: #010205;
    font-size: 1.1rem;
}

.spec-item.price .spec-value {
    color: #010205;
    font-size: 1.9rem;
    font-weight: 400;
}

/* Sections */
.specs-section,
.contact-section,
.description-section,
.video-section {
    padding: 2rem 0;
}

.specs-section {
    background: transparent;
}

.specs-section .container {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin: 0 auto;
}



.description-section {
    background: transparent;
}

.description-section .container {
    background: transparent;
    padding: 0 20px;
    margin: 0 auto;
    max-width: 1200px;
}

.description-content {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin: 0 auto;
}

.description-content p {
    margin-bottom: 1.5rem;
    font-size: 1.15rem;
    color: #010205;
    font-weight: 400;
}

.description-content p:last-child {
    margin-bottom: 0;
}

.video-section {
    background: transparent;
}

.video-section .container {
    background: transparent;
    padding: 0 20px;
    margin: 0 auto;
    max-width: 1200px;
}

.video-section .container > * {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin: 0 auto;
}

.video-container {
    margin: 0;
}

/* Section Headers */
h2 {
    font-size: clamp(1.8rem, 2.3vw, 2.3rem);
    font-weight: 400;
    margin-bottom: 2rem;
    color: #010205;
    text-align: left;
}

.section-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #010205;
    margin-bottom: 1.5rem;
    letter-spacing: 0.01em;
    text-transform: none;
    font-family: 'Porsche Next', 'Arial Narrow', Arial, 'Heiti SC', 'SimHei', sans-serif;
}

/* Specs Grid */
.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.specs-grid .spec-item {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}

.specs-grid .spec-label {
    font-size: 0.8rem;
    margin-bottom: 0.25rem;
}

.specs-grid .spec-value {
    font-size: 1.2rem;
}





.description-section .container {
    background: transparent;
    padding: 0 20px;
    margin: 0 auto;
    max-width: 1200px;
}

.description-content {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin: 0 auto;
}

.description-content {
    line-height: calc(6px + 2.125ex);
}

.description-content p {
    margin-bottom: 1.5rem;
    font-size: 1.15rem;
    color: #010205;
    font-weight: 400;
}

.config-link {
    color: #010205;
    text-decoration: underline;
    font-weight: 400;
    font-size: 1.15rem;
}

.config-link:hover {
    color: #666;
}

/* Video */
.video-container {
    max-width: 800px;
    margin: 0 auto;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    .hero-specs {
        position: static;
    }
    
    .vehicle-title {
        font-size: 2.3rem;
    }
    
    .specs-grid {
        grid-template-columns: 1fr;
    }
    
    .thumbnails {
        justify-content: center;
    }
    
    .gallery-controls {
        padding: 0 0.5rem;
    }
    
    .gallery-btn {
        width: 40px;
        height: 40px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .specs-section,
    .contact-section,
    .description-section,
    .video-section {
        padding: 2rem 0;
    }
}

@media (max-width: 480px) {
    .vehicle-title {
        font-size: 1.8rem;
    }
    
    .spec-card {
        padding: 1.5rem;
    }
    
    .contact-card {
        padding: 1.5rem;
    }
    
    .thumbnail {
        width: 60px;
        height: 45px;
    }
}
