
/* Enhanced Main Slider with Sparkle and Proper Image Display */
.main-slider .slide {
    position: relative;
    height: 600px;
    overflow: hidden;
    background-color: #000;
}

    .main-slider .slide img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* Fill container */
        object-position: top; /* Crop from bottom */
        transition: transform 1.2s ease-in-out, opacity 1.2s ease-in-out;
    }

    /* Smooth zoom effect on active slide */
    .main-slider .slide.active img {
        transform: scale(1.05);
        opacity: 0.95;
    }

/* Overlay with gradient */
.main-slider .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,0.3));
    z-index: 5;
}

/* Slide content with gradient text */
.main-slider .slide-content {
    position: absolute;
    bottom: 20px;
    left: 40px;
    z-index: 10;
    color: #fff;
}

    .main-slider .slide-content h2 {
        font-size: 40px;
        font-weight: bold;
        margin: 0;
        background: linear-gradient(90deg, #d4af37, #fff);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .main-slider .slide-content p {
        font-size: 18px;
        max-width: 500px;
        margin-top: 10px;
        color: #fff;
    }

/* Thumbnail Slider Enhancements */
.thumb-slider .item {
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

    .thumb-slider .item img {
        width: 100%;
        height: 180px;
        object-position: top;
        object-fit: cover;
        border: 2px solid transparent;
        transition: transform 0.5s ease, border-color 0.3s ease;
    }

    .thumb-slider .item:hover img {
        transform: scale(1.1);
        border-color: #d4af37;
    }

    /* Sparkle effect for thumbnails */
    .thumb-slider .item::after {
        content: "";
        position: absolute;
        inset: 0;
        background-image: radial-gradient(circle, rgba(255,255,255,0.9) 0%, transparent 60%);
        background-size: 20px 20px;
        opacity: 0;
        pointer-events: none;
        z-index: 5;
    }

    .thumb-slider .item:hover::after {
        animation: sparkle 2s ease-out forwards;
    }

@keyframes sparkle {
    0% {
        opacity: 0;
        transform: scale(0.8) rotate(0deg);
    }

    20% {
        opacity: 0.9;
        transform: scale(1) rotate(45deg);
    }

    40% {
        opacity: 0.3;
        transform: scale(1.2) rotate(90deg);
    }

    60% {
        opacity: 0.8;
        transform: scale(1) rotate(135deg);
    }

    80% {
        opacity: 0.4;
        transform: scale(1.3) rotate(180deg);
    }

    100% {
        opacity: 0;
        transform: scale(1.5) rotate(225deg);
    }
}
