@import "../../../../../../style/variables.scss";

.event-category-detail {
    position: relative;

    .inner-events-image {
        position: relative;
        min-height: 350px;
        z-index: 1;

        @media only screen and (min-width: 640px) {
            min-height: 410px;
        }

        &::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.3);
            z-index: 1;
        }

        img {
            width: 100%;
            height: 100%;
            min-height: 350px;
            object-fit: cover;
            object-position: top;

            @media only screen and (min-width: 640px) {
                min-height: 410px;
            }
        }
    }

    .inner-events-wrapper {
        position: relative;
        margin-top: -200px;
        z-index: 2;
    }

    .qty-group-wrapper {
        gap: 12px;
        margin-bottom: 20px;

        @media only screen and (min-width: 640px) {
            gap: 16px;
        }

        @media only screen and (min-width: 768px) {
            margin-bottom: 30px;
        }

        @media only screen and (min-width: 1440px) {
            gap: 20px;
        }

        p {
            font-size: 16px;
            line-height: 1;
            color: $btnText;

            @media only screen and (min-width: 1441px) {
                font-size: 24px;
                line-height: 28px;
            }
        }
    }

    .event-details-wrap {

        .image-wrapper {
            @media only screen and (min-width: 1200px) {
                top: -80px;
                left: 0;
            }

            .slide-image-box {
                .badge {
                    position: absolute;
                    font-size: 14px;
                    line-height: 18px;
                    padding: 5px 8px;
                    color: #fd9e55;
                    top: 20px;
                    right: 0;
                    background-color: #fff;

                    @media only screen and (min-width: 768px) {
                        font-size: 16px;
                        line-height: 18px;
                        padding: 8px 10px;
                    }

                    @media only screen and (min-width: 1440px) {
                        font-size: 18px;
                        line-height: 22px;
                        padding: 10px;
                    }
                }

                .play-btn {
                    position: absolute;
                    top: 50%;
                    left: 50%;
                    transform: translate(-50%, -50%);
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    background: $tertiary;
                    color: $white;
                    width: 50px;
                    height: 50px;
                    padding-left: 7px;
                    border-radius: 100%;
                    cursor: pointer;
                    font-size: 24px;
                }
            }

            .swiper-slide {
                overflow: hidden;

                // img , video{
                //     width: 100%;
                //     height: 100%;
                //     object-fit: cover;
                // }
                .overlap-image,
                video {
                    position: absolute;
                    top: 50%;
                    left: 50%;
                    max-height: 100%;
                    width: initial;
                    transform: translate(-50%, -50%);
                }

                .static-image {
                    opacity: 0;
                }

                .slide-image-box {
                    width: 100%;
                    height: 100%;
                    max-width: 785px;
                    margin: auto;
                    position: relative;
                    cursor: pointer;
                    background-color: $LightCream;
                }
            }

            .swiper-pagination {
                margin-top: 15px;
                margin-bottom: 20px;

                @media only screen and (min-width: 1200px) {
                    justify-content: flex-end;
                }

                &.swiper-pagination-lock {
                    margin-bottom: 0;
                }
            }

            .lightbox-slider-wrapper {

                img,
                video {
                    width: auto;
                    margin: auto;
                    height: auto;
                }

                video {
                    width: auto;
                    margin: auto;
                    height: auto;
                }
            }
        }

        .content-wrapper {
            padding: 20px;
            background: $LightCream;

            @media only screen and (min-width: 640px) {
                padding: 30px;
            }

            @media only screen and (min-width: 1200px) {
                padding: 30px 20px 70px 370px;
                min-height: 470px;
            }

            @media only screen and (min-width: 1440px) {
                padding: 60px 20px 70px 440px;
                min-height: 580px;
            }

            @media only screen and (min-width: 1600px) {
                padding: 80px 100px 100px 500px;
                min-height: 630px;
            }

            .btn-wrap {
                margin-bottom: 20px;

                @media only screen and (min-width: 1600px) {
                    margin-bottom: 30px;
                }
            }
        }

        .event-list-wrapper {
            padding-bottom: 20px;

            @media only screen and (min-width: 768px) {
                padding-bottom: 30px;
            }

            li {
                width: 100%;
                font-size: 18px;

                .icon {
                    background-color: $white;
                    flex-shrink: 0;
                }

                .head {
                    i {
                        font-size: 12px;

                        @media only screen and (min-width: 1441px) {
                            font-size: 18px;
                        }
                    }
                }

            }
        }

        .solid-btn {
            padding: 5px 20px;
            height: 35px;
            text-align: center;
            display: inline-flex;
            align-items: center;
            justify-content: center;

            @media only screen and (min-width: 768px) {
                padding: 8px 36px;
                height: 40px;
            }

            @media only screen and (min-width: 1600px) {
                height: 52px;
            }
        }
    }

    .ns-event-details-card {
        filter: drop-shadow(0px 10px 72.5px rgba(0, 0, 0, 0.1));
        background-color: $white;
        font-family: 'Avenir Next';
        position: relative;

        .ns-inner-details {
            padding: 12px;

            @media only screen and (min-width: 640px) {
                padding: 20px;
            }

            @media only screen and (min-width: 1024px) {
                padding: 26px;
                padding-right: 0;
                width: 65%;
            }

            @media only screen and (min-width: 1601px) {
                padding: 40px 100px 40px 40px;
                width: 70%;
            }

            .user-bread-crumb {
                margin-bottom: 20px;

                @media only screen and (min-width: 1024px) {
                    margin-bottom: 30px;
                }

                li {
                    @media only screen and (min-width: 1601px) {
                        font-size: 18px;
                        margin-right: 6px;
                        padding-right: 20px;

                        &::before {
                            width: 18px;
                            height: 18px;
                        }
                    }

                    &:hover {
                        color: #000;
                    }

                    &:last-child {
                        pointer-events: none;
                    }
                }
            }

            .event-badge-lists {
                margin-bottom: 16px;

                @media only screen and (min-width: 1024px) {
                    margin-bottom: 30px;
                }

                .event-badge {
                    border: 1px solid $primary;
                    font-size: 14px;
                    font-weight: 500;
                    color: $primary;
                    font-family: 'Avenir Next';
                    text-transform: uppercase;
                    padding: 8px 10px;

                    @media only screen and (min-width: 1200px) {
                        font-size: 16px;
                    }

                    @media only screen and (min-width: 1600px) {
                        font-size: 18px;
                        padding: 11px 16px;
                    }
                }
            }

            .title {
                font-weight: 400;
                font-family: 'Canto';
                color: $black25;
                text-transform: capitalize;
                margin-bottom: 16px;

                @media only screen and (min-width: 1024px) {
                    margin-bottom: 30px;
                }

                @media only screen and (min-width: 1600px) {
                    font-size: 44px;
                    line-height: 48px;
                }
            }

            >p {
                font-size: 14px;
                margin-bottom: 20px;

                @media only screen and (min-width: 640px) {
                    font-size: 16px;
                }

                @media only screen and (min-width: 991px) {
                    font-size: 18px;
                    margin-bottom: 30px;
                }

                @media only screen and (min-width: 1450px) {
                    font-size: 20px;
                }
            }
        }

        .ns-about-events {
            padding: 12px;

            @media only screen and (min-width: 640px) {
                padding: 20px;

            }

            @media only screen and (min-width: 1024px) {
                padding: 26px;
                position: relative;
                width: 30%;
                border-left: 1px solid $primary;
            }

            @media only screen and (min-width: 1601px) {
                padding: 40px 40px 40px 60px;
            }
        }

        .events-links-content {
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            gap: 16px;
            padding-top: 16px;
            border-top: 1px solid $primary;

            * {
                margin-bottom: 0 !important;
            }

            *> {
                width: 100%;

                @media only screen and (min-width: 640px) {
                    width: auto;
                }
            }

            @media only screen and (min-width: 1024px) {
                padding-top: 30px;
            }

            @media only screen and (min-width: 1601px) {
                gap: 30px;
            }

            .ns-qty-group {
                display: flex;
                align-items: center;
                justify-content: space-between;
                max-width: 250px;
                margin: 0 auto;

                @media only screen and (min-width: 640px) {
                    max-width: none;
                }

                .qty-btn {
                    width: 30px;
                    height: 30px;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    border: 1px solid $primary;
                    font-size: 20px;
                    font-weight: 500;
                    color: $primary;
                    line-height: 1.3;
                    position: relative;
                    cursor: pointer;
                    transition: 0.3s ease-in-out;

                    @media only screen and (min-width: 640px) {
                        width: 40px;
                        height: 40px;
                    }

                    @media only screen and (min-width: 1601px) {
                        width: 50px;
                        height: 50px;
                        font-size: 24px;
                    }

                    &.max {

                        &::before,
                        &::after {
                            content: '';
                            position: absolute;
                            width: 12px;
                            height: 2px;
                            background-color: $primary;
                            transition: 0.3s ease-in-out;

                            @media only screen and (min-width: 640px) {
                                width: 15px;
                            }
                        }

                        &::before {
                            transform: rotate(90deg);
                        }
                    }

                    &.min {
                        &::before {
                            content: '';
                            position: absolute;
                            width: 12px;
                            height: 2px;
                            background-color: $primary;

                            @media only screen and (min-width: 640px) {
                                width: 15px;
                            }
                        }
                    }

                    &:hover {
                        background-color: $primary;

                        &::after,
                        &::before {
                            background-color: $white !important;
                        }
                    }
                }

                .count {
                    min-width: 54px;
                    text-align: center;
                    font-size: 16px;
                    font-weight: 500;
                    color: $primary;
                    line-height: 1.3;

                    @media only screen and (min-width: 1601px) {
                        font-size: 20px;
                        min-width: 64px;
                    }
                }
            }

            .event-btn {
                text-transform: uppercase;
                font-size: 14px;
                font-weight: 500;
                height: 40px;
                width: 100%;

                @media only screen and (min-width: 640px) {
                    width: auto;
                    font-size: 16px;
                    padding: 8px 20px;
                }

                @media only screen and (min-width: 1601px) {
                    font-size: 18px;
                    height: 50px;
                    padding: 14px 30px;
                }
            }
        }
    }

    .ns-event-shape {
        display: none;

        @media only screen and (min-width: 1024px) {
            position: relative;
            width: 120px;
            display: block;
        }

        img {
            position: absolute;
            top: 50%;
            left: 0;
            transform: translateY(-50%);
            width: 100%;
            height: 100%;
            object-fit: contain;
        }
    }

    .event-list-wrapper {
        li {
            gap: 8px;

            &:first-child {
                margin-top: 0;
            }

            @media only screen and (max-width: 480px) {
                margin-top: 10px;
            }

            @media only screen and (min-width: 640px) {
                gap: 12px;
            }

            @media only screen and (min-width: 1601px) {
                gap: 20px;
            }

            .icon {
                width: 28px;
                height: 28px;

                @media only screen and (min-width: 640px) {
                    width: 40px;
                    height: 40px;
                }

                @media only screen and (min-width: 1601px) {
                    width: 50px;
                    height: 50px;
                }
            }

            span {
                &.head {
                    font-size: 11px;
                    margin-bottom: 2px;

                    @media only screen and (min-width: 640px) {
                        font-size: 14px;
                        margin-bottom: 5px;
                    }

                    @media only screen and (min-width: 1601px) {
                        font-size: 16px;
                    }

                    &:last-child {
                        margin-bottom: 0;
                    }
                }
            }

            .small-text {
                font-size: 10px;

                @media only screen and (min-width: 640px) {
                    font-size: 14px;
                }

                @media only screen and (min-width: 1601px) {
                    font-size: 16px;
                }
            }
        }
    }
}