/* Animals Page Styles */

/* 1. Hero overrides */
.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
}

/* 2. Catalog Header & Filters */
.animals-catalog {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.catalog-header {
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.catalog-header h2 {
    color: #333;
    font-size: 2.5rem;
}

.catalog-header p {
    color: #666;
    margin-bottom: 2rem;
}

.filter-bar {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: white;
    border: 2px solid #e0e0e0;
    padding: 0.6rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    color: #555;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.filter-btn.active {
    background: #abde5b;
    border-color: #abde5b;
    color: white;
    box-shadow: 0 4px 10px rgba(171, 222, 91, 0.4);
}

/* 3. Animals Grid */
.animals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

/* 4. Animal Card Design */
.animal-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
}

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

/* Card Image & Overlay */
.card-img {
    height: 240px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.card-overlay {
    position: absolute;
    top: 1rem;
    left: 1rem;
}

.tag {
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.tag-dog {
    background-color: #3498db;
    /* Blue for dogs */
}

.tag-cat {
    background-color: #e67e22;
    /* Orange for cats */
}

/* Card Content */
.card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.header-row h3 {
    margin: 0;
    font-size: 1.4rem;
    color: #333;
}

.gender-icon {
    font-size: 1.2rem;
}

.gender-icon.male {
    color: #3498db;
}

.gender-icon.female {
    color: #e91e63;
}

/* Badges (Age/Race) */
.badges-row {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.badge {
    background: #f0f2f5;
    color: #555;
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.badge i {
    color: #abde5b;
}

/* Description */
.description {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.5;
    flex-grow: 1;
}

/* Compatibility */
.compatibility-row {
    margin-bottom: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #f0f0f0;
}

.comp-label {
    display: block;
    font-size: 0.8rem;
    font-weight: bold;
    color: #888;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.comp-icons {
    display: flex;
    gap: 1.5rem;
}

.comp-item {
    font-size: 0.9rem;
    color: #555;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.status-icon {
    font-size: 0.8rem;
}

.text-success {
    color: #2ecc71;
}

.text-danger {
    color: #e74c3c;
}

/* Full width button */
.btn-full {
    width: 100%;
    text-align: center;
}