﻿/* ==========================================
   3SIGMA STUDIO - ANIMALS BESTIARY STYLES
   ========================================== */

/* Animals Bestiary Grid */
.animal-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 1.75rem;
}

.animal-card {
    background: #161616;
    border: 1px solid rgba(var(--color-primary-rgb), 0.15);
    border-radius: 16px;
    padding: 1.6rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    text-decoration: none;
    color: var(--color-text-main);
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1), 
                border-color 0.3s cubic-bezier(0.23, 1, 0.32, 1), 
                box-shadow 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}

.animal-card:hover {
    transform: translateY(-6px);
    border-color: rgba(var(--color-primary-rgb), 0.6);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.9), 0 0 25px rgba(var(--color-primary-rgb), 0.25);
    background: #1B1B1B;
}

.animal-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(var(--color-primary-rgb), 0.2);
    background: #0A0A0A;
}

.animal-names {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.animal-name {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    padding-bottom: 0.35rem;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

.animal-name:last-child {
    border-bottom: none;
}

.animal-name .lang {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--color-primary);
}

.animal-name .name {
    font-weight: 600;
    color: var(--color-text-main);
}

/* Individual Animal Detail View */
.animal-detail {
    background: #161616;
    border: 1px solid rgba(var(--color-primary-rgb), 0.2);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    max-width: 680px;
    margin: 0 auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.animal-detail img {
    width: 100%;
    max-height: 380px;
    object-fit: cover;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
    margin-bottom: 1.5rem;
}
