/* ================================================== */
/* Ürün Detay Tab Menü - Modern Tasarım
/* ================================================== */

/* Tab Wrapper */
.product-tabs-wrapper {
    margin-top: 60px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

/* Tab Navigation */
.product-nav-tabs {
    background: linear-gradient(to bottom, #f8f9fa 0%, #fff 100%);
    border-bottom: 2px solid #e8e8e8;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}

.product-nav-tabs .nav-item {
    flex: 1;
    min-width: 150px;
}

.product-nav-tabs .nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px 25px;
    border: none;
    background: transparent;
    color: #666;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    border-radius: 0;
    text-decoration: none;
}

.product-nav-tabs .nav-link i {
    font-size: 20px;
    transition: all 0.3s ease;
}

/* Hover Effect */
.product-nav-tabs .nav-link:hover {
    background: rgba(var(--primary-color-rgb, 0, 123, 255), 0.05);
    color: var(--primary-color, #007bff);
}

.product-nav-tabs .nav-link:hover i {
    transform: scale(1.1);
}

/* Active Tab */
.product-nav-tabs .nav-link.active {
    background: #fff;
    color: var(--primary-color, #007bff);
    position: relative;
}

.product-nav-tabs .nav-link.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color, #007bff) 0%, var(--secondary-color, #0056b3) 100%);
    border-radius: 3px 3px 0 0;
}

.product-nav-tabs .nav-link.active i {
    color: var(--primary-color, #007bff);
}

/* Tab Content */
.product-tab-content {
    padding: 40px;
    background: #fff;
}

.tab-inner-content {
    animation: fadeInUp 0.4s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Açıklama İçeriği */
.tab-inner-content p {
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

.tab-inner-content h3,
.tab-inner-content h4 {
    color: #333;
    margin-top: 25px;
    margin-bottom: 15px;
    font-weight: 700;
}

.tab-inner-content ul,
.tab-inner-content ol {
    padding-left: 25px;
    margin-bottom: 20px;
}

.tab-inner-content ul li,
.tab-inner-content ol li {
    margin-bottom: 10px;
    color: #555;
    line-height: 1.6;
}

/* Özellikler Tablosu */
.specifications-table {
    overflow-x: auto;
}

.specifications-table .table {
    margin: 0;
    border-collapse: separate;
    border-spacing: 0;
}

.specifications-table .table tbody tr {
    border-bottom: 1px solid #e8e8e8;
    transition: all 0.2s ease;
}

.specifications-table .table tbody tr:last-child {
    border-bottom: none;
}

.specifications-table .table tbody tr:hover {
    background: #f8f9fa;
}

.specifications-table .table td {
    padding: 18px 20px;
    vertical-align: middle;
    border: none;
}

.spec-label {
    font-weight: 600;
    color: #333;
    width: 40%;
    background: #f8f9fa;
}

.spec-value {
    color: #666;
    width: 60%;
}

/* Dökümanlar Listesi */
.documents-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.document-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 25px;
    background: #f8f9fa;
    border: 2px solid #e8e8e8;
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    font-weight: 600;
}

.document-item:hover {
    background: var(--primary-color, #007bff);
    border-color: var(--primary-color, #007bff);
    color: #fff;
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.2);
}

.document-item i:first-child {
    font-size: 32px;
    color: #dc3545;
    transition: all 0.3s ease;
}

.document-item:hover i:first-child {
    color: #fff;
}

.document-item span {
    flex: 1;
}

.document-item i:last-child {
    font-size: 20px;
    opacity: 0.6;
}

.document-item:hover i:last-child {
    opacity: 1;
    animation: bounce 0.6s ease;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* Responsive Design */
@media (max-width: 991px) {
    .product-nav-tabs {
        flex-direction: column;
    }
    
    .product-nav-tabs .nav-item {
        width: 100%;
        flex: none;
    }
    
    .product-nav-tabs .nav-link {
        justify-content: flex-start;
        padding: 18px 20px;
    }
    
    .product-nav-tabs .nav-link.active::after {
        left: 0;
        right: auto;
        width: 4px;
        height: 100%;
        border-radius: 0 3px 3px 0;
    }
    
    .product-tab-content {
        padding: 25px 20px;
    }
    
    .spec-label,
    .spec-value {
        width: 50%;
    }
}

@media (max-width: 575px) {
    .product-tabs-wrapper {
        margin-top: 40px;
        border-radius: 8px;
    }
    
    .product-nav-tabs .nav-link {
        padding: 15px;
        font-size: 14px;
    }
    
    .product-nav-tabs .nav-link i {
        font-size: 18px;
    }
    
    .product-tab-content {
        padding: 20px 15px;
    }
    
    .specifications-table .table td {
        padding: 12px 10px;
        font-size: 14px;
    }
    
    .spec-label,
    .spec-value {
        display: block;
        width: 100%;
    }
    
    .spec-label {
        padding-bottom: 5px;
        border-bottom: 1px solid #e8e8e8;
        background: transparent;
    }
    
    .spec-value {
        padding-top: 10px;
        font-size: 13px;
    }
    
    .document-item {
        padding: 15px;
        font-size: 14px;
    }
    
    .document-item i:first-child {
        font-size: 24px;
    }
}

/* Print Styles */
@media print {
    .product-nav-tabs {
        display: none;
    }
    
    .tab-pane {
        display: block !important;
        opacity: 1 !important;
    }
    
    .product-tabs-wrapper {
        box-shadow: none;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
.tab-pane {
    min-height: 200px;
}

/* Empty State */
.tab-inner-content .text-muted {
    text-align: center;
    padding: 60px 20px;
    font-size: 16px;
    color: #999;
}

/* Icon Animations */
@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.product-nav-tabs .nav-link.active i {
    animation: iconPulse 2s ease-in-out infinite;
}

/* Gradient Text Effect */
.product-nav-tabs .nav-link.active span {
    background: linear-gradient(90deg, var(--primary-color, #007bff) 0%, var(--secondary-color, #0056b3) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Focus States */
.product-nav-tabs .nav-link:focus {
    outline: 2px solid var(--primary-color, #007bff);
    outline-offset: 2px;
}

/* Custom Scrollbar for Tab Content */
.tab-inner-content::-webkit-scrollbar {
    width: 8px;
}

.tab-inner-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.tab-inner-content::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

.tab-inner-content::-webkit-scrollbar-thumb:hover {
    background: #999;
}
