

/* global styling */
*{
    box-sizing: border-box;
}
html{
    scroll-behavior: smooth;
    scroll-padding-top:86px ;
    scroll-snap-type: mandatory;
}
body{
    margin: 0;
}
::-webkit-scrollbar{
    width: 13px;
}
::-webkit-scrollbar-track{
    background-color: #e1e1e1;
}
::-webkit-scrollbar-thumb{
    background-color: #1d1d1d;
    border-radius: 10px;
}
.l-float{
    float: left;
}
.r-float{
    float: right;
}
.clr{
    clear: both;
}
.img{
    width: 100%;
    display: block;
}
.red{
    color: #ce1212;
}
.layer{
    background-color: #000;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    opacity: 0.5;
    z-index:99;
}
.sec-title{
    
    text-align: center;
    .sec-name{
        color: #7f7f90;
        font-size: 14px;
        font-family: "Noto Sans JP", sans-serif;
        width: 100%;
    }
    .title{
        width: 100%;
        font-family: "Amatic SC", sans-serif;
        line-height: 75px;
        h2{
            font-size: 3.125rem;
            font-weight: 400;
            margin: 20px 0;
            color: #212529;
        }
    }
}
a:link {
    text-decoration: none;
  }
  
  a:visited {
    text-decoration: none;
  }
  
  a:hover {
    text-decoration: none;
  }
  
  a:active {
    text-decoration: none;
  }



/* ------------------------- navbar ----------------------- */
.nav{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    display: flex;
    justify-content: center;
    font-family: "Roboto",sans-serif;
    filter: drop-shadow(0px 0px 3px #68686a3b);
    z-index: 999999;
    h1{
        margin: 0;
        font-size: 30px;
        font-weight: 700;
        color: #212529;
    }
}
.logo{
    position: relative;
}
.logo::after{
    content: '';
    position: absolute;
    top: 75%;
    left: 100%;
    background-color: #ce1212;
    height: 5px;
    width: 5px;
    border-radius: 50%;
}

.moon{
    display: flex;
    font-size: 25px;
    cursor: pointer;
    .fa-moon{
        align-self: center;
    }
}
.nav ul{
    list-style: none;
    padding: 0;
    display: flex;
    gap: 30px;
    margin: 0;
    visibility: hidden;
    a{
        color: inherit;
    }
    li{
        color: #7f7f90;
        align-self: center;
        font-size: 18px;
        position: relative;
    }
    span{
        color: #000;
        position: relative;
    }
}
.nav ul span::after{
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #ce1212;
    width: 100%;
    height: 2px;
}
.links li::after{
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #ce1212;
    width: 0%;
    height: 2px;
    transition: all 0.5s;
}
.links li:hover{
    color: #000;
    ::after{
        width: 100%;
    }
    cursor: pointer;
}
.links li:hover::after{
    width: 100%;
}
.links{
    display: flex;
}
.content{
    
    padding: 25px 5px 25px 5px;
    width: 90%;
    display: flex;
    
    justify-content: space-between;
    
}





/* ------------------------- header styling ----------------------- */
.header{
    display: flex;
    padding: 0 8% 0 8%;
    background-color: #eeeeee;
    overflow: hidden;
    margin-top: 86px;
}

.home{
    align-items: center;
    display: flex;
    justify-content: center;
    padding: 40px 5px;
    flex-wrap: wrap;
}

.info{
    text-align: center;
    align-self: center;
    width: 100%;
    h2{
        font-family: "Amatic SC", sans-serif;
        font-size: 65px;
        color: #37373f;
        margin: 0;
    }
    p{
        color: #4f4f5a;
        font-family: 'Times New Roman', Times, serif;
    }
}

.hero{
    width: 100%;
    filter: drop-shadow(0px 0px 30px #68686a);
}

.hero img:hover{
    animation: vibration 1s linear infinite ;
    position: relative;
}
@keyframes vibration {
    0% {
        transform: translate(1px, 1px) rotate(0deg);
    }
    10% {
        transform: translate(-1px, -2px) rotate(-1deg);
    }
    20% {
        transform: translate(-3px, 0px) rotate(1deg);
    }
    30% {
        transform: translate(3px, 2px) rotate(0deg);
    }
    40% {
        transform: translate(1px, -1px) rotate(1deg);
    }
    50% {
        transform: translate(-1px, 2px) rotate(-1deg);
    }
    60% {
        transform: translate(-3px, 1px) rotate(0deg);
    }
    70% {
        transform: translate(3px, 1px) rotate(-1deg);
    }
    80% {
        transform: translate(-1px, -1px) rotate(1deg);
    }
    90% {
        transform: translate(1px, 2px) rotate(0deg);
    }
    100% {
        transform: translate(1px, -2px) rotate(-1deg);
    }
}
.btn-group{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    column-gap:50px;
    row-gap: 20px;
    width: 100%;
}
.info p{
   line-height: 25.6px;
}
.first-btn{
    button{
        font-size: 15px;
        background-color: #ce1212;
        border: 0;
        padding: 15px 25px;
        color: #fff;
        border-radius: 0px 20px 20px 20px;
        transition: all 0.3s;
        cursor: pointer;
    }
}
.first-btn:hover{
    button{
        background-color: red;
    }
}

.second-btn{
    display: flex;
    width: fit-content;
    gap: 15px;
    cursor: pointer;
    transition: all 0.3s;
    p{
        color: #000;
        margin: 0;
        align-self: center;
        font-family: "Noto Sans JP", sans-serif;
        transition: all 0.3s;
    }
    .fa-play{
        cursor: pointer;
    }
    .icon-bg{
        position: relative;
        width: 40px;
        height: 40px;
        justify-content: center;
        align-items: center;
        border-radius: 50%;
        background-color: #fff;
        display: flex;
        
    }
    .rborder{
        width: 25px;
        border-top-left-radius: 40px; 
        border-bottom-left-radius: 40px;
        border: 7px solid #ce1212;
        border-right: 0;
        margin-right:20px ;
    }
}
.second-btn:hover{
    color: #ce1212;
    p{color: #ce1212;}
}




/* ------------------------- chefs styling ----------------------- */
.staff-profiles{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 50px;
    margin: 30px 0;
    padding: 30px 0 50px 0 ;
    width: fit-content;;
}
.card{
    
    max-width: 530px;
    padding: 0 15px;
}
.card3{
    justify-self: start;
}
.chefs{
    text-align: center;
    padding-top: 20px;
}
.chef{
    box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    transition: all 0.5s;
}
.chef-img{
    width: 100%;
    position: relative;
    img{
    border-radius: 10px ;}
}
.chef:hover{
    transform: scale(1.08);
}
.svg{
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    z-index: 99;
}
.chef-info{
    padding: 0 20px 20px 20px;
}
.chef-name h3{
    font-family: "Inter", sans-serif;
    font-weight: 700;
    font-size: 18px;
    color:#212529;
    margin: 0;
    line-height: 21px;
}
.job-title {
    font-family: "Noto Sans JP", sans-serif;
    color: #7f7f90;
    font-size: 14px;
}
.chef-cv{
    font-family: "Roboto",sans-serif;
    color: #7f7f90;
    line-height: 22px;
    font-style: italic;
}




/* <!----------------------------- Gallery styling ---------------------------> */
.gallery-sec{
    background-color: #eeeeee;
    text-align: center;
    padding-top: 20px;
    padding-bottom: 50px;
}
.gallery{
    max-width: 85%;
    margin:20px auto;
  }
  
  .gallery .title{
    font-size: 25px;
    background-color: #000;
    color:#fff;
    border-radius: 5px;
    margin-bottom: 10px;
    text-align: center;
    padding:15px;
  }
  
  .gallery .image-container{
    columns:3 250px;
    gap:20px;

  }
  
  .gallery .image-container img{
    width: 100%;
    
    transition: all 0.5s;
  }
  .photo{
    border: 5px solid #fff ;
    position: relative;
    overflow: hidden;
    margin-bottom: 10px;
  }

  .text{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
  }
  .hid1{
    background-color: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    transition: all 0.5s;
    color: #fff;
}

.photo:hover .hid1{
    top: 0;

}
.photo:hover img{
    transform: scale(1.2);
    
}





/* <!----------------------------- contacts styling ---------------------------> */


.section{
    overflow: auto;
    background-color: #fdfdfd;
}

.contact-sec{
    max-width: 85%;
    margin:20px auto;
}
.map{
    margin-bottom: 20px;
}
.contact{
    background-color: #f5f5f5;
    padding: 20px;
    display: flex;
    gap: 20px;
    width: calc(100% - 10px);
}
.icon{
    background-color: #ce1212;
    color: #fff;
    border-radius: 50%;
    font-size: 20px;
    padding: 10px;
    align-self: center;
}
.comm{
    p{
        margin: 0;
    }
    h3{
        margin-top: 0px;
        margin-bottom: 5px;
        color: #7d7d7d;
        font-family: "Noto Sans JP", sans-serif;
    }
}
.details{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
    align-self: center;
}

.form{
    box-shadow: 2px 2px 7px rgba(0, 0, 0, 0.3);
    margin-top: 50px;
    background-color: #fdfdfd;
    form{
        padding: 25px;
        display: flex;
        column-gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
        input , textarea{
            width: 100%;
            height: 60px;
            margin-bottom: 20px;
            resize: vertical;
            overflow: auto;
            display: flex;
            align-items: center;
            padding-left: 7px;
            font-family: Arial, Helvetica, sans-serif;
            font-size: 16px;
            border-radius: 5px;
            border: #e8e3e3 2px solid;
        }
        button{
            background-color: #ce1212;
            color: #fff;
            margin-top: 15px;
            padding: 15px 40px;
            border: 0;
            border-radius: 30px;
            font-family: "Noto Sans JP", sans-serif;
            font-size: 18px;
            font-weight: 300;
            cursor: pointer;
            transition: all 0.5s;
        }
        button:hover{
            background-color: red;
        }
        textarea{
            min-height: 9.375rem;
            max-height: 18.75rem;
            padding-top: 10px;
        }
    }
    .name,.email{
        width: calc(100% - 10px);
    }
}

/* <!------------------------------- footer -------------------------------> */
.footer{
    background-image: url(images/textured-metal-background.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    color: #fff;
    font-family: "Noto Sans JP", sans-serif;
    display: flex;
    flex-direction: column;
    padding: 30px 50px;
    margin-top: 70px;
    position: relative;
}
.mealify{
    position: relative;
    z-index: 999;
    width: 100%;
}
.logo-title{
    display: flex;
    gap: 20px;
    align-items: center;
}
.img-container{
    width: 50px;
}
.social{
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    h3{
        width: 100%;
        text-align: center;
        margin: 0;
        padding-bottom: 15px;
        border-bottom: #7d7d7d  3px solid;
    }
}
.social-links{
    font-size: 18px;
    padding-top: 15px;
    display: flex;
    gap: 30px;
}
.mealify .fab{
    font-size: 30px;
    color: #fff;
}

.subscribe{
    position: relative;
    z-index: 999;
    width: 100%;
    padding-left: 20px;
}
.data{
    form{
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        input{
            width: 100%;
            height: 40px;
        }
        button{
            width: 100%;
            height: 40px;
            background-color: #ce1212;
            color: #fff;
            border: 0px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            font-size: 16px;
            transition: all 0.5s;
            p{
                margin: 0;
                margin-left: 10px ;
            }
        }
        button:hover{
            background-color: red;
        }
    }
}
.quick-links{
    ul{
        display: flex;
        flex-wrap: wrap;
        padding: 0;
        list-style: none;
        li{
            display: flex;
            align-items: center;
            width: calc(50% - 10px);
            padding-top: 5px;
            padding-bottom: 5px;
            cursor: pointer;
            transition: transform 0.5s;
            position: relative;
            i{
                margin-right: 5px;
            }
            p{
                margin: 0;
                font-size: 18px;
            }
        }
        li:hover{
            background-color: #1f1f1f;
            position: relative;
            transform: translate(5px , 0);
        }
    }
}


.get-in-touch{
    position: relative;
    z-index: 999;
    width: 100%;
    padding-left: 20px;
    ul{
        padding: 0;
        list-style: none;
        li{
            display: flex;
            margin-bottom: 15px;
            i{
                margin-right: 10px;
                font-size: 30px;
                color: #ce1212;
            }
        }
        p{
            margin: 0;
        }
    }
}

