@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');

*,
::after,
::before {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    outline: none;
}

li {
    list-style: none;
}

h1 {
    font-size: 3rem;
    font-weight: 800;
    color: #732f29;
}

h2,
h3 {
    font-size: 2.125rem;
    color: #732f29;
}

h3>span {
    color: #ff4f3e;
}

h3~p {
    text-align: center;
    font-size: 1.25rem;
    margin-bottom: 3rem;
    color: #732f29;
}

h4 {
    color: #732f29;
}

h6 {
    font-size: 18px;
}

button {
    border: none;
    background: none;
}

img {
    width: 100%;
    object-fit: cover;
    vertical-align: middle;
}

body {
    font-family: "Poppins", sans-serif;
    background-color: #e5cfb3;
}

.main-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 15px;
}

.main-row {
    display: flex;
    flex-wrap: wrap;
}

header {
    transition: .8s;
    padding: 30px 0;
    background-color: #fce4c5;
}

header .main-row {
    justify-content: space-between;
    align-items: center;
}

.logo img {
    width: 230px;
}

.navbar-toggle i {
    font-size: 1.25rem;
    cursor: pointer;
}

.portfolio-navbar {
    visibility: hidden;
    transform: translateX(100%);
    position: fixed;
    bottom: 0;
    top: 0;
    right: 0;
}

.portfolio-navbar.show {
    width: 400px;
    height: 100vh;
    z-index: 1005;
    max-width: 100%;
    transform: none;
    visibility: visible;
    transition: transform 0.3s ease-in-out;
    background-color: #fFF;
    padding: 2rem 3rem;
}

.sm-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.portfolio-navbar ul li {
    display: block;
}

.portfolio-navbar ul li a {
    color: #732f29;
    text-transform: uppercase;
    line-height: 50px;
}

.portfolio-navbar ul li a.active-link {
    font-weight: 800;
}

#home {
    padding-top: 75px;
    background-color: #fce4c5;
}

.content {
    align-items: center;
}

.home-image {
    width: 100%;
}

.home-intro {
    margin: 3rem 0;
    width: 100%;
    order: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.btn {
    background: #732f29;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    padding: 15px 30px;
    width: max-content;
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    border-radius: 20px;
}

.btn i {
    margin-left: 0.5rem;
    font-size: 20px;
}

#about {
    padding-top: 9rem;
    padding-bottom: 3rem;
    background-color: #e5cfb3;
}

.about-image {
    width: 100%;
}

.about-image img {
    border-radius: 999px;
    -webkit-filter: brightness(70%);
}

.content-highlight {
    display: none;
}

.about-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.about-content .subtitle {
    display: none;
}

.subtitle {
    position: relative;
    letter-spacing: 3px;
    display: block;
    font-weight: 600;
    text-align: left;
    padding-left: 60px;
    color: #732f29;
    font-size: 1rem;
}

.subtitle::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: #732f29;
}

#featured-food {
    padding: 4rem 0;
    background-color: #fce4c5;
}

.main-container>h3 {
    text-align: center;
    margin-bottom: 1rem;
}

.featured-item {
    cursor: pointer;
    position: relative;
    overflow: hidden;
    flex: 0 0 100%;
    will-change: flex;
    margin: 10px 5px;
    transition: 0.8s cubic-bezier(0.30, 0, 0.2, 1);
}

.featured-item img {
    height: 450px;
}

.item-info {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: -35px;
    z-index: 111;
    opacity: 0;
    padding: 15px 20px;
    border-radius: 12px;
    background-color: #732f29e5;
    filter: drop-shadow(0 0 80px rgb(0, 0, 0));
    transition: all 500ms ease;
}

.featured-item:hover .item-info {
    opacity: 1;
    bottom: 20px;
}

.title span,
.title h4 {
    color: #FFF;
    transform: translateY(20px);
    opacity: 0;
    transition: all 300ms ease;
}

.featured-item:hover .title span,
.featured-item:hover .title h4 {
    transform: translate(0);
    opacity: 1;
    transition-delay: 600ms;
}

#food-menu {
    padding: 4rem 0;
    background-color: #e5cfb3;
}

input[type="radio"] {
    transition: .4s;
    display: none;
}

.main-tab-container {
    margin: 0 auto;
    display: flex;
    border: 1px solid #FFF;
    background: #FCE4C5;
    justify-content: center;
    padding: 0.50rem;
    border-radius: 5rem;
}

.main-tab-container>label {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    border-radius: 5px;
    color: #000;
    cursor: pointer;
    border-radius: 5rem;
    transition: .4s;
}

.main-tab-container>label i {
    margin-left: 1rem;
}

#starters,
#desert,
#main-course {
    position: absolute;
    display: none;
    width: 375px;
    margin-top: 6rem;
}

input[type="radio"]:checked+label {
    color: #732f29;
}

#tab1:checked~#starters,
#tab2:checked~#desert,
#tab3:checked~#main-course {
    display: grid;
    grid-template-rows: repeat(1, 1fr);
    gap: 3rem;
    animation: fadeIn 5s ease;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.tab-content {
    display: flex;
    align-items: center;
}

.tab-content img {
    width: 100px;
    margin-right: 1.5rem;
}

.title-price {
    color: #732f29;
}

.tab-info p {
    color: #732f29;
}

.title-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.separator {
    flex-grow: 1;
    width: calc(50% - 30px);
    border-bottom: 1px solid #732f29;
    margin: 0px 25px;
}

#gallery {
    margin-top: 70rem;
    padding: 3rem 0;
    background-color: #fce4c5;
}

.gallery-wrapper {
    display: grid;
    gap: 15px;
    grid-template-columns: repeat(1, 1fr);
}

.gallery-item {
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.gallery-item img {
    transition: .5s;
}

.gallery-item:hover img {
    -webkit-filter: brightness(70%);
    transform: scale(1.1);
}

#contact {
    padding: 3rem 0;
    background-color: #732f29;
    color: #FFF;
}

#contact h3,
#contact p {
    color: #FFF;
}

#contact img {
    width: 400px;
}

.contact-info {
    width: 100%;
    padding-top: 45px;
    order: 2;
}

.footer-contact {
    width: 100%;
    padding-top: 15px;
}

.social-item {
    margin-top: 20px;
    display: inline-block;
}

.social-item:not(:last-child) {
    margin-right: .5rem;
}

.social-item a {
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    border: 1px solid #FFF;
    padding: 10px 12px;
    cursor: pointer;
}

.social-item {
    margin-top: 0;
}

/* ===== Footer Contact Form ======= */

.footer-contact {
    width: 100%;
    padding-top: 15px;
}

.input-wrapper,
.input-subject,
.form-submit {
    width: 100%;
    padding: 10px 0;
}

.form-submit .btn {
    border: 1px solid #FFF;
    border-radius: 0;
    font-family: 'Sora', sans-serif;
}

.input-control,
.contact-msg {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    background-color: transparent;
    border: 1px solid #FFF;
    color: #FFF;
    line-height: 45px;
    outline: none;
    padding: 0 30px;
    width: 100%;
    font-weight: 500;
}

.contact-msg {
    height: 120px;
    line-height: 1.2;
    padding: 20px 30px;
    resize: none;
}

.footer-contact label {
    color: #FFF;
    margin-bottom: .5rem;
    display: inline-block;
}

.footer-contact .subtitle::before {
    left: 7px;
}

.footer-contact .subtitle {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

footer {
    padding: 15px 0;
    background-color: #131313;
}

footer p {
    color: #FFF;
}

.main-row.footer-wrap {
    flex-direction: column;
    align-items: center;
}

#contact .subtitle {
    color: #FFF;
}

.contact-general {
    margin: 10px 0;
}

.social-content {
    margin-top: 10px;
}

#contact .subtitle::before {
    background-color: #FFF;
}

@media (min-width: 768px) {

    h5 {
        font-size: 1.15rem;
        text-transform: capitalize;
    }

    .navbar-toggle {
        display: none;
    }

    .portfolio-navbar {
        visibility: visible;
        transform: unset;
        position: unset;
    }

    .portfolio-navbar .logo {
        display: none;
    }

    .portfolio-navbar ul li {
        display: inline-block;
        padding: 0 10px;
    }

    .portfolio-navbar ul li a {
        line-height: 65px;
    }

    #home {
        padding: 4rem 0;
    }

    .home-intro {
        width: 60%;
        margin: 0;
        order: 1;
        text-align: unset;
    }

    .home-image {
        width: 40%;
        order: 2;
    }

    .about-image {
        width: 45%;
        padding-right: 4rem;
        margin-bottom: 2rem;
    }

    .main-img {
        position: relative;
    }

    .about-image img {
        width: 430px;
    }

    .content-highlight {
        border-radius: 10px;
        background: #732f29;
        box-shadow: 0px 2px 8px 0px rgba(34, 31, 60, 0.1);
        max-width: 255px;
        padding: 30px;
        position: absolute;
        right: 0px;
        z-index: 1;
        top: 55px;
        color: #FFF;
        display: flex;
        align-items: center;
        animation: experienceobject 3s infinite linear alternate;
    }

    @keyframes experienceobject {
        50% {
            right: 30px;
        }
    }

    .content-highlight i {
        font-size: 4.5rem;
    }

    .about-content {
        width: 55%;
    }

    .about-content .subtitle {
        display: block;
    }

    .features {
        grid-template-columns: repeat(3, 1fr);
        border-top: 1px solid #FFF;
    }

    .featured-item {
        margin: 0 5px;
        flex: 1;
    }

    .featured-item:hover {
        flex: 2;
    }

    #starters,
    #desert,
    #main-course {
        width: 1250px;
    }

    #tab1:checked~#starters,
    #tab2:checked~#desert,
    #tab3:checked~#main-course {
        grid-template-rows: unset;
        grid-template-columns: repeat(2, 1fr);
    }

    #gallery {
        margin-top: 30rem;
    }

    .gallery-wrapper {
        grid-template-columns: repeat(3, 1fr);
    }

    .contact-info {
        order: 1;
        width: 40%;
        padding-top: 15px;
    }

    .footer-contact {
        order: 2;
        width: 55%;
        padding-left: 100px;
    }

    .input-wrapper {
        padding: 0 10px;
        width: 50%;
        margin-bottom: 10px;
    }

    .input-subject,
    .form-submit {
        padding: 10px;
    }
}

header.header-sticky {
    left: 0px;
    right: 0px;
    top: 0;
    bottom: unset;
    position: fixed;
    background-color: rgba(248, 249, 250, 0.7);
    z-index: 2000;
    transition: .4s;
    box-shadow: 0 8px 6px -10px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    animation: fadeIn 2s;
    padding: 15px 0;
}

body.show {
    overflow: hidden;
}


/* ======= Message following form submission: error or success ======== */

.loader {
    padding: 10px;
    margin: 10px 0;
    background-color: #ECF3F9;
    text-align: center;
    font-weight: 600;
    display: none;
}

.loader.show {
    display: block;
}

.loader i {
    color: #000;
    animation: rotateme .4s linear infinite;
}

/* ---- loader animation ----- */

@keyframes rotateme {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.form-message {
    background-color: #ECF3F9;
    margin: 10px 0;
    text-align: center;
    font-weight: 600;
    display: none;
}

.form-message.show {
    display: block;
}

.success-msg {
    color: green;
    line-height: 3;
}

.error-msg {
    color: red;
    line-height: 3;
}