@font-face {
    font-family: 'Kiona';
    src: url('Kiona-Regular.ttf') format('truetype');
    font-weight: normal;
}

@font-face {
    font-family: 'Kiona Italic';
    src: url('Kiona-Itallic.ttf') format('truetype');
    font-style: italic;
}

html {
    scroll-behavior: smooth;
}

body {
    box-sizing: border-box;
    font-family: "Kiona", sans-serif;
    scroll-behavior: smooth;
    margin: 0;
    background-color: #e7f7e7;
    /* background-color: #fcfcfc; */
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

ol,
ul,
menu {
    list-style: none;
}

:root {
    /* transition */
    --transition-1: 0.15s ease;
    --transition-2: 0.35s ease;
    --cubic-in: cubic-bezier(0.51, 0.03, 0.64, 0.28);
    --cubic-out: cubic-bezier(0.33, 0.85, 0.56, 1.02);
}


/* ------------------
NAVBAR DESIGN
----------------- */

.header {
    position: relative;
    z-index: 10;
    padding: 32px 48px 56px 48px;
    /* padding: 32px 48px; */
    /* background-color: #b9d6bb; */
    background-color: #fcfcfc;
    height: 100px;
}

.header-section {
    display: flex;
    flex-direction: row;
    /* align-items: flex-start; */
    align-items: center;
    justify-content: space-between;
}

.header h1 {
    margin: 0;
    font-size: 20px;
}

.header div:not(.header-section) {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 24px;
}

.header .btn-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    color: black;
    border: 1.5px solid black;
    border-radius: 100px;
    padding: 8px 24px;
    transition: var(--transition-2);
    font-size: 14px;
}

.btn-header:hover {
    background-color: #f3f3f3;
    transition: var(--transition-2);
}

.menu-icon {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    color: #326c3c;
}

.menu-overlay {
    position: fixed;
    top: 30px;
    right: 48px;
    width: 30%;
    height: 90%;
    /* background-color: #000; */
    background-color: #326c3c;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    border-radius: 24px;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 32px 12px 32px;
    color: #fff;
    opacity: 0.7;
}

.menu-header span {
    font-size: 16px;
    font-weight: 400;
}

.close-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    font-family: inherit;
    font-size: 16px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.close-menu svg {
    border: 1px solid #666;
    border-radius: 100px;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-menu:hover {
    opacity: 1;
}

.menu-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 12px 32px 32px 32px;
}

.menu-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.menu-link {
    color: #fff;
    font-size: 24px;
    text-decoration: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 0;
    transform: translateX(30px);
}

.menu-overlay.active .menu-link {
    opacity: 1;
    transform: translateX(0);
}

.menu-overlay.active .menu-link:nth-child(1) {
    transition-delay: 0.1s;
}

.menu-overlay.active .menu-link:nth-child(2) {
    transition-delay: 0.15s;
}

.menu-overlay.active .menu-link:nth-child(3) {
    transition-delay: 0.2s;
}

.menu-overlay.active .menu-link:nth-child(4) {
    transition-delay: 0.25s;
}

.menu-overlay.active .menu-link:nth-child(5) {
    transition-delay: 0.3s;
}

.menu-overlay.active .menu-link:nth-child(6) {
    transition-delay: 0.35s;
}

.menu-link:hover {
    opacity: 0.7;
}

.menu-footer {
    margin-top: auto;
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    transition-delay: 0.4s;
}

.menu-overlay.active .menu-footer {
    opacity: 1;
    transform: translateY(0);
}

.menu-contact,
.menu-social {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.menu-footer a {
    color: #fff;
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    font-size: 14px;
}

.menu-footer a:hover {
    opacity: 1;
}

.menu-social ion-icon {
    font-size: 20px;
}

@media (max-width: 768px) {
    .menu-overlay {
        width: 100%;
        border-radius: 0;
    }
}

@media (max-width: 550px) {
    .header .btn-header {
        display: none;
    }
}



/* ------------------
Menu Section DESIGN
----------------- */

.menu-section {
    position: relative;
    z-index: 10;
    /* background-color: #b9d6bb; */
    background-color: #e7f7e7;
    /* background-color: #e2efd4; */
    /* background-color: #d3e2bf; */
    /* background-color: #fcfcfc; */
    border-start-start-radius: 50px;
    border-start-end-radius: 50px;
    padding: 32px 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: -40px;
    color: #326c3c;
}

@media (max-width: 768px) {
    .menu-section {
        margin-top: -45px;
    }

    .header {
        height: 110px;
    }
}

@media (min-width: 768px) {
    .menu-filters {
        justify-content: center;
    }
}

.menu-subcategory {
    width: 100%;
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.menu-subcategory h3 {
    font-size: 20px;
    color: #326c3c;
    font-family: 'Red Hat Display';
    font-weight: 700;
    border-bottom: 1px solid #b9d6bb;
    padding-bottom: 4px;
    margin: 0;
    text-align: left;
}

.menu-subcategory .menu-category-list {
    display: grid;
    grid-template-columns: 1fr;
    column-gap: 56px;
    row-gap: 24px;
    width: 100%;
}

@media (min-width: 768px) {
    .menu-subcategory .menu-category-list {
        grid-template-columns: 1fr 1fr;
    }
}

.menu-subcategory {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.menu-category-section.active .menu-subcategory {
    opacity: 1;
    transform: translateY(0);
}

.menu-subfilters-section {
    /* margin: 16px 0; */
    width: 100%;
    display: flex;
    justify-content: center;
}

.menu-subfilters {
    display: flex;
    align-items: center;
    gap: 12px;
    /* flex-wrap: wrap; */
    overflow-x: scroll;
    scrollbar-width: none;
}

.menu-subfilter {
    color: black;
    font-size: 14px;
    text-decoration: none;
    font-weight: 600;
    padding: 6px 12px;
    flex: 1 0 auto;
    border-radius: 6px;
    background-color: #b9d6bb;
    transition: background-color var(--transition-1);
    border: 1px solid #b9d6bb;
}

.menu-subfilter:hover {
    background-color: #b9d6bb;
}

.menu-subfilter.active {
    background-color: #326c3c;
    color: white;
}

/* .menu-filters-section {
    position: relative;
    z-index: 1;
    padding: 24px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
} */

.menu-filters-section {
    position: relative;
    z-index: 1;
    padding: 24px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    max-width: 1200px;
    /* margin: 0 auto; */
}

.menu-filters-wrapper {
    overflow-x: auto;
    /* white-space: nowrap; */
    scrollbar-width: none;
    flex-grow: 1;
}

.menu-filters-wrapper::-webkit-scrollbar, .menu-subfilters::-webkit-scrollbar {
    display: none;
}

.menu-filters {
    display: flex;
    align-items: center;
    /* justify-content: center; */
    gap: 16px;
}

.scroll-btn {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid #ccc;
    border-radius: 50%;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    transition: background-color 0.3s, box-shadow 0.3s;
}

.scroll-btn:hover {
    background-color: #eee;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.menu-filters a {
    /* color: black;
    font-size: 16px;
    text-decoration: none;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 8px;
    flex: 0 0 auto;
    transition: background-color var(--transition-1); */
    color: black;
    font-size: 16px;
    text-decoration: none;
    font-weight: 600;
    padding: 6px 12px;
    flex: 0 0 auto;
    border-radius: 6px;
    background-color: #b9d6bb;
    transition: background-color var(--transition-1);
    border: 1px solid #b9d6bb;
}

.menu-filters a:hover {
    /* background-color: #f3f3f3; */
    background-color: #b9d6bb;
    border-radius: 8px;
}

.menu-filters a.active {
    background-color: #326c3c;
    color: white;
}

.menu-section-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 48px;
    width: 100%;
    max-width: 1200px;
    /* margin: 0 auto; */
    padding: 0 16px;
}

.menu-category-section {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    width: 100%;
    padding-bottom: 48px;
    border-bottom: 1px solid #e7e6e6;
    opacity: 0;
    transform: translateY(20px);
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.5s ease, transform 0.5s ease, max-height 0.5s ease;
    /* border-bottom: 1px solid #b9d6bb; */
}

.menu-category-section.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
    max-height: 3500px;
    overflow: visible;
}

.menu-category-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.menu-category-header h2,
p {
    margin: 0;
}

.menu-category-header h2 {
    color: #326c3c;
    font-size: 26px;
    font-weight: 900;
}

.menu-category-header p {
    color: #666;
}

.menu-category-list {
    display: grid;
    grid-template-columns: 1fr;
    column-gap: 56px;
    row-gap: 24px;
    width: 100%;
}

.menu-category-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.menu-category-item.large-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.menu-category-item.large-item p {
    font-size: 16px;
    font-weight: 500;
    color: #333;
}

.menu-category-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.menu-category-item.hidden {
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
}

.menu-category-item h3,
.menu-category-item h4,
.menu-category-item p {
    margin: 0;
}

.menu-category-item p {
    font-weight: 600;
    font-size: 18px;
}

#own-smoothie {
    gap: 12px;
    padding: 12px 12px;
    background-color: #b9d6bb;
    color: black;
    border-radius: 8px;
}

#own-smoothie img {
    border-radius: 100px;
    width: 24px;
    height: 24px;
    background-color: #ffffff;
    padding: 12px;
}

#add-something {
    gap: 12px;
    padding: 12px 12px;
    background-color: #eee;
    color: black;
    border-radius: 8px;
}

#add-something img {
    border-radius: 100px;
    width: 24px;
    height: 24px;
    background-color: #ffffff;
    padding: 12px;
}


/* ------------------
RESPONSIVE DESIGN
----------------- */

/* .footer {
    position: relative;
    z-index: 1;
    margin-top: 48px;
    padding: 32px 48px;
    display: flex;
    flex-direction: column;
    background-color: #326c3c;
    color: white;
    gap: 12px;
} */

.footer {
    position: relative;
    background-color: #326c3c;
    margin-top: 48px;
    /* padding: 32px 48px; */
    display: flex;
    /* align-items: center; */
    justify-content: center;
    font-family: 'Kiona', sans-serif;
}

.footer::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: url('burger-removebg-preview.png');
    background-repeat: no-repeat;
    background-size: 400px, cover;
    /* Adjust as needed */
    background-position: 1000px, right;
    /* Adjust as needed */
    opacity: 0.2;
    /* Set the opacity to 20% */
    z-index: 1;
    /* Place it above the colored background */
    pointer-events: none;
    /* Ensure the pseudo-element doesn't capture pointer events */
}

.footer .footer-row {
    display: flex;
    flex-wrap: wrap;
    /* justify-content: space-between; */
    gap: 3.5rem;
    /* padding: 60px; */
    z-index: 999;
}

.footer-row .footer-col h4 {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 800;
    margin: 12px 0px;
    font-family: 'Kiona';
}

.footer-col .links {
    margin-top: 20px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col .links li {
    list-style: none;
    margin-bottom: 10px;
    font-family: 'Kiona';
    display: flex;
    justify-content: baseline;
    flex-wrap: nowrap;
    color: #fff;
    gap: 8px;
}

.footer-col .links ion-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.footer-col .links li a {
    text-decoration: none;
    color: white;
}

#contact-us {
    border-left: 1px solid white;
    padding-left: 50px;
}

.social-media {
    display: flex;
    flex-direction: row;
    gap: 1rem;
}

/* .footer-col .links li a:hover {
  color: #fff;
} */

.footer-col p {
    margin: 20px 0;
    color: #bfbfbf;
    max-width: 300px;
    font-weight: normal;
    z-index: 999;
}

.footer-col ul {
    padding: 0;
    margin: 0;
}

.footer-col form {
    display: flex;
    gap: 5px;
}

.footer-col input {
    height: 40px;
    border-radius: 6px;
    background: none;
    width: 100%;
    outline: none;
    border: 1px solid #7489C6;
    caret-color: #fff;
    color: #fff;
    padding-left: 10px;
}

.footer-col input::placeholder {
    color: #ccc;
}

.footer-col form button {
    background: #fff;
    outline: none;
    border: none;
    padding: 10px 15px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: 0.2s ease;
}

.footer-col form button:hover {
    background: #cecccc;
}

.footer-col .icons {
    display: flex;
    margin-top: 30px;
    gap: 30px;
    cursor: pointer;
}

.footer-col .icons i {
    color: #afb6c7;
}

.footer-col .icons i:hover {
    color: #fff;
}

@media (max-width: 960px) {
    /* #brand-footer {
        border-bottom: 1px solid white;
        padding-bottom: 20px;
    } */

    #contact-us {
        border-left: 1px solid white;
        padding-top: 20px;
        padding-left: 40px;
    }
}

@media (max-width: 768px) {
    .footer {
        position: relative;
        bottom: 0;
        left: 0;
        transform: none;
        border-radius: 0;
        font-size: 15px;
    }

    .copyright {
        font-size: 14px;
    }

    .footer .footer-row {
        /* padding: 20px; */
        gap: 1rem;
    }

    .footer-col form {
        display: block;
    }

    .footer-col .links {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-left: 0px;
    }

    .footer-col form :where(input, button) {
        width: 100%;
    }

    .footer-col form button {
        margin: 10px 0 0 0;
    }
}

@media (max-width: 500px) {
    #contact-us {
        border-left: none;
        padding-top: 0px;
        padding-left: 0px;
    }

    #brand-footer {
        border-bottom: 1px solid white;
        padding-bottom: 20px;
    }
}

@media (max-width: 1500px) {
    .footer::after {
        background-position: 1200px, center;
    }
}

@media (max-width: 1350px) {
    .footer::after {
        background-position: 1100px, center;
    }
}

@media (max-width: 1250px) {
    .footer::after {
        background-position: 1000px, center;
    }
}

@media (max-width: 1150px) {
    .footer::after {
        background-position: 900px, center;
    }
}

@media (max-width: 1050px) {
    .footer::after {
        background-position: 800px, center;
    }
}

@media (max-width: 950px) {
    .footer::after {
        background-position: 700px, center;
    }
}

@media (max-width: 850px) {
    .footer::after {
        background-position: 600px, center;
    }
}

@media (max-width: 770px) {
    .footer::after {
        background-size: 300px, cover;
        background-position: 600px, center;
    }
}

@media (max-width: 710px) {
    .footer::after {
        /* background-size: 300px, cover; */
        background-position: 550px, center;
    }
}

@media (max-width: 650px) {
    .footer::after {
        /* background-size: 300px, cover; */
        background-position: 450px, center;
    }
}

@media (max-width: 550px) {
    .footer::after {
        /* background-size: 300px, cover; */
        background-position: 400px, center;
    }
}

@media (max-width: 500px) {
    .footer::after {
        /* background-size: 300px, cover; */
        background-position: 300px 200px, center;
    }
}

@media (max-width: 450px) {
    .footer::after {
        /* background-size: 300px, cover; */
        background-position: 250px 200px, center;
    }
}

@media (max-width: 390px) {
    .footer::after {
        /* background-size: 300px, cover; */
        background-position: 200px 200px, center;
    }
}

/* ------------------
RESPONSIVE DESIGN
----------------- */

@media (min-width: 768px) {
    .menu-category-list {
        grid-template-columns: 1fr 1fr;
    }

    .menu-filters-section,
    .section {
        padding: 24px 48px;
    }
}

@media (max-width: 1200px) {
    .header {
        padding: 24px 32px;
    }
}

@media (max-width: 768px) {

    .header,
    .section {
        padding: 16px 24px;
    }

    .header img {
        width: 150px;
    }

    .menu-overlay {
        width: 100%;
        right: 0;
        top: 0;
        height: 100%;
        border-radius: 0;
    }

    .menu-filters a {
        font-size: 15px;
        padding: 6px 12px;
    }

    .menu-category-item h3,
    .menu-category-item p {
        margin: 0;
        font-size: 15px;
    }

    #own-smoothie img {
        width: 16px;
        height: 16px;
    }

    #add-something img {
        width: 16px;
        height: 16px;
        padding: 12px 12px;
    }
}

@media (max-width: 480px) {

    .header,
    .section {
        padding: 12px 16px;
    }

    .header img {
        width: 150px;
    }
}