/* Adicionar fonte do Google */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* Estilo geral */
body {
    font-family: 'Poppins', 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f7fa; /* Fundo mais suave */
    color: #6e6868; /* Texto mais suave */
    line-height: 1.6;
    transition: all 0.3s ease;
}

/* Cabeçalho */
header {
    background: linear-gradient(135deg, #4dabf7 0%, #2b8ae2 100%); /* Gradiente suave */
    color: white;
    padding: 25px 0;
    text-align: center;
    box-shadow: 0 4px 12px rgba(77, 64, 64, 0.08);
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

.logo-container {
    margin-bottom: 15px;
}

header h1 {
    font-size: 38px;
    margin: 0;
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.tagline {
    font-size: 16px;
    margin-top: 5px;
    opacity: 0.9;
    font-weight: 300;
}

header nav ul {
    list-style: none;
    padding: 0;
    margin: 25px 0 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

header nav ul li a {
    text-decoration: none;
    color: white;
    font-size: 16px;
    padding: 12px 20px;
    border-radius: 30px;
    transition: all 0.4s ease;
    background-color: rgba(78, 73, 73, 0.15);
    backdrop-filter: blur(5px);
}

header nav ul li a i {
    margin-right: 5px;
    font-size: 14px;
}

header nav ul li a:hover {
    background-color: rgba(73, 66, 66, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Container principal */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Seções */
.menu-section {
    padding: 40px 25px;
    margin: 30px auto;
    background-color: white;
    border-radius: 20px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.menu-section h2 {
    font-size: 30px;
    color: #3383d6;
    text-align: center;
    margin-bottom: 30px;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 12px;
    font-weight: 600;
}

.menu-section h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #4dabf7 0%, #2b8ae2 100%);
    border-radius: 3px;
}

.menu-items {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
}

.menu-items li {
    text-align: center;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 18px;
    width: 220px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    border: 1px solid #f0f0f0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 320px; /* Altura fixa para todos os cards */
}

.menu-items li:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 20px rgb(2, 98, 241);
    border-color: #000000;
}

.menu-image {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 180px; /* Altura um pouco menor para não cortar as imagens */
    background-color: #ffffffe7;
    width: 100%;
    border: 0px solid #f0f0f0;
    box-shadow: none; /* Removendo a sombra interna */
}

.menu-image img {
    max-width: 95%; /* Aumentando para 95% para usar mais do espaço disponível */
    max-height: 160px; /* Altura um pouco menor para garantir que não haja cortes */
    width: auto;
    height: auto;
    object-fit: contain;
    transition: all 0.5s ease;
    padding: 4px; /* Reduzindo o padding */
    filter: none; /* Removendo a sombra para evitar cortes */
}

/* Adicionando animação suave para as imagens */
@keyframes fadeInImage {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.menu-image img {
    animation: fadeInImage 0.5s ease forwards;
}

.menu-items li:hover .menu-image img {
    transform: scale(1.05);
    opacity: 0.95;
}

.menu-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: auto;
    padding: 5px 0;
}

.menu-name {
    font-size: 16px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 5px;
    min-height: 40px; /* Altura mínima para o nome dos produtos */
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-price {
    font-size: 16px;
    font-weight: 600;
    color: #2b8ae2;
    background: linear-gradient(135deg, #4dabf7 0%, #2b8ae2 100%);
    background-clip: text; /* padrão */
  -webkit-background-clip: text; /* compatibilidade com WebKit (Safari, versões antigas do Chrome) */
    padding: 5px 0;
}

/* Botão "Voltar ao Topo" */
.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: linear-gradient(135deg, #4dabf7 0%, #2b8ae2 100%);
    color: white;
    padding: 15px;
    border-radius: 50%;
    text-align: center;
    text-decoration: none;
    font-size: 20px;
    opacity: 0.8;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top:hover {
    background: linear-gradient(135deg, #2b8ae2 0%, #1a6dbd 100%);
    opacity: 1;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* Rodapé */
footer {
    background: linear-gradient(135deg, #224c6e 0%, #14324e 100%);
    color: white;
    text-align: center;
    padding: 18px 0;
    margin-top: 30px;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-link {
    color: white;
    font-size: 18px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: rgba(80, 75, 75, 0.3);
    transform: translateY(-3px);
}

/* Responsividade */
@media (max-width: 768px) {
    header nav ul {
        gap: 15px;
        margin-top: 20px;
    }
    
    header nav ul li a {
        font-size: 14px;
        padding: 10px 16px;
    }
    
    .menu-items li {
        width: calc(50% - 35px);
        min-width: 180px;
        padding: 15px;
        height: 300px;
    }

    .menu-image {
        height: 160px;
    }

    .menu-image img {
        max-height: 140px;
    }
    
    .menu-name {
        font-size: 15px;
        min-height: 35px;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 30px;
    }
    
    .menu-section h2 {
        font-size: 24px;
    }
    
    .menu-items li {
        width: 100%;
        max-width: 300px;
        height: 310px;
    }
    
    .menu-image {
        height: 160px;
    }
    
    .menu-image img {
        max-height: 140px;
    }

    .menu-name {
        font-size: 15px;
    }

    .menu-price {
        font-size: 14px;
    }

    header nav ul {
        gap: 10px;
        margin-top: 15px;
    }
    
    header nav ul li a {
        padding: 8px 14px;
        font-size: 13px;
    }
}

/* Animações */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.menu-section.appear {
    animation: fadeIn 0.5s ease forwards;
}

