/* RESET E ESTRUTURA GLOBAL */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.4;
    padding-bottom: 40px;
}

.container {
    width: 92%;
    max-width: 600px;
    margin: 0 auto;
}

/* ESTILO DOS ITENS DO MENU COM FOTO */
.menu-item {
    display: flex; /* Alinha foto e texto lado a lado */
    align-items: flex-start;
    gap: 15px; /* Espaço entre a foto e o texto */
    margin-bottom: 20px;
    padding: 5px;
}

.item-img {
    width: 80px;
    height: 80px;
    object-fit: cover; /* Não deixa a foto esticar */
    border-radius: 8px;
    background-color: #2c2c2c;
}

.item-info {
    flex: 1; /* Faz o texto ocupar o resto da largura */
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 4px;
}

.item-name {
    font-weight: 700;
}

.item-price {
    font-weight: 700;
    white-space: nowrap;
}

/* ITEM DO MENU - FORÇAR ALINHAMENTO LATERAL */
.menu-item {
    display: flex !important; /* Força o uso de Flexbox */
    flex-direction: row;      /* Garante que fiquem lado a lado */
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
    padding: 5px;
    width: 100%;
}

.item-img {
    width: 80px !important;   /* Tamanho fixo */
    height: 80px !important;
    flex-shrink: 0;           /* Impede que a foto amasse ou mude de lugar */
    object-fit: cover;
    border-radius: 8px;
    background-color: #2c2c2c;
}

.item-info {
    flex: 1;                  /* Faz o texto ocupar todo o resto da largura */
    min-width: 0;             /* Evita que textos longos quebrem o layout */
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 5px;
}

.item-name {
    font-weight: 700;
    font-size: 1.1rem;
}

.item-price {
    font-weight: 700;
    white-space: nowrap;      /* Impede que o preço quebre em duas linhas */
    color: inherit;           /* Vai herdar a cor do layout1.css */
}

/* LOGO E HEADER */
.logo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
}

.logo-img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 10px;
}

.restaurant-name {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.2rem;
    letter-spacing: 2px;
    text-align: center;
}

/* ACCORDION (CATEGORIAS) */
.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    cursor: pointer;
    user-select: none;
    margin-top: 15px;
}

.category-content {
    display: none;
    padding: 15px 0;
}

.menu-section.active .category-content {
    display: block;
}

.icon-arrow {
    transition: transform 0.3s ease;
    font-size: 0.8rem;
}

.menu-section.active .icon-arrow {
    transform: rotate(180deg);
}

/* RODAPÉ */
.footer {
    background-color: #161b22;
    color: #ffffff;
    padding: 40px 0 20px 0;
    margin-top: 50px;
}

.footer-container {
    width: 92%;
    max-width: 600px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding-bottom: 30px;
}

.footer-column h3 {
    font-family: 'Bebas Neue', sans-serif; /* Usando a fonte de destaque para os títulos */
    font-size: 1.5rem;
    color: #8b949e;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.footer-icon {
    font-size: 1.2rem;
    opacity: 0.8;
    filter: grayscale(1); /* Deixa os emojis mais sóbrios, se desejar */
}


/*ESPAÇAMENTOS, ESTILO DOS LINKS E TEXTOS DE CONTATOS */

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-item p, 
.contact-item a {
    color: #e6edf3; /* Um branco levemente acinzentado, muito mais elegante */
    text-decoration: none; /* Remove o sublinhado feio */
    font-size: 1rem;
    font-weight: 300; /* Fonte mais fina = mais elegância */
    line-height: 1.5;
    transition: color 0.3s ease; /* Transição suave para o hover */
    display: inline-block;
}

/* Efeito de Hover nos links funcionais */
.contact-item a:hover {
    color: var(--primary-color); /* Muda para a cor do tema ao passar o mouse */
    text-decoration: underline; /* Sublinhado sutil apenas no hover */
}

/* Ajuste específico para o e-mail (geralmente textos longos) */
.contact-item a[href^="mailto"] {
    word-break: break-all; /* Evita que o e-mail quebre o layout em telas pequenas */
    font-size: 0.95rem;
}

.social-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-item {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: white;
    background: rgba(255, 255, 255, 0.05);
    padding: 10px;
    border-radius: 8px;
}

.social-icon {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    overflow: hidden; /* Garante que nada saia do círculo */
}

.social-icon img {
    width: 60%; /* O ícone fica com um respiro dentro do círculo */
    height: 60%;
    object-fit: contain;
    /* Se usar ícones pretos e quiser que fiquem brancos, use: filter: invert(1); */
}

.social-info {
    display: flex;
    flex-direction: column;
}

.social-info small { font-size: 0.7rem; color: #8b949e; }
.social-info strong { font-size: 0.85rem; }

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    font-size: 0.8rem;
    color: #8b949e;
    text-align: center; /* Adicione esta linha */
}

@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
}