/* Equipment Listing Page Styles */
.equipment-hero {
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.95), rgba(26, 54, 93, 0.85)), 
                url('../images/equipment-bg.jpg') no-repeat center center/cover;
    color: white;
    padding: 6rem 0 4rem;
    margin-bottom: 3rem;
}

.equipment-card {
    border: 1px solid var(--color-gray-200);
    border-radius: 0.75rem;
    overflow: hidden;
    transition: all 0.3s ease;
    height: auto; /* Prevent stretching */
}

.equipment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

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

.price-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--color-secondary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-weight: 700;
    font-size: 1.1rem;
}

.badge-category {
    background: var(--color-primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Placeholder image styles */
.img-placeholder {
    background-color: #f8f9fa;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Ensure SVG placeholders scale properly */
.img-placeholder svg {
    max-width: 100%;
    height: auto;
    opacity: 0.7;
}

/* Style for empty image containers */
.equipment-img:not([src]) {
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
}

.search-card {
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: none;
}

.filter-section {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .equipment-hero {
        padding: 4rem 0 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
}
