:root {
    --theme-color: #AA8453;
    --base-color: #2D325A;
    --bg-color: #F8F5F0;
    --button-color: #AA8453;
    --white-color: #fff;
    --black-color: #000000;
    --black-theme: #222222;
    --ratting-color: #E4A853;
    --pragraph-color: #666666;
    --border-two: #BDBDBD;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Gilda Display", serif;
    color: var(--black-theme);
    background: var(--white-color);
    line-height: 1.6;
}

h1,.price {
    font-size: 24px !important;
}

.header {
    background: var(--bg-color);
    padding: 15px 0;
    border-bottom: 1px solid var(--border-two);
}

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

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 150px;
    margin: -10px;
    padding: 0;
}

.header-nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.header-nav a {
    color: var(--base-color);
    text-decoration: none;
    font-size: 18px;
    text-transform: uppercase;
    transition: color 0.3s;
}

.header-nav a:hover {
    color: var(--ratting-color);
}

.contact-btn {
    background: var(--button-color);
    color: var(--white-color) !important;
    padding: 12px 25px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.detail-page {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    padding: 40px 0;
    align-items: start;
}

.main-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.image-gallery {
    background: var(--white-color);
    border-radius: 10px;
    overflow: hidden;
    max-width: 900px;
}

.main-image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    background: #000;
    overflow: hidden;
}

.main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: zoom-in;
}

.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 10;
}

.nav-arrow:hover {
    background: var(--button-color);
}

.nav-arrow i {
    font-size: 20px;
    color: var(--black-theme);
}

.nav-arrow:hover i {
    color: var(--white-color);
}

.nav-arrow.prev {
    left: 20px;
}

.nav-arrow.next {
    right: 20px;
}

.zoom-button {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 10;
}

.zoom-button:hover {
    background: var(--button-color);
}

.zoom-button i {
    font-size: 20px;
    color: var(--black-theme);
}

.zoom-button:hover i {
    color: var(--white-color);
}

.image-counter {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: var(--white-color);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    z-index: 10;
}

.thumbnail-strip {
    display: flex;
    gap: 8px;
    padding: 12px 15px;
    background: var(--bg-color);
    overflow-x: auto;
}

.thumbnail {
    min-width: 80px;
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
    opacity: 0.7;
}

.thumbnail:hover {
    opacity: 1;
    border-color: var(--button-color);
}

.thumbnail.active {
    opacity: 1;
    border-color: var(--button-color);
}

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    color: var(--black-theme);
    transition: all 0.3s;
    z-index: 10001;
}

.lightbox-close:hover {
    background: var(--button-color);
    color: var(--white-color);
}

.lightbox .nav-arrow {
    position: fixed;
}

.lightbox .nav-arrow.prev {
    left: 40px;
}

.lightbox .nav-arrow.next {
    right: 40px;
}

.lightbox .image-counter {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
}

.vehicle-header {
    background: var(--white-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.vehicle-title {
    font-size: 36px;
    color: var(--black-theme);
    margin-bottom: 10px;
}

.vehicle-subtitle {
    font-size: 20px;
    color: var(--pragraph-color);
    margin-bottom: 20px;
}

.price-section {
    display: flex;
    align-items: baseline;
    gap: 15px;
    margin-bottom: 20px;
}

.price {
    font-size: 32px;
    color: var(--ratting-color);
    font-weight: 400;
}

.price-note {
    color: var(--pragraph-color);
    font-size: 16px;
}

.key-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding: 20px 0;
    border-top: 1px solid var(--border-two);
}

.feature-item {
    display: flex;
    flex-direction: column;
}

.feature-label {
    color: var(--pragraph-color);
    font-size: 14px;
    margin-bottom: 5px;
}

.feature-value {
    color: var(--black-theme);
    font-size: 18px;
    font-weight: 500;
}

.description-section {
    background: var(--white-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.section-title {
    font-size: 24px;
    color: var(--black-theme);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--button-color);
}

.description-text {
    color: var(--pragraph-color);
    line-height: 1.8;
    margin-bottom: 15px;
}

.specs-section {
    background: var(--white-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.specs-two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.specs-column {
    display: flex;
    flex-direction: column;
}

.column-title {
    font-size: 20px;
    color: var(--black-theme);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--button-color);
}

.specs-grid {
    display: grid;
    gap: 15px;
}

.spec-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 15px;
    background: var(--bg-color);
    border-radius: 5px;
}

.spec-label {
    color: var(--pragraph-color);
    font-size: 16px;
}

.spec-value {
    color: var(--black-theme);
    font-size: 16px;
    font-weight: 500;
    text-align: right;
}

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-card {
    background: var(--bg-color);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
}

.dealer-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 20px;
    object-fit: cover;
}

.dealer-name {
    font-size: 24px;
    color: var(--black-theme);
    margin-bottom: 5px;
}

.dealer-title {
    color: var(--pragraph-color);
    margin-bottom: 20px;
}

.flags {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.flag {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid var(--border-two);
}

.cta-button {
    background: var(--button-color);
    color: var(--white-color);
    padding: 15px 30px;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.cta-button:hover {
    background: var(--black-theme);
}

.contact-info {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-two);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: var(--pragraph-color);
}

.contact-item i {
    color: var(--ratting-color);
    font-size: 18px;
    width: 25px;
}

.quick-info {
    background: var(--white-color);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.quick-info-title {
    font-size: 20px;
    color: var(--black-theme);
    margin-bottom: 20px;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--bg-color);
}

.info-label {
    color: var(--pragraph-color);
}

.info-value {
    color: var(--black-theme);
    font-weight: 500;
}

.video-section {
    background: var(--white-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 10px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.footer {
    background: var(--black-theme);
    color: var(--white-color);
    padding: 60px 0 30px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h5 {
    color: var(--white-color);
    margin-bottom: 20px;
}

.footer-link {
    color: var(--white-color);
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.footer-link:hover {
    color: var(--ratting-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-two);
    color: var(--white-color);
}

@media (max-width: 1024px) {
    .detail-page {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {


    .vehicle-title {
        font-size: 28px;
    }

    .key-features {
        grid-template-columns: 1fr;
    }

    .specs-two-column {
        grid-template-columns: 1fr;
    }

    .spec-row {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .spec-value {
        text-align: left;
    }
}

@media screen and (max-width: 991px) {
    .header-nav {
        position: absolute;
        top: 100%;
        width: 100%;
        left: 0;
        margin-top: 20px;
        z-index: 999;
        padding: 15px 15px;
        background: var(--white-color);
        transition: all 0.3s;
        max-height: calc(100vh - 130px);
        overflow-y: auto;
        border-radius: 10px;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        
        /* Verander flex naar column layout */
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
    }
    
    .header-nav:not(.active) {
        display: none !important;
    }
    
    .header-nav a {
        display: block;
        padding: 12px 15px;
        border-bottom: 1px solid var(--bg-color);
        width: 100%;
        text-align: left;
    }
    
    .header-nav a:last-child {
        border-bottom: none;
    }
    
    .contact-btn {
        margin-top: 10px;
        justify-content: center;
    }
}