/* Recommendations page */

.rec-hero {
    position: relative;
    height: 50vh;
    min-height: 360px;
    background: url('https://images.unsplash.com/photo-1558042894-d2a0f2f26b3a?w=1600&q=80') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rec-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.6), rgba(0,0,0,0.3));
    z-index: 1;
}

.rec-hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    text-align: center;
    padding: 24px;
}

.rec-hero-content h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 12px;
}

.rec-hero-content p {
    font-size: 1.15rem;
    opacity: 0.9;
}

/* Filters */
.rec-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.filter-btn {
    padding: 10px 24px;
    border: 2px solid #e0e0e0;
    background: #fff;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    color: #555;
}

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

.filter-btn.active {
    background: #d42020;
    border-color: #d42020;
    color: #fff;
}

/* Grid */
.rec-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.rec-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
    transition: transform 0.3s, box-shadow 0.3s;
}

.rec-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

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

.rec-card-body {
    padding: 20px 24px 24px;
}

.rec-badge {
    display: inline-block;
    background: #fef2f2;
    color: #d42020;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.rec-card-body h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.rec-card-body p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 16px;
}

.rec-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

.rec-location {
    font-size: 0.8rem;
    color: #999;
}

.btn-small {
    padding: 8px 18px;
    background: #d42020;
    color: #fff;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    transition: background 0.2s;
}

.btn-small:hover {
    background: #b01a1a;
}

@media (max-width: 1024px) {
    .rec-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .rec-grid {
        grid-template-columns: 1fr;
    }
    .rec-hero {
        height: 40vh;
        min-height: 280px;
    }
    .rec-filters {
        gap: 8px;
    }
    .filter-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
}
