/* İhaleler Sayfası CSS */

.ihaleler-page {
    padding-top: 150px;
    padding-bottom: 50px;
    background-color: #f5f5f5;
    min-height: 100vh;
}

.ihaleler-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Breadcrumb */
.breadcrumb {
    margin-bottom: 30px;
    font-size: 14px;
    color: #666;
}

.breadcrumb a {
    color: #0080c9;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #1a3a7a;
    text-decoration: underline;
}

.breadcrumb span {
    margin: 0 8px;
    color: #999;
}

/* Sayfa Başlığı */
.ihaleler-header {
    margin-bottom: 40px;
    text-align: center;
}

.ihaleler-title {
    font-size: 48px;
    font-weight: 700;
    color: #0080c9;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-family: "Bebas Neue", cursive;
}

.ihaleler-subtitle {
    font-size: 16px;
    color: #666;
    margin: 0;
}

/* İhaleler Grid */
.ihaleler-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.ihale-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ihale-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.ihale-item-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.ihale-item-content {
    padding: 25px;
}

.ihale-item-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ihale-item-summary {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ihale-item-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
    color: #666;
}

.ihale-item-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.ihale-item-meta i {
    color: #0080c9;
    font-size: 12px;
}

.ihale-deadline-date {
    color: #dc3545;
    font-weight: 600;
}

.ihale-deadline-date i {
    color: #dc3545;
}

/* Boş Durum */
.ihaleler-empty {
    text-align: center;
    padding: 80px 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.empty-icon {
    font-size: 80px;
    color: #ccc;
    margin-bottom: 20px;
}

.ihaleler-empty h3 {
    font-size: 24px;
    color: #666;
    margin-bottom: 10px;
}

.ihaleler-empty p {
    font-size: 16px;
    color: #999;
}

/* Responsive */
@media (max-width: 992px) {
    .ihaleler-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .ihaleler-page {
        padding-top: 120px;
        padding-bottom: 30px;
    }

    .ihaleler-container {
        padding: 0 15px;
    }

    .ihaleler-title {
        font-size: 36px;
    }

    .ihaleler-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

}

@media (max-width: 480px) {
    .ihaleler-title {
        font-size: 28px;
    }

    .ihale-item-content {
        padding: 20px;
    }

    .ihale-item-title {
        font-size: 18px;
    }

    .ihale-item-meta {
        flex-direction: column;
        gap: 8px;
    }
}

