/*
    The tour package listing, ported from the $pageStyles block in pages/tours/index.php.

    Every rule lives under .tours-page or has a class name of its own. The two exceptions the old page
    made - it redefined .section-title and .section-subtitle - are scoped here, so they cannot change
    those headings on any other page.

    The filter bar (the band, the select, the pills, the reset link) is filters.css: it moved out when
    the activities listing needed the same one (#164). There --color-charcoal, which the old file
    used for the band, does not exist in this stylesheet: --color-dark-gray is its neighbour.
*/

.tours-page .section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--color-gold);
    margin-bottom: 0.5rem;
}

.tours-page .section-subtitle {
    color: var(--color-text-gray);
    font-size: 1rem;
}

.tours-page .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.tours-list {
    padding: 5rem 0;
    background: var(--color-black);
}

.tours-search {
    background: var(--color-black);
    padding: 2rem 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.featured-section {
    margin-bottom: 4rem;
}

/* ----------  Cards  ---------- */

.tours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.tour-card {
    background: rgba(26, 26, 26, 0.95);
    border: 1px solid rgba(212, 175, 55, 0.2);
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
}

.tour-card:hover {
    border-color: var(--color-gold);
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.tour-image {
    width: 100%;
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
}

/* A package with no image: a panel of the card's own colours, not a broken picture. */
.tour-image--empty {
    background: linear-gradient(135deg, #1a1a1a, #2a2418);
}

.tour-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #D4AF37 0%, #F3E5AB 100%);
    color: #0a0a0a;
    padding: 0.5rem 1rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.tour-badge--itinerary {
    background: rgba(39, 174, 96, 0.9);
    color: #fff;
}

.tour-content {
    padding: 2rem;
}

.tour-category {
    color: var(--color-gold);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.tour-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

.tour-tagline {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-style: italic;
}

.tour-summary {
    color: #aaa;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.tour-details {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding: 1rem 0;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.tour-detail-item {
    text-align: center;
}

.tour-detail-icon {
    color: var(--color-gold);
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.tour-detail-label {
    font-size: 0.7rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.tour-detail-value {
    font-size: 0.9rem;
    color: #fff;
    font-weight: 600;
}

.tour-price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 0.4rem;
}

.tour-price-from {
    font-size: 0.8rem;
    color: #888;
}

.tour-price-amount {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-gold);
    font-family: 'Montserrat', sans-serif;
}

.tour-price-note {
    font-size: 0.75rem;
    color: #666;
    margin-bottom: 1.5rem;
}

.tour-button {
    display: block;
    width: 100%;
    padding: 1rem;
    background: transparent;
    border: 2px solid var(--color-gold);
    color: var(--color-gold);
    text-align: center;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    transition: all 0.3s ease;
}

.tour-button:hover {
    background: var(--color-gold);
    color: var(--color-black);
}

.tour-button--inline {
    display: inline-block;
    width: auto;
    margin-top: 1rem;
}

.no-tours {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--color-text-gray);
}

.no-tours i {
    font-size: 4rem;
    color: #333;
    margin-bottom: 1rem;
}

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

    .tours-page .section-title {
        font-size: 2rem;
    }
}
