﻿/* =========================================================
   TOUR LIST PAGE STYLES - Turizm360
   Tur Listeleme Sayfası Özel Stilleri
   ========================================================= */

/* --------------------------------------------------------- */
/* BREADCRUMB SECTION */
/* --------------------------------------------------------- */

.tour-list--breadcrumb {
    background: linear-gradient(135deg, #0d6efd 0%, #0dcaf0 100%);
    padding: 1rem 0;
    position: relative;
    overflow: hidden;
}

.tour-list--breadcrumb::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1469474968028-56623f02e42e?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover;
    opacity: 0.1;
}

.tour-list--breadcrumb-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 0;
}

.tour-list--breadcrumb .container {
    position: relative;
    z-index: 1;
}

.tour-list--breadcrumb .breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 0.8rem;
}

.tour-list--breadcrumb .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.tour-list--breadcrumb .breadcrumb-item a:hover {
    color: #ffffff;
}

.tour-list--breadcrumb .breadcrumb-item.active {
    color: #ffffff;
    font-size: 0.85rem;
}

.tour-list--breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.6);
    content: "›";
}

.tour-list--page-title {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.tour-list--page-subtitle {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    margin: 0;
}

/* --------------------------------------------------------- */
/* MAIN SECTION */
/* --------------------------------------------------------- */

.tour-list--main {
    background-color: #f8f9fa;
}

/* --------------------------------------------------------- */
/* MOBILE TOOLBAR */
/* --------------------------------------------------------- */

.tour-list--mobile-toolbar {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: #ffffff;
    padding: 0.8rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.tour-list--mobile-info {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex: 1;
    justify-content: flex-end;
}

.tour-list--mobile-info .tour-list--result-count {
    font-size: 0.8rem;
    color: #666;
    white-space: nowrap;
}

.tour-list--mobile-info .tour-list--sort-select {
    font-size: 0.75rem;
    padding: 0.4rem 1.5rem 0.4rem 0.6rem;
    min-width: auto;
}

/* --------------------------------------------------------- */
/* MOBILE FILTER TOGGLE BUTTON */
/* --------------------------------------------------------- */

.tour-list--filter-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #0dcaf0 0%, #0d6efd 100%);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.tour-list--filter-toggle:hover {
    background: linear-gradient(135deg, #0d6efd 0%, #0dcaf0 100%);
    transform: translateY(-2px);
}

.tour-list--filter-count {
    background: rgba(255,255,255,0.3);
    padding: 0.1rem 0.4rem;
    border-radius: 10px;
    font-size: 0.7rem;
}

/* --------------------------------------------------------- */
/* FILTER SIDEBAR */
/* --------------------------------------------------------- */

.tour-list--filters {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    padding: 0;
}

.tour-list--filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.2rem;
    border-bottom: 1px solid #eeeeee;
}

.tour-list--filter-header h5 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tour-list--filter-close {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: #6c757d;
    cursor: pointer;
    padding: 0.3rem;
}

/* Filter Card */
.tour-list--filter-card {
    padding: 1.2rem;
    border-bottom: 1px solid #f0f0f0;
}

.tour-list--filter-card:last-of-type {
    border-bottom: none;
}

.tour-list--filter-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1a1f2e;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tour-list--filter-title i {
    color: #0dcaf0;
    font-size: 1rem;
}

/* Search Box */
.tour-list--search-box {
    display: flex;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.tour-list--search-box:focus-within {
    border-color: #0dcaf0;
}

.tour-list--search-box input {
    flex: 1;
    border: none;
    padding: 0.7rem 1rem;
    font-size: 0.85rem;
    outline: none;
}

.tour-list--search-box button {
    background: #0d6efd;
    border: none;
    padding: 0 1rem;
    color: #ffffff;
    cursor: pointer;
    transition: background 0.3s ease;
}

.tour-list--search-box button:hover {
    background: #0b5ed7;
}

/* Checkbox Options */
.tour-list--filter-options {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.tour-list--checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 0.4rem 0;
    transition: all 0.2s ease;
}

.tour-list--checkbox input {
    display: none;
}

.tour-list--checkbox .checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid #d0d0d0;
    border-radius: 4px;
    margin-right: 0.7rem;
    position: relative;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.tour-list--checkbox input:checked + .checkmark {
    background: #0d6efd;
    border-color: #0d6efd;
}

.tour-list--checkbox input:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: bold;
}

.tour-list--checkbox .label-text {
    flex: 1;
    font-size: 0.85rem;
    color: #444444;
}

.tour-list--checkbox .count {
    font-size: 0.75rem;
    color: #999999;
}

.tour-list--checkbox:hover .checkmark {
    border-color: #0d6efd;
}

/* Price Range */
.tour-list--price-range {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tour-list--price-inputs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tour-list--price-input {
    display: flex;
    align-items: center;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 0.5rem 0.7rem;
    flex: 1;
}

.tour-list--price-input span {
    color: #999999;
    font-size: 0.85rem;
    margin-right: 0.3rem;
}

.tour-list--price-input input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 0.85rem;
}

.tour-list--price-separator {
    color: #999999;
    font-weight: 500;
}

.tour-list--range-slider {
    width: 100%;
    height: 6px;
    background: #e0e0e0;
    border-radius: 3px;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
}

.tour-list--range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    background: #0d6efd;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(13, 110, 253, 0.3);
}

/* Rating Options */
.tour-list--rating-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.tour-list--rating-option {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.5rem 0.7rem;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tour-list--rating-option:hover {
    border-color: #0dcaf0;
    background: rgba(13, 202, 240, 0.05);
}

.tour-list--rating-option input {
    display: none;
}

.tour-list--rating-option input:checked + .rating-stars + span {
    font-weight: 600;
    color: #0d6efd;
}

.tour-list--rating-option input:checked ~ .rating-stars i {
    color: #ffc107;
}

.tour-list--rating-option .rating-stars {
    display: flex;
    gap: 0.15rem;
}

.tour-list--rating-option .rating-stars i {
    color: #ffc107;
    font-size: 0.85rem;
}

.tour-list--rating-option .rating-stars i.bi-star {
    color: #dddddd;
}

.tour-list--rating-option span {
    font-size: 0.8rem;
    color: #6c757d;
}

/* Filter Actions */
.tour-list--filter-actions {
    display: flex;
    gap: 0.8rem;
    padding: 1.2rem;
    border-top: 1px solid #f0f0f0;
}

.tour-list--btn-clear,
.tour-list--btn-apply {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.7rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tour-list--btn-clear {
    background: #f5f5f5;
    border: 1px solid #dddddd;
    color: #6c757d;
}

.tour-list--btn-clear:hover {
    background: #eeeeee;
    color: #333333;
}

.tour-list--btn-apply {
    background: #0d6efd;
    border: none;
    color: #ffffff;
}

.tour-list--btn-apply:hover {
    background: #0b5ed7;
}

/* --------------------------------------------------------- */
/* TOOLBAR (Sıralama & Görünüm) */
/* --------------------------------------------------------- */

.tour-list--toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1rem 1.2rem;
    background: #ffffff;
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.tour-list--result-info {
    font-size: 0.9rem;
    color: #6c757d;
}

.tour-list--result-count strong {
    color: #1a1f2e;
}

.tour-list--sort-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tour-list--sort-wrapper label {
    font-size: 0.85rem;
    color: #6c757d;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.tour-list--sort-select {
    padding: 0.5rem 2rem 0.5rem 0.8rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.85rem;
    background: #ffffff url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23333' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e") no-repeat right 0.7rem center/10px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.tour-list--sort-select:focus {
    outline: none;
    border-color: #0dcaf0;
}

/* --------------------------------------------------------- */
/* ACTIVE FILTERS */
/* --------------------------------------------------------- */

.tour-list--active-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.25rem;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.tour-list--active-filter {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.6rem 0.5rem 1rem;
    background: linear-gradient(135deg, #0dcaf0 0%, #0d6efd 100%);
    border: none;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 82, 147, 0.25);
    transition: all 0.2s ease;
}

.tour-list--active-filter:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 82, 147, 0.35);
}

.tour-list--active-filter button {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    font-size: 0.75rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.2s ease;
}

.tour-list--active-filter button:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

.tour-list--clear-all {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #ef4444 0%, #c82333 100%);
    border: none;
    border-radius: 25px;
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    margin-left: auto;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.25);
    transition: all 0.2s ease;
}

.tour-list--clear-all:hover {
    background: linear-gradient(135deg, #c82333 0%, #bd2130 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.35);
}

/* --------------------------------------------------------- */
/* PAGINATION */
/* --------------------------------------------------------- */

.tour-list--pagination {
    display: flex;
    justify-content: center;
    margin-top: 2.5rem;
}

.tour-list--pagination .pagination {
    gap: 0.3rem;
}

.tour-list--pagination .page-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    color: #6c757d;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.tour-list--pagination .page-link:hover {
    background: #0dcaf0;
    border-color: #0dcaf0;
    color: #ffffff;
}

.tour-list--pagination .page-item.active .page-link {
    background: #0d6efd;
    border-color: #0d6efd;
    color: #ffffff;
}

.tour-list--pagination .page-item.disabled .page-link {
    background: #f5f5f5;
    color: #cccccc;
}

/* --------------------------------------------------------- */
/* RESPONSIVE - TABLET */
/* --------------------------------------------------------- */

@media (max-width: 992px) {
    .tour-list--filters {
        position: fixed;
        top: 0;
        left: -100%;
        width: 320px;
        height: 100vh;
        z-index: 1050;
        border-radius: 0;
        overflow: hidden;
        transition: left 0.3s ease;
        display: flex;
        flex-direction: column;
    }

    .tour-list--filters.active {
        left: 0;
    }

    .tour-list--filters form {
        display: flex;
        flex-direction: column;
        flex: 1;
        overflow: hidden;
    }

    /* Scroll wrapper - filtre kartlarını içerir */
    .tour-list--filter-scroll {
        flex: 1;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* Uygula/Temizle butonlarını sticky footer yap */
    .tour-list--filter-actions {
        flex-shrink: 0;
        background: #fff;
        border-top: 1px solid #eee;
        box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.1);
        z-index: 10;
    }

    .tour-list--filter-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1049;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .tour-list--filter-overlay.active {
        display: block;
        opacity: 1;
    }

    .tour-list--filter-header {
        display: flex !important;
    }

    .tour-list--page-title {
        font-size: 1.6rem;
    }

    .tour-list--toolbar {
        padding: 0.8rem 1rem;
    }

    .tour-list--sort-wrapper label {
        display: none;
    }
}

/* --------------------------------------------------------- */
/* RESPONSIVE - MOBILE */
/* --------------------------------------------------------- */

@media (max-width: 768px) {
    .tour-list--breadcrumb {
        padding: 1.5rem 0;
    }

    .tour-list--page-title {
        font-size: 1.4rem;
    }

    .tour-list--page-subtitle {
        font-size: 0.85rem;
    }

    .tour-list--toolbar {
        align-items: stretch;
        gap: 0.8rem;
    }

    .tour-list--result-info {
        text-align: center;
    }

    .tour-list--sort-wrapper {
        justify-content: center;
    }

    .tour-list--active-filters {
        justify-content: center;
    }

    .tour-list--pagination .page-link {
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }
}

/* --------------------------------------------------------- */
/* RESPONSIVE - SMALL MOBILE */
/* --------------------------------------------------------- */

@media (max-width: 400px) {
    .tour-list--filters {
        width: 100%;
    }

    .tour-list--page-title {
        font-size: 1.2rem;
    }

    .tour-list--filter-toggle {
        padding: 0.8rem 1rem;
        font-size: 0.85rem;
    }

    .tour-list--sort-select {
        font-size: 0.8rem;
        padding: 0.4rem 1.8rem 0.4rem 0.6rem;
    }
}

/* --------------------------------------------------------- */
/* OVERLAY FOR MOBILE FILTER */
/* --------------------------------------------------------- */

.tour-list--filter-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1040;
    display: none;
}

.tour-list--filter-overlay.active {
    display: block;
}





