/* ═══════════════════════════════════════════
   TOURS PAGE STYLES
   ═══════════════════════════════════════════ */

/* ── Hero ── */
.tours-page-hero {
    position: relative;
    height: 420px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    overflow: hidden;
}

.tours-page-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.tours-page-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
}

.tours-page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.15) 100%);
}

.tours-page-hero-content {
    position: relative;
    z-index: 2;
    padding-bottom: 48px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.7);
}

.breadcrumb a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: var(--amber);
}

.breadcrumb svg {
    width: 14px;
    height: 14px;
    stroke: rgba(255,255,255,0.5);
}

.tours-page-hero .section-tag {
    color: var(--amber);
    margin-bottom: 12px;
}

.tours-page-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 12px;
}

.tours-page-subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    max-width: 560px;
    line-height: 1.6;
}

/* ── Filter Bar ── */
.tours-filter-bar {
    position: sticky;
    top: 72px;
    z-index: 90;
    background: #fff;
    border-bottom: 1px solid var(--gray-100);
    padding: 16px 0;
}

.filter-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.filter-info {
    font-size: 0.95rem;
    color: var(--gray-500);
}

.filter-info strong {
    color: var(--gray-900);
    font-weight: 600;
}

.filter-actions {
    display: flex;
    gap: 8px;
}

.filter-btn {
    padding: 8px 20px;
    border-radius: 100px;
    border: 1.5px solid var(--gray-200);
    background: transparent;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-600);
    cursor: pointer;
    transition: all 0.25s ease;
}

.filter-btn:hover {
    border-color: var(--amber);
    color: var(--amber-dark);
}

.filter-btn.active {
    background: var(--olive);
    border-color: var(--olive);
    color: #fff;
}

/* ── Tours Page Grid ── */
.tours-page-grid-section {
    padding: 64px 0 80px;
    background: var(--gray-50);
}

.tours-page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 32px;
}

/* ── Tour Page Card ── */
.tp-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.04);
    transition: all 0.35s ease;
    display: flex;
    flex-direction: column;
}

.tp-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.1), 0 4px 12px rgba(0,0,0,0.06);
}

.tp-card-img {
    position: relative;
    height: 260px;
    overflow: hidden;
}

.tp-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.tp-card:hover .tp-card-img img {
    transform: scale(1.06);
}

.tp-card-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--gray-950);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 6px 14px;
    border-radius: 6px;
    z-index: 2;
}

.tp-badge-premium {
    background: linear-gradient(135deg, var(--olive), var(--amber));
}

.tp-badge-popular {
    background: linear-gradient(135deg, #059669, #10b981);
}

.tp-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: 1;
}

.tp-card:hover .tp-card-overlay {
    opacity: 1;
}

.tp-card-view-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #fff;
    color: var(--gray-900);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transform: translateY(12px);
    transition: all 0.35s ease;
}

.tp-card:hover .tp-card-view-btn {
    transform: translateY(0);
}

.tp-card-view-btn svg {
    width: 16px;
    height: 16px;
}

.tp-card-view-btn:hover {
    background: var(--olive);
    color: #fff;
}

/* ── Card Body ── */
.tp-card-body {
    padding: 24px 28px 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.tp-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 14px;
}

.tp-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    color: var(--amber-dark);
    font-weight: 500;
}

.tp-meta-item svg {
    width: 14px;
    height: 14px;
    stroke: var(--amber);
}

.tp-card-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 12px;
    line-height: 1.25;
}

.tp-card-desc {
    font-size: 0.92rem;
    color: var(--gray-500);
    line-height: 1.65;
    margin-bottom: 16px;
}

.tp-card-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

.tp-highlight {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--gray-600);
    background: var(--gray-50);
    padding: 5px 12px;
    border-radius: 100px;
}

.tp-highlight svg {
    width: 13px;
    height: 13px;
    stroke: #059669;
}

/* ── Card Footer ── */
.tp-card-footer {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--gray-100);
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
}

.tp-card-price {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.tp-price-label {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--gray-400);
    text-transform: uppercase;
}

.tp-price-amount {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1;
}

.tp-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--amber-dark);
    text-decoration: none;
    transition: all 0.25s;
    white-space: nowrap;
}

.tp-card-link:hover {
    color: var(--amber);
    gap: 10px;
}

.tp-card-link svg {
    width: 16px;
    height: 16px;
    transition: transform 0.25s;
}

.tp-card-link:hover svg {
    transform: translateX(3px);
}

/* ── Why Section ── */
.tours-why-section {
    padding: 80px 0;
    background: #fff;
}

.tours-why-header {
    text-align: center;
    margin-bottom: 48px;
}

.tours-why-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 700;
    color: var(--gray-900);
    margin-top: 12px;
}

.tours-why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.tours-why-card {
    text-align: center;
    padding: 36px 24px;
    border-radius: 16px;
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    transition: all 0.3s ease;
}

.tours-why-card:hover {
    background: #fff;
    border-color: var(--olive-100);
    box-shadow: 0 8px 32px rgba(85, 107, 47, 0.08);
    transform: translateY(-4px);
}

.tours-why-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--olive-50);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.tours-why-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--olive);
}

.tours-why-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.tours-why-card p {
    font-size: 0.88rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ── CTA Section ── */
.tours-cta-section {
    padding: 80px 0;
    background: var(--olive-dark);
}

.tours-cta-content {
    text-align: center;
    max-width: 560px;
    margin: 0 auto;
}

.tours-cta-content h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

.tours-cta-content p {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
    margin-bottom: 32px;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .tours-page-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tours-why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .tours-page-hero {
        height: 340px;
    }

    .tours-page-hero-content {
        padding-bottom: 32px;
    }

    .filter-bar-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .filter-actions {
        flex-wrap: wrap;
    }

    .tours-page-grid {
        grid-template-columns: 1fr;
    }

    .tours-why-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .tp-card-body {
        padding: 20px;
    }

    .tp-card-img {
        height: 220px;
    }

    .tp-card-highlights {
        gap: 8px;
    }
}

/* ── Animations ── */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
