/* Yerleşim Yerleri Dizini - Özel Stiller */

:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --info-color: #17a2b8;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Navbar Özelleştirmeleri */
.navbar-brand {
    font-weight: bold;
    font-size: 1.3rem;
}

.navbar-brand i {
    margin-right: 0.5rem;
}

/* Hero Bölümü */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem 0;
}

/* Kart Hover Efektleri */
.card {
    transition: transform 0.3s, box-shadow 0.3s;
    border-radius: 0.5rem;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Badge Özelleştirmeleri */
.badge {
    padding: 0.4em 0.7em;
    font-weight: 500;
}

/* Tablo Özelleştirmeleri */
.table-hover tbody tr:hover {
    background-color: #f8f9fa;
    cursor: pointer;
}

.table th {
    border-top: none;
    font-weight: 600;
    color: #495057;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

/* Arama Kutusu */
.search-box {
    position: relative;
}

.search-box input {
    padding-left: 40px;
}

.search-box i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
}

/* İstatistik Kartları */
.stat-card {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.stat-card:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.stat-card h3 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.stat-card small {
    color: #6c757d;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
}

/* Harita Stili */
#harita {
    border-radius: 0.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Liste Görünümü */
.yer-kart {
    height: 100%;
    border: 1px solid #e9ecef;
    transition: all 0.3s;
}

.yer-kart:hover {
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.1);
}

.yer-kart .card-header {
    background-color: #f8f9fa;
    border-bottom: 2px solid #e9ecef;
}

.yer-kart .card-footer {
    background-color: #ffffff;
    border-top: 1px solid #e9ecef;
}

/* Breadcrumb */
.breadcrumb {
    background-color: transparent;
    padding: 0;
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background-color: #2c3e50 !important;
    margin-top: auto;
}

/* Responsive Düzenlemeler */
@media (max-width: 768px) {
    .display-4 {
        font-size: 2rem;
    }

    .display-5 {
        font-size: 1.5rem;
    }

    .hero-section {
        padding: 2rem 0;
    }

    .stat-card {
        margin-bottom: 1rem;
    }

    .table {
        font-size: 0.9rem;
    }

    .navbar-brand {
        font-size: 1.1rem;
    }

    #harita {
        height: 300px !important;
    }
}

@media (max-width: 576px) {
    .btn-group-sm .btn {
        font-size: 0.8rem;
        padding: 0.25rem 0.5rem;
    }

    .badge {
        font-size: 0.7rem;
    }
}

/* Animasyonlar */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-out;
}

/* Özel Butonlar */
.btn-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    transition: all 0.3s;
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
    color: white;
}

/* Loading Spinner */
.spinner-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 300px;
}

.spinner-border {
    width: 3rem;
    height: 3rem;
}

/* Alert Özelleştirmeleri */
.alert {
    border: none;
    border-radius: 0.5rem;
}

.alert-info {
    background-color: #e3f2fd;
    color: #1976d2;
    border-left: 4px solid #1976d2;
}

/* Tab Özelleştirmeleri */
.nav-tabs .nav-link {
    color: #6c757d;
    border: none;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
}

.nav-tabs .nav-link:hover {
    border-color: #e9ecef;
}

.nav-tabs .nav-link.active {
    color: var(--primary-color);
    background-color: transparent;
    border-color: var(--primary-color);
    font-weight: 600;
}

/* Scrollbar Özelleştirmesi */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Print Stilleri */
@media print {
    .navbar,
    footer,
    .btn,
    .alert {
        display: none !important;
    }

    .card {
        border: 1px solid #dee2e6 !important;
        box-shadow: none !important;
    }

    body {
        font-size: 12pt;
    }
}