@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Anta&family=Goldman:wght@400;700&display=swap');

.showcase-section {
    background: #1f1f1f;
    padding: 0;
    margin: 0;
    display: block;
}

.showcase-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 160px 40px 160px;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(4, 270px);
    gap: 20px;
}

/* Box Size Classes */
.large-box {
    grid-column: 1 / 4;
    grid-row: 1 / 3;
}

.medium-box:nth-of-type(2) {
    grid-column: 4 / 7;
    grid-row: 1 / 2;
}

.medium-box:nth-of-type(3) {
    grid-column: 4 / 7;
    grid-row: 2 / 3;
}

.tall-box {
    grid-column: 1 / 3;
    grid-row: 3 / 5;
}

/* Expanded Accessories Box */
.small-box:nth-of-type(5) {
    grid-column: 3 / 7;
    grid-row: 3 / 4;
}

.small-box:nth-of-type(6) {
    grid-column: 3 / 5;
    grid-row: 4 / 5;
}

.small-box:nth-of-type(7) {
    grid-column: 5 / 7;
    grid-row: 4 / 5;
}

/* Showcase Item Base Styles */
.showcase-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s ease;
    background: #000;
}

.showcase-item:hover {
    transform: scale(1.03);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

/* Video Styles */
.showcase-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.showcase-item:hover .showcase-video {
    transform: scale(1);
}

/* Image Styles */
.showcase-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.6s ease;
}

.showcase-item:hover .showcase-image {
    transform: scale(1);
}

/* Overlay Styles */
.showcase-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.3));
    color: white;
    transition: all 0.4s ease;
    z-index: 2;
    pointer-events: none;
}

.showcase-item:hover .showcase-overlay {
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
}

/* Typography */
.showcase-overlay h2 {
    font-family: 'Sora', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: margin-bottom 0.8s ease;
}

.showcase-overlay h3 {
    font-family: 'Sora', sans-serif;
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 12px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: margin-bottom 0.8s ease;
}

.showcase-overlay p {
    font-family: 'Roboto', sans-serif;
    font-size: 1.1rem;
    font-weight: 300;
    color: #cccccc;
    margin-bottom: 25px;
    line-height: 1.4;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transform: translateY(10px);
    transition: all 0.8s ease;
}

.showcase-item:hover .showcase-overlay p {
    opacity: 1;
    max-height: 100px;
    transform: translateY(0);
}

.showcase-item:hover .showcase-overlay h2 {
    margin-bottom: 15px;
}

.showcase-item:hover .showcase-overlay h3 {
    margin-bottom: 12px;
}

/* Button Styles */
.showcase-btn {
    background: transparent;
    color: #fff;
    border: 3px solid #fff;
    padding: 14px 32px;
    font-family: 'Goldman', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
    z-index: 100;
    pointer-events: auto;
    display: inline-block;
}

.showcase-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgb(255, 187, 0);
    transition: all 0.5s ease;
    z-index: -1;
}

.showcase-btn:hover::before {
    left: 0;
}

.showcase-btn:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 15px 40px rgba(255, 187, 0, 0.4) !important;
    color: #000 !important;
    border-color: rgb(255, 187, 0);
}

.showcase-btn:active {
    transform: translateY(-1px) !important;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .showcase-container {
        padding: 40px 80px 8px 80px;
    }
    
    .showcase-grid {
        grid-template-rows: repeat(6, 180px);
        gap: 15px;
    }
    
    .showcase-overlay h2 {
        font-size: 2rem;
    }
    
    .showcase-overlay h3 {
        font-size: 1.5rem;
    }
    
    .showcase-overlay p {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .showcase-container {
        padding: 20px 50px 5px 50px;
    }
    
    .showcase-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(8, 200px);
        gap: 20px;
    }
    
    .large-box,
    .medium-box:nth-of-type(2),
    .medium-box:nth-of-type(3),
    .tall-box,
    .small-box:nth-of-type(5),
    .small-box:nth-of-type(6),
    .small-box:nth-of-type(7) {
        grid-column: 1;
        grid-row: auto;
    }
    
    .showcase-overlay {
        padding: 30px;
        transform: translateY(0);
        opacity: 1;
        background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    }
    
    .showcase-overlay h2 {
        font-size: 1.8rem;
    }
    
    .showcase-overlay h3 {
        font-size: 1.4rem;
    }
    
    .showcase-overlay p {
        font-size: 0.95rem;
    }
    
    .showcase-btn {
        padding: 10px 25px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .showcase-container {
        padding: 15px 30px 5px 30px;
    }
    
    .showcase-grid {
        grid-template-rows: repeat(8, 180px);
        gap: 15px;
    }
    
    .showcase-overlay {
        padding: 20px;
    }
    
    .showcase-overlay h2 {
        font-size: 1.5rem;
    }
    
    .showcase-overlay h3 {
        font-size: 1.2rem;
    }
    
    .showcase-overlay p {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    
    .showcase-btn {
        padding: 8px 20px;
        font-size: 0.75rem;
    }
}

/* Hover Effects Enhancement */
@media (hover: hover) {
    .showcase-item::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255, 187, 0, 0.1);
        opacity: 0;
        transition: opacity 0.4s ease;
        z-index: 1;
        pointer-events: none;
        display: none; /* Disable yellow overlay */
    }
    
    .showcase-item:hover::before {
        opacity: 0; /* Keep overlay hidden */
    }
    
    .showcase-overlay {
        z-index: 5;
        pointer-events: none;
    }
    
    .showcase-btn {
        z-index: 100;
        pointer-events: auto;
    }
}

/* Force button interactions to work */
.showcase-overlay .showcase-btn {
    pointer-events: auto !important;
    z-index: 100 !important;
    position: relative !important;
}
