/* Hero Banner Section */
.hero-banner {
    background-image: url('../img/blank/blank-hero.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 40px 0;
    position: relative;
}

.hero-banner .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.breadcrumb {
    margin-bottom: 20px;
    text-align: center;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: white;
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.8);
    margin: 0 8px;
    font-size: 13px;
}

.hero-banner h1 {
    font-size: 36px;
    font-weight: 700;
    color: white;
    margin: 0;
}

/* Products Section */
.products-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.products-section {
    padding: 60px 0;
    background-color: #fff;
}

.products-section h2 {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 32px;
    font-family: 'Manrope', sans-serif;
}

/* Sticky filter bar (mobile) */
.filter-bar-sticky-wrap {
    margin-bottom: 24px;
}

/* Search and Filter Bar */
.search-filter-bar {
    display: flex;
    gap: 12px;
    margin-bottom: 0;
    flex-wrap: wrap;
    align-items: stretch;
}

.search-filter-bar .search-input {
    flex: 1 1 220px;
    min-width: 0;
    min-height: 44px;
}

.search-filter-bar .date-filter {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.search-filter-bar .date-filter .date-input {
    min-height: 44px;
}

/* Search actions row: Ara + Temizle same row, 50-50, same height & radius */
.search-actions {
    display: flex;
    gap: 12px;
    width: 100%;
    flex: 1 1 100%;
}

.search-actions .btn-search,
.search-actions .btn-clear {
    flex: 1;
    min-width: 0;
    min-height: 44px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.search-filter-bar .btn-search {
    flex-shrink: 0;
    white-space: nowrap;
    margin-left: 0;
    padding: 8px 40px;
    min-width: 120px;
    min-height: 44px;
    background: linear-gradient(135deg, #091A4B 0%, #243875 100%);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.search-filter-bar .btn-search:hover {
    opacity: 0.95;
}

.search-filter-bar .btn-clear {
    flex-shrink: 0;
    white-space: nowrap;
    padding: 8px 20px;
    min-width: 100px;
    min-height: 44px;
    background: #fff;
    color: #374151;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.search-filter-bar .btn-clear:hover {
    background: #f9fafb;
    border-color: #9ca3af;
    color: #111;
}

/* Category select – sadece mobilde görünür */
.category-select-mobile {
    display: none;
    position: relative;
    width: 100%;
    flex: 1 1 100%;
}

.category-select {
    width: 100%;
    min-height: 44px;
    padding: 12px 40px 12px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    color: #1a1a1a;
    background-color: #fff;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.category-select:focus {
    outline: none;
    border-color: #1e3a8a;
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.category-select-chevron {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #6b7280;
    font-size: 12px;
}

.date-filter-icon {
    color: #6b7280;
}

.search-input {
    padding: 12px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
}

.search-input:focus {
    outline: none;
    border-color: #1e3a8a;
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.date-filter {
    display: flex;
    gap: 10px;
    align-items: center;
}

.date-input {
    padding: 12px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    min-width: 0;
}

.date-input:focus {
    outline: none;
    border-color: #1e3a8a;
}

/* Filter Buttons (desktop only) */
.filter-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.filter-btn {
    padding: 10px 18px;
    border: 1px solid #e5e7eb;
    background-color: #fff;
    color: #374151;
    border-radius: 24px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
    font-family: 'Inter', sans-serif;
}

.filter-btn:hover {
    background-color: #f3f4f6;
    border-color: #d1d5db;
}

.filter-btn.active {
    background: linear-gradient(135deg, #091A4B 0%, #243875 100%);
    color: white;
    border-color: transparent;
}

/* Product List */
.product-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.product-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    transition: box-shadow 0.2s, border-color 0.2s;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.product-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border-color: #d1d5db;
}

.product-icon {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    color: white;
    flex-shrink: 0;
}

.product-icon.blue {
    background-color: #1e3a8a;
}

.product-icon.orange {
    background-color: #ff6600;
}

.product-icon.red {
    background-color: #dc2626;
}

.product-icon.product-icon-img {
    padding: 0;
    background: transparent;
}

.product-icon.product-icon-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.product-content {
    flex: 1;
    min-width: 0;
}

.product-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    margin-bottom: 6px;
}

.product-date {
    font-size: 12px;
    color: #6b7280;
}

.product-category {
    font-size: 12px;
    color: #6b7280;
}

.product-meta .product-category::before {
    content: "·";
    margin-right: 8px;
    color: #9ca3af;
}

.product-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 8px 0;
    line-height: 1.35;
}

.product-description {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin: 0 0 12px 0;
}

.product-action {
    flex-shrink: 0;
}

.btn-review {
    background: linear-gradient(135deg, #091A4B 0%, #243875 100%);
    color: #fff;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: opacity 0.2s;
    font-size: 14px;
    font-family: 'Manrope', sans-serif;
}

.btn-review:hover {
    opacity: 0.95;
}

.btn-review i {
    font-size: 12px;
}

/* Pagination – Araştırma Ürünleri */
.pagination-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 28px;
}

.pagination-container .pagination-btn {
    padding: 10px 16px;
    border: 1px solid #e5e7eb;
    text-decoration: none;
    color: #374151;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}

.pagination-container .pagination-btn:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
}

.pagination-container .pagination-btn.active {
    background: linear-gradient(135deg, #091A4B 0%, #243875 100%);
    color: white;
    border-color: transparent;
}

.products-section .pagination-info {
    text-align: center;
    margin-top: 16px;
    color: #6b7280;
    font-size: 14px;
}

.product-list-empty {
    text-align: center;
    padding: 40px 20px;
    color: #6b7280;
    font-size: 15px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Responsive – tablet */
@media (max-width: 992px) {
    .products-section {
        padding: 40px 0;
    }

    .products-section h2 {
        font-size: 24px;
        margin-bottom: 24px;
    }

    .search-filter-bar {
        flex-direction: column;
        gap: 12px;
    }

    .search-filter-bar .search-input {
        flex: 1 1 auto;
        width: 100%;
    }

    .search-filter-bar .date-filter {
        width: 100%;
    }

    .search-filter-bar .date-filter .date-input {
        flex: 1;
        min-width: 0;
    }

    .search-actions {
        display: flex;
        width: 100%;
    }

}

/* Responsive – mobil */
@media (max-width: 768px) {
    .hero-banner {
        padding: 28px 0;
    }

    .hero-banner h1 {
        font-size: 26px;
    }

    .products-section .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .products-section {
        padding: 32px 0;
    }

    .products-section h2 {
        font-size: 22px;
        margin-bottom: 20px;
    }

    /* Sticky filter bar on mobile */
    .filter-bar-sticky-wrap {
        position: sticky;
        top: 0;
        z-index: 20;
        background: #fff;
        padding: 0 0 12px 0;
        margin-bottom: 20px;
        border-bottom: 1px solid #f3f4f6;
    }

    /* Kategori selectbox sadece mobilde */
    .category-select-mobile {
        display: block;
    }

    /* Masaüstü chip'ler mobilde gizli */
    .filter-buttons {
        display: none;
    }

    /* Ara + Temizle same row, 50%–50%, same height & radius */
    .search-actions {
        display: flex;
        gap: 10px;
        width: 100%;
    }

    .search-actions .btn-search {
        flex: 1;
        min-height: 44px;
        border-radius: 8px;
        background: linear-gradient(135deg, #091A4B 0%, #243875 100%);
        color: #fff;
        border: none;
    }

    .search-actions .btn-clear {
        flex: 1;
        min-height: 44px;
        border-radius: 8px;
        background: #fff;
        color: #374151;
        border: 1px solid #d1d5db;
    }

    .product-item {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        padding: 16px;
    }

    .product-icon {
        width: 52px;
        height: 52px;
        min-width: 52px;
        font-size: 12px;
    }

    .product-meta .product-date,
    .product-meta .product-category {
        font-size: 11px;
        color: #6b7280;
    }

    .product-title {
        font-size: 15px;
        font-weight: 600;
    }

    .product-description {
        font-size: 13px;
        margin-bottom: 10px;
    }

    .product-action {
        width: 100%;
    }

    .btn-review {
        width: 100%;
        justify-content: center;
        min-height: 44px;
        padding: 12px 20px;
    }

    .pagination-container {
        margin-top: 24px;
        gap: 6px;
    }

    .pagination-container .pagination-btn {
        padding: 10px 14px;
        min-height: 44px;
        font-size: 13px;
    }

    .products-section .pagination-info {
        font-size: 13px;
        padding: 0 8px;
    }
}

/* Responsive – küçük mobil */
@media (max-width: 480px) {
    .hero-banner h1 {
        font-size: 22px;
    }

    .products-section .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .product-item-inner {
        padding: 12px;
    }

    .product-icon {
        width: 48px;
        height: 48px;
        min-width: 48px;
    }
}
