/* 9lar Emlak - Ana Stil Dosyasi */

:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --danger-color: #dc3545;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
}

/* Navbar */
.navbar-brand {
    font-size: 1.5rem;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color), #0056b3);
    color: white;
    padding: 60px 0;
    margin-bottom: 30px;
}

.hero-section h1 {
    font-size: 2.5rem;
    font-weight: bold;
}

/* Arama Formu */
.search-box {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* Ilan Kartlari */
.property-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
}

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

.property-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

.property-card .badge-type {
    position: absolute;
    top: 10px;
    left: 10px;
}

.property-card .badge-featured {
    position: absolute;
    top: 10px;
    right: 10px;
}

.property-card .price {
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: bold;
}

.property-card .location {
    color: var(--secondary-color);
    font-size: 0.9rem;
}

.property-card .features {
    display: flex;
    gap: 15px;
    font-size: 0.85rem;
    color: var(--secondary-color);
}

/* Ilan Detay */
.property-detail-img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 10px;
}

.property-info-box {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.property-info-box h2 {
    color: var(--primary-color);
    font-weight: bold;
}

.info-table td {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.info-table td:first-child {
    color: var(--secondary-color);
    width: 40%;
}

/* Iletisim Formu */
.contact-form {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Admin Panel */
.admin-sidebar {
    background: #343a40;
    min-height: 100vh;
    padding-top: 20px;
}

.admin-sidebar .nav-link {
    color: rgba(255,255,255,0.8);
    padding: 12px 20px;
    border-radius: 5px;
    margin: 2px 10px;
}

.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
    background: var(--primary-color);
    color: white;
}

.admin-content {
    padding: 30px;
    background: #f8f9fa;
    min-height: 100vh;
}

.stat-card {
    border: none;
    border-radius: 10px;
    padding: 20px;
}

.stat-card .stat-icon {
    font-size: 2.5rem;
    opacity: 0.3;
}

.stat-card .stat-number {
    font-size: 2rem;
    font-weight: bold;
}

/* Placeholder Resim */
.no-image {
    background: linear-gradient(135deg, #e9ecef, #dee2e6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #adb5bd;
    font-size: 3rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        padding: 40px 0;
    }

    .hero-section h1 {
        font-size: 1.8rem;
    }

    .property-card .features {
        flex-wrap: wrap;
        gap: 10px;
    }
}

/* Animasyonlar */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

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

/* Pagination */
.pagination .page-link {
    border-radius: 5px;
    margin: 0 3px;
}

/* Alert */
.alert {
    border-radius: 10px;
    border: none;
}
