/* ===================================
   ARCHIVE GOLF TRIP - STYLES
   =================================== */

/* === Hero Banner === */
.archive-trip-hero {
    position: relative;
    width: 100%;
    height: 500px;
    background: url('https://images.unsplash.com/photo-1535131749006-b7f58c99034b?w=1600&q=80') center center / cover no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
}

.archive-trip-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.15) 100%);
    z-index: 1;
}

.archive-trip-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 0 15px;
}

.archive-trip-hero .hero-title {
    font-family: "eicons";
    font-size: 3.5rem;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: -1px;
    margin-bottom: 12px;
    text-shadow: 0 2px 11px rgba(0,0,0,0.6);
}

.archive-trip-hero .hero-sub-title {
    font-family: "Poppins", sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    color: #fff;
    max-width: 700px;
    margin: 0 auto;
    text-shadow: 0 2px 11px rgba(0,0,0,0.6);
    line-height: 1.7;
}

/* === Sort Tabs === */
.archive-trip-sort-section {
    background: transparent   ;
    position: relative;
    z-index: 50;
    margin-top: -50px;
}

.sort-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.sort-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 18px 15px;
    background: #f8f8f8;
    border-right: 1px solid #e0e0e0;
    color: #666;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.sort-tab:last-child {
    border-right: none;
}

.sort-tab i {
    color: #ffcc05;
    font-size: 15px;
}

.sort-tab:hover {
    background: #fff;
    color: #333;
    text-decoration: none;
}

.sort-tab.active {
    background: #fff;
    color: #333;
    position: relative;
}

.sort-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #ffcc05;
}

/* === Main Content Area === */
.archive-trip-content {
    padding: 50px 0 80px;
    background: #fff;
}

/* Results Count */
.trip-results-count {
    margin-bottom: 25px;
    font-size: 14px;
    color: #999;
    font-weight: 500;
}

.trip-results-count span {
    background: #f8f8f8;
    padding: 6px 14px;
    border-radius: 20px;
}

/* === Trip Grid (3 columns) === */
.trip-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.trip-card {
    background: #fff;
    border-bottom: 1px solid #eee;
    overflow: hidden;
    transition: all 0.3s ease;
}

.trip-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.trip-card-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.trip-card-link:hover {
    text-decoration: none;
    color: inherit;
}

/* Card Image */
.trip-card-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
    position: relative;
}

.trip-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.trip-card:hover .trip-card-image img {
    transform: scale(1.05);
}

/* Card Body */
.trip-card-body {
    padding: 22px 5px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.trip-card-title {
    font-family: "eicons";
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin: 0 0 8px 0;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.trip-card:hover .trip-card-title {
    color: #c8a415;
}

/* Price */
.trip-card-price {
    margin-bottom: 12px;
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.trip-card-price .price-amount {
    font-size: 22px;
    font-weight: 700;
    color: #333;
}

.trip-card-price .price-label {
    font-size: 14px;
    color: #999;
    font-weight: 400;
}

/* Description */
.trip-card-desc {
    font-size: 14px;
    color: #999;
    line-height: 1.7;
    margin: 0 0 15px 0;
    flex: 1;
}

/* Duration */
.trip-card-duration {
    font-size: 14px;
    color: #ffcc05;
    font-style: italic;
    display: flex;
    align-items: center;
    gap: 6px;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
    margin-top: auto;
}

.trip-card-duration i {
    color: #ffcc05;
    font-size: 14px;
}

/* === No Results === */
.no-results {
    text-align: center;
    padding: 60px 20px;
    color: #ccc;
}

.no-results i {
    font-size: 50px;
    margin-bottom: 20px;
    display: block;
}

.no-results h3 {
    font-size: 22px;
    color: #999;
    margin-bottom: 10px;
}

.no-results p {
    font-size: 14px;
    color: #bbb;
    margin-bottom: 20px;
}

.btn-reset-filters {
    display: inline-block;
    padding: 10px 25px;
    background: #ffcc05;
    color: #333;
    font-weight: 600;
    font-size: 14px;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-reset-filters:hover {
    background: #e6b800;
    text-decoration: none;
    color: #333;
}

/* === Pagination === */
.trip-pagination {
    margin-top: 40px;
    text-align: center;
}

.trip-pagination ul {
    list-style: none;
    display: inline-flex;
    gap: 5px;
    padding: 0;
    margin: 0;
}

.trip-pagination li {
    display: inline-block;
}

.trip-pagination a,
.trip-pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
}

.trip-pagination a:hover {
    background: #ffcc05;
    border-color: #ffcc05;
    color: #333;
    text-decoration: none;
}

.trip-pagination .current {
    background: #ffcc05;
    border-color: #ffcc05;
    color: #333;
    font-weight: 700;
}

/* === Search Sidebar === */
.archive-trip-sidebar {
    padding-left: 0;
}

.search-filter-wrapper {
    background: #f8f8f8;
    border-radius: 6px;
    padding: 25px;
    position: sticky;
    top: 130px;
}

.filter-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 25px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid #ffcc05;
}

.filter-group {
    margin-bottom: 20px;
}

.filter-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.filter-input-icon {
    position: relative;
}

.filter-input-icon i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #ffcc05;
    font-size: 14px;
    z-index: 1;
}

.filter-control {
    width: 100%;
    padding: 10px 12px 10px 38px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 14px;
    background: #fff;
    color: #333;
    transition: border-color 0.3s;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

select.filter-control {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23999' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 30px;
}

.filter-control:focus {
    border-color: #ffcc05;
    outline: none;
    box-shadow: 0 0 0 0.15rem rgba(255, 204, 5, 0.15);
}

/* Price Row */
.filter-price-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-price {
    flex: 1;
    padding: 10px 12px !important;
}

.filter-price-sep {
    color: #ccc;
    font-size: 14px;
    flex-shrink: 0;
}

/* Filter Buttons */
.btn-filter-search {
    width: 100%;
    padding: 12px;
    background: #ffcc05;
    color: #333;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 5px;
}

.btn-filter-search:hover {
    background: #e6b800;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 204, 5, 0.3);
}

.btn-filter-reset {
    display: block;
    text-align: center;
    margin-top: 12px;
    font-size: 13px;
    color: #999;
    text-decoration: none;
    transition: color 0.3s;
}

.btn-filter-reset:hover {
    color: #e74c3c;
    text-decoration: none;
}

/* ===================================
   RESPONSIVE
   =================================== */

@media (max-width: 1200px) {
    .trip-grid {
        gap: 25px;
    }
}

@media (max-width: 992px) {
    .archive-trip-hero {
        height: 400px;
    }

    .archive-trip-hero .hero-title {
        font-size: 2.5rem;
    }

    .trip-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .archive-trip-sidebar {
        padding-left: 0;
        margin-top: 40px;
    }

    .search-filter-wrapper {
        position: static;
    }

    .sort-tab {
        font-size: 11px;
        padding: 14px 10px;
    }
}

@media (max-width: 768px) {
    .archive-trip-hero {
        height: 350px;
    }

    .archive-trip-hero .hero-title {
        font-size: 2rem;
    }

    .archive-trip-hero .hero-sub-title {
        font-size: 0.95rem;
        padding: 0 10px;
    }

    .sort-tabs {
        flex-wrap: wrap;
    }

    .sort-tab {
        flex: 1 1 50%;
        border-bottom: 1px solid #e0e0e0;
    }

    .sort-tab:nth-child(2) {
        border-right: none;
    }

    .sort-tab:nth-child(4) {
        border-right: none;
    }

    .sort-tab span {
        font-size: 10px;
    }

    .trip-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .trip-card-image {
        height: 220px;
    }

    .trip-card-title {
        font-size: 18px;
    }

    .archive-trip-content {
        padding: 30px 0 50px;
    }
}

@media (max-width: 576px) {
    .archive-trip-hero {
        height: 300px;
    }

    .archive-trip-hero .hero-title {
        font-size: 1.6rem;
    }

    .sort-tab {
        padding: 12px 8px;
        gap: 5px;
    }

    .trip-card-image {
        height: 180px;
    }

    .trip-card-price .price-amount {
        font-size: 18px;
    }
}

