/* ===================================
   SHOWCASE CARDS - FULL IMAGE WITH TITLE OVERLAY
   =================================== */

/* Simple 2-Column Grid Layout */
.showcase-grid {
    display: grid !important;
    grid-template-columns: 1.5fr 1fr !important;
    grid-template-rows: repeat(3, 1fr) !important;
    gap: 1.5rem !important;
    max-width: 1280px !important;
    margin: 0 auto !important;
    height: 743px !important;
    width: 100% !important;
}

/* Mobile responsiveness for showcase grid */
@media (max-width: 768px) {
    .showcase-grid {
        grid-template-columns: 1fr !important;
        grid-template-rows: repeat(4, 1fr) !important;
        height: auto !important;
        gap: 1rem !important;
        padding: 1rem !important;
    }

    .showcase-card:nth-child(1) {
        grid-column: 1 !important;
        grid-row: 1 !important;
        min-height: 250px !important;
    }

    .showcase-card:nth-child(2) {
        grid-column: 1 !important;
        grid-row: 2 !important;
        min-height: 200px !important;
    }

    .showcase-card:nth-child(3) {
        grid-column: 1 !important;
        grid-row: 3 !important;
        min-height: 200px !important;
    }

    .showcase-card:nth-child(4) {
        grid-column: 1 !important;
        grid-row: 4 !important;
        min-height: 200px !important;
    }
}

@media (max-width: 480px) {
    .showcase-grid {
        padding: 0.5rem !important;
        gap: 0.75rem !important;
    }

    .showcase-card {
        min-height: 180px !important;
    }
}

/* Card Positioning */
.showcase-card:nth-child(1) {
    grid-column: 1 !important;
    grid-row: 1 / 4 !important;
    min-height: 100% !important;
}

.showcase-card:nth-child(2) {
    grid-column: 2 !important;
    grid-row: 1 !important;
    min-height: 100% !important;
}

.showcase-card:nth-child(3) {
    grid-column: 2 !important;
    grid-row: 2 !important;
    min-height: 100% !important;
}

.showcase-card:nth-child(4) {
    grid-column: 2 !important;
    grid-row: 3 !important;
    min-height: 100% !important;
}

/* Base card styling - Full image cards */
.showcase-card {
    border-radius: 20px;
    overflow: hidden;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    cursor: pointer;
    border: none;
    display: block;
    background: none;
}

/* Full Image Cards */
.showcase-card .card-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    border-radius: 20px;
}

.showcase-card .card-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: transform 0.4s ease;
}

/* Title overlay on image - Bottom positioned */
.showcase-card .card-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    z-index: 2;
    padding: 1rem;
}

.showcase-card .card-header h3 {
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
    margin: 0 0 0.75rem 0;
    line-height: 1.2;
    text-align: center;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
    background: rgba(0, 0, 0, 0.7);
    padding: 0.5rem 0.8rem;
    border-radius: 6px;
    backdrop-filter: blur(4px);
    max-width: 85%;
}

/* Remove description and product items */
.showcase-card .card-header p {
    display: none;
}

.showcase-card .card-header .category-products {
    display: none;
}

/* Hover effects */
.showcase-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.25),
        0 8px 24px rgba(0, 0, 0, 0.15);
}

.showcase-card:hover .card-background img {
    transform: scale(1.05);
}

.showcase-card:hover .card-header h3 {
    background: rgba(0, 0, 0, 0.8);
}

/* Responsive Design - Tablet */
@media (max-width: 1024px) {
    .showcase-grid {
        grid-template-columns: 1fr 1fr !important;
        grid-template-rows: repeat(3, 1fr) !important;
        gap: 1.2rem !important;
        height: 600px !important;
    }

    .showcase-card:nth-child(1) {
        grid-column: 1 !important;
        grid-row: 1 / 4 !important;
    }

    .showcase-card:nth-child(2) {
        grid-column: 2 !important;
        grid-row: 1 !important;
    }

    .showcase-card:nth-child(3) {
        grid-column: 2 !important;
        grid-row: 2 !important;
    }

    .showcase-card:nth-child(4) {
        grid-column: 2 !important;
        grid-row: 3 !important;
    }

    .showcase-card .card-content {
        padding: 0.8rem !important;
    }

    .showcase-card .card-header h3 {
        font-size: 0.8rem !important;
        padding: 0.4rem 0.6rem !important;
        margin-bottom: 0.5rem !important;
    }
}

/* Responsive Design - Mobile */
@media (max-width: 768px) {
    .showcase-grid {
        grid-template-columns: 1fr !important;
        grid-template-rows: repeat(4, 1fr) !important;
        gap: 1rem !important;
        height: auto !important;
        max-width: 400px !important;
    }

    .showcase-card:nth-child(1) {
        grid-column: 1 !important;
        grid-row: 1 !important;
    }

    .showcase-card:nth-child(2) {
        grid-column: 1 !important;
        grid-row: 2 !important;
    }

    .showcase-card:nth-child(3) {
        grid-column: 1 !important;
        grid-row: 3 !important;
    }

    .showcase-card:nth-child(4) {
        grid-column: 1 !important;
        grid-row: 4 !important;
    }

    .showcase-card .card-content {
        padding: 0.75rem !important;
    }

    .showcase-card .card-header h3 {
        font-size: 0.75rem !important;
        padding: 0.4rem 0.6rem !important;
        max-width: 90% !important;
        margin-bottom: 0.5rem !important;
    }
}

/* Dark mode adjustments */
[data-theme="dark"] .showcase-card .card-header h3 {
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .showcase-card:hover {
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 8px 24px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .showcase-card:hover .card-header h3 {
    background: rgba(0, 0, 0, 0.95);
}
