/* Modern Detail Section */
.modern-detail-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
    padding: 40px 0;
}

/* Modern Vehicle Title */
.modern-vehicle-title {
    background: white;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.title-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 20px;
}

.vehicle-headline {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.2;
    flex: 1;
    min-width: 300px;
}

.vehicle-meta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-end;
}

.plate-badge {
    background: linear-gradient(135deg, #3c8dbc, #2c5aa0);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(60, 141, 188, 0.3);
}

.location-info {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #7f8c8d;
    font-size: 14px;
    font-weight: 500;
}

.location-info i {
    color: #e74c3c;
}

.vehicle-description {
    border-top: 1px solid #e9ecef;
    padding-top: 20px;
}

.vehicle-description p {
    margin: 0;
    color: #5a6c7d;
    line-height: 1.6;
    font-size: 16px;
}

/* Modern Tab Container */
.modern-tab-container {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.tab-navigation {
    display: flex;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid #e9ecef;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.tab-navigation::-webkit-scrollbar {
    display: none;
}

.tab-button {
    background: none;
    border: none;
    padding: 20px 24px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #6c757d;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    min-width: 140px;
    justify-content: center;
}

.tab-button i {
    font-size: 16px;
    transition: all 0.3s ease;
}

.tab-button:hover {
    color: #3c8dbc;
    background: rgba(60, 141, 188, 0.05);
    transform: translateY(-2px);
}

.tab-button.active {
    color: #3c8dbc;
    border-bottom-color: #3c8dbc;
    background: white;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.05);
}

.tab-button.active i {
    transform: scale(1.1);
}

/* Modern Content Cards */
.modern-content-card {
    background: white;
}

.card-header {
    padding: 30px 30px 20px 30px;
    border-bottom: 1px solid #e9ecef;
}

.card-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 12px;
}

.card-header h3 i {
    color: #3c8dbc;
    font-size: 18px;
}

.card-body {
    padding: 30px;
}

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.info-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: #3c8dbc;
}

.info-item.highlight {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    border-color: #3c8dbc;
}

.info-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #6c757d;
}

.info-label i {
    color: #3c8dbc;
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.info-value {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    margin-left: 30px;
}

.info-value.price {
    color: #e74c3c;
    font-size: 18px;
    font-weight: 700;
}

/* Equipment Grid */
.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
}

.equipment-item {
    padding: 16px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.equipment-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    border-color: #3c8dbc;
}

.equipment-checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: #2c3e50;
}

.equipment-checkbox i {
    color: #27ae60;
    font-size: 18px;
}

.equipment-dropdown, .equipment-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.equipment-label {
    font-size: 14px;
    font-weight: 600;
    color: #6c757d;
}

.equipment-value {
    font-size: 15px;
    font-weight: 600;
    color: #2c3e50;
}

/* Expertise Grid */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
}

.expertise-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.expertise-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    border-color: #3c8dbc;
}

.expertise-part {
    font-weight: 600;
    color: #2c3e50;
    font-size: 15px;
}

.expertise-condition {
    font-weight: 600;
    color: #3c8dbc;
    font-size: 14px;
    padding: 4px 12px;
    background: rgba(60, 141, 188, 0.1);
    border-radius: 15px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .modern-detail-section {
        padding: 20px 0;
    }
    
    .modern-slider {
        margin: 0 20px 30px 20px;
    }
    
    .slider-container {
        max-width: 100%;
    }
    
    .modern-vehicle-title {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .title-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .vehicle-headline {
        font-size: 24px;
        min-width: auto;
    }
    
    .vehicle-meta {
        align-items: flex-start;
    }
    
    .tab-navigation {
        flex-wrap: wrap;
    }
    
    .tab-button {
        min-width: 120px;
        padding: 16px 20px;
        font-size: 13px;
    }
    
    .card-header, .card-body {
        padding: 20px;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .equipment-grid {
        grid-template-columns: 1fr;
    }
    
    .expertise-grid {
        grid-template-columns: 1fr;
    }
    
    .expertise-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .vehicle-headline {
        font-size: 20px;
    }
    
    .tab-button {
        min-width: 100px;
        padding: 12px 16px;
        font-size: 12px;
    }
    
    .tab-button span {
        display: none;
    }
    
    .tab-button i {
        font-size: 18px;
    }
    
    .info-item {
        padding: 16px;
    }
    
    .info-value {
        margin-left: 20px;
    }
}

/* Tab Container Styles */
.tab-container {
    margin-top: 20px;
    width: 100%;
    float: left;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
}

/* Footer düzeltmesi */
.containerAll section {
    clear: both;
}

/* Container yapısını düzeltme */
.container.detail {
    overflow: hidden;
}

/* Responsive için */
@media (max-width: 1023px) {
    .tab-container {
        width: 100%;
        padding: 0 20px;
    }
}

.tab-buttons {
    display: flex;
    border-bottom: 2px solid #e0e0e0;
    margin-bottom: 20px;
}

.tab-button {
    background: none;
    border: none;
    padding: 12px 24px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #666;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.tab-button:hover {
    color: #3c8dbc;
    background-color: #f8f9fa;
}

.tab-button.active {
    color: #3c8dbc;
    border-bottom-color: #3c8dbc;
    background-color: #f8f9fa;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.dlbox.dfeatures {
    margin-bottom: 0;
    border: none;
    box-shadow: none;
}

.dlbox.dfeatures .dlbHeadline {
    display: none;
}

/* Modern Slider Styles */
.modern-slider {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slider-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    width: 100%;
}

.main-slider {
    position: relative;
    background: #f8f9fa;
}

.image-container {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.image-container:hover .main-image {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0,0,0,0.3), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-container:hover .image-overlay {
    opacity: 1;
}

.zoom-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #333;
    font-size: 18px;
}

.zoom-btn:hover {
    background: white;
    transform: scale(1.1);
}

.image-counter {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.no-image-text {
    color: white;
    font-size: 18px;
    font-weight: 500;
}

.slider-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
}

.nav-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #333;
    font-size: 18px;
    pointer-events: auto;
}

.nav-btn:hover {
    background: white;
    transform: scale(1.1);
}

.thumbnail-slider {
    background: white;
    padding: 20px;
    border-top: 1px solid #e9ecef;
}

.thumb-item {
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
    margin: 0 5px;
}

.thumb-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.thumb-image {
    width: 100%;
    height: 80px;
    object-fit: cover;
}

/* Lightbox Styles */
.lightbox-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(5px);
}

.lightbox-modal.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    font-size: 24px;
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    font-size: 24px;
    transition: all 0.3s ease;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.3);
}

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

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

.lightbox-image-container {
    max-width: 90%;
    max-height: 85%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

#lightbox-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 4px;
}

.lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 500;
}

/* Modern Document Cards Styles */
.documents-container {
    padding: 20px 0;
}

.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
    margin-top: 20px;
}

.document-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.document-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: #3c8dbc;
}

.document-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    flex-shrink: 0;
}

.document-info {
    flex: 1;
    min-width: 0;
}

.document-title {
    margin: 0 0 4px 0;
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.document-meta {
    margin: 0;
    font-size: 12px;
    color: #7f8c8d;
    font-weight: 500;
}

.document-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-shrink: 0;
}

.download-btn, .view-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 5px 10px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 11px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.download-btn {
    background: #3c8dbc;
    color: white;
}

.download-btn:hover {
    background: #2c5aa0;
    transform: translateY(-1px);
}

.view-btn {
    background: #f8f9fa;
    color: #495057;
    border: 1px solid #dee2e6;
}

.view-btn:hover {
    background: #e9ecef;
    color: #2c3e50;
    transform: translateY(-1px);
}

/* No Documents State */
.no-documents {
    padding: 60px 20px;
    text-align: center;
}

.no-documents-content {
    max-width: 400px;
    margin: 0 auto;
}

.no-documents-content i {
    font-size: 64px;
    color: #bdc3c7;
    margin-bottom: 20px;
}

.no-documents-content h3 {
    margin: 0 0 12px 0;
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
}

.no-documents-content p {
    margin: 0;
    font-size: 14px;
    color: #7f8c8d;
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 768px) {
    .documents-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .document-card {
        padding: 20px;
        flex-direction: column;
        text-align: center;
    }
    
    .document-actions {
        flex-direction: row;
        justify-content: center;
        width: 100%;
    }
    
    .download-btn, .view-btn {
        flex: 1;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .document-card {
        padding: 16px;
    }
    
    .document-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .document-title {
        font-size: 14px;
    }
    
    .document-meta {
        font-size: 12px;
    }
    
    .download-btn, .view-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
}

/* Description Tab Styles */
.description-content {
    padding: 20px 0;
}

.description-text p {
    margin: 0;
    color: #5a6c7d;
    line-height: 1.8;
    font-size: 16px;
    text-align: justify;
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

/* Responsive Design for Description Tab */
@media (max-width: 768px) {
    .description-text p {
        padding: 20px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .description-text p {
        padding: 16px;
        font-size: 14px;
    }
}