/* Reusable card styles for entity lists (trips, campgrounds, etc.) */

.trip-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s, box-shadow 0.2s;
    height: 300px;
}

.trip-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.trip-card-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.trip-card-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 6px 12px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.trip-card-badge-text {
    color: white !important;
    margin: 0 !important;
    font-weight: 600 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.trip-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(39,39,47,0) 0%, rgba(39,39,47,0.6) 80%, rgba(39,39,47,0.7) 90%, rgba(39,39,47,0.9) 100%);
    display: flex;
    align-items: flex-end;
}

.trip-card-content {
    padding: 1rem 1.5rem 0.75rem 1.5rem;
    width: 100%;
}

.trip-card-title {
    color: white !important;
    margin: 0 0 0.25rem 0 !important;
    font-weight: 600 !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.trip-card-subtitle {
    margin: 0 !important;
    opacity: 0.95;
    color: white !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
