/* Tours page styles only: keep header/sidebar/footer behavior from main.css */

.tours-page {
    background-color: #f8f6f2;
}

.tours-search-section {
    margin-top: -70px;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.tours-search-form {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
}

.tours-search-row {
    display: grid;
    grid-template-columns: 1.1fr 1.1fr auto;
    gap: 16px;
    align-items: end;
}

.tours-search-col label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.tours-search-col select,
.tours-search-col input[type="range"] {
    width: 100%;
}

.tours-search-col select {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    background: #fff;
}

.tours-search-col select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.1);
}

.price-value {
    color: var(--primary-color);
    font-weight: 700;
}

.tours-search-btn {
    border: none;
    border-radius: 8px;
    background: var(--primary-color);
    color: #fff;
    font-weight: 600;
    padding: 12px 20px;
    cursor: pointer;
    transition: 0.25s ease;
    min-width: 130px;
}

.tours-search-btn:hover {
    background: #d68910;
    transform: translateY(-1px);
}

.tours-cards-section {
    padding: 10px 0 70px;
}

.tours-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.tour-card {
    background: linear-gradient(180deg, #ffffff 0%, #fef9f2 100%);
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(230, 126, 34, 0.12);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.tour-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 38px rgba(0, 0, 0, 0.14);
    border-color: rgba(230, 126, 34, 0.3);
}

.tour-card-media {
    position: relative;
}

.tour-card-img {
    width: 100%;
    height: 230px;
    object-fit: cover;
}

.tour-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0, 0, 0, 0.72);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    border-radius: 999px;
    padding: 6px 10px;
    letter-spacing: 0.3px;
}

.tour-card-content {
    padding: 16px 16px 18px;
}

.tour-card-content h3 {
    font-size: 18px;
    margin: 0 0 8px;
    color: var(--secondary-color);
    line-height: 1.35;
}

.tour-card-location {
    margin: 0 0 12px;
    color: #616b77;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.tour-card-meta {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.tour-card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #4f5862;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 999px;
    padding: 5px 8px;
}

.tour-card-rating {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 13px;
}

.stars {
    color: #f4b400;
    font-weight: 700;
}

.tour-card-travelers {
    color: #777;
}

.tour-card-price {
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 12px;
}

.tour-card-btn {
    width: 100%;
    border: none;
    border-radius: 10px;
    background: var(--secondary-color);
    color: #fff;
    font-weight: 600;
    padding: 11px 12px;
    cursor: pointer;
    transition: 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
}

.tour-card-btn:hover {
    background: #1f2733;
}

.tours-best-seller-section {
    padding: 20px 0 80px;
}

.best-seller-container {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
    padding: 38px;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 34px;
    align-items: center;
}

.tours-best-seller-title {
    font-size: 34px;
    margin: 0 0 8px;
    color: var(--secondary-color);
    font-family: 'Playfair Display', serif;
}

.tours-best-seller-subtitle {
    font-size: 20px;
    margin: 0 0 14px;
    color: #2f3b4c;
}

.tours-best-seller-desc {
    color: #5c6470;
    line-height: 1.8;
    margin: 0 0 22px;
}

.tours-learn-more-btn {
    display: inline-flex;
    text-decoration: none;
    border-radius: 8px;
    background: var(--primary-color);
    color: #fff;
    font-weight: 600;
    padding: 11px 20px;
    transition: 0.25s ease;
}

.tours-learn-more-btn:hover {
    background: #d68910;
    transform: translateY(-1px);
}

.best-seller-right {
    display: grid;
    gap: 16px;
}

.best-seller-img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 12px;
}

.company-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.stat-item {
    border: 1px solid #ececec;
    border-radius: 12px;
    padding: 16px 12px;
    text-align: center;
    background: linear-gradient(180deg, #ffffff 0%, #fbf9f4 100%);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.company-stats .stat-item:nth-child(3) {
    grid-column: 1 / -1;
    max-width: 260px;
    justify-self: center;
}

.stat-number {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: 0.2px;
}

.stat-label {
    font-size: 12px;
    font-weight: 600;
    color: #59616c;
}

@media (max-width: 992px) {
    .tours-search-row {
        grid-template-columns: 1fr 1fr;
    }

    .tours-search-btn-col {
        grid-column: 1 / -1;
    }

    .tours-search-btn {
        width: 100%;
    }

    .tours-cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .best-seller-container {
        grid-template-columns: 1fr;
        padding: 28px;
    }
}

@media (max-width: 768px) {
    .tours-search-section {
        margin-top: -40px;
        margin-bottom: 34px;
    }

    .tours-search-form {
        padding: 16px;
    }

    .tours-search-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .tours-cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .tour-card-img {
        height: 140px;
    }

    .tour-card-content {
        padding: 12px;
    }

    .tour-card-content h3 {
        font-size: 14px;
    }

    .tour-card-location {
        font-size: 12px;
        margin-bottom: 8px;
    }

    .tour-card-meta {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 6px;
        margin-bottom: 8px;
    }

    .tour-card-meta span {
        flex: 1;
        min-width: 0;
        justify-content: center;
        font-size: 10px;
        white-space: nowrap;
        padding: 4px 6px;
    }

    .tour-card-rating {
        font-size: 11px;
    }

    .tour-card-price {
        font-size: 12px;
    }

    .tour-card-btn {
        font-size: 12px;
        padding: 9px 10px;
    }

    .tours-best-seller-title {
        font-size: 28px;
    }

    .tours-best-seller-subtitle {
        font-size: 18px;
    }

    .company-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .company-stats .stat-item {
        padding: 14px 8px;
    }

    .company-stats .stat-item:nth-child(3) {
        max-width: 220px;
    }

    .stat-number {
        font-size: 18px;
    }
}
