/* İcra İhale - Ana CSS Dosyası */

/* Genel Stil */
:root {
    --primary-color: #0b365b;
    --secondary-color: #dcb558;
    --light-color: #f4f4f4;
    --dark-color: #333;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    line-height: 1.6;
    background-color: #f9f9f9;
    color: #333;
}

a {
    color: var(--primary-color);
    text-decoration: none;
}

a:hover {
    color: #0056b3;
    text-decoration: none;
}

/* Header */
header {
    margin-bottom: 20px;
}

.top-bar {
    background-color: var(--primary-color);
    padding: 10px 0;
    color: #fff;
}

.top-bar a {
    color: #fff;
}

.main-header {
    background-color: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.logo img {
    max-height: 60px;
}

.main-nav .nav-link {
    color: var(--primary-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
}

.main-nav .nav-link:hover {
    color: var(--secondary-color);
}

.dropdown-menu {
    border-radius: 0;
    border-color: #e9ecef;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    color: var(--primary-color);
}

.btn-login, .btn-register {
    background-color: transparent;
    border: 1px solid #fff;
    color: #fff;
    margin-left: 10px;
    padding: 5px 15px;
    font-size: 0.9rem;
}

.btn-login:hover, .btn-register:hover {
    background-color: #fff;
    color: var(--primary-color);
}

/* Kategori Navigasyonu */
.category-nav {
    background-color: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.category-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.btn-category {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    padding: 8px 20px;
    font-size: 0.9rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-category:hover {
    background-color: var(--secondary-color);
    color: #333;
}

/* Ana İçerik */
.main-content {
    min-height: 600px;
    padding-bottom: 50px;
}

/* Arama Kartı */
.search-card {
    border: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.search-card .form-control {
    border-radius: 4px;
    padding: 10px;
    border-color: #ddd;
}

.search-card .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: none;
}

.search-card label {
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

/* Sonuç Sayısı */
.result-count {
    margin-bottom: 20px;
}

.result-count .badge {
    font-size: 1rem;
    font-weight: normal;
    border-radius: 4px;
}

/* Ürün Kartları */
.product-card {
    position: relative;
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

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

.product-badge {
    position: absolute;
    top: 10px;
    left: 0;
    background-color: #6ab959;
    color: #fff;
    padding: 5px 10px;
    z-index: 2;
    font-size: 0.8rem;
    font-weight: 500;
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

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

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-controls {
    position: absolute;
    bottom: 10px;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.product-controls .btn {
    background-color: rgba(255, 255, 255, 0.7);
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    padding: 0;
    line-height: 30px;
    color: #333;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.product-controls .btn:hover {
    background-color: #fff;
    color: var(--primary-color);
}

.card-title {
    font-size: 1rem;
    margin-bottom: 10px;
    font-weight: 500;
    color: var(--primary-color);
    line-height: 1.4;
    height: 60px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.card-subtitle {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.starting-price {
    margin-top: 10px;
    margin-bottom: 0;
}

.starting-price small {
    display: block;
    color: #6c757d;
    font-size: 0.8rem;
}

.price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Sıralama ve Görünüm Seçenekleri */
.dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 250px;
    padding: 8px 15px;
    border: 1px solid #ddd;
    background-color: #fff;
    color: #333;
}

.view-options .btn-group .btn {
    padding: 8px 15px;
    border: 1px solid #ddd;
}

.view-options .btn-group .btn.active {
    background-color: #f8f9fa;
}

/* Sayfalama */
.pagination {
    margin-top: 30px;
}

.pagination .page-link {
    color: var(--primary-color);
    border-color: #ddd;
    padding: 8px 15px;
}

.pagination .page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.pagination .page-link:hover {
    background-color: #f8f9fa;
    color: var(--primary-color);
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: #fff;
    padding-top: 30px;
    margin-top: 50px;
}

.footer h5 {
    margin-bottom: 20px;
    font-weight: 500;
}

.footer-top {
    padding: 30px 0;
}

.footer ul li {
    margin-bottom: 10px;
}

.social-icons {
    margin-top: 20px;
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 15px 0;
}

/* Ürün Detay Sayfası */
.product-detail .product-title {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 15px;
}

.product-detail .product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.product-detail .product-info {
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.product-detail .product-description {
    margin-bottom: 20px;
}

.product-detail .product-meta {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

/* Kullanıcı Formları */
.auth-form {
    max-width: 500px;
    margin: 0 auto;
    padding: 30px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.auth-form .form-group {
    margin-bottom: 20px;
}

.auth-form .form-control {
    padding: 10px;
    height: auto;
}

.auth-form .btn-primary {
    padding: 10px 20px;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.auth-form .btn-primary:hover {
    background-color: #0b365b;
    border-color: #0b365b;
}

/* Sepet */
.cart-table th, .cart-table td {
    vertical-align: middle;
}

.cart-table .product-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
}

.cart-summary {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
}

.cart-summary .total-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Ödeme Formu */
.payment-form {
    background-color: #fff;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Medya Sorguları */
@media (max-width: 992px) {
    .category-buttons {
        flex-wrap: wrap;
    }
    
    .btn-category {
        margin-bottom: 10px;
    }
}

@media (max-width: 768px) {
    .top-bar .text-right {
        text-align: center !important;
        margin-top: 10px;
    }
    
    .main-nav {
        margin-top: 15px;
    }
    
    .logo {
        text-align: center;
    }
    
    .product-card {
        margin-bottom: 30px;
    }
    
    .card-title {
        height: auto;
    }
}

@media (max-width: 576px) {
    .search-card .col-md-4 {
        margin-bottom: 15px;
    }
    
    .pagination .page-link {
        padding: 5px 10px;
    }
}

/* Geri sayım Stili */
.countdown-timer {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    font-weight: bold;
}

.countdown-item {
    background-color: var(--primary-color);
    color: white;
    padding: 5px 8px;
    border-radius: 4px;
    min-width: 32px;
    text-align: center;
    font-size: 16px;
}

.countdown-separator {
    margin: 0 5px;
    color: var(--primary-color);
    font-weight: bold;
}

/* Teslimat Bilgi Kutusu */
.delivery-info {
    border-left: 4px solid var(--primary-color);
    padding: 12px 15px;
    background-color: #f1f8fe;
    font-size: 0.95rem;
}

/* e-Devlet Butonu */
.edevlet-login .btn-danger {
    background-color: #cc1e1e;
    border-color: #b01919;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    font-weight: 500;
}

.edevlet-login .btn-danger:hover {
    background-color: #a11717;
    border-color: #901414;
} 