@import url('base.css');

/* Seção Featured Drops */
.featured-drops {
    padding: var(--spacing-xxl) 0;
    background-color: var(--bg-light);
    overflow: hidden;
}

.featured-drops .section-title {
    font-size: 3rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
    text-align: center;
}

.featured-drops .section-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: var(--spacing-xxl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

/* Container do carrossel */
.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.carousel-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
}

.product-card {
    flex: 0 0 auto;
    width: 350px;
    margin-right: var(--spacing-md);
    background-color: #f5f5f5;
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    position: relative;
    height: 450px;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.product-card:hover .product-image {
    transform: scale(1.08);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    padding: var(--spacing-lg) var(--spacing-md);
    color: var(--text-light);
    opacity: 0;
    transform: translateY(-30px);
    transition: all 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
}

.product-card:hover .product-overlay {
    opacity: 1;
    transform: translateY(0);
}

.product-title {
    font-size: 1.25rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin: 0;
    text-align: center;
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.1s;
}

.product-card:hover .product-title {
    opacity: 1;
    transform: scale(1);
}

.product-description {
    display: none;
}

/* Controles do carrossel */
.carousel-controls {
    display: flex;
    gap: var(--spacing-xs);
    margin-top: var(--spacing-lg);
    justify-content: center;
    padding: 0 var(--spacing-md);
}

.carousel-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.8);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--text-light);
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background-color: rgba(0, 0, 0, 0.9);
    transform: scale(1.05);
}

.carousel-btn:active {
    transform: scale(0.95);
}

/* Responsividade */
@media (max-width: 768px) {
    .featured-drops {
        padding: var(--spacing-xl) 0;
    }
    
    .featured-drops .section-title {
        font-size: 2rem;
    }
    
    .product-card {
        width: 280px;
        height: 380px;
        margin-right: var(--spacing-sm);
    }
    
    .product-title {
        font-size: 1.1rem;
    }
    
    .carousel-controls {
        margin-top: var(--spacing-md);
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .product-card {
        width: 250px;
        height: 320px;
    }
    
    .featured-drops .section-title {
        font-size: 1.5rem;
    }
    
    .product-title {
        font-size: 1rem;
        letter-spacing: 0.8px;
    }
    
    .product-overlay {
        padding: var(--spacing-md) var(--spacing-sm);
        min-height: 70px;
    }
    
    .carousel-btn {
        width: 38px;
        height: 38px;
    }
}