@import url('general.css');

.bk-slider-container {
    width: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.bk-slider-wrapper {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.bk-slide {
    min-width: 100%;
    position: relative;
    background: #000;
}

.bk-slide-media {
    width: 100%;
    height: 600px;
    object-fit: cover;

    display: block;
}


.bk-slide-text {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0px;
    color: white;
    background: url('../images/slider-overlay.png');
    background-size: cover;
}

.bk-slide-content-area {
    padding: 70px;
}

.bk-slide-tagline {
    font-family: Lato;
    font-weight: 400;
    font-size: 18px;
    line-height: 100%;
    color: var(--bs-primary);
    letter-spacing: 0%;
}

.bk-slide-title {
    font-family: Lato;
    font-weight: 800;
    font-style: ExtraBold;
    font-size: 60px;
    line-height: 76px;
    margin-top: 10px;
}

.bk-slide-description {
    font-family: Lato;
    font-weight: 400;
    font-style: Regular;
    font-size: 18px;
    line-height: 24px;
    letter-spacing: 0%;
}

.hero-slider-btn {
    border-radius: 10px;
    padding: 14px 26px !important;
    font-family: Lato;
    font-weight: 500;
    font-size: 18px;
    line-height: 100%;
    margin-top: 140px;
}

.bk-slider-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.bk-nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
}

.bk-nav-dot:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.2);
}

.bk-nav-dot.bk-active {
    background: #fff;
    width: 32px;
    border-radius: 6px;
}

.bk-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.bk-slider-arrow:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.bk-arrow-prev {
    left: 20px;
}

.bk-arrow-next {
    right: 20px;
}

.bk-video-overlay {
    position: absolute;
    right: 20px;
    bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    opacity: 1;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.bk-video-overlay.bk-hidden {
    opacity: 0;
    pointer-events: none;
}

.bk-play-button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bs-primary);
    border: 5px solid #ffffff;
    /* Inner border */
    outline: 5px solid #333;
    /* Outer outline */
    outline-offset: 0px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    pointer-events: all;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.bk-play-button:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 1);
}

.bk-play-button::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 12px solid #ffffff;
    border-top: 7.5px solid transparent;
    border-bottom: 7.5px solid transparent;
    margin-left: 4px;
}

.bk-pause-button::after {
    content: '';
    border: none;
    width: 20px;
    height: 30px;
    background: linear-gradient(to right, #333 0%, #333 35%, transparent 35%, transparent 65%, #333 65%, #333 100%);
    margin-left: 0;
}

.bk-grid-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    /* left column twice as wide as right */
    grid-template-rows: 1fr 1fr;
    /* two rows */
    gap: 20px;
}

.bk-item {
    background: #ddd;
    padding: 6px;
    display: flex;
    align-items: end;
    border-radius: 20px;
}

/* Layout positions */
.bk-item1 {
    grid-row: 1 / span 2;
    /* spans both rows */
    height: 620px;
    background: url('../images/curtains.png');
    background-size: cover;
}

.bk-item2 {
    grid-column: 2;
    grid-row: 1;
    background: url('../images/blinds.png');
    background-size: cover;
}

.bk-item3 {
    grid-column: 2;
    grid-row: 2;
    background: url('../images/floors.png');
    background-size: cover;
}

.category-content-section {
    padding: 20px;
    background: linear-gradient(270.03deg, rgba(255, 255, 255, 0) 0%, #FFFFFF 54.48%);
    width: 250px;
    backdrop-filter: blur(8px);
    border-radius: 14px;
}

.category-content-heading {
    font-family: Lato;
    font-weight: 700;
    font-style: Bold;
    font-size: 30px;
    line-height: 100%;
    letter-spacing: 0%;

}

.available-products {
    font-family: Lato;
    font-weight: 400;
    font-style: Regular;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: 0%;
    margin-bottom: 10px;
}

.category-section-link {
    font-family: Lato;
    font-weight: 500;
    font-style: Italic;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0%;
    text-decoration: underline;
    text-decoration-style: solid;
    text-decoration-thickness: 0%;
    text-decoration-skip-ink: auto;

    color: black;
}

.deals-section {
    background: radial-gradient(129.52% 129.52% at 16.96% -10.05%, #FFFFFF 0%, #FF8B65 47.6%, #FFFFFF 100%);
    padding-top: 32px;
    padding-bottom: 32px;
}

.deal-card {
    padding: 30px 25px;
    padding-bottom: 40px;
    position: relative;
    border: 1px solid #D9D9D9;
    text-align: center;
    border-radius: 20px;
    margin-bottom: 20px;
}

.deal-card-image {
    width: 350px;
    height: 260px;
    border-radius: 20px;
    object-fit: cover;
    margin-bottom: 20px;
    margin-bottom: 25px;
}

.deal-card-description {
    font-family: Lato;
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
    line-height: 22px;
    margin-bottom: 45px;
}

.deal-card-button {
    padding: 12px 40px;
    border: 80px;
    color: white;
    font-family: Lato;
    font-weight: 600;
    font-size: 16px;
    line-height: 100%;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 80px;
}

.deal-card-button img {
    margin-top: -4px;
    margin-left: 6px;
}

.deal-card-heading {
    font-family: Lato;
    font-weight: 600;
    font-style: SemiBold;
    font-size: 34px;
    line-height: 100%;
    color: #333333;
    margin: 0 auto;
    margin-bottom: 25px;
    width: 70%;
}

.deal-card-1 {
    background: radial-gradient(129.52% 129.52% at 16.96% -10.05%, #FFFFFF 0%, #FFDCD0 47.6%, #FFFFFF 100%)
        /* warning: gradient uses a rotation that is not supported by CSS and may not behave as expected */
    ;
}

.deal-card-2 {
    background: radial-gradient(129.52% 129.52% at 16.96% -10.05%, #FFFFFF 0%, #F2DDFF 47.6%, #FFFFFF 100%)
        /* warning: gradient uses a rotation that is not supported by CSS and may not behave as expected */
    ;
}

.deal-card-3 {
    background: radial-gradient(129.52% 129.52% at 16.96% -10.05%, #FFFFFF 0%, #D5FFE0 47.6%, #FFFFFF 100%)
        /* warning: gradient uses a rotation that is not supported by CSS and may not behave as expected */
    ;
}

.deal-section-heading {
    font-family: Lato;
    font-weight: 700;
    font-size: 40px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
    color: #333333;
    margin: 25px 0 45px 0;
}

.deal-badge {
    position: absolute;
    width: 80px;
    height: 80px;
    opacity: 1;
    top: 0;
    right: 0;
    border-radius: 45% 20px 45% 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Lato;
    font-weight: 600;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: 0%;
    color: white;
    padding: 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.top-selling-section-heading {
    font-family: Lato;
    font-weight: 700;
    font-style: Bold;
    font-size: 40px;
    line-height: 100%;
    color: #333333;
}

.top-selling-navigation-btn {
    background-color: none;
    background: none;
    border: none;
    outline: none;
    font-family: Lato;
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
    line-height: 100%;
    color: #4C4C4C;
    padding: 12px;
}
.top-selling-navigation-btn.active{
    color: var(--bs-primary);
    border-bottom:2px solid var(--bs-primary) ;
}

@media (max-width: 480px) {
    .bk-slide-media {
        height: 230px;
    }

    .bk-slide-content-area {
        padding: 20px;
    }

    .bk-slide-title {
        font-size: 20px;
        line-height: 26px;
        margin-top: 10px;
    }

    .hero-slider-btn {
        font-size: 14px;
        margin-top: 0px;
        padding: 8px 12px !important;
        border-radius: 10px !important;
    }

    .bk-slide-description {
        font-size: 14px;
        line-height: 16px;
        width: 70%;
    }


    .bk-slide-tagline {
        font-size: 12px;
    }

    .bk-nav-dot {
        display: none;
    }

    .bk-grid-container {
        display: flex;
        /* use flexbox instead of grid */
        overflow-x: auto;
        /* enable horizontal scroll */
        scroll-snap-type: x mandatory;
        /* optional: smooth snapping */
        gap: 15px;
        padding: 0px;
    }

    .bk-grid-container::-webkit-scrollbar {
        display: none;
        /* hide scrollbar for cleaner look */
    }

    .bk-item {
        flex: 0 0 auto;

        /* snap on scroll */
        border-radius: 10px;
        height: 170px;
        width: 270px;
    }

    .bk-item:first-child {
        border-bottom-left-radius: 0px;
        border-top-left-radius: 0px;
    }

    .bk-item:last-child {
        border-bottom-right-radius: 0px;
        border-top-right-radius: 0px;
    }

    .category-content-section {
        padding: 10px;
        width: 165px;
    }

    .category-content-heading {
        font-size: 14px;
    }

    .available-products {
        font-size: 12px;
        margin-bottom: 6px;
    }

    .category-section-link {
        font-size: 12px;
    }
    .deal-section-header{
        display: block !important;
    }
    .deal-section-header h2{
        font-size: 20px;
        margin-bottom: 20px;
    }
    .deal-section-header div{
        justify-content: space-between !important;
    }
    .deal-card-heading{
        font-size: 20px;
    }
    .deal-card-description{
        font-size: 14px;
    }
    .deal-card-button{
        font-size: 14px;
    }
}
