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

html {
    scroll-behavior: smooth;
}

body {
    background-color: #faf6ec;
    width: 100%;
    min-height: 100vh;
    font-family: 'Times New Roman', Times, serif;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 0.1rem 7%;

    background-color: #fff6e5;
    border-bottom: 1px solid rgb(255, 251, 240);

    position: fixed;
    top: 0;
    left: 0;
    right: 0;

    z-index: 9999;
}

nav div img {
    width: 50px;
}

.navbar .navbar-nav a {
    text-decoration: none;

    font-family: 'Times New Roman', Times, serif;
    font-weight: bold;

    color: #31824C;
    font-size: 1.3rem;

    margin: 0 1rem;

    border-bottom: 1px solid transparent;

    transition:
        color 0.3s ease,
        border-color 0.3s ease;
}

.navbar .navbar-nav a:hover {
    color: #42B067;
    border-bottom-color: #42B067;
}

.cart-icon {
    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 20%;

    width: 60px;
    height: 48px;

    padding: 10px;

    text-decoration: none;

    transition: background-color 0.3s ease;
}

.cart-icon:hover {
    background-color: #dddddda9;
}

.cart-icon img {
    width: 24px;
    height: 24px;
}

#cart-count {
    background: #31824C;
    color: white;

    border-radius: 50%;

    padding: 2px 6px;

    font-size: 0.8rem;
    margin-left: 4px;
}

.navbar .navbar-extra a {
    color: #31824C;

    margin: 0 0.5rem;

    text-decoration: none;
}

.navbar .navbar-extra a:hover {
    color: #42B067;
}

#hamburger-menu {
    display: none;

    cursor: pointer;

    font-weight: 900;
    font-size: 2rem;

    font-family: 'Times New Roman', Times, serif;
}

.menu-section {
    text-align: center;

    padding: 2rem 0;

    font-family: 'Times New Roman', Times, serif;

    margin-top: 50px;
}

.menu-banner {
    position: relative;
}

.menu-banner img {
    width: 100%;
    opacity: 0.2;
}

.menu-banner-text {
    position: absolute;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    color: #31824C;
    text-align: center;

    width: 100%;
    padding: 0 15px;
}

.menu-banner-text h2 {
    font-size: 2.7rem;
    font-weight: bold;

    margin-bottom: 1rem;
}

.menu-banner-text p {
    font-size: 2.7rem;
    font-weight: bold;

    white-space: nowrap;
}

.menu-banner-text h2,
.menu-banner-text p {
    color: #31824C;

    font-weight: bold;
    text-align: center;

    text-shadow:
        -1px -1px 0 white,
         1px -1px 0 white,
        -1px  1px 0 white,
         1px  1px 0 white,
        -1px  0px 0 white,
         1px  0px 0 white,
         0px -1px 0 white,
         0px  1px 0 white;
}

.menu-categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;

    gap: 3rem 5.5rem;

    margin-top: 4rem;
}

.category {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    width: 120px;
    height: 100px;

    padding: 1.2rem;

    background-color: #31824C;
    color: white;

    border: 2px solid transparent;
    border-radius: 1rem;

    cursor: pointer;

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}

.category:hover {
    background-color: white;
    color: #31824C;

    border-color: #31824C;
}

.category img {
    display: block;

    width: 40px;
    height: 40px;

    margin-bottom: 0.6rem;

    object-fit: contain;
}

.category img[alt="Tea"] {
    width: 50px;
    height: 50px;
}

.category:hover img {
    filter:
        brightness(0)
        saturate(100%)
        invert(41%)
        sepia(19%)
        saturate(802%)
        hue-rotate(84deg)
        brightness(90%)
        contrast(89%);
}

.category span {
    font-size: 1rem;
    font-weight: bold;

    line-height: 1.2;
}

.menu-container {
    display: none;

    max-width: 1200px;

    margin: 50px auto 0;

    gap: 2rem;
}

.menu-container[data-category="coffee"] {
    display: flex;
}

.menu-sidebar {
    min-width: 180px;

    padding-right: 1rem;

    text-align: right;
}

.menu-sidebar ul {
    list-style: none;
}

.menu-sidebar li {
    margin-bottom: 1.2rem;

    font-size: 1.8rem;
    font-weight: bold;

    color: #31824C;

    cursor: pointer;

    white-space: nowrap;

    transition: color 0.2s ease;
}

.menu-sidebar a {
    text-decoration: none;
    color: inherit;
}

.menu-sidebar li:hover {
    color: #42B067;
    text-decoration: underline;
}

.menu-box {
    flex: 1;

    background: white;

    border-radius: 1.2rem;

    padding: 2rem;

    box-shadow:
        0 2px 10px rgba(0, 0, 0, 0.05);

    max-width: 1000px;
    margin: 0 auto;

    width: 100%;
    min-width: 0;
}

.menu-category {
    margin-bottom: 4rem;

    padding-top: 4rem;
    margin-top: -4rem;
}

.menu-category h2 {
    font-size: 2rem;

    color: #31824C;

    margin-bottom: 1.5rem;
}

.menu-items {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 2rem 4rem;
}

.menu-item {
    display: flex;
    align-items: flex-start;

    gap: 1.5rem;

    padding: 1.5rem;

    border-radius: 1rem;

    min-width: 0;
}

.menu-item img {
    width: 140px;
    height: 140px;

    object-fit: contain;

    flex-shrink: 0;
}

.menu-item-content {
    display: flex;
    flex-direction: column;
    justify-content: center;

    flex: 1;
    min-width: 0;
}

.menu-item-content h3 {
    font-size: 1.3rem;

    color: #31824C;

    margin-bottom: 0.3rem;
}

.menu-item-content .price {
    font-weight: bold;
    font-size: 1.1rem;

    color: #31824C;

    margin-bottom: 0.5rem;
}

.menu-item-content p {
    font-size: 0.95rem;

    text-align: justify;

    color: #31824C;

    margin-bottom: 0.5rem;

    line-height: 1.5;
}

.menu-item-content button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    background-color: #31824C;
    color: white;

    border: 2px solid transparent;

    padding: 0.5rem 1.2rem;

    border-radius: 1rem;

    cursor: pointer;

    font-size: 0.9rem;
    font-family: 'Times New Roman', Times, serif;

    align-self: flex-start;

    transition:
        background-color 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease;
}

.menu-item-content button:hover {
    background-color: white;
    color: #31824C;

    border-color: #31824C;
}

.menu-item-content button:active {
    background-color: #e8f3ec;
    color: #256638;
    border-color: #256638;
}

.arrow {
    margin-left: 6px;

    font-weight: bold;
}

.bread-menu {
    display: flex;
    flex-direction: column;

    gap: 3rem;
}

.bread-item {
    display: flex;
    align-items: center;

    gap: 2rem;
}

.bread-item.reverse {
    flex-direction: row-reverse;
}

.bread-item.reverse .bread-content {
    text-align: right;
}

.bread-item.reverse .bread-content p {
    text-align: right;
    max-width: 500px;
}

.bread-item img {
    width: 180px;
    height: auto;

    border-radius: 10px;

    object-fit: cover;

    flex-shrink: 0;
}

.bread-content {
    max-width: 600px;
}

.bread-content h3 {
    font-size: 1.7rem;

    color: #31824C;

    margin-bottom: 0.3rem;
}

.bread-content .price {
    font-weight: bold;

    font-size: 1.2rem;

    color: #31824C;

    margin-bottom: 0.6rem;
}

.bread-content p {
    font-size: 1rem;

    line-height: 1.7;

    margin-bottom: 1rem;

    color: #31824C;

    text-align: justify;

    max-width: 500px;
}

.bread-content button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    background-color: #31824C;
    color: white;

    border: 2px solid transparent;

    padding: 0.4rem 1.2rem;

    border-radius: 1.5rem;

    font-size: 1rem;

    cursor: pointer;

    font-family: 'Times New Roman', Times, serif;

    transition:
        background-color 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease;
}

.bread-content button:hover {
    background-color: white;
    color: #31824C;

    border-color: #31824C;
}

.bread-content button:active {
    background-color: #e8f3ec;
    color: #256638;

    border-color: #256638;
}

.category:focus-visible,
.menu-item-content button:focus-visible,
.bread-content button:focus-visible {
    outline: 3px solid #a5d6a7;
    outline-offset: 3px;
}

.footer {
    background-color: #fdebcf;

    padding: 40px 60px;

    font-family: 'Times New Roman', Times, serif;

    color: #1c1c1c;
    font-size: 18px;

    margin-top: 200px;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;

    column-gap: 200px;

    margin-bottom: 20px;
}

.footer-column h4 {
    font-size: 18px;

    font-weight: bold;

    margin-bottom: 12px;
}

.footer-column ul {
    list-style: none;

    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 8px;

    font-size: 16px;

    cursor: pointer;
}

.footer-column ul li:hover {
    text-decoration: underline;
}

.footer hr {
    width: 97%;

    border: none;

    border-top: 1px solid #000000;

    margin: 24px auto;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;

    flex-wrap: wrap;

    gap: 16px;
}

.footer-left {
    display: flex;
    align-items: center;

    gap: 12px;
}

.footer-logo {
    width: 40px;
    height: 60px;

    margin-left: 50px;
}

.footer-socials {
    display: flex;
    justify-content: center;
    align-items: center;

    gap: 1.2rem;

    padding: 1rem 0;

    margin-right: 50px;
}

.footer-socials img {
    width: 44px;
    height: 44px;

    padding: 6px;

    background-color: #ead3ac;

    border-radius: 50%;

    border: 2px solid transparent;

    box-shadow:
        0 2px 4px rgba(0, 0, 0, 0.08);

    transition:
        background-color 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;

    cursor: pointer;

    object-fit: contain;
}

.footer-socials img[alt="youtube"],
.footer-socials img[alt="instagram"],
.footer-socials img[alt="linkedin"] {
    padding: 0;
}

.footer-socials img:hover {
    background-color: #fff9ee;

    border-color: #896526;

    transform: scale(1.05);

    box-shadow:
        0 4px 8px rgba(0, 0, 0, 0.12);
}

@media (max-width: 1440px) {

    html {
        font-size: 75%;
    }

}

@media (max-width: 1024px) {

    html {
        font-size: 62.5%;
    }

    #hamburger-menu {
        display: inline-block;
    }

    .navbar .navbar-nav {
        position: absolute;

        top: 100%;
        right: -100%;

        background-color: white;

        width: 30rem;
        height: 100vh;

        transition: right 0.3s ease;
    }

    .navbar .navbar-nav.active {
        right: 0;
    }

    .navbar .navbar-nav a {
        display: block;

        margin: 1.5rem;
        padding: 0.5rem;

        font-size: 2rem;

        position: relative;
    }

    .navbar .navbar-nav a::after {
        content: "";

        position: absolute;

        left: 0;
        bottom: 0;

        height: 2px;
        width: 100%;

        background-color: #31824C;

        transform: scaleX(0);

        transition: transform 0.3s ease;

        transform-origin: left;
    }

    .navbar .navbar-nav a:hover::after {
        transform: scaleX(0.2);
    }

    .menu-container {
        padding: 0 2rem;
        gap: 1.5rem;
    }

    .menu-sidebar {
        min-width: 140px;
    }

    .menu-sidebar li {
        font-size: 1.5rem;
    }

    .menu-items {
        gap: 1rem;
    }

    .menu-item {
        gap: 1rem;
        padding: 1rem;
    }

    .menu-item img {
        width: 100px;
        height: 100px;
    }

    .footer-top {
        flex-direction: column;

        gap: 2rem;

        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;

        gap: 1rem;
    }

    .footer-logo {
        margin-left: 0;
    }

    .footer-socials {
        justify-content: center;

        margin-right: 0;
    }

}

@media (max-width: 600px) {

    html {
        font-size: 55%;
    }

    #hamburger-menu {
        display: inline-block;

        font-weight: 900;
        font-size: 2rem;

        font-family: Arial Black, sans-serif;

        color: #31824C;

        cursor: pointer;
    }

    .navbar .navbar-nav {
        display: none;

        position: absolute;

        top: 100%;
        right: 1rem;

        background: #fff;

        flex-direction: column;

        width: 200px;
        height: auto;

        padding: 1rem;

        box-shadow:
            0 4px 8px rgba(0, 0, 0, 0.1);

        border-radius: 0.5rem;
    }

    .navbar .navbar-nav.active {
        display: flex;
    }

    .menu-section {
        margin-top: 45px;
    }

    .menu-banner-text h2,
    .menu-banner-text p {
        font-size: 2rem;
        white-space: normal;
    }

    .menu-categories {
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .category {
        width: 100px;
        height: 90px;
    }

    .menu-container {
        flex-direction: column;

        padding: 0 1.5rem;
        gap: 2rem;
    }

    .menu-sidebar {
        width: 100%;

        padding-right: 0;

        text-align: center;
    }

    .menu-sidebar ul {
        display: flex;
        justify-content: center;

        flex-wrap: wrap;

        gap: 1rem;
    }

    .menu-sidebar li {
        margin-bottom: 0;

        font-size: 1.7rem;
    }

    .menu-items {
        grid-template-columns: 1fr;

        gap: 1.5rem;
    }

    .menu-item {
        align-items: center;
    }

    .menu-item img {
        width: 100px;
        height: 100px;
    }

    .bread-item,
    .bread-item.reverse {
        flex-direction: column;
        align-items: center;

        text-align: center;
    }

    .bread-item.reverse .bread-content,
    .bread-item.reverse .bread-content p {
        text-align: center;
    }

    .bread-content {
        text-align: center;
    }

    .bread-content p {
        text-align: center;
    }

    .footer {
        padding: 40px 20px;
    }

    .footer-top {
        flex-direction: column;

        align-items: center;
        text-align: center;

        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;

        gap: 1rem;

        text-align: center;
    }

    .footer-left {
        flex-direction: column;
        align-items: center;

        gap: 0.5rem;
    }

    .footer-logo {
        margin-left: 0;
    }

    .footer-socials {
        margin: 0;

        justify-content: center;

        flex-wrap: wrap;
    }

}

@media (prefers-reduced-motion: reduce) {

    .category,
    .menu-item-content button,
    .bread-content button,
    .footer-socials img {
        transition: none;
    }

}

@media (max-width: 1024px) {
    .navbar .navbar-nav {
        position: absolute;
        top: 100%;
        right: -100%;
        transition: right 0.3s ease;
    }

    .navbar .navbar-nav.active {
        right: 0;
    }
}

@media (max-width: 600px) {
    .navbar .navbar-nav {
        display: none;
        right: 1rem;
        height: auto;
    }

    .navbar .navbar-nav.active {
        display: flex;
    }
}

@media (max-width: 1024px) {
    .navbar .navbar-nav {
        position: absolute;
        top: 100%;
        right: -100%;
        transition: right 0.3s ease;
    }

    .navbar .navbar-nav.active {
        right: 0;
    }
}

@media (max-width: 600px) {
    .navbar .navbar-nav {
        display: none;
        right: 1rem;
        height: auto;
    }

    .navbar .navbar-nav.active {
        display: flex;
    }
}