* {
    margin: 0;
    padding: 0;
}

body {
    overflow-x: hidden;
}

:root {
    --main-font: "Frank Ruhl Libre";
    --second-font: "Open Sans";

    --font-12: 12px;
    --font-14: 14px;
    --font-16: 16px;
    --font-18: 18px;
    --font-20: 20px;
    --font-22: 22px;
    --font-32: 32px;
    --font-40: 40px;
    --font-48: 48px;
    --font-64: 64px;
    --font-72: 72px;
    --font-80: 80px;
    --font-104: 104px;


    --main-color: #A4712A;
    --second-color: #5F3A24;
    --white-color: #FFFFFF;
    --cream-color: #FAF8EC;
    --grey-color: #B0B0A5;
    --history-color: #CFA440;
    --history-scolor: #919183;
    --timeline-border: #535447;
    --timeline-p: #E7E6E4;
    --border-color: #F5F5F4;
    --footer-color: #191915;
    --footer-font-color: #CFA440;
    --f-grey-color: #D1D0C9;
    --copyright-color: #EDEDED;
    --copyright-border: #37372E;
    --about-span-color: #845424;
    --about-p-color: #6E4525;
    --button-color: #B88A31;
    --contact-color: #371E11;
}

header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 24px 0;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

header img {
    width: 172.64px;
    height: 64px;
}

.main-sec {
    position: relative;
    height: 100vh;
}

.m-slider,
.slick-list {
    height: 100%;
}

.m-slide img {
    height: 100vh;
    width: 100%;
    object-fit: cover;
}

.m-slide-text {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.m-slide-box {
    position: absolute;
    bottom: 10%;
    left: 120px;
    display: flex;
    flex-direction: column;
}

.m-slide-text .title {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 900px;
}

.title span {
    font-family: var(--main-font);
    font-weight: 500;
    font-size: var(--font-64);
    line-height: 83.2px;
    color: var(--white-color);
}

.title p {
    font-family: var(--main-font);
    font-weight: 500;
    font-size: var(--font-20);
    line-height: 25.82px;
    color: var(--white-color);
}

.content {
    margin-top: 64px;
    padding-left: 24px;
    max-width: 412px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    border-left: 1px solid var(--white-color);
}

.content span {
    font-family: var(--main-font);
    font-weight: 500;
    font-size: var(--font-32);
    line-height: 41.31px;
    color: var(--white-color);
}

.content p {
    font-family: var(--second-font);
    font-weight: 300;
    font-size: var(--font-16);
    line-height: 28.8px;
    color: var(--white-color);
}

.menu-box {
    position: absolute;
    background: #FFFFFF1A;
    right: 120px;
    bottom: 10%;
    padding: 48px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    border-radius: 32px;
    backdrop-filter: blur(10px);
}

.menu-box img {
    width: 72px;
    height: 72px;
}

.menu-box p {
    font-family: var(--main-font);
    font-weight: 600;
    font-size: var(--font-14);
    line-height: 18.07px;
    text-align: center;
    color: var(--cream-color);
    display: flex;
    flex-direction: column;
}

.menu-box span {
    font-weight: 700;
    font-size: var(--font-32);
    line-height: 41.32px;
    text-align: center;
    color: var(--white-color);
    font-family: var(--white-color);
}

.scroll {
    position: absolute;
    bottom: 0;
    left: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translate(-50%, 0);
}

.scroll img {
    width: 32px;
    padding-bottom: 64px;
}

.scroll::before {
    content: '';
    display: block;
    width: 1px;
    height: 64px;
    background-color: var(--white-color);
    position: absolute;
    left: 50%;
    bottom: 0;
}

.about-sec {
    position: relative;
    display: flex;
    width: 100%;
}

.a-text-box,
.about-img {
    width: 50%;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 64px;
    padding: 128px 64px 128px 120px;
}

.a-title {
    max-width: max-content;
}

.a-title h1 {
    display: flex;
    flex-direction: column;
    font-family: var(--main-font);
    font-weight: 300;
    font-size: var(--font-72);
    line-height: 72px;
    color: var(--main-color);
}

.a-title h1 span {
    font-weight: 700;
    color: var(--second-color);
}

.a-title .before-text {
    width: 100%;
    display: flex;
    justify-content: end;
    align-items: center;
    text-align: end;
    padding-top: 16px;
    font-family: var(--second-font);
    font-weight: 400;
    font-size: var(--font-16);
    line-height: 28.8px;
    color: var(--main-color);
    position: relative;
}

.a-title .before-text::before {
    content: '';
    width: 100%;
    height: 1px;
    background: var(--main-color);
    position: absolute;
    left: -120px;
}

.a-content p {
    font-family: var(--second-font);
    font-weight: 400;
    font-size: var(--font-16);
    line-height: 25.6px;
    color: var(--second-color);
}

.about-img {
    padding-top: 80px;
    padding-right: 80px;
}

.a-slide-box {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.slick-track {
    transform: unset !important;
}
.foto-slide {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}
.a-slide {
    width: 33.33% !important;
    flex: 1 1 30%;
    height: 271px;
}

.a-slide img {
    width: 100%;
    height: 271px;
    object-fit: cover;
    padding-bottom: 10px;
}

.products-title {
    padding: 80px 0 64px 120px;
    max-width: 400px;
}

.products-title h1 {
    font-family: var(--main-font);
    font-weight: 300;
    font-size: var(--font-72);
    line-height: 72px;
    color: var(--main-color);
    display: flex;
    flex-direction: column;
}

.products-title h1 span{
    font-weight: 700;
    color: var(--second-color);
}

.products-title .before-text {
    width: 100%;
    display: flex;
    justify-content: end;
    align-items: center;
    text-align: end;
    padding-top: 16px;
    font-family: var(--second-font);
    font-weight: 400;
    font-size: var(--font-16);
    line-height: 28.8px;
    color: var(--main-color);
    position: relative;
}

.products-title .before-text::before {
    content: '';
    width: 110%;
    height: 1px;
    background: var(--main-color);
    position: absolute;
    left: -120px;
}

.pt-top {
    display: flex;
    justify-content: space-between;
    align-items: end;
}

.products {
    position: relative;
    padding: 0 120px;
}

.p-box {
    position: relative;
}

.p-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.p-text {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
}

.p-text span {
    font-family: var(--main-font);
    font-size: var(--font-48);
    font-weight: 600;
    line-height: 48px;
    color: var(--white-color);
    max-width: 290px;
    text-align: center;
}

.p-box a:before,
.p-text button:before {
    content: "";
    position: absolute;
    z-index: -1;
    background: var(--second-color);
    height: 150px;
    width: 250px;
    border-radius: 50%;
}

.p-box a:hover,
.p-text button:hover {
    color: var(--white-color) !important;
}

.p-box a:before,
.p-text button:before {
    top: 100%;
    left: 100%;
    transition: all 0.5s;
}

.p-box a:hover:before,
.p-text button:hover:before {
    top: -30px;
    left: -30px;
}

.p-text button,
.p-box a {
    border: 1px solid var(--border-color);
    color: var(--border-color);
    padding: 16px 24px;
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
    font-weight: 400;
    font-family: var(--second-font);
    font-size: var(--font-16);
    text-decoration: none;
    line-height: 28.8px;
    width: max-content;
    height: 11px;
    overflow: hidden;
    position: relative;
    z-index: 1;
    transition: color 0.5s;
    background-color: transparent;
    border-radius: 0;
}

.p-text button:focus {
    background-color: unset !important;
    border-color: unset !important;
}

.p-text button:before
.p-box a:before {
    content: "";
    position: absolute;
    z-index: -1;
    background: var(--border-color);
    height: 150px;
    width: 250px;
    border-radius: 50%;
}

.p-text button:hover,
.p-box a:hover {
    color: var(--footer-color);
    background-color: transparent;
    border-color: var(--cream-color);
}

.p-text button:before,
.p-box a:before {
    top: 100%;
    left: 100%;
    transition: all 0.5s;
}

.p-text button:hover:before,
.p-box a:hover:before {
    top: -30px;
    left: -30px;
}


footer {
    position: relative;
    float: left;
    background-color: var(--footer-color);
    padding: 88px 120px 32px 120px;
    width: 100%;
}

.f-logo {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
}

.footer-box {
    display: flex;
    align-items: center;
    gap: 289px;
    width: 100%;
}

.f-content {
    width: 30%;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.f-content h1 {
    font-family: var(--main-font);
    font-size: var(--font-32);
    line-height: 32px;
    font-weight: 300;
    color: var(--footer-font-color);
    text-transform: capitalize;
    max-width: 260px;
}

.f-content h1 span {
    font-weight: 700;
    color: var(--border-color);
}

.f-contact {
    display: flex;
    flex-direction: column;
}

.f-contact a {
    text-decoration: none;
    font-family: var(--second-font);
    font-weight: 400;
    font-size: var(--font-14);
    line-height: 22.4px;
    color: var(--f-grey-color);
}

.f-smedia {
    display: flex;
    gap: 16px;
}

.f-smedia .smedia-box {
    position: relative;
    border: 1px solid var(--timeline-border);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.f-smedia .smedia-box img {
    position: relative;
    z-index: 1;
    width: 20px;
    height: 20px;
    transition: all 0.3s ease-in-out;
}

.f-smedia .smedia-box .filled {
    position: absolute;
    top: auto;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: #000;
    transition: all 0.3s ease-in-out;
    z-index: 0;
}

.f-smedia .smedia-box:hover .filled {
    height: 100%;
}

.f-smedia .smedia-box:hover img {
    filter: brightness(0) invert(1);
}

.f-smedia .smedia-box .tooltip {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #000;
    color: #fff;
    padding: 6px 10px;
    border-radius: 5px;
    font-size: 12px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.f-smedia .smedia-box:hover .tooltip {
    bottom: -50px;
    opacity: 1;
    visibility: visible;
}

.f-smedia .smedia-box[data-social="facebook"] .filled,
.f-smedia .smedia-box[data-social="facebook"]~.tooltip {
    background-color: #1877f2;
}

.f-smedia .smedia-box[data-social="instagram"] .filled,
.f-smedia .smedia-box[data-social="instagram"]~.tooltip {
    background: linear-gradient(45deg,
            #405de6,
            #5b51db,
            #b33ab4,
            #c135b4,
            #e1306c,
            #fd1f1f);
}

footer ul {
    width: 70%;
    display: flex;
    justify-content: space-between;
}

footer ul li {
    list-style-type: none;
}

footer ul li a {
    font-family: var(--second-font);
    font-weight: 600;
    font-size: var(--font-18);
    line-height: 32.4px;
    color: var(--cream-color);
    text-decoration: none;
    position: relative;
    transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
    transition-duration: 400ms;
    transition-property: color;
    cursor: pointer;
}

footer ul li a:focus,
footer ul li a:hover {
    color: var(--cream-color);
}

footer ul li a:focus:after,
footer ul li a:hover:after {
    width: 100%;
    left: 0%;
}

footer ul li a:after {
    content: "";
    pointer-events: none;
    bottom: -2px;
    left: 50%;
    position: absolute;
    width: 0%;
    height: 2px;
    background-color: var(--cream-color);
    transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
    transition-duration: 400ms;
    transition-property: width, left;
}

.copyright {
    padding-top: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--copyright-border);
    margin-top: 32px;
}

.copyright span {
    font-family: var(--second-font);
    font-weight: 400;
    font-size: var(--font-12);
    color: var(--copyright-color);
}

.copyright img {
    width: 120px;
    height: 100%;
}

.video {
    position: relative;
    padding: 0 120px;
    margin-bottom: 120px;
}

.video a {
    height: 100%;
    display: block;
}

.play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--button-color);
    border-radius: 4px;
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}

.play img {
    width: 32px;
    height: 32px;
}


.modal {
    margin-top: 90px;
    --bs-modal-bg: transparent !important;
}


.modal.fade .modal-dialog {
    max-width: unset;
    margin-bottom: 0;
    margin-top: 0;
}

.modal-header {
    padding: 0 !important;
    overflow: hidden !important;
    position: relative;
    height: 400px;
}

.modal-img {
    width: 100%;
}

.modal-header .modal-img.active{
    position: fixed;
}

.modal {
    margin-top: 0;
}

.modal-body {
    display: flex;
    flex-direction: column;
    background-color: var(--white-color);
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
    padding-bottom: 200px !important;
    padding-left: 0 !important;
    margin-top: -50px;
    padding-top: 64px !important;
}

.i-modal {
    padding-top: 80px !important;
}

.im-body {
    position: relative;
    display: flex;
    flex-direction: column;
    background-color: var(--white-color);
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
    padding-bottom: 200px !important;
    padding-left: 0 !important;
    margin-top: -50px;
    padding-top: 64px !important;
}

.modal-body .title,
.im-body .title {
    font-family: var(--main-font);
    font-weight: 700;
    font-size: 64px;
    line-height: 64px;
    color: var(--about-p-color);
    padding-left: 120px;
}

.im-body {
    padding-top: 40px;
}

.f-slide {
    padding: 16px 24px;
    border: 1px solid var(--about-p-color);
    min-width: max-content;
    height: 43px !important;
    display: flex !important;
    justify-content: center;
    align-items: center;
    transition: all .3s ease;
    cursor: pointer;
    pointer-events: visible;
}

.f-slide a {
    font-family: var(--second-font);
    font-weight: 400;
    font-size: 16px;
    line-height: 28.8px;
    text-transform: capitalize;
    color: var(--about-p-color);
    text-decoration: none;
}

.f-slide:hover {
    background-color: var(--about-p-color);
}

.f-slide:hover a {
    color: var(--white-color);
}

.i-modal .popup-filter {
    top: 80px;
    padding: 30px 0 30px 120px;
}

.popup-filter {
    display: flex;
    gap: 24px;
    overflow-x: scroll;
    overflow-y: hidden;
    position: sticky;
    top: 0;
    background-color: var(--white-color);
    z-index: 999;
    padding: 40px 0 40px 120px;
    pointer-events: none;
    margin-bottom: -80px;
    align-items: center;
}

.popup-filter::-webkit-scrollbar {
    display:none;
  }

.popup-details {
    display: flex;
    padding-top: 120px;
}

.popup-details-content {
    padding-left: 32px;
}

.popup-details-content h1{
    font-family: var(--main-font);
    font-weight: 300;
    font-size: 48px;
    line-height: 48px;
    color: var(--main-color);
    max-width: min-content;
}

.popup-details-content h1 span {
    font-weight: 700;
    color: var(--second-color);
}

.popup-details .before-text {
    width: 100%;
    display: flex;
    justify-content: end;
    align-items: center;
    text-align: end;
    padding-top: 16px;
    font-family: var(--second-font);
    font-weight: 400;
    font-size: var(--font-16);
    line-height: 28.8px;
    color: var(--main-color);
    position: relative;
    padding-left: 120px;
}

.popup-details .before-text::before {
    content: '';
    width: 90%;
    height: 1px;
    background: var(--main-color);
    position: absolute;
    left: -32px;
}

.popup-details:nth-of-type(3)  .before-text::before {
    width: 70%;
}

.popup-details img {
    object-fit: cover;
}

.popup-details ul {
    padding-top: 32px;
}

.popup-details ul li {
    font-family: var(--second-font);
    font-weight: 400;
    font-size: var(--font-16);
    line-height: 25.6px;
    color: var(--about-p-color);
}

.modal-footer {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, -26px);
    border-top: unset !important;
    justify-content: center !important;
    z-index: 1000;
}

.modal-footer button {
    border: 4px solid var(--white-color) !important;
    width: 60px !important;
    height: 60px !important;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--button-color);
    box-shadow: 0px 3px 6px 0px #0000001A, 0px 11px 11px 0px #00000017, 0px 26px 15px 0px #0000000D, 0px 46px 18px 0px #00000003, 0px 72px 20px 0px #00000000;
}


.modal-footer img {
    width: 35px;
    height: 35px;
}

.modal-footer button:hover {
    background-color: var(--button-color) !important;
}

.f-slide.active {
    background-color: var(--about-p-color);
}

.f-slide.active a {
    color: var(--white-color);
}

.video video {
    width: 100%;
    height: 100%;
}

@media (max-width: 960px) {

    body,
    html {
        overflow-x: hidden;
    }


    .m-slide-box {
        top: 25%;
        left: 15px;
    }

    .title span {
        font-size: 24px;
        line-height: 31.2px;
    }

    .title p {
        font-size: 16px;
        line-height: 20.66px;
    }

    .content {
        gap: 6px;
    }

    .content span {
        font-size: 20px;
        line-height: 25.82px;
    }

    .content p {
        font-size: 12px;
        line-height: 21.6px;
    }

    .menu-box {
        padding: 16px;
        gap: 12px;
        right: 16px;
        bottom: 7%;
    }

    .menu-box img {
        width: 56px;
        height: 56px;
    }

    .menu-box p {
        font-size: 10px;
        line-height: 12.91px;
    }

    .menu-box span {
        font-size: 20px;
        line-height: 25.82px;
    }

    .scroll::before {
        height: 48px;
    }

    .scroll img {
        width: 24px;
        padding-bottom: 48px;
    }

    .about-sec {
        flex-direction: column;
    }

    .a-text-box, .about-img {
        width: 100%;
    }

    .about-text {
        padding: 32px 16px;
    }

    .a-title h1 {
        font-size: 48px;
        line-height: 48px;
    }

    .about-img {
        padding-right: 15px;
        padding-left: 15px;
        padding-top: 30px;
    }

    .a-slide {
        width: 100% !important;
        flex: 1 1 100%;
        height: 271px;
    }

    .pt-top {
        display: flex;
        flex-direction: column;
        align-items: start;
    }

    .products-title, .social-title {
        padding: 48px 0 24px 16px;
    }

    .history-title h1, .products-title h1 {
        font-size: 48px;
        line-height: 48px;
    }

    .history-title .before-text::before, .products-title .before-text::before {
        left: -130px;
    }

    .pt-btn {
        padding-bottom: 24px;
        padding-left: 16px;
    }

    .products, .posts {
        padding: 0 16px;
    }

    .products .mt-4 {
        margin-top: 0 !important;
    }

    .p-box {
        margin-bottom: 16px;
    }

    .video {
        padding: 0 15px;
    }


    footer {
        padding: 64px 16px 32px 16px;
    }

    .footer-box {
        align-items: unset;
        flex-direction: column;
        gap: 0;
    }

    .f-content {
        width: 100%;
    }

    footer ul {
        width: 100%;
        flex-direction: column;
        justify-content: unset;
        padding: 0;
        padding-top: 32px;
        gap: 24px;
        margin: 0;
    }

    .copyright {
        flex-direction: column;
        align-items: unset;
        gap: 16px;
    }

}