/* ===== Hunderassen Seiten-spezifische Styles ===== */

/* Seitentitel Bereich */
.page-title {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('img/rassen/hero-breeds.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 4rem 2rem;
    margin-bottom: 3rem;
}

.page-title h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.page-title p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* Filter-Bereich */
.filters {
    background-color: white;
    padding: 2rem;
    margin-bottom: 3rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    text-align: center;
}

.filters h3 {
    color: #2d3748;
    margin-bottom: 1rem;
    font-family: 'Montserrat', sans-serif;
}

.filters select {
    padding: 0.8rem 1.5rem;
    margin: 0 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 5px;
    background-color: white;
    font-family: 'Open Sans', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filters select:hover {
    border-color: #4a90e2;
}

.filters select:focus {
    outline: none;
    border-color: #4a90e2;
    box-shadow: 0 0 0 3px rgba(74,144,226,0.2);
}

/* Rassen-Grid */
.breed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    padding: 0 2rem;
}

/* Rassen-Karten */
.breed-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.breed-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.breed-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.breed-card:hover img {
    transform: scale(1.05);
}

.breed-card h3 {
    font-family: 'Montserrat', sans-serif;
    color: #2d3748;
    padding: 1.5rem 1.5rem 0.5rem;
    margin: 0;
}

.breed-card p {
    padding: 0 1.5rem;
    color: #4a5568;
    flex-grow: 1;
}

.breed-card .btn-small {
    margin: 1rem 1.5rem 1.5rem;
    align-self: flex-start;
}

/* Animation für neue Karten */
.breed-card {
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-title h1 {
        font-size: 2.5rem;
    }
    
    .filters select {
        width: 100%;
        margin: 0.5rem 0;
    }
    
    .breed-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
}

/* Print Styles */
@media print {
    .filters {
        display: none;
    }
    
    .breed-card {
        break-inside: avoid;
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .breed-card img {
        max-height: 150px;
    }
}
