/* This is only for the Home Styling page */

.body {
    background-color: #F5F5F5;
}

/* Variables */
:root {
    --heading-font: "Marcellus", Roboto, sans-serif;
    --body-font: "Jost", Roboto, sans-serif;

    --item1-transform: translateX(-280%) scale(0.6);
    --item1-opacity: 0;
    --item1-z-index: 9;

    --item2-transform: translateX(-175%) scale(0.9);
    --item2-opacity: 1;
    --item2-z-index: 10;

    --item3-transform: translateX(-50%);
    --item3-opacity: 1;
    --item3-z-index: 10;

    --item4-transform: translateX(75%) scale(0.9);
    --item4-opacity: 1;
    --item4-z-index: 10;

    --item5-transform: translateX(175%) scale(0.6);
    --item5-opacity: 0;
    --item5-z-index: 9;
}




/* Video section start*/

.video-section {
    position: relative;
    width: 100%;
    height: 620px;
    overflow: hidden;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.video-background iframe {
    width: 100%;
    height: 600px;
    min-height: 100vh;
    min-width: 177.77vh;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}



.video-content {
    height: max-content;
    position: relative;
    z-index: 3;
    text-align: center;
}

.cta-btn {
    display: inline-block;
    padding: 12px 24px;
    color: #fff;
    background: #25d366;
    border: none;
    border-radius: 30px;
    margin-top: 16px;
    text-decoration: none;
    font-size: 1.1rem;
    transition: background 0.2s;
}

.cta-btn:hover {
    background: #168f43;
}

/* Video secction end */


/* Info section start*/

.info-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    padding: 18px 5vw;
    border-bottom: 1px solid #eee;
    margin: 0 auto;
}

.info-bar h3 {
    font-family: 'Inter', Arial, sans-serif;
    font-weight: 700;
    font-size: 1.09rem;
    color: #222;
    margin: 0;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

/* Info section end */

/* Browse Collection start */

.carousel {
    height: 600px;
    position: relative;
    overflow: hidden;
}

.container2 {
    background-color: #F8F8FF;
    margin-bottom: 0.5rem;
}

.carousel-title {
    padding-top: 20px;
    font-family: var(--heading-font);
    font-size: 2rem;
    margin-bottom: 0.2rem;
    text-align: center;
    color: #222222;
    letter-spacing: 0.05em;
}

.carousel .list {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    max-width: 90%;
    width: 1180px;
    position: absolute;
}

.carousel .list .item {
    position: absolute;
    left: 50%;
    top: 35px;
    transform: translateX(-50%);
}

.carousel .list .item .card {
    overflow: hidden;
    height: 500px;
    border-radius: 15px;

    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.carousel .list .item .card:hover {
    transform: translateY(-7px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.card-img-top {
    border-radius: 15px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    z-index: 1;
}

.card-name {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 16px 0 12px 0;
    text-align: center;
    font-size: 1.53rem;
    font-weight: 700;
    color: #FFFFFF;
    z-index: 2;
    letter-spacing: 0.04em;
    font-family: var(--heading-font);
    background: rgba(0, 0, 0, 0.4);
}

.arrows {
    position: absolute;
    bottom: 50%;
    width: 100%;
    left: 50%;
    transform: translate(-50%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
}

.arrows #prev,
.arrows #next {
    height: 40px;
    width: 40px;
    border-radius: 50%;
    font-family: monospace;
    font-size: larger;
    font-weight: bold;
    background-color: #f5f5f5;
    pointer-events: auto;
}

.carousel .list .item:nth-child(n + 6) {
    opacity: 0;
    pointer-events: none;
}

.carousel .list .item:nth-child(3) {
    transform: var(--item3-transform);
    z-index: var(--item3-z-index);
    opacity: var(--item3-opacity);
}

.carousel .list .item:nth-child(2) {
    transform: var(--item2-transform);
    z-index: var(--item2-z-index);
    opacity: var(--item2-opacity);
}

.carousel .list .item:nth-child(4) {
    transform: var(--item4-transform);
    z-index: var(--item4-z-index);
    opacity: var(--item4-opacity);
}

.carousel .list .item:nth-child(1) {
    transform: var(--item1-transform);
    z-index: var(--item1-z-index);
    opacity: var(--item1-opacity);
}

.carousel .list .item:nth-child(5) {
    transform: var(--item5-transform);
    z-index: var(--item5-z-index);
    opacity: var(--item5-opacity);
}


/* Next animation start */

.carousel.next .list .item:nth-child(3) {
    animation: positionItem3 0.5s ease-in-out 1 forwards;
}

@keyframes positionItem3 {
    from {
        transform: var(--item4-transform);
        z-index: var(--item4-z-index);
        opacity: var(--item4-opacity);
    }
}

.carousel.next .list .item:nth-child(2) {
    animation: positionItem2 0.5s ease-in-out 1 forwards;
}

@keyframes positionItem2 {
    from {
        transform: var(--item3-transform);
        z-index: var(--item3-z-index);
        opacity: var(--item3-opacity);
    }
}

.carousel.next .list .item:nth-child(4) {
    animation: positionItem4 0.5s ease-in-out 1 forwards;
}

@keyframes positionItem4 {
    from {
        transform: var(--item5-transform);
        z-index: var(--item5-z-index);
        opacity: var(--item5-opacity);
    }
}

.carousel.next .list .item:nth-child(1) {
    animation: positionItem1 0.5s ease-in-out 1 forwards;
}

@keyframes positionItem1 {
    from {
        transform: var(--item2-transform);
        z-index: var(--item2-z-index);
        opacity: var(--item2-opacity);
    }
}

/* Next animation end */

/* Prev animaiton start */

.carousel.prev .list .item:nth-child(3) {
    animation: prevpositionItem3 0.5s ease-in-out 1 forwards;
}

@keyframes prevpositionItem3 {
    from {
        transform: var(--item2-transform);
        z-index: var(--item2-z-index);
        opacity: var(--item2-opacity);
    }
}

.carousel.prev .list .item:nth-child(2) {
    animation: prevpositionItem2 0.5s ease-in-out 1 forwards;
}

@keyframes prevpositionItem2 {
    from {
        transform: var(--item1-transform);
        z-index: var(--item1-z-index);
        opacity: var(--item1-opacity);
    }
}

.carousel.prev .list .item:nth-child(4) {
    animation: prevpositionItem4 0.5s ease-in-out 1 forwards;
}

@keyframes prevpositionItem4 {
    from {
        transform: var(--item3-transform);
        z-index: var(--item3-z-index);
        opacity: var(--item3-opacity);
    }
}

.carousel.prev .list .item:nth-child(5) {
    animation: prevpositionItem5 0.5s ease-in-out 1 forwards;
}

@keyframes prevpositionItem5 {
    from {
        transform: var(--item4-transform);
        z-index: var(--item4-z-index);
        opacity: var(--item4-opacity);
    }
}

/* Prev animation end */

/* Browse Collection end */



/* Best selling start */

.best-selling-contact-btn{
    display: inline-block;
    padding: 12px 24px;
    color: #fff;
    background: #25d366;
    border: none;
    border-radius: 30px;
    margin-top: 16px;
    text-decoration: none;
    font-size: 1.1rem;
    transition: background 0.2s;
}

.best-selling-contact-btn:hover {
    background: #168f43;
}

.best-seller-img-class {
    width: 100%;
    aspect-ratio: 3/5;
    border-radius: 8px;
}

.best-selling-content h2{
    padding-top: 20px;
    font-family: var(--heading-font);
    font-size: 2rem;
    margin-bottom: 0.2rem;
    text-align: center;
    color: #222222;
    letter-spacing: 0.05em;
}

.best-selling-content p{
    font-family: var(--body-font);
}

.best-selling-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

/* Best selling end */



/* New Arrival start */

.slider{
    background-color: #F8F8FF;
    margin-top: 0.5rem;
}

.slider-title {
    padding-top: 20px;
    font-family: var(--heading-font);
    font-size: 2rem;
    margin-bottom: 1.4rem;
    text-align: center;
    color: #222222;
    letter-spacing: 0.05em;
}

.slider-text{
    font-family: var(--heading-font);
}

.new-arrival-slider {
    display: flex;
    align-items: center;
    width: 100%;
    margin: auto;
}

.slider-box {
    position: relative;
    width: fit-content;
    height: 20rem;
    border: 1px solid #f9f9f9;
}

.slider-img {
    height: 90%;
    object-fit: cover;
}

.swiper-pagination {
    position: static !important;
    margin-top: auto;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 1.8rem !important;
    margin-bottom: 70% !important;
}

/* New Arrival ends */





/* Media queries start */

@media (max-width: 1200px) {

    .carousel {
        height: 450px;
        padding-top: 12px;
    }

    .carousel .list {
        width: 950px;
    }

    .card-img-top {
        height: 350px;
        width: 233px;
    }

    .carousel .list .item .card {
        height: 350px;
        width: 233px !important;
        border: 0px;
    }

    .carousel .list .item {
        width: 233px;
        height: 350px;
    }
}


@media (max-width: 992px) {
    .video-section {
        height: 425px;
    }

    .carousel {
        height: 400px;
        padding-top: 10px;
    }

    .carousel .list {
        width: 785px;
    }

    .card-img-top {
        height: 300px;
        width: 199px;
    }

    .carousel .list .item .card {
        height: 300px;
        border: 0px;
        width: 199px !important;
    }

    .carousel .list .item {
        width: 199px;
        height: 300px;
    }

    .arrows #prev,
    .arrows #next {
        height: 32px;
        width: 32px;
        font-size: large;
    }

    .info-bar h3 {
        font-size: 0.90rem;
    }

    .best-seller-img-class {
        height: 420px;
    }

    .best-seller-img-holder{
        width:fit-content;
    }

    .best-seller-images-row{
        justify-content: space-evenly;
    }

}


@media (max-width: 768px) {

    .video-section {
        height: 375px;
    }

    .carousel {
        height: 280px;
        padding-top: 6px;
    }

    .carousel .list {
        width: 608px;
    }

    .card-img-top {
        height: 200px;
        width: 132px;
    }

    .carousel .list .item .card {
        height: 200px;
        width: 132px !important;
    }

    .carousel .list .item {
        width: 132px;
        height: 200px;
    }

    .card-name {
        font-size: 14px;
    }

    .arrows #prev,
    .arrows #next {
        height: 25px;
        width: 25px;
        font-size: medium;
    }

    .cta-btn {
        padding: 10px 20px;
        margin-top: 10px;
        font-size: 0.8rem;
    }

    .video-content {
        font-size: small;
    }

    .carousel-title {
        font-size: large;
    }

    .best-selling-content h2{
        font-size: large;
    }

    .best-selling-content p{
        font-size: small;
    }

    .slider-title {
        font-size: large;
    }

    .info-bar h3 {
        font-size: 0.80rem;
    }

    .best-seller-img-holder {
        width: 225px;
    }

    .best-seller-images-row {
        display: flex;
        justify-content: space-evenly;
    }

    .new-arrival-slider {
        display: flex;
        align-items: center;
        width: 100%;
        margin: auto;
    }

    .slider-box {
        position: relative;
        width: fit-content;
        height: 15rem;
        border: 1px solid #f9f9f9;
    }

    .slider-img {
        height: 90%;
        object-fit: cover;
    }

    .slider-text{
        font-size: small;
    }

    .best-seller-img-class {
        height: 300px;
    }

    .best-seller-img-holder{
        width:fit-content;
    }

    .best-seller-images-row{
        justify-content: space-evenly;
    }

}


@media (max-width: 475px) {

    .video-section {
        height: 300px;
    }

    .carousel {
        height: 235px;
        padding-top: 6px;
    }

    .carousel .list {
        width: 400px;
        background-color: rgb(202, 226, 43);
    }

    .card-img-top {
        height: 175px;
        width: 115px;
    }

    .carousel .list .item .card {
        height: 175px;
        width: 115px !important;
    }

    .carousel .list .item {
        width: 115px;
        height: 175px;
    }

    .card-name {
        font-size: 12px;
    }

    .arrows #prev,
    .arrows #next {
        height: 22px;
        width: 22px;
        font-size: small;
    }

    .cta-btn {
        padding: 10px 20px;
        margin-top: 10px;
        font-size: 0.8rem;
    }

    .carousel-title {
        font-size: medium;
    }

    .slider-title {
        font-size: medium;
    }

    .best-selling-content h2{
        font-size: medium;
    }

    .slider-text{
        font-size: x-small;
    }

    .video-content {
        font-size: small;
    }

    .info-bar h3 {
        font-size: 0.70rem;
    }

    .best-seller-img-holder {
        width: 180px;
    }

    .best-seller-images-row {
        display: flex;
        justify-content: space-evenly;
    }

    .best-selling-content {
        font-size: small;
    }

    .new-arrival-slider {
        display: flex;
        align-items: center;
        width: 100%;
        margin: auto;
    }

    .slider-box {
        position: relative;
        width: fit-content;
        height: 12rem;
        border: 1px solid #f9f9f9;
    }

    .slider-img {
        height: 90%;
        object-fit: cover;
    }

    .best-seller-img-class {
        height: 240px;
    }

    .best-seller-img-holder{
        width:fit-content;
    }

    .best-seller-images-row{
        justify-content: space-evenly;
    }

}

/* Media queries ends */





/* @media (max-width: 650px) {
  .video-background, .video-overlay {
    display: none;
  }
  .video-section {
    background: #222 url('kuia2.png') center/cover no-repeat;
  }
} */