/**
 * Trek Cards Final Styling
 * Combines all fixes with elegant design
 */

/* Base card structure */
.trek-card-simple {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

/* Card body */
.trek-card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Card header area */
.trek-card-header {
    margin-bottom: 1rem;
}

/* Activity badge styling */
.activity-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Verified badge */
.verified-badge {
    display: inline-block;
    margin-left: 0.5rem;
    padding: 0.25rem 0.5rem;
    background: #059669;
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 4px;
}

/* Title styling */
.trek-card-title {
    margin: 0 0 0.75rem 0;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
}

.trek-card-title a {
    color: #1a202c;
    text-decoration: none;
    transition: color 0.3s ease;
}

/* Location styling */
.trek-location {
    margin: 0 0 1rem 0;
    color: #6b7280;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.location-icon {
    width: 16px;
    height: 16px;
}

/* Meta section */
.trek-meta {
    display: flex;
    gap: 1rem;
    margin-top: auto;
    flex-wrap: wrap;
}

/* Difficulty tags with proper colors */
.difficulty-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.625rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 12px;
}

.difficulty-tag.difficulty-easy {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
}

.difficulty-tag.difficulty-moderate {
    background: rgba(245, 158, 11, 0.1);
    color: #d97706;
}

.difficulty-tag.difficulty-challenging {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
}

.difficulty-tag.difficulty-difficult,
.difficulty-tag.difficulty-very-difficult {
    background: rgba(124, 58, 237, 0.1);
    color: #7c3aed;
}

/* Info items */
.distance-info,
.duration-info {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: #6b7280;
    font-size: 0.875rem;
}

.info-icon {
    width: 16px;
    height: 16px;
}

/* Card footer */
.trek-card-footer {
    padding: 1rem 1.5rem;
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
}

/* View link */
.view-trek-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #059669;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.arrow-icon {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}