﻿ 
.compact-field-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    height: 100%;
}

    .compact-field-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 30px rgba(26, 61, 145, 0.12);
    }

.card-header {
    background: var(--primary-gradient);
    color: white;
    padding: 1rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.5rem;
}

.header-main {
    flex: 1;
}

.field-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 0.25rem 0;
    line-height: 1.3;
}

.location {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    opacity: 0.9;
}

    .location i {
        font-size: 0.75rem;
    }

.rating {
    background: rgba(255, 255, 255, 0.15);
    padding: 0.3rem 0.6rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.8rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    flex-shrink: 0;
}

.field-image {
    position: relative;
    height: 160px;
    overflow: hidden;
}

    .field-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

.compact-field-card:hover .field-image img {
    transform: scale(1.05);
}

.special-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background: var(--accent-gradient);
    color: white;
    padding: 0.35rem 0.7rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: 0 2px 8px rgba(206, 11, 109, 0.3);
}

.quick-info {
    padding: 1rem 1.25rem 0.75rem;
    display: flex;
    gap: 1rem;
    border-bottom: 1px solid #f5f5f5;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #555;
}

    .info-item i {
        color: var(--primary-color-4);
        font-size: 0.8rem;
        width: 16px;
        text-align: center;
    }

.features {
    padding: 0.75rem 1.25rem;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.feature-tag {
    background: rgba(26, 61, 145, 0.08);
    color: var(--primary-color-4);
    padding: 0.3rem 0.6rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    transition: all 0.2s ease;
}

    .feature-tag:hover {
        background: rgba(26, 61, 145, 0.12);
        transform: translateY(-1px);
    }

    .feature-tag i {
        font-size: 0.7rem;
    }

.card-footer {
    padding: 1rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fafafa;
    border-top: 1px solid #f0f0f0;
}

.price {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.price-amount {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary-color-4);
    line-height: 1.2;
}

.price-label {
    font-size: 0.75rem;
    color: #666;
    margin-top: 0.1rem;
}

.reserve-btn {
    background: var(--primary-gradient);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(26, 61, 145, 0.2);
}

    .reserve-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(26, 61, 145, 0.3);
        color: white;
    }

/* Animation */
@keyframes cardEntrance {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.compact-field-card {
    animation: cardEntrance 0.5s ease-out;
}

/* Responsive */
@media (max-width: 768px) {
    .compact-field-card {
        margin-bottom: 1rem;
    }

    .card-header {
        padding: 0.875rem 1rem;
    }

    .field-name {
        font-size: 1rem;
    }

    .quick-info {
        padding: 0.875rem 1rem 0.625rem;
    }

    .features {
        padding: 0.625rem 1rem;
    }

    .card-footer {
        padding: 0.875rem 1rem;
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }

    .price {
        align-items: center;
    }

    .reserve-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Staggered animation */
.compact-field-card:nth-child(1) {
    animation-delay: 0.1s;
}

.compact-field-card:nth-child(2) {
    animation-delay: 0.15s;
}

.compact-field-card:nth-child(3) {
    animation-delay: 0.2s;
}

.compact-field-card:nth-child(4) {
    animation-delay: 0.25s;
}

.compact-field-card:nth-child(5) {
    animation-delay: 0.3s;
}

.compact-field-card:nth-child(6) {
    animation-delay: 0.35s;
}

 