/* İhale Detay Sayfası CSS */
.ihale-detail-page {
    padding: 40px 20px;
    min-height: calc(100vh - 200px);
    background-color: #f5f5f5;
}

.ihale-detail-page .container-fluid {
    max-width: 1400px;
    margin: 0 auto;
}

/* Sol Sidebar Liste */
.ihale-detail-page .row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

.ihale-detail-page .sidebar-list {
    flex: 0 0 25%;
    max-width: 25%;
    padding-right: 20px;
    position: relative;
    z-index: 1;
}

.ihale-detail-page .content-area {
    flex: 0 0 75%;
    max-width: 75%;
    padding-left: 0;
}

.sidebar-menu-container {
    background-color: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 100px;
}

.sidebar-menu-header {
    background-color: transparent;
    padding: 20px;
    color: #333;
    border-radius: 8px 8px 0 0;
}

.sidebar-menu-header h2 {
    margin: 0;
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
    font-family: "Bebas Neue", cursive;
}

.sidebar-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    background-color: #f8f9fa;
}

.sidebar-menu-list li {
    border-bottom: 1px solid #e0e0e0;
}

.sidebar-menu-list li:last-child {
    border-bottom: none;
}

.sidebar-menu-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 16px;
    margin: 2px 5px;
    border-radius: 6px;
    background-color: transparent;
}

.sidebar-menu-item:hover {
    background-color: #e9ecef;
    color: #224a98;
    border-radius: 6px;
}

.sidebar-menu-item.active {
    background-color: transparent;
    color: #224a98;
    font-weight: bold;
    border-radius: 6px;
}

.menu-arrow {
    margin-right: 10px;
    font-size: 18px;
    color: #224a98;
    transition: transform 0.3s ease;
}

.sidebar-menu-item:hover .menu-arrow {
    transform: translateX(5px);
}

/* 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;
}

/* İhale Detay */
.ihale-detail {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-bottom: 40px;
}

.ihale-detail-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.ihale-detail-title {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.3;
    font-family: "Bebas Neue", cursive;
}

.ihale-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 14px;
    color: #666;
}

.ihale-detail-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.ihale-detail-meta i {
    color: #0080c9;
}

.ihale-deadline-date {
    color: #dc3545;
    font-weight: 600;
}

.ihale-deadline-date i {
    color: #dc3545;
}

.ihale-external-link {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #f0f0f0;
}

.btn-external-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background-color: #0080c9;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-external-link:hover {
    background-color: #1a3a7a;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 128, 201, 0.3);
}

.btn-external-link i {
    font-size: 16px;
}

/* İhale Dosyaları */
.ihale-files-section {
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #0080c9;
}

.ihale-files-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ihale-files-title i {
    color: #dc3545;
}

.ihale-files-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ihale-file-item {
    background: #fff;
    border-radius: 6px;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.ihale-file-item:hover {
    border-color: #0080c9;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.ihale-file-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease;
}

.ihale-file-link:hover {
    color: #0080c9;
}

.ihale-file-link i {
    font-size: 24px;
    color: #dc3545;
}

.ihale-file-link span {
    flex: 1;
    font-weight: 500;
}

.file-size {
    color: #999;
    font-size: 12px;
}

.ihale-detail-summary {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    border-left: 4px solid #0080c9;
}

.ihale-detail-summary p {
    font-size: 18px;
    line-height: 1.6;
    color: #555;
    margin: 0;
    font-weight: 500;
}

.ihale-detail-content {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.ihale-detail-content-text {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin-top: 30px;
}

.ihale-detail-content-text p {
    margin-bottom: 20px;
}

.ihale-detail-content-text img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

/* Responsive */
@media (max-width: 992px) {
    .ihale-detail-page .sidebar-list {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }

    .ihale-detail-page .content-area {
        flex: 0 0 66.666667%;
        max-width: 66.666667%;
    }
}

@media (max-width: 768px) {
    .ihale-detail-page {
        padding: 20px 15px;
    }

    .ihale-detail-page .sidebar-list {
        flex: 0 0 100%;
        max-width: 100%;
        padding-right: 0;
        margin-bottom: 20px;
    }

    .ihale-detail-page .content-area {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .sidebar-menu-container {
        position: relative;
        top: 0;
    }

    .ihale-detail-content {
        padding: 20px;
    }

    .ihale-detail {
        padding: 20px;
    }

    .ihale-detail-title {
        font-size: 28px;
    }

    .ihale-detail-meta {
        flex-direction: column;
        gap: 10px;
    }
}

