@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;600;800;900&display=swap');

#heroCarousel {
    height: 650px;
    background: #fdfdfd;
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
    position: relative;
}

.carousel-inner, .carousel-item {
    height: 100%;
}

.carousel-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    width: 100%;
    padding: 0 10%;
    position: relative;
    z-index: 2;
}

/* Diagonal Background Effect */
.carousel-item::after {
    content: '';
    position: absolute;
    top: 0;
    right: -10%;
    width: 55%;
    height: 100%;
    background: linear-gradient(135deg, #ff4757 0%, #ff6b81 100%);
    transform: skewX(-12deg);
    z-index: 1;
    transition: all 1s ease;
}

/* Discount slide color (Dark background) */
.carousel-item:nth-child(3)::after {
    background: linear-gradient(135deg, #1e272e 0%, #485460 100%);
}

.carousel-text-section {
    flex: 1;
    z-index: 3;
}

.carousel-title {
    font-size: 1.8rem;
    font-weight: 300;
    color: #555;
    margin-bottom: 0;
    opacity: 0;
    transform: translateY(30px);
}

.carousel-subtitle {
    font-size: 4.5rem;
    font-weight: 800;
    color: #2f3542;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 10px;
    opacity: 0;
    transform: translateY(30px);
}

.carousel-highlight {
    font-size: 5.5rem;
    font-weight: 900;
    color: #ff4757;
    margin: 0;
    opacity: 0;
    transform: scale(0.5);
    display: block;
}

/* Image Section */
.carousel-image-section {
    flex: 1;
    z-index: 3;
    text-align: center;
    position: relative;
}

.carousel-product-image {
    max-width: 100%;
    filter: drop-shadow(30px 30px 40px rgba(0,0,0,0.25));
    transform: scale(0.7) rotate(15deg);
    opacity: 0;
    transition: all 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Button Styling */
.btn-carousel {
    display: inline-block;
    padding: 16px 40px;
    background: #ff4757;
    color: #fff !important;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-top: 30px;
    box-shadow: 0 10px 25px rgba(255, 71, 87, 0.4);
    opacity: 0;
    transition: 0.3s;
}

.btn-carousel:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(255, 71, 87, 0.5);
}

/* Promo Badge for Discount Slide */
.promo-badge {
    position: absolute;
    top: 50px;
    right: 50px;
    background: #ffdd59;
    color: #000;
    padding: 20px;
    border-radius: 50%;
    font-weight: 900;
    font-size: 0.8rem;
    z-index: 4;
    transform: rotate(15deg);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Animations */
.active .carousel-title { animation: fadeInUp 0.8s forwards 0.3s; }
.active .carousel-subtitle { animation: fadeInUp 0.8s forwards 0.5s; }
.active .carousel-highlight { animation: popIn 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards 0.8s; }
.active .carousel-product-image { opacity: 1; transform: scale(1) rotate(0deg); }
.active .btn-carousel { animation: fadeInUp 0.8s forwards 1.1s; }

@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }
@keyframes popIn { to { opacity: 1; transform: scale(1); } }

/* Mobile Responsive */
@media (max-width: 991px) {
    #heroCarousel { height: 500px; }
    .carousel-subtitle { font-size: 2.8rem; }
    .carousel-highlight { font-size: 3.5rem; }
    .carousel-item::after { width: 100%; transform: skew(0); right: 0; opacity: 0.15; }
    .carousel-content { flex-direction: column; text-align: center; padding-top: 50px; }
}