@font-face {
    font-family: 'Font1';
    src: url('font/Soul\ Sister.ttf') format('truetype');
    font-style: normal;
    font-weight: normal;
  }

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html {
    scroll-behavior: smooth;
}

:root {
    --color-light-beige: #F2EFDF;
    --color-orange: #da743a;
    --color-dark-orange: #ca5328;
    --color-light-grey: #F2F2F2;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--color-light-grey);
}

header {
    background-color: var(--color-dark-orange);
    color: white;
    text-align: center;
    padding: 1rem 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
}

header nav {
    display: flex;
}

header nav ul{
    text-decoration: none;
    list-style: none;
    display: flex;
    gap: 15px;
}

header nav ul li a:visited {
    color: white;
    text-decoration: none;
}

header nav ul li a {
    font-size: 1rem;
    color: white;
    text-decoration: none;
    background-color: var(--color-orange);
    border: solid 2px var(--color-light-grey);
    padding: 0.4rem;
    border-radius: 8px;
    font-family: Font1;
}

header nav ul li:hover {
    cursor: pointer;
    transform: scale(1.5); /* Changed to 1.5 */
    transition: 200ms ease-in-out;
}

header nav ul li{
    transition: 200ms ease-in-out;
}

.logoContainer {
    display: flex;
    gap: 5px;
}

.logoContainer h1 {
    margin: 0;
    font-size: 2rem;
    font-family: Font1;
}

.logoContainer img {
    width: 50px;
    height: auto;
}

section {
    padding: 1rem;
    margin: 1rem auto;
    max-width: 1200px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
}

h2 {
    color: #333;
    border-bottom: 2px solid var(--color-orange);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    font-family: Font1;
}

.menu-items {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.menu-item {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1rem;
    width: calc(33.333% + 2rem);
    box-sizing: border-box;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.menu-item:hover {
    transform: translateY(-5px);
    cursor: pointer;
}

.menu-item .image-container {
    width: 100%;
    padding-top: 100%; /* Aspect ratio 1:1 */
    position: relative;
}

.menu-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.menu-item h3 {
    margin: 0.5rem 0;
    font-family: Font1;
}

.menu-item p {
    color: #777;
    margin: 0.5rem 0;
}

.menu-item button {
    background-color: var(--color-orange);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.menu-item button:hover {
    background-color: var(--color-dark-orange);
}

#cart {
    position: fixed;
    right: 0;
    top: 0;
    width: 300px;
    height: 100%;
    background-color: var(--color-light-beige);
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.5);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 1000;
    padding: 1rem;
    overflow-y: auto;
}

#cart.cart-visible {
    transform: translateX(0);
}

#cart h2 {
    margin-top: 0;
    color: var(--color-orange);
    border-bottom: 2px solid var(--color-orange);
    padding-bottom: 0.5rem;
}

#cart-items div {
    border-bottom: 1px solid #ddd;
    padding: 0.5rem 0;
}

#cart-items p {
    margin: 0;
    color: #333;
}

#cart label {
    display: block;
    margin: 0.5rem 0;
    color: #333;
}

#cart input, #cart select {
    width: 90%;
    padding: 0.5rem;
    margin: 0.5rem 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;

}

#pickup {
    width: 20% !important;
}

#cart button {
    background-color: var(--color-orange);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
    margin-top: 1rem;
}

#cart button:hover {
    background-color: var(--color-dark-orange);
}

#toggle-cart {
    position: fixed;
    right: 10px;
    bottom: 10px;
    background-color: var(--color-orange);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    z-index: 1001;
}

#toggle-cart:hover {
    background-color: var(--color-dark-orange);
}

footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 1rem 0;
    margin-top: 2rem;
    font-weight: 500;
}

footer .contact-info li a {
    color: white;
    margin: 0 0.5rem;
    text-decoration: none;
}

.contact-info ul{
    display: flex;
    list-style: none;
    text-decoration: none;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.contact-info ul li {
    background-color: var(--color-orange);
    border: solid 2px var(--color-light-grey);
    padding: 6px;
    border-radius: 8px;
    transition: 200ms ease-out;
  
}

footer .contact-info li:hover {
    text-decoration: underline;
    transform: scale(1.2);
}

footer .logo img {
    max-width: 100px;
    margin: 0.5rem 0;
    border-radius: 15px;
}

footer .phrase p {
    margin: 0;
}


#floating-message {
    position: fixed;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #4CAF50; /* Color verde */
    color: white;
    padding: 1rem;
    border-radius: 5px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

#floating-message.hidden {
    opacity: 0;
}

#floating-message:not(.hidden) {
    opacity: 1;
}

#hours {
    padding: 1rem;
    margin: 1rem auto;
    max-width: 1200px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
}

#hours h2 {
    color: #333;
    border-bottom: 2px solid var(--color-orange);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    font-family: Font1;
}

#hours #schedule {
    margin-bottom: 1rem;
}

#hours #open-status {
    font-size: 1.2rem;
    font-weight: bold;
}


@media (max-width: 768px) {
    .menu-item {
        width: calc(50% - 1rem);
    }
    .logoContainer {
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .menu-item {
        width: 100%;
    }
    .logoContainer {
        margin-bottom: 1rem;
    }
}
