﻿.site-card-custom {
    background: rgba(255, 255, 255, 0.07);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    height: 100%;
}

.back-side-card-custom {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    border-radius: 10px;
    height: 100%;
}

/* =====================================================
   Product Section – Primary Read More Button
   ===================================================== */

#product .site-button-custom {
    background-color: #0d6efd; /* Bootstrap primary */
    color: #ffffff;
    padding: 0.55rem 1.25rem;
    border-radius: 999px; /* pill style */
    font-weight: 500;
    text-decoration: none;
    border: 1px solid transparent;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

    /* Hover */
    #product .site-button-custom:hover {
        background-color: #0b5ed7;
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(13, 110, 253, 0.35);
        color: #ffffff;
    }

    /* Active */
    #product .site-button-custom:active {
        transform: translateY(0);
        box-shadow: 0 4px 12px rgba(13, 110, 253, 0.25);
    }

    /* Focus */
    #product .site-button-custom:focus-visible {
        outline: none;
        box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
    }


#product-slider {
    /*    outline: 2px solid red;*/
    transition: transform 0.5s ease;
    scroll-padding-right: 15px;
    -ms-overflow-style: none; 
    scrollbar-width: none;
}
    #product-slider::-webkit-scrollbar {
        display: none; /* Safari and Chrome */
    }

    #product-slider > .card {
        flex: 0 0 calc(33.333% - 1.5rem) !important;
        margin: 0 0.75rem;
    }

    #product-slider img {
        height: 80%;
        object-fit: cover;
        width: 100%;
    }

.card-wrapper {
    perspective: 1000px;
    flex: 0 0 calc(33.333% - 1.5rem);
    min-width: calc(33.333% - 1.5rem);
    max-width: calc(33.333% - 1.5rem);
    min-height: 50vh;
    position: relative;
    margin: 0 0.75rem;
}

/* Tablet styles (2 columns) */
@media (min-width: 689px) and (max-width: 992px) {
    #product-slider > .card,
    .card-wrapper {
        flex: 0 0 calc(50% - 1.5rem) !important;
        min-width: calc(50% - 1.5rem) !important;
        max-width: calc(50% - 1.5rem) !important;
        margin: 0 0.75rem;
    }
}

/* Mobile styles (1 column) */
@media (max-width: 688px) {
    #slider-container {
        width: 100% !important;
        padding-right: 15px;
    }

    #product-slider > .card {
        flex: 0 0 100% !important;
        margin: 0 5px;
    }

    .btn-outline-light {
        padding: 0.8rem !important;
        font-size: 0.9rem;
    }

    .card-wrapper {
        flex: 0 0 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        margin-right: 0 !important;
    }
}

.flip-card-inner {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.8s ease;
}

.card-wrapper:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 10px;
}

.flip-card-back {
    transform: rotateY(180deg);
}


.product-box {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40vh;
    overflow: hidden;
}

.floating-box {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 10px;
    animation: animate 5s ease-in-out infinite;
    z-index: 0;
    pointer-events: none;
}

.box1 {
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(#f9d924, #ff2c24);
}

.box2 {
    top: 20%;
    left: 75%;
    background: linear-gradient(#01d6ff, #0f24f9);
    animation-delay: -2.5s;
}

.box3 {
    top: 50%;
    left: 90%;
    background: linear-gradient(#e0c3fc, #8ec5fc);
    animation-delay: -1.5s;
}

.box4 {
    bottom: 20%;
    left: 75%;
    background: linear-gradient(#00ff87, #60efff);
    animation-delay: -3s;
}

.box5 {
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(#ff7eb3, #ff758c);
    animation-delay: -1s;
}

.box6 {
    bottom: 15%;
    left: 25%;
    background: linear-gradient(#ffe29f, #ffa99f);
    animation-delay: -2s;
}

.box7 {
    bottom: 50%;
    left: 10%;
    background: linear-gradient(#f9f586, #e2ffb3);
    animation-delay: -3.5s;
}

.box8 {
    top: 15%;
    left: 25%;
    background: linear-gradient(#8fd3f4, #84fab0);
    animation-delay: -4s;
}

.box9 {
    top: 35%;
    left: 40%;
    background: linear-gradient(#fccb90, #d57eeb);
    animation-delay: -1.8s;
}

.box10 {
    top: 35%;
    left: 60%;
    background: linear-gradient(#c6ffdd, #fbd786, #f7797d);
    animation-delay: -2.2s;
}

@keyframes animate {
    0%, 100% {
        transform: translateY(20px);
    }

    50% {
        transform: translateY(-20px);
    }
}


/*Gradient Underline*/

.gradient-underline {
    position: relative;
    display: inline-block;
    color: inherit;
}

    .gradient-underline::after {
        content: "";
        position: absolute;
        left: 50%;
        bottom: -4px;
        width: 100%;
        height: 3px;
        /* new gradient from #ff00cc → #333399 */
        background: #ff00cc;
        background: -webkit-linear-gradient(to right, #ff00cc, #333399);
        background: linear-gradient(to right, #ff00cc, #333399);
        transform: translateX(-50%) scaleX(0);
        transform-origin: center;
        transition: transform 0.4s ease;
    }

    .gradient-underline:hover::after {
        transform: translateX(-50%) scaleX(1);
    }

/* =====================================================
   Product Slider – Circular Nav Buttons
   ===================================================== */

#product .product-nav-btn {
    width: 48px;
    height: 48px;
    padding: 0; /* IMPORTANT */
    display: flex;
    align-items: center;
    justify-content: center;
}

    #product .product-nav-btn:hover {
        background-color: #0d6efd;
        color: #fff;
    }
