@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    --primary: #4A5035;
    --light  : beige;
    --dark   : rgb(0, 0, 0);
}

body {
    background: #f7efe8;
}

.fw-medium {
    font-weight: 500 !important;
}

.fw-bold {
    font-weight: 700 !important;
}

.fw-black {
    font-weight: 900 !important;
}

.back-to-top {
    position: fixed;
    display : none;
    right   : 45px;
    bottom  : 45px;
    z-index : 99;
}


/*** Spinner ***/
#spinner {
    opacity   : 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index   : 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity   : 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition : .5s;
}

.btn.btn-primary,
.btn.btn-outline-primary:hover {
    color     : #FFFFFF;
    background: #4A5035;
}

.btn-square {
    width : 38px;
    height: 38px;
}

.btn-sm-square {
    width : 32px;
    height: 32px;
}

.btn-lg-square {
    width : 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding        : 0;
    display        : flex;
    align-items    : center;
    justify-content: center;
    font-weight    : normal;
}

.btn-lg-square img {
    width : 70px;
    height: 80px;
}

/*** Navbar ***/
.navbar.sticky-top {
    top       : -100px;
    transition: .5s;
}

.navbar .navbar-brand,
.navbar a.btn {
    height: 75px;
}

.navbar .navbar-nav .nav-link {
    margin-right  : 30px;
    padding       : 25px 0;
    color         : var(--dark);
    font-size     : 15px;
    font-weight   : 500;
    text-transform: uppercase;
    outline       : none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar .dropdown-toggle::after {
    border        : none;
    content       : "\f107";
    font-family   : "Font Awesome 5 Free";
    font-weight   : 900;
    vertical-align: middle;
    margin-left   : 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding     : 10px 0;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display   : block;
        border    : none;
        margin-top: 0;
        top       : 150%;
        opacity   : 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top       : 100%;
        visibility: visible;
        transition: .5s;
        opacity   : 1;
    }
}


/*** Header ***/
.owl-carousel-inner {
    position   : absolute;
    width      : 100%;
    height     : 100%;
    top        : 0;
    left       : 0;
    display    : flex;
    align-items: center;
    background : rgba(0, 0, 0, .1);
}

.header-carousel .owl-carousel-item {
    position  : relative;
    max-height: 90vh;
}

.owl-carousel-item img {
    width     : 100%;
    height    : 100%;
    min-height: 50vh;
    max-height: 95vh;
}

@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position  : relative;
        min-height: 60vh;
    }

    .header-carousel .owl-carousel-item img {
        position  : absolute;
        width     : 100%;
        height    : 100%;
        object-fit: cover;

    }

    .header-carousel .owl-carousel-item p {
        font-size: 16px !important;
    }
}

.header-carousel .owl-dots {
    position       : absolute;
    width          : 60px;
    height         : 100%;
    top            : 0;
    right          : 30px;
    display        : flex;
    flex-direction : column;
    align-items    : center;
    justify-content: center;
}

.header-carousel .owl-dots .owl-dot {
    position     : relative;
    width        : 25px;
    height       : 25px;
    margin       : 5px 0;
    background   : #FFFFFF;
    box-shadow   : 0 0 30px rgba(255, 255, 255, .9);
    border-radius: 45px;
    transition   : .5s;
}

.header-carousel .owl-dots .owl-dot.active {
    width : 40px;
    height: 40px;
}

.header-carousel .owl-dots .owl-dot img {
    position     : absolute;
    width        : 100%;
    height       : 100%;
    object-fit   : cover;
    padding      : 2px;
    border-radius: 45px;
    transition   : .2s;
}

.page-header {
    background     : linear-gradient(rgba(0, 0, 0, .1), rgba(0, 0, 0, .1)), url(../img/Curtains/6.jpg) center center no-repeat;
    background-size: cover;
    height         : 50vh;

}

.page-header_about {
    background     : linear-gradient(rgba(0, 0, 0, .1), rgba(0, 0, 0, .1)), url(../img/BedCovers/banner.webp) center center no-repeat;
    background-size: cover;
    height         : 70vh;

}

.breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}


/*** About ***/
@media (min-width: 992px) {
    .container.about {
        max-width: 100% !important;
    }

    .about-text {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .about-text {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .about-text {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Service ***/
.service-item_main {

    display        : flex;
    justify-content: center;
    align-items    : center;
}

.service-item {
    /* box-shadow: 0 0 45px rgba(0, 0, 0, .08); */
    /* box-shadow: 0 0 45px rgba(0, 0, 0, .08); */
    max-width: 80%;
}

@media screen and (max-width:1200px) {
    .service-item {
        /* box-shadow: 0 0 45px rgba(0, 0, 0, .08); */
        /* box-shadow: 0 0 45px rgba(0, 0, 0, .08); */
        max-width: 100%;
    }

}

.service-icon {
    position       : relative;
    margin         : -50px 0 25px 0;
    width          : 100px;
    height         : 100px;
    display        : flex;
    align-items    : center;
    justify-content: center;
    color          : var(--primary);
    background     : #FFFFFF;
    border-radius  : 100px;
    box-shadow     : 0 0 45px rgba(0, 0, 0, .08);
    transition     : .5s;
}

.service-item:hover .service-icon {
    color     : #FFFFFF;
    background: var(--primary);
}


/*** Feature ***/
@media (min-width: 1000px) {
    .container.feature {
        max-width: 100% !important;
    }

    .feature-text {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .feature-text {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .feature-text {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Project Portfolio ***/
#portfolio-flters li {
    display      : inline-block;
    font-weight  : 500;
    color        : var(--dark);
    cursor       : pointer;
    transition   : .5s;
    border-bottom: 2px solid transparent;
}

#portfolio-flters li:hover,
#portfolio-flters li.active {
    color       : var(--primary);
    border-color: var(--primary);
}

.portfolio-img {
    position: relative;
}

.portfolio-img::before,
.portfolio-img::after {
    position  : absolute;
    content   : "";
    width     : 0;
    height    : 100%;
    top       : 0;
    background: var(--dark);
    transition: .5s;
}

.portfolio-img::before {
    left: 50%;
}

.portfolio-img::after {
    right: 50%;
}

.portfolio-item:hover .portfolio-img::before {
    width: 51%;
    left : 0;
}

.portfolio-item:hover .portfolio-img::after {
    width: 51%;
    right: 0;
}

.portfolio-btn {
    position       : absolute;
    top            : 0;
    left           : 0;
    width          : 100%;
    height         : 100%;
    display        : flex;
    align-items    : center;
    justify-content: center;
    opacity        : 0;
    z-index        : 1;
    transition     : .5s;
}

.portfolio-item:hover .portfolio-btn {
    opacity         : 1;
    transition-delay: .3s;
}


/*** Quote ***/
@media (min-width: 992px) {
    .container.quote {
        max-width: 100% !important;
    }

    .quote-text {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .quote-text {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .quote-text {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Team ***/
.team-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.team-item img {
    border-radius: 8px 60px 0 0;
    height       : 25rem;
}

.team-item .team-social {
    display        : flex;
    flex-direction : column;
    align-items    : center;
    justify-content: flex-end;
    background     : #FFFFFF;
    transition     : .5s;
}


/*** Testimonial ***/
.testimonial-carousel::before {
    position     : absolute;
    content      : "";
    top          : 0;
    left         : 0;
    height       : 100%;
    width        : 0;
    /* background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%); */
    z-index      : 1;
}

.testimonial-carousel::after {
    position     : absolute;
    content      : "";
    top          : 0;
    right        : 0;
    height       : 100%;
    width        : 0;
    /* background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%); */
    z-index      : 1;
}

@media (min-width: 768px) {

    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 200px;
    }
}

@media (min-width: 992px) {

    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 300px;
    }
}

.testimonial-carousel .owl-nav {
    position       : absolute;
    width          : 350px;
    top            : 20px;
    left           : 50%;
    transform      : translateX(-50%);
    display        : flex;
    justify-content: space-between;
    opacity        : 0;
    transition     : .5s;
    z-index        : 1;
}

.testimonial-carousel:hover .owl-nav {
    width  : 300px;
    opacity: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position  : relative;
    color     : var(--primary);
    font-size : 45px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}

.testimonial-carousel .testimonial-img img {
    width : 100px;
    height: 100px;
}

.testimonial-carousel .testimonial-img .btn-square {
    position : absolute;
    bottom   : -19px;
    left     : 50%;
    transform: translateX(-50%);
}

.testimonial-carousel .owl-item .testimonial-text {
    margin-bottom: 30px;
    box-shadow   : 0 0 45px rgba(0, 0, 0, .08);
    transform    : scale(.8);
    transition   : .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
    transform: scale(1);
}


/*** Contact ***/
@media (min-width: 992px) {
    .container.contact {
        max-width: 100% !important;
    }

    .contact-text {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .contact-text {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .contact-text {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Footer ***/
.footer .btn.btn-social {
    margin-right : 5px;
    color        : #9B9B9B;
    border       : 1px solid #9B9B9B;
    border-radius: 38px;
    transition   : .3s;
}

.footer .btn.btn-social:hover {
    color       : var(--primary);
    border-color: var(--light);
}

.footer .btn.btn-link {
    display       : block;
    margin-bottom : 5px;
    padding       : 0;
    text-align    : left;
    color         : #9B9B9B;
    font-weight   : normal;
    text-transform: capitalize;
    transition    : .3s;
}

.footer .btn.btn-link::before {
    position    : relative;
    content     : "\f105";
    font-family : "Font Awesome 5 Free";
    font-weight : 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color         : #FFFFFF;
    letter-spacing: 1px;
    box-shadow    : none;
}

.footer .copyright {
    padding   : 25px 0;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .copyright a:hover {
    color: var(--primary);
}

.logo_img {
    overflow: hidden;
}

.logo_img img {
    width : 90px;
    height: 100px;
}


.service_item_prod {

    display        : flex;
    justify-content: space-between;
    align-items    : center;
    flex-direction : row;
}

.service_item_prod img {
    width : 500px;
    height: 400px !important;
}

.service_item_prod p {
    color     : black;
    text-align: justify;
}

@media screen and (max-width:1000px) {

    .service_item_prod {
        flex-direction: column;

    }

    .service_item_prod img {
        width : 400px;
        height: 300px
    }
}

.bg_footer {
    background: #4C4E43;
    color     : black;
}

* {
    font-family: "Maven Pro", sans-serif;
    margin     : 0;
    padding    : 0;
    box-sizing : border-box;
}

article {
    color     : black;
    text-align: justify;
    width     : 100%;
}

.service_item_prod {
    overflow: hidden;
}

.service_item_prod img {
    width : 400px;
    height: auto;
}



a {
    text-decoration: none;
}

header {
    width      : 1140px;
    max-width  : 80%;
    margin     : auto;
    height     : 50px;
    display    : flex;
    align-items: center;
    position   : relative;
    z-index    : 100;
}

header a {
    color       : #eee;
    margin-right: 40px;
}

/* carousel */
.carousel {
    height    : 90vh;
    margin-top: -50px;
    width     : 100vw;
    overflow  : hidden;
    position  : relative;
}

.carousel .list .item {
    width   : 100%;
    height  : 100%;
    position: absolute;
    inset   : 0 0 0 0;
    overflow: hidden;
}

.carousel .list .item img {
    width     : 100%;
    height    : 100%;
    object-fit: cover;
}

.carousel .list .item .content {
    position     : absolute;
    top          : 20%;
    width        : 1140px;
    max-width    : 80%;
    left         : 50%; 
        
        
       
    transform    : translateX(-50%);
    padding-right: 30%;
    box-sizing   : border-box;
    color        : #fff;
    text-shadow  : 0 5px 10px #0004;
}

.carousel .list .item .author {
    font-weight   : bold;
    letter-spacing: 10px;
}

.carousel .list .item .title,
.carousel .list .item .topic {
    font-size  : 5em;
    font-weight: bold;
    line-height: 1.3em;
}

.carousel .list .item .topic {
    color: #f1683a;
}

.carousel .list .item .buttons {
    display              : grid;
    grid-template-columns: repeat(2, 130px);
    grid-template-rows   : 40px;
    gap                  : 5px;
    margin-top           : 20px;
}

.carousel .list .item .buttons button {
    border          : none;
    background-color: #eee;
    letter-spacing  : 3px;
    font-family     : Poppins;
    font-weight     : 500;
}

.carousel .list .item .buttons button:nth-child(2) {
    background-color: transparent;
    border          : 1px solid #fff;
    color           : #eee;
}

/* thumbail */
.thumbnail {
    position: absolute;
    bottom  : 50px;
    left    : 50%;
    width   : max-content;
    z-index : 100;
    display : flex;
    gap     : 20px;
}

.thumbnail .item {
    width      : 150px;
    height     : 220px;
    flex-shrink: 0;
    position   : relative;
    display    : none;
}

.thumbnail .item img {
    width        : 100%;
    height       : 100%;
    object-fit   : cover;
    border-radius: 20px;
}

.thumbnail .item .content {
    color   : #fff;
    position: absolute;
    bottom  : 10px;
    left    : 10px;
    right   : 10px;
}

.thumbnail .item .content .title {
    font-weight: 500;
}

.thumbnail .item .content .description {
    font-weight: 300;
}

/* arrows */
.arrows {
    position   : absolute;
    top        : 80%;
    right      : 52%;
    z-index    : 100;
    width      : 300px;
    max-width  : 30%;
    display    : flex;
    gap        : 10px;
    align-items: center;
}

.arrows button {
    width           : 40px;
    height          : 40px;
    border-radius   : 50%;
    background-color: #eee4;
    border          : none;
    color           : #fff;
    font-family     : monospace;
    font-weight     : bold;
    transition      : .5s;
}

.arrows button:hover {
    background-color: #fff;
    color           : #000;
}

/* animation */
.carousel .list .item:nth-child(1) {
    z-index: 1;
}

/* animation text in first item */

.carousel .list .item:nth-child(1) .content .author,
.carousel .list .item:nth-child(1) .content .title,
.carousel .list .item:nth-child(1) .content .topic,
.carousel .list .item:nth-child(1) .content .des,
.carousel .list .item:nth-child(1) .content .buttons {
    transform: translateY(50px);
    filter   : blur(20px);
    opacity  : 0;
    animation: showContent .5s 1s linear 1 forwards;
}

@keyframes showContent {
    to {
        transform: translateY(0px);
        filter   : blur(0px);
        opacity  : 1;
    }
}

.carousel .list .item:nth-child(1) .content .title {
    animation-delay: 1.2s !important;
}

.carousel .list .item:nth-child(1) .content .topic {
    animation-delay: 1.4s !important;
}

.carousel .list .item:nth-child(1) .content .des {
    animation-delay: 1.6s !important;
}

.carousel .list .item:nth-child(1) .content .buttons {
    animation-delay: 1.8s !important;
}

/* create animation when next click */
.carousel.next .list .item:nth-child(1) img {
    width        : 150px;
    height       : 220px;
    position     : absolute;
    bottom       : 50px;
    left         : 50%;
    border-radius: 30px;
    animation    : showImage .5s linear 1 forwards;
}

@keyframes showImage {
    to {
        bottom       : 0;
        left         : 0;
        width        : 100%;
        height       : 100%;
        border-radius: 0;
    }
}

.carousel.next .thumbnail .item:nth-last-child(1) {
    overflow : hidden;
    animation: showThumbnail .5s linear 1 forwards;
}

.carousel.prev .list .item img {
    z-index: 100;
}

@keyframes showThumbnail {
    from {
        width  : 0;
        opacity: 0;
    }
}

.carousel.next .thumbnail {
    animation: effectNext .5s linear 1 forwards;
}

@keyframes effectNext {
    from {
        transform: translateX(150px);
    }
}

/* running time */

.carousel .time {
    position        : absolute;
    z-index         : 1000;
    width           : 0%;
    height          : 3px;
    background-color: #f1683a;
    left            : 0;
    top             : 0;
}

.carousel.next .time,
.carousel.prev .time {
    animation: runningTime 2s linear  forwards;
}

@keyframes runningTime {
    from {
        width: 100%
    }

    to {
        width: 0
    }
}


/* prev click */

.carousel.prev .list .item:nth-child(2) {
    z-index: 2;
}

.carousel.prev .list .item:nth-child(2) img {
    animation: outFrame 0.5s linear 1 forwards;
    position : absolute;
    bottom   : 0;
    left     : 0;
}

@keyframes outFrame {
    to {
        width        : 150px;
        height       : 220px;
        bottom       : 50px;
        left         : 50%;
        border-radius: 20px;
    }
}

.carousel.prev .thumbnail .item:nth-child(1) {
    overflow : hidden;
    opacity  : 0;
    animation: showThumbnail .5s linear 1 forwards;
}

.carousel.next .arrows button,
.carousel.prev .arrows button {
    pointer-events: none;
}

.carousel.prev .list .item:nth-child(2) .content .author,
.carousel.prev .list .item:nth-child(2) .content .title,
.carousel.prev .list .item:nth-child(2) .content .topic,
.carousel.prev .list .item:nth-child(2) .content .des,
.carousel.prev .list .item:nth-child(2) .content .buttons {
    animation: contentOut 1.5s linear 1 forwards !important;
}

@keyframes contentOut {
    to {
        transform: translateY(-150px);
        filter   : blur(20px);
        opacity  : 0;
    }
}

@media screen and (max-width: 678px) {
    .carousel .list .item .content {
        padding-right: 0;
    }

    .carousel .list .item .content .title {
        font-size: 30px;
    }

    .carousel {
        height    : 60vh;
        margin-top: -50px;
        width     : 100vw;
        overflow  : hidden;
        position  : relative;
    }

    .thumbnail {
        position: absolute;
        bottom  : 50px;
        left    : 50%;
        width   : max-content;
        z-index : 100;
        display : flex;
        gap     : 20px;
    }

    .thumbnail .item {
        width      : 100px;
        height     : 150px;
        flex-shrink: 0;
        position   : relative;
    }

    .thumbnail .item img {
        width        : 100%;
        height       : 100%;
        object-fit   : cover;
        border-radius: 20px;
    }
}

@media screen and (max-width: 524px) {
    .carousel .list .item .content {
        padding-right: 0;
    }

    .carousel .list .item .content .title {
        font-size: 30px;
    }

    .carousel {
        height    : 40vh;
        margin-top: -50px;
        width     : 100vw;
        overflow  : hidden;
        position  : relative;
    }

    .thumbnail {
        position: absolute;
        bottom  : 50px;
        left    : 50%;
        width   : max-content;
        z-index : 100;
        display : flex;
        gap     : 20px;
    }

    .thumbnail .item {
        width      : 100px;
        height     : 150px;
        flex-shrink: 0;
        position   : relative;
    }

    .thumbnail .item img {
        width        : 100%;
        height       : 100%;
        object-fit   : cover;
        border-radius: 20px;
    }
}