/* Showcase and Image Styles */

/* Showcase Section - Sắp xếp gọn gàng hơn */
.showcase {
    padding: 80px 0;
    background: var(--background-light);
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.showcase-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    height: 250px;
}

.showcase-item.large {
    grid-column: span 2;
    height: 320px;
}

.showcase-item.wide {
    grid-column: span 2;
    height: 200px;
}

.showcase-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.showcase-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.showcase-item:hover img {
    transform: scale(1.05);
}

.showcase-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 1.5rem;
    transform: translateY(100%);
    transition: all 0.3s ease;
}

.showcase-item:hover .showcase-overlay {
    transform: translateY(0);
}

.showcase-overlay h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.showcase-overlay p {
    margin: 0;
    opacity: 0.9;
    font-size: 0.85rem;
    line-height: 1.4;
}

/* Responsive adjustments cho showcase */
@media (max-width: 1024px) {
    .showcase-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.2rem;
    }
    
    .showcase-item.large,
    .showcase-item.wide {
        grid-column: span 1;
        height: 250px;
    }
}

@media (max-width: 768px) {
    .showcase {
        padding: 60px 0;
    }
    
    .showcase-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 2rem;
    }
    
    .showcase-item {
        height: 220px;
    }
    
    .showcase-item.large,
    .showcase-item.wide {
        height: 220px;
    }
    
    .showcase-overlay {
        padding: 1rem;
    }
    
    .showcase-overlay h3 {
        font-size: 1rem;
    }
    
    .showcase-overlay p {
        font-size: 0.8rem;
    }
}
