﻿.market-showcase-section {
    background: linear-gradient(120deg, #f4faf6 0%, #e3f3e7 100%);
    padding: 90px 60px;
    font-family: "Poppins", sans-serif;
    overflow: hidden;
}

.market-intro {
    text-align: center;
    margin-bottom: 60px;
    color: #064e3b;
}

    .market-intro h2 {
        font-size: 2.6rem;
        font-weight: 700;
        margin-bottom: 12px;
    }

    .market-intro p {
        font-size: 1.1rem;
        color: #333;
        max-width: 720px;
        margin: 0 auto;
        line-height: 1.7;
    }

/* ===== Gallery Layout ===== */
.market-gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.market-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    opacity: 0;
    transform: translateY(50px);
}

    .market-card.visible {
        opacity: 1;
        transform: translateY(0);
    }

    .market-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
    }

/* ===== Image Section ===== */
.market-image {
    position: relative;
    height: 320px;
    overflow: hidden;
}

    .market-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.8s ease;
    }

.market-card:hover .market-image img {
    transform: scale(1.1);
}

.img-overlay {
    position: absolute;
    inset: 0;
    background: rgba(6, 78, 59, 0.3);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.market-card:hover .img-overlay {
    opacity: 1;
}

/* ===== Content Section ===== */
.market-content {
    padding: 25px 20px 35px;
    text-align: center;
}

    .market-content h3 {
        font-size: 1.3rem;
        color: #064e3b;
        margin-bottom: 10px;
        font-weight: 600;
    }

    .market-content p {
        color: #555;
        font-size: 1rem;
        line-height: 1.6;
    }

/* ===== View More Button ===== */
.market-viewmore {
    text-align: center;
    margin-top: 50px;
}

.view-more-btn {
    background: linear-gradient(135deg, #064e3b, #16a34a);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 14px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 6px 15px rgba(6, 78, 59, 0.25);
}

    .view-more-btn:hover {
        background: linear-gradient(135deg, #0f766e, #22c55e);
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(6, 78, 59, 0.3);
    }

/* Animation Keyframes */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .market-intro h2 {
        font-size: 2rem;
    }

    .market-content h3 {
        font-size: 1.2rem;
    }

    .view-more-btn {
        padding: 12px 30px;
        font-size: 1rem;
    }
}
