﻿@section Styles {
    <link rel="stylesheet" href="~/Content/CSS/notified.css" / >
    <style >
    /* Compact Card Design */
    .veg-card {
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        border-radius: 12px;
        overflow: hidden;
        background: #fff;
        box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    }

    .veg-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    }

    .card-content-section {
        padding: 15px;
    }

    .product-title {
        font-size: 1.2rem;
        margin: 0 0 10px 0;
        font-weight: 600;
    }

    .varieties-section {
        margin-bottom: 12px;
    }

        .varieties-section h4 {
            font-size: 0.85rem;
            margin-bottom: 8px;
            color: #666;
        }

    .varieties {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
    }

    .variety-tag {
        display: inline-block;
        padding: 4px 10px;
        background: #f0f4f8;
        border-radius: 20px;
        font-size: 0.75rem;
        color: #2c5f2d;
        transition: all 0.2s ease;
        text-decoration: none;
    }

        .variety-tag:hover {
            background: #2c5f2d;
            color: #fff;
            transform: scale(1.02);
        }

    .features-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        margin-top: 12px;
    }

    .feature-item {
        font-size: 0.7rem;
        padding: 4px 6px;
        background: #f8f9fa;
        border-radius: 6px;
        display: flex;
        align-items: center;
        gap: 5px;
    }

        .feature-item i {
            font-size: 0.75rem;
            color: #4caf50;
        }

    .note-compact {
        padding: 6px 10px;
        background-color: #e8f5e9;
        border-left: 3px solid #4caf50;
        border-radius: 4px;
        margin: 10px 0 0 0;
    }

        .note-compact p {
            margin: 0;
            color: #2e7d32;
            font-size: 0.7rem;
        }

    .category-badge, .harvest-badge, .product-badge {
        font-size: 0.7rem;
        padding: 3px 8px;
    }

    .section-header {
        margin-bottom: 25px;
    }

        .section-header h2 {
            font-size: 1.6rem;
        }

    .vegetable-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
        gap: 20px;
    }

    .page-header {
        background: linear-gradient(135deg, #1a5f1a 0%, #0d3b0f 100%);
        color: white;
        padding: 60px 0;
        text-align: center;
    }

    .header-stats {
        display: flex;
        justify-content: center;
        gap: 40px;
        margin-top: 30px;
        flex-wrap: wrap;
    }

    .stat {
        display: flex;
        align-items: center;
        gap: 15px;
    }

        .stat i {
            font-size: 2rem;
            color: #ffc107;
        }

    .stat-number {
        font-size: 1.5rem;
        font-weight: bold;
        display: block;
    }

    .stat-label {
        font-size: 0.8rem;
        opacity: 0.9;
    }

    .cta-section {
        background: linear-gradient(135deg, #f9a825 0%, #f57f17 100%);
        color: white;
        padding: 50px 0;
        text-align: center;
    }

    .btn-primary {
        background: white;
        color: #f57f17;
        padding: 12px 30px;
        border-radius: 30px;
        text-decoration: none;
        font-weight: bold;
        transition: all 0.3s ease;
        display: inline-block;
    }

        .btn-primary:hover {
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        }

    .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
    }
    /* ============================================ */
    /* FIXED: FULL IMAGES - NO CROPPING */
    /* ============================================ */
    .card-image-section {
        position: relative;
        width: 100%;
        background: #f8f9fa;
        flex-shrink: 0;
        overflow: hidden;
        /* Removed fixed height */
    }

    .image-container {
        width: 100%;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #f8f9fa;
    }
        /* THE FIX: Full images without cropping */
        .image-container img {
            width: 100%;
            height: auto;
            object-fit: contain;
            object-position: center;
            transition: transform 0.3s ease;
            display: block;
            background: #f8f9fa;
        }
    /* Hover effect - subtle zoom */
    .veg-card:hover .image-container img {
        transform: scale(1.02);
    }

    .image-overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 10px;
        background: linear-gradient(transparent, rgba(0,0,0,0.7));
        display: flex;
        justify-content: space-between;
    }

    .product-badge {
        position: absolute;
        top: 10px;
        right: 10px;
        background: #ffc107;
        color: #333;
        border-radius: 20px;
        padding: 3px 10px;
        font-size: 0.7rem;
        font-weight: bold;
    }

    .card-actions {
        display: none;
    }
    /* Responsive adjustments */
    @media (max-width: 768px) {
        .card-image-section {
            max-height: none;
        }
    }

    </style>
}
