﻿:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --success-color: #48bb78;
    --danger-color: #f56565;
    --warning-color: #ed8936;
    --info-color: #4299e1;
    --text-dark: #2d3748;
    --text-light: #718096;
    --border-color: #e2e8f0;
    --bg-light: #f7fafc;
}

.page-header-custom {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 2rem 0;
    margin-bottom: 2rem;
    color: white;
}

.breadcrumb-custom {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

    .breadcrumb-custom a {
        color: white;
        text-decoration: none;
        opacity: 0.8;
        transition: opacity 0.3s;
    }

        .breadcrumb-custom a:hover {
            opacity: 1;
        }

    .breadcrumb-custom .separator {
        margin: 0 0.75rem;
        opacity: 0.6;
    }

.car-detail-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    overflow: hidden;
    margin-bottom: 2rem;
}

.car-image-section {
    position: relative;
    height: 300px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

    .car-image-section img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.car-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 700;
    color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.car-info-section {
    padding: 2rem;
}

.car-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.car-brand {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.car-specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.spec-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 10px;
}

    .spec-item i {
        font-size: 1.5rem;
        color: var(--primary-color);
        margin-right: 0.75rem;
    }

.spec-content {
    flex: 1;
}

.spec-label {
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.spec-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s ease;
}

    .stat-card:hover {
        transform: translateY(-5px);
    }

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

    .stat-icon.primary {
        background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
        color: var(--primary-color);
    }

    .stat-icon.success {
        background: rgba(72, 187, 120, 0.1);
        color: var(--success-color);
    }

    .stat-icon.danger {
        background: rgba(245, 101, 101, 0.1);
        color: var(--danger-color);
    }

    .stat-icon.info {
        background: rgba(66, 153, 225, 0.1);
        color: var(--info-color);
    }

.stat-label {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.stat-change {
    font-size: 0.875rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

    .stat-change.positive {
        color: var(--success-color);
    }

    .stat-change.negative {
        color: var(--danger-color);
    }

.chart-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    margin-bottom: 2rem;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.chart-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.chart-container {
    position: relative;
    height: 400px;
}

.history-table-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    overflow: hidden;
}

.table-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-color);
}

.table-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
}

.history-table {
    width: 100%;
}

    .history-table thead {
        background: var(--bg-light);
    }

    .history-table th {
        padding: 1rem 2rem;
        text-align: left;
        font-size: 0.875rem;
        font-weight: 600;
        color: var(--text-dark);
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }

    .history-table td {
        padding: 1.25rem 2rem;
        border-top: 1px solid var(--border-color);
        color: var(--text-dark);
    }

    .history-table tbody tr:hover {
        background: var(--bg-light);
    }

.price-cell {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

.change-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

    .change-badge.positive {
        background: rgba(72, 187, 120, 0.1);
        color: var(--success-color);
    }

    .change-badge.negative {
        background: rgba(245, 101, 101, 0.1);
        color: var(--danger-color);
    }

    .change-badge.neutral {
        background: rgba(160, 174, 192, 0.1);
        color: var(--text-light);
    }

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
}

    .empty-state i {
        font-size: 4rem;
        color: var(--text-light);
        margin-bottom: 1rem;
    }

    .empty-state h3 {
        color: var(--text-dark);
        margin-bottom: 0.5rem;
    }

    .empty-state p {
        color: var(--text-light);
    }

.hover-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .hover-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.2) !important;
    }

.gallery-thumb {
    transition: all 0.3s ease;
}

    .gallery-thumb:hover {
        transform: scale(1.05);
        box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    }
/* ============================================
   SOSYAL MEDYA PAYLAŞIM BUTONLARI
   ============================================ */

.social-share-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.btn-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

    .btn-social::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: rgba(255, 255, 255, 0.2);
        transition: left 0.3s ease;
    }

    .btn-social:hover::before {
        left: 100%;
    }

    .btn-social:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    }

    .btn-social:active {
        transform: translateY(0);
    }

    /* Facebook */
    .btn-social.facebook {
        background: linear-gradient(135deg, #1877f2 0%, #0c63d4 100%);
    }

        .btn-social.facebook:hover {
            background: linear-gradient(135deg, #0c63d4 0%, #1877f2 100%);
        }

    /* Twitter / X */
    .btn-social.twitter {
        background: linear-gradient(135deg, #1da1f2 0%, #0d8bd9 100%);
    }

        .btn-social.twitter:hover {
            background: linear-gradient(135deg, #0d8bd9 0%, #1da1f2 100%);
        }

    /* WhatsApp */
    .btn-social.whatsapp {
        background: linear-gradient(135deg, #25d366 0%, #1ebe57 100%);
    }

        .btn-social.whatsapp:hover {
            background: linear-gradient(135deg, #1ebe57 0%, #25d366 100%);
        }

    /* LinkedIn */
    .btn-social.linkedin {
        background: linear-gradient(135deg, #0077b5 0%, #005582 100%);
    }

        .btn-social.linkedin:hover {
            background: linear-gradient(135deg, #005582 0%, #0077b5 100%);
        }

    /* Link Kopyala */
    .btn-social.copy {
        background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
    }

        .btn-social.copy:hover {
            background: linear-gradient(135deg, #5a6268 0%, #6c757d 100%);
        }

        .btn-social.copy.copied {
            background: linear-gradient(135deg, #28a745 0%, #218838 100%);
        }

/* Responsive */
@media (max-width: 576px) {
    .social-share-buttons {
        width: 100%;
    }

        .social-share-buttons .btn-social {
            width: 18%;
        }

    .btn-social span {
        display: none !important;
    }

    .btn-social {
        padding: 0.5rem;
        min-width: 40px;
    }

    .stats-grid {
        display: flex;
        flex-wrap: wrap;
    }

        .stats-grid .stat-card {
            width: 46%;
        }

    .col-md-6 .stat-card {
        margin-bottom: 1rem;
    }

    .stat-value {
        font-size: 1.15rem;
    }

    .display-4, .car-title {
        font-size: 1.6rem;
    }
}

/* Toast Bildirimi */
.toast-notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, #28a745 0%, #218838 100%);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    animation: slideInUp 0.3s ease;
}

@keyframes slideInUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.toast-notification.fade-out {
    animation: fadeOut 0.3s ease forwards;
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
        transform: translateY(20px);
    }
}
