﻿/* ============================================
   CARDS COMPONENT
   ============================================ */

/* Product Cards */
.product-card {
    position: relative;
    overflow: hidden;
}

.product-card-badge {
    z-index: 10;
    transition: var(--transition-smooth);
}

.product-card:hover .product-card-badge {
    transform: scale(1.05);
}

a.product-card {
    display: block;
    color: inherit;
}

a.product-card:hover {
    transform: translateY(-12px) !important;
}

a.product-card .btn {
    transition: var(--transition-smooth);
}

a.product-card:hover .btn {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Teaser Cards */
.teaser-card {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    height: 400px;
    display: block;
    text-decoration: none;
    transition: var(--transition-smooth);
    background-attachment: scroll;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #f8f9fa;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.teaser-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.85) 0%,
            rgba(0, 0, 0, 0.5) 35%,
            rgba(0, 0, 0, 0.2) 60%,
            transparent 100%);
    z-index: 1;
    border-radius: 0;
}

.teaser-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.teaser-card img {
    display: none;
}

.teaser-content {
    position: absolute;
    bottom: 20%;
    transform: translateY(50%);
    left: 0;
    right: 0;
    z-index: 2;
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
}

.teaser-content h3 {
    font-size: 2.2rem;
    margin-bottom: 0.8rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    display: block;
}

.teaser-content .btn {
    background: linear-gradient(135deg, #2d5a27 0%, #3e7a36 100%);
    border-color: transparent;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    font-size: 1rem;
    padding: 0.8rem 2rem;
    display: inline-block;
    margin-top: 10px;
}

/* Breadcrumbs */
.breadcrumb-container {
    background: #ffffff;
    padding: 0.8rem 8%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    margin-top: 80px;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    list-style: none;
    font-size: 0.9rem;
    color: var(--text-light);
}

.breadcrumbs li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.breadcrumbs a {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.breadcrumbs a:hover {
    color: var(--primary-gold);
}

.breadcrumbs i {
    font-size: 0.7rem;
    color: rgba(0, 0, 0, 0.3);
}

.breadcrumbs li:last-child {
    color: var(--text-dark);
    font-weight: 400;
}

.breadcrumbs li:last-child i {
    display: none;
}

/* Responsive Teaser Cards */
@media (max-width: 768px) {
    .teaser-card {
        background-size: cover;
        background-position: center;
    }

    .teaser-card::before {
        width: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(to top,
                rgba(0, 0, 0, 0.85) 0%,
                rgba(0, 0, 0, 0.5) 40%,
                rgba(0, 0, 0, 0.2) 70%,
                transparent 100%);
        border-radius: 0;
    }

    .teaser-content {
        width: 100%;
        right: 0;
        left: 0;
        text-align: center;
        align-items: center;
    }
}
