/* 分类页特定样式 */

/* 当前页面导航项高亮 */
nav a.active {
    background-color: #ff8787;
}

/* 品种列表样式 */
.breed-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    padding: 1.5rem 0;
}

.breed-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
}

.breed-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.breed-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.breed-item:hover img {
    transform: scale(1.05);
}

.breed-info {
    padding: 2rem;
    background: linear-gradient(to bottom, rgba(255,255,255,0.95), #fff);
}

.breed-info h3 {
    color: #333;
    font-size: 1.6rem;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.breed-info h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #ff6b6b;
    transition: width 0.3s ease;
}

.breed-item:hover .breed-info h3::after {
    width: 100px;
}

.breed-info p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.view-detail {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: #ff6b6b;
    color: #fff;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.view-detail:hover {
    background-color: #ff8787;
    transform: translateX(5px);
    text-decoration: none;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .breed-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .breed-item img {
        height: 250px;
    }
}

@media (max-width: 768px) {
    .breed-list {
        grid-template-columns: 1fr;
    }
    
    .breed-item img {
        height: 200px;
    }
    
    .breed-info {
        padding: 1.5rem;
    }
} 