/* Universal: imagens sempre inteiras e proporcionais */
img {
    max-width: 100%;
    max-height: 80vh;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    box-sizing: border-box;
}
/* Forçar imagens do modal a aparecerem inteiras e proporcionais */
.modal img, .modal-image, .modal-content img {
    max-width: 100% !important;
    max-height: 80vh !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    display: block !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
}
/* Imagens dentro do modal: exibir completas e proporcionais */
/* Imagens dentro do modal: exibir inteiras, sem zoom ou cortes */
.modal img {
    max-width: 100%;
    max-height: 80vh;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-color: #f1faee;
    color: #333;
    overflow-x: hidden;
}

.logo-container {
    text-align: center;
    padding: 20px 0;
    background-color: #fff;
    margin-bottom: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.logo {
    height: 80px;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

header {
    background-color: #e63946;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.status {
    background-color: #ffd60a;
    color: #e63946;
    padding: 5px 15px;
        border-radius: 15px;
    font-weight: 600;
    font-size: 0.9em;
}

nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1em;
    padding: 8px 15px;
        border-radius: 15px;
    transition: background-color 0.3s, transform 0.3s;
    margin: 0 5px;
}

nav a:hover {
    background-color: #ffd60a;
    color: #e63946;
    transform: scale(1.05);
}

nav a.active {
    animation: neon-glow-nav 1.5s infinite alternate;
}

@keyframes neon-glow-nav {
    0% {
        box-shadow: 0 0 5px #ffd60a, 0 0 10px #ffd60a, 0 0 15px #ffd60a, 0 0 20px #e63946;
        background-color: #ffd60a;
        color: #e63946;
    }
    100% {
        box-shadow: 0 0 10px #ffd60a, 0 0 20px #ffd60a, 0 0 30px #ffd60a, 0 0 40px #e63946;
        background-color: #ffd60a;
        color: #e63946;
    }
}

section {
    padding: 20px;
    background-color: #f8f8f8;
        border-radius: 15px;
    margin: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: background-color 0.3s ease;
}

section.has-selected {
    background-color: #ffe5e5;
}

h2 {
    color: #e63946;
    border-bottom: 3px solid #ffd60a;
    padding-bottom: 10px;
    font-weight: 700;
    font-size: 1.8em;
    text-align: center;
}

.product-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.product {
    background-color: #fff;
    border: 2px solid #ffd60a;
        border-radius: 15px;
    padding: 15px;
    width: 100%;
    max-width: 320px;
    text-align: center;
    transition: box-shadow 0.3s, transform 0.3s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.product:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.product.selected {
    animation: neon-glow 1.5s infinite alternate;
}

@keyframes neon-glow {
    0% {
        box-shadow: 0 0 5px #ffd60a, 0 0 10px #ffd60a, 0 0 15px #ffd60a, 0 0 20px #e63946;
    }
    100% {
        box-shadow: 0 0 10px #ffd60a, 0 0 20px #ffd60a, 0 0 30px #ffd60a, 0 0 40px #e63946;
    }
}

.product img {
    width: 100%;
    height: auto;
    max-height: 180px;
    object-fit: contain;
    border-radius: 15px;
}

.product h3 {
    color: #e63946;
    font-size: 1.3em;
    margin: 10px 0;
    font-weight: 600;
}

.product p {
    color: #555;
    font-size: 0.9em;
}

.product .price {
    color: #000;
    font-weight: bold;
    font-size: 1.2em;
}

.product select {
    width: 100%;
    padding: 8px;
    margin: 10px 0;
    border: 1px solid #ffd60a;
        border-radius: 15px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9em;
}

.product .quantity-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
}

.product button {
    background-color: #e63946;
    color: #fff;
    border: none;
    padding: 8px 15px;
    border-radius: 15px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s, transform 0.3s;
}

.product button:hover {
    background-color: #ffd60a;
    color: #e63946;
    transform: scale(1.1);
}

.cart-icon {
    position: relative;
    cursor: pointer;
}

.cart-icon img {
    height: 30px;
        border-radius: 15px;
    transition: transform 0.3s ease;
}

.cart-icon img:hover {
    transform: scale(1.1);
}

.cart-icon span {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #ffd60a;
    color: #e63946;
        border-radius: 15px;
    padding: 3px 8px;
    font-size: 0.8em;
    font-weight: bold;
}

#cart, #checkout {
    background-color: #f8f8f8;
    border: 2px solid #ffd60a;
        border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

#cartItems, #checkoutItems, #addonsList {
    margin-bottom: 20px;
}

#cart button, #checkout button {
    background-color: #e63946;
    color: #fff;
    border: none;
    padding: 12px 20px;
    margin: 5px;
    border-radius: 15px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s, transform 0.3s;
}

#cart button:hover, #checkout button:hover {
    background-color: #ffd60a;
    color: #e63946;
    transform: scale(1.05);
}

.checkout-buttons {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

#checkout input, #checkout select {
    width: 100%;
    padding: 12px;
    margin: 8px 0;
    border: 1px solid #ffd60a;
    border-radius: 15px;
    font-family: 'Poppins', sans-serif;
    font-size: 1em;
}

#paymentOptions, #cashDetails, #pixDetails {
    margin: 15px 0;
}

#contact {
    background-color: #f8f8f8;
    text-align: center;
}

#contact a {
    color: #e63946;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

#contact a:hover {
    color: #ffd60a;
}

.delivery-note {
    color: #e63946;
    font-weight: 600;
}

.hidden {
    display: none;
}

/* Gallery Styles */
.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin: 20px 0;
}

.gallery img {
    width: 100%;
    max-width: 200px;
    height: 150px;
    object-fit: cover;
        border-radius: 15px;
    transition: transform 0.3s ease;
}

.gallery img:hover {
    transform: scale(1.05);
}

.reserve-button {
    text-align: center;
    margin: 20px 0;
}

.reserve-button button {
    background-color: #e63946;
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 15px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s, transform 0.3s;
}

.reserve-button button:hover {
    background-color: #ffd60a;
    color: #e63946;
    transform: scale(1.05);
}

#reservationForm {
    background-color: #fff;
    border: 2px solid #ffd60a;
    border-radius: 15px;
    padding: 20px;
    margin-top: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

#reservationForm input {
    width: 100%;
    padding: 12px;
    margin: 8px 0;
    border: 1px solid #ffd60a;
    border-radius: 15px;
    font-family: 'Poppins', sans-serif;
    font-size: 1em;
}

.reservation-buttons {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 10px;
}

.reservation-buttons button {
    background-color: #e63946;
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 15px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s, transform 0.3s;
    width: 48%;
}

.reservation-buttons button:hover {
    background-color: #ffd60a;
    color: #e63946;
    transform: scale(1.05);
}

/* Footer Styles */
footer {
    background-color: #e63946;
    color: #fff;
    text-align: center;
    padding: 10px 0; /* Reduzido de 20px para 10px */
    margin-top: 20px;
}

.footer-logo {
    margin-bottom: 5px; /* Reduzido de 10px para 5px */
}

.footer-logo-img {
    height: 60px; /* Reduzido de 100px para 60px */
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.footer-logo-img:hover {
    transform: scale(1.05);
}

footer p {
    margin: 2px 0; /* Reduzido de 5px para 2px */
    font-size: 0.8em; /* Reduzido de 0.9em para 0.8em */
}

@media (min-width: 600px) {
    .product {
        width: 30%;
    }

    nav a {
        font-size: 1.1em;
    }

    .logo {
        height: 90px;
    }

    .gallery img {
        max-width: 250px;
        height: 180px;
    }

    .footer-logo-img {
        height: 60px; /* Mantido em 60px */
    }
}

@media (max-width: 600px) {
    header {
        flex-direction: column;
        padding: 10px;
    }

    nav {
        flex-direction: row;
        justify-content: center;
        margin: 10px 0;
    }

    nav a {
        margin: 0 5px;
        font-size: 0.9em;
    }

    .product {
        width: 100%;
        max-width: 100%;
    }

    .logo {
        height: 60px;
    }

    .cart-icon {
        position: absolute;
        top: 10px;
        right: 10px;
    }

    #checkout input, #checkout select, #reservationForm input {
        font-size: 0.9em;
    }

    .gallery img {
        max-width: 150px;
        height: 120px;
    }

    .footer-logo-img {
        height: 50px; /* Reduzido de 80px para 50px */
    }
}