/* ======================================================
   US#5 – Packages & Search Bar Styles (packages.css)
   ====================================================== */

/* ---- Search Section ---- */
.search-section {
    background: linear-gradient(135deg, #1a1a2e, #0f3460);
    padding: 28px 24px;
}

.search-box {
    max-width: 620px;
    margin: 0 auto;
    position: relative;
}

.search-box i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #bbb;
    font-size: 1.1rem;
}

.search-box input {
    width: 100%;
    padding: 16px 18px 16px 50px;
    border: none;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-size: .98rem;
    color: #333;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .2);
    outline: none;
    transition: .3s;
}

.search-box input:focus {
    box-shadow: 0 4px 28px rgba(255, 95, 109, .35);
}

.search-box input::placeholder {
    color: #bbb;
}

.search-clear {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #ccc;
    cursor: pointer;
    font-size: 1rem;
    display: none;
    transition: .2s;
}

.search-clear:hover {
    color: #ff5f6d;
}

.search-clear.show {
    display: block;
}

/* ---- Filter Buttons ---- */
.filter-wrap {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 36px 0 28px;
}

.filter-btn {
    padding: 9px 24px;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    background: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: .88rem;
    font-weight: 600;
    cursor: pointer;
    color: #777;
    transition: .25s ease;
}

.filter-btn:hover {
    border-color: #ff5f6d;
    color: #ff5f6d;
}

.filter-btn.active {
    background: linear-gradient(135deg, #ff5f6d, #ffc371);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 14px rgba(255, 95, 109, .3);
}

/* ---- No results ---- */
.no-results {
    text-align: center;
    padding: 60px 20px;
    display: none;
    width: 100%;
}

.no-results.show {
    display: block;
}

.no-results i {
    font-size: 3rem;
    color: #ddd;
    margin-bottom: 14px;
}

.no-results p {
    color: #aaa;
    font-size: 1rem;
}

/* ---- Package Grid ---- */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 10px;
}

/* ---- Package Card ---- */
.pkg-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .08);
    transition: .3s ease;
    display: flex;
    flex-direction: column;
}

.pkg-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, .14);
}

.pkg-card.hidden {
    display: none;
}

.pkg-img-wrap {
    position: relative;
    overflow: hidden;
}

.pkg-img-wrap img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform .5s ease;
}

.pkg-card:hover .pkg-img-wrap img {
    transform: scale(1.06);
}

.pkg-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: linear-gradient(135deg, #ff5f6d, #ffc371);
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: .8px;
}

.pkg-price-tag {
    position: absolute;
    bottom: 14px;
    right: 14px;
    background: rgba(26, 26, 46, .88);
    color: #ffc371;
    font-size: .88rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 8px;
}

.pkg-body {
    padding: 22px 22px 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.pkg-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.pkg-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a2e;
}

.pkg-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: .8rem;
    color: #ffc371;
}

.pkg-rating span {
    color: #888;
}

.pkg-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
}

.pkg-meta span {
    font-size: .78rem;
    color: #777;
    display: flex;
    align-items: center;
    gap: 5px;
}

.pkg-meta i {
    color: #ff5f6d;
}

.pkg-desc {
    font-size: .85rem;
    color: #888;
    line-height: 1.6;
    margin-bottom: 18px;
    flex: 1;
}

.btn-book-now {
    display: block;
    text-align: center;
    padding: 11px 20px;
    background: linear-gradient(135deg, #ff5f6d, #ffc371);
    color: #fff;
    border-radius: 8px;
    font-size: .88rem;
    font-weight: 600;
    transition: .3s;
    box-shadow: 0 3px 12px rgba(255, 95, 109, .3);
}

.btn-book-now:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 95, 109, .45);
    color: #fff;
}

/* ======================================================
   US#10 – Responsive
   ====================================================== */
@media (max-width: 1024px) {
    .packages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 650px) {
    .packages-grid {
        grid-template-columns: 1fr;
    }

    .search-box input {
        font-size: .9rem;
    }
}