/*------------------------------------------------------------------
Project: Bermiz – Modern Restaurant
Author: The_Krishna
Primary use: Restaurant & Food Business Website
-------------------------------------------------------------------*/
/*----------------Table of contents Start---------------------------
1. Default CSS
2. Preloader CSS
3. Button CSS 
4. Header CSS
5. Hero CSS
6. Showcase CSS
7. Demo CSS
8. Inner Pages CSS
9. Responsive CSS
10. Feature CSS
11. Footer CSS
12. Custom Cursor CSS
13. Scroll To Top Button CSS
---------Table of contents End-----------------------------------*/
/*------------------------ [Color codes] ------------------------                    
Background: #0b1315, #ffde9f
Content: #ffde9f, #ffffff, #99a9ad, #0b1315
-------------------------------------------------------------------*/
/************************ 1. Default CSS ***************************/
*,
::before,
::after{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
    font-family: 'Lexend', sans-serif;
}
body, html{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    font-family: 'Lexend', sans-serif;
}
img{
    max-width: 100%;
    height: auto;
}
a{
    text-decoration: none;
}
::selection{
    background: #ffde9f;
    color: #000000;
}
::-webkit-scrollbar{
    width: 4px;
}
::-webkit-scrollbar-track{
    background: #111111;
}
::-webkit-scrollbar-thumb{
    background: #ffde9f;
    border-radius: 10px;
}
html{
    overflow-x: hidden;
    overflow-y: scroll;
}
.py-100{
    padding: 100px 0;
}
.pt-100{
    padding-top: 100px;
}
.mt-60{
    margin-top: 60px;
}
.mxw-770{
    max-width: 770px;
    width: 100%;
}
.fit-content{
    width: fit-content;
}
.dark-bg{
    background: #0B1315;
}
.pb-80{
    padding-bottom: 80px;
}
.mt-20{
    margin-top: 20px;
}
.common-para{
    color: #99a9ad;
    font-family: 'Lexend', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 30px;
}
.mt-80{
    margin-top: 80px;
}
.pb-80{
    padding-bottom: 80px;
}
.g-20{
    gap: 20px;
}
.g-30{
    gap: 30px;
}
.pt-10{
    padding-top: 10px;
}
/************************ 2. Preloader CSS ***************************/
.bermiz-preloader.preloader-closing{
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.bermiz-preloader{
    z-index: 99999;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.7s ease, visibility 0.7s ease;
}
.preloader-food-scene{
    width: 300px;
    height: 390px;
    z-index: 2;
}
.food-fork{
    width: 65px;
    height: 180px;
    left: 55px;
    top: 55px;
    transform: rotate(-38deg);
    transform-origin: bottom center;
    animation: forkMove 2.5s ease-in-out infinite;
}
.fork-head{
    left: 14px;
    width: 35px;
    height: 65px;
}
.fork-head i{
    width: 5px;
    height: 48px;
    background: #ffde9f;
    border-radius: 5px;
}
.fork-handle{
    left: 25px;
    top: 42px;
    width: 7px;
    height: 135px;
    background: #ffde9f;
    border-radius: 10px;
}
.food-spoon{
    top: 55px;
    right: 55px;
    width: 65px;
    height: 180px;
    transform: rotate(38deg);
    transform-origin: bottom center;
    animation: spoonMove 2.5s ease-in-out infinite;
}
.spoon-head{
    left: 7px;
    width: 50px;
    height: 65px;
    background: #ffde9f;
    border-radius: 50% 50% 45% 45%;
}
.spoon-handle{
    left: 28px;
    top: 52px;
    width: 7px;
    height: 125px;
    background: #ffde9f;
    border-radius: 10px;
}
.food-bowl{
    top: 125px;
    width: 170px;
    height: 150px;
    animation: bowlFloat 2.5s ease-in-out infinite;
}
.bowl-top{
    top: 45px;
    left: 5px;
    width: 160px;
    height: 45px;
    background: #ffde9f;
    z-index: 3;
}
.bowl-body{
    top: 60px;
    left: 15px;
    width: 140px;
    height: 75px;
    background: #dcae65;
    border-radius: 0 0 70px 70px;
    z-index: 2;
}
.bowl-food{
    top: 43px;
    left: 20px;
    width: 130px;
    height: 35px;
    z-index: 5;
}
.food-item{
    width: 20px;
    height: 12px;
    background: #0b1315;
}
.food-item-one{
    left: 20px;
    top: 10px;
    transform: rotate(25deg);
}
.food-item-two{
    left: 55px;
    top: 4px;
    transform: rotate(-20deg);
}
.food-item-three{
    right: 20px;
    top: 12px;
    transform: rotate(35deg);
}
.food-item-four{
    left: 75px;
    top: 17px;
    width: 13px;
    height: 13px;
}
.steam{
    bottom: 105px;
    width: 5px;
    height: 45px;
    border-left: 2px solid rgba(255, 222, 159, 0.55);
    opacity: 0;
}
.steam-one{
    left: 60px;
    animation: steamMove 2s ease-in-out infinite;
}
.steam-two{
    left: 85px;
    height: 55px;
    animation: steamMove 2s ease-in-out 0.5s infinite;
}
.steam-three{
    right: 55px;
    height: 40px;
    animation: steamMove 2s ease-in-out 0.9s infinite;
}
.preloader-brand{
    top: 300px;
    color: #ffffff;
    font-size: 20px;
    letter-spacing: 7px;
    animation: brandFade 1s ease forwards;
}
.preloader-loading{
    top: 340px;
    gap: 10px;
}
.preloader-loading > span{
    color: rgba(255, 255, 255, 0.45);
    font-size: 12px;
    letter-spacing: 1px;
}
.loading-dots{
    gap: 5px;
}
.loading-dots i{
    width: 5px;
    height: 5px;
    background: #ffde9f;
    animation: dotBounce 1s ease-in-out infinite;
}
.loading-dots i:nth-child(2){
    animation-delay: 0.15s;
}
.loading-dots i:nth-child(3){
    animation-delay: 0.3s;
}
/************************ 3. Button CSS ***************************/
.common-btn{
    background: #ffde9f;
    color: #0b1315;
    font-family: 'Lexend', sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 24px;
    padding: 20px 32px;
    border: 1px solid transparent;
    z-index: 1;
    transition: color 0.5s ease;
}
.common-btn:hover{
    border-color: #ffde9f;
    color: #ffde9f;
}
.common-btn::before{
    content: "";
    position: absolute;
    inset: 0;
    background: #0b1315;
    z-index: -1;
    clip-path: polygon(0 0, 100% 0, 100% 0, 100% 0, 100% 100%, 0 100%, 0 100%, 0 100%);
    transform: scaleY(0);
    transform-origin: center;
    transition: transform 0.55s cubic-bezier(.77, 0, .18, 1);
}
.common-btn:hover::before{
    transform: scaleY(1);
}
/************************ 4. Header CSS ***************************/
.header-section{
    padding: 12px 0;
    border-bottom: 1px solid #ffde9f;
}
.sticky-header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    animation: stickyHeader 0.4s ease forwards;
}
.preview-ul{
    gap: 60px;
}
.preview-nav-link{
    color: #99a9ad;
    font-family: 'Lexend', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 30px;
}
.preview-nav-link span, .preview-ul a{
    transition: transform 0.5s cubic-bezier(0.76, 0, 0.24, 1);
}
.preview-ul a:hover{
    color: #ffde9f;
}
.preview-nav-link:hover span:first-child, .preview-nav-link:hover span:last-child{
    transform: translateY(-100%);
}
.preview-nav-link span:last-child{
    top: 100%;
    color: #ffde9f;
}
/************************ 5. Hero CSS ***************************/
.hero-section, .hero-container{
    min-height: calc(100vh - 91px);
}
.hero-glow{
    width: 420px;
    height: 420px;
    filter: blur(100px);
    opacity: 0.12;
    pointer-events: none;
}
.hero-glow-one{
    top: -180px;
    left: -120px;
    background: #ffde9f;
}
.hero-glow-two{
    right: -160px;
    bottom: -200px;
    background: #ffde9f;
}
.vertical-lines::before{
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image:
        linear-gradient(to right, rgba(217, 217, 217, 0.1) 1px, transparent 1px),
        linear-gradient(to right, rgba(217, 217, 217, 0.1) 1px, transparent 1px),
        linear-gradient(to right, rgba(217, 217, 217, 0.1) 1px, transparent 1px),
        linear-gradient(to right, rgba(217, 217, 217, 0.1) 1px, transparent 1px),
        linear-gradient(to right, rgba(217, 217, 217, 0.1) 1px, transparent 1px);
    background-size: 1px 100%, 1px 100%, 1px 100%, 1px 100%, 1px 100%;
    background-position: 0 0, 25% 0, 50% 0, 75% 0, 100% 0;
    background-repeat: no-repeat;
}
.vertical-lines > *{
    position: relative;
    z-index: 1;
}
.hero-content{
    flex: 1;
}
.preview-kicker{
    gap: 15px;
    color: #ffde9f;
    font-family: 'Lexend', sans-serif;
    font-size: 14px;
    letter-spacing: 2.5px;
}
.preview-kicker-line{
    height: 1px;
    width: 45px;
    background: rgba(255, 222, 159, 0.65);
}
.preview-hero-title{
    font-size: 100px;
    font-weight: 400;
    line-height: 100px;
    letter-spacing: -3px;
}
.title-white{
    color: #ffffff;
    font-family: 'Elsie', serif;
}
.title-gold{
    color: #ffde9f;
    font-family: 'Elsie', serif;
}
.preview-title-decoration{
    gap: 12px;
    margin: 24px 0;
}
.preview-title-decoration span{
    height: 1px;
    width: 55px;
    background: linear-gradient(90deg, transparent, rgba(255, 222, 159, 0.6));
}
.preview-title-decoration span:last-child{
    background: linear-gradient(90deg, rgba(255, 222, 159, 0.6), transparent);
}
.preview-title-decoration i{
    color: #ffde9f;
    font-size: 14px;
}
.preview-hero-bottom{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid rgba(255, 255, 255, .1);
}
.hero-feature{
    gap: 20px;
    padding: 30px;
}
.feature-number{
    color: #ffde9f;
    font-family: "Elsie", serif;
    font-size: 24px;
}
.feature-para1{
    color: #ffffff;
    font-family: "Elsie", serif;
    font-size: 20px;
}
.feature-para2{
    color: #99a9ad;
    font-family: "Lexend", sans-serif;
    font-size: 14px;
    margin-top: 4px;
}
/************************ 6. Showcase CSS ***************************/
.showcase-container{
    padding-top: 70px;
}
.grid-item1{
    width: 30%;
    margin-right: -50px;
    margin-left: -4px;
}
.grid-item2{
    width: 40%;
    margin-right: -75px;
}
.grid-item3{
    width: 50%;
    z-index: 3;
}
.grid-item4{
    width: 40%;
    margin-left: -75px;
    z-index: 2;
}
.grid-item5{
    width: 30%;
    margin-left: -50px;
    margin-right: -4px;
    z-index: 1;
}
.desktop-frame, .desktop-frame img{
    border-radius: 8px 8px 0 0;
}
.desktop-frame{
    border: 2px solid #fff;
}
/************************ 7. Demo CSS ***************************/
.demo-section{
    scroll-margin-top: 80px;
}
.preview-common-title{
    font-size: 60px;
    font-weight: 400;
    line-height: 60px;
    letter-spacing: -3px;
}
.preview-demo-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}
.preview-demo-card{
    transition: transform .6s cubic-bezier(.16, 1, .3, 1);
}
.preview-demo-card:hover{
    transform: translateY(-8px);
}
.preview-demo-card-left, .preview-demo-card-right{
    margin-top: 60px;
}
.preview-demo-card-center{
    margin-top: 0;
}
.preview-demo-image{
    border: 1px solid rgba(255, 222, 159, 0.25);
    border-radius: 4px;
    transition: border-color .3s ease-in-out, transform .3s ease-in-out;
}
.preview-demo-card:hover .preview-demo-image{
    border-color: #ffde9f;
    transform: translateY(-5px);
}
.preview-demo-overlay{
    background: rgba(5, 10, 10, 0.68);
    opacity: 0;
    transition: opacity .3s ease-in-out;
}
.preview-demo-card:hover .preview-demo-overlay{
    opacity: 1;
}
.view-demo-btn{
    font-size: 16px;
    padding: 12px 20px;
    opacity: 0;
    transform: translate(-50%, -50%) translateY(12px);
    transition: opacity 0.45s ease, transform 0.55s cubic-bezier(.16, 1, .3, 1);
}
.preview-demo-card:hover .view-demo-btn{
    opacity: 1;
    transform: translate(-50%, -50%) translateY(0);
}
.preview-demo-title{
    color: #ffffff;
    font-family: "Elsie", serif;
    font-size: 28px;
    font-weight: 400;
    margin-top: 20px;
    transition: color .3s ease-in-out;
}
.preview-demo-card:hover .preview-demo-title{
    color: #ffde9f;
}
/************************ 8. Inner Pages CSS ***************************/
.inner-page-slider-container{
    gap: 40px;
}
.inner-page-scroll-slider{
    width: max-content;
    will-change: transform;
    animation: innerPageScroll 70s linear infinite;
}
.inner-page-scroll-reverse{
    animation: innerPageScrollReverse 70s linear infinite;
}
.inner-page-slide-item{
    width: 330px;
    margin: 0 10px;
    border: 2px solid rgba(255, 222, 159, 0.25);
    border-radius: 10px;
}
.inner-page-image{
    height: 400px;
    border-radius: 10px 10px 0 0;
}
.inner-page-image img{
    object-fit: cover;
}
.inner-page-title{
    background: #ffde9f;
    color: #0B1315;
    font-family: "Elsie", serif;
    font-size: 24px;
    padding: 12px 0;
}
/************************ 9. Responsive CSS ***************************/
.preview-responsive-grid{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}
.preview-responsive-card{
    background: #111b1d;
    border: 1px solid rgba(255, 222, 159, 0.16);
    padding: 60px 20px;
    transition: transform .4s ease-in-out, border-color .4s ease-in-out, background .4s ease-in-out;
}
.preview-responsive-card:hover{
    transform: translateY(-10px);
    border: 1px solid #ffde9f;
    background: linear-gradient(145deg, rgba(255, 222, 159, 0.055), rgba(255, 255, 255, 0.015));
}
.preview-device-icon{
    height: 60px;
    width: 60px;
    color: #ffde9f;
}
.preview-responsive-type{
    color: #ffde9f;
    font-family: 'Lexend', sans-serif;
    font-size: 14px;
    letter-spacing: 2px;
    margin: 18px 0;
}
.preview-responsive-card h3{
    color: #ffffff;
    font-family: "Elsie", serif;
    font-size: 22px;
    font-weight: 400;
}
.preview-responsive-divider{
    height: 1px;
    width: 30px;
    background: #ffde9f;
    margin: 16px 0;
    transition: width .4s ease-in-out;
}
.preview-responsive-card:hover .preview-responsive-divider{
    width: 60px;
}
.preview-responsive-card p{
    color: #99a9ad;
    font-family: 'Lexend', sans-serif;
    font-size: 14px;
    letter-spacing: 0.5px;
}
/************************ 10. Feature CSS ***************************/
.feature-section{
    scroll-margin-top: 80px;
}
.preview-features-grid{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}
.preview-feature-card{
    background: #111b1d;
    border: 1px solid rgba(255, 222, 159, 0.16);
    padding: 50px 30px;
}
.preview-feature-card img{
    width: 100px;
    height: 100px;
}
.preview-feature-card p{
    color: #ffffff;
    font-family: "Elsie", serif;
    font-size: 24px;
    font-weight: 400;
}
/************************ 11. Footer CSS ***************************/
.footer-section{
    background: linear-gradient(180deg,#0b1315,#0b131580,#0b1315),url("../images/footer-bg-img.png") no-repeat center/cover;
}
.footer-copyright{
    color: #ffffff;
    font-family: "Lexend", sans-serif;
    font-size: 18px;
    padding-bottom: 30px;
}
.footer-copyright a{
    color: #ffffff;
    transition: color .3s ease-in-out;
}
.footer-copyright a:hover{
    color: #ffde9f;
}
/************************ 12. Custom Cursor CSS ***************************/
.custom-cursor{
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    width: 42px;
    height: 42px;
    border: 1px solid #ffde9f;
    pointer-events: none;
    z-index: 99999;
    transition: width 0.45s cubic-bezier(.22, 1, .36, 1), height 0.45s cubic-bezier(.22, 1, .36, 1), background 0.35s ease, border-color 0.35s ease, transform 0.45s cubic-bezier(.22, 1, .36, 1);
    mix-blend-mode: normal;
}
.cursor-dot{
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: #ffde9f;
    pointer-events: none;
    z-index: 100000;
    opacity: 1;
    transition: opacity 0.25s ease;
}
.custom-cursor.cursor-hover + .cursor-dot, .custom-cursor.cursor-view-active + .cursor-dot{
    opacity: 0;
}
.custom-cursor.cursor-hover{
    width: 60px;
    height: 60px;
    background: rgba(255, 222, 159, 0.5);
    border: none;
}
.custom-cursor.cursor-view-active{
    width: 80px;
    height: 80px;
    background: #ffde9f;
    border-color: #ffde9f;
    transform: translate(-50%, -50%) scale(1);
}
.cursor-view-text{
    color: #0b1315;
    font-family: 'Lexend', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 0.3s ease, transform 0.4s cubic-bezier(.22, 1, .36, 1);
}
.cursor-view-active .cursor-view-text{
    opacity: 1;
    transform: scale(1);
}
/************************ 13. Scroll To Top Button CSS ***************************/
.scroll-top-btn{
    right: 30px;
    bottom: 30px;
    cursor: pointer;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(30px);
    transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s ease;
    animation: imageUpDown2 2s ease-in-out infinite;
}
.scroll-top-btn.show{
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}
.scroll-top-btn:hover{
    transform: translateY(-6px);
}
.btn-icon{
    width: 60px;
    height: 60px;
    background: #ffde9f;
    border: 1px solid transparent;
}
.scroll-top-btn:hover .btn-icon{
    border-color: #ffde9f;
}
.btn-icon-bg{
    background: #0b1315;
    transform: scaleY(0);
    transform-origin: center;
    transition: transform 0.55s cubic-bezier(.77, 0, .18, 1);
}
.scroll-top-btn:hover .btn-icon-bg{
    transform: scaleY(1);
}
.btn-icon svg{
    width: 24px;
    height: 30px;
    fill: none;
    stroke: #0b1315;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: stroke 0.5s ease;
}
.scroll-top-btn:hover .btn-icon svg{
    stroke: #ffde9f;
}