/* ====== RESET DE ESTILOS ====== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ====== CORPO GERAL ====== */
body {
    font-family: "Poppins", sans-serif;
    background-color: #f4f1ea;
    color: #333;
    line-height: 1.6;
    padding-top: 80px; /* Evita sobreposição do header fixo */
}

/* ====== HEADER ====== */
header {
    width: 100%;
    background: #1f4643;
    color: #fff;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed; /* Fixa o header no topo */
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.logo img {
    max-height: 50px;
    margin-right: 10px;
    border-radius: 6px;
}

/* Força a cor branca para o título do logo */
.logo h1 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff !important;
}

/* ====== MENU ====== */
nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 400;
    font-size: 0.95rem;
    transition: background 0.2s, color 0.2s;
    padding: 8px 12px;
    border-radius: 4px;
}

nav ul li a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffdd00;
}

/* ====== MENU RESPONSIVO ====== */
.menu-toggle {
    font-size: 1.5rem;
    cursor: pointer;
    color: #fff;
    background: none;
    border: none;
    display: none;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    nav ul {
        display: none;
        flex-direction: column;
        background-color: #1f4643;
        position: absolute;
        top: 60px;
        right: 20px;
        padding: 15px;
        border-radius: 5px;
        box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    }
    
    nav ul.show {
        display: flex;
    }
}

/* ====== HERO SECTION ====== */
.hero {
    width: 100%;
    height: 50vh;      /* Aumenta a altura para 70% da viewport */
    min-height: 300px; /* Garante um mínimo maior */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    position: relative;
    z-index: 1;
    padding: 0 20px;
}


.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4); /* Escurece a imagem */
    z-index: 0;
}

.hero .hero-content {
    position: relative;
    z-index: 1;
}

.hero h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* ====== CONTAINER GERAL ====== */
.container {
    width: 90%;
    max-width: 1100px;
    margin: 30px auto;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

/* ====== ESTILOS DE CONTEÚDO ====== */
.container h2,
.container h3 {
    color: #1f4643;
}

/* Imagens dentro do conteúdo */
.image-container {
    text-align: center;
    margin: 20px 0;
}

.image-container img {
    width: 100%;
    max-width: 600px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* ====== EMENTA (Geral) ====== */
.linha-decorativa {
    width: 60px;
    height: 4px;
    background-color: #ff9800;
    margin: 10px auto;
    border-radius: 2px;
}

.data-dia,
.servico,
.horario {
    text-align: center;
    font-weight: 600;
    margin-bottom: 8px;
}

.horario {
    color: #e53935;
}

.item-ementa {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px dashed #ccc;
}

.nota {
    font-size: 0.8rem;
    text-align: center;
    color: #e53935;
    margin-top: 5px;
}

.menu-sopa {
    color: #e53935;
    font-weight: 600;
    text-align: center;
    margin-top: 10px;
    font-size: 1.1rem;
}

/* ====== RODAPÉ ====== */
footer {
    background: #1f4643;
    color: #fff;
    text-align: center;
    padding: 15px;
    margin-top: 20px;
}

footer p {
    font-size: 0.9rem;
}

/* ====== RESPONSIVIDADE ====== */
@media (max-width: 768px) {
    .container {
        width: 95%;
    }
    
    .hero h2 {
        font-size: 1.5rem;
    }
    
    .logo img {
        max-height: 40px;
    }
}

/* ====== MELHORIAS PARA iOS ====== */
/* Rolagem suave no iOS Safari */
html, body {
    -webkit-overflow-scrolling: touch;
    overflow-x: hidden;
}

/* Garante espaço para o header fixo */
body {
    padding-top: 80px;
}

/* Ajusta o Hero para iPhones pequenos (ex: iPhone SE) */
@media (max-width: 375px) {
    .hero {
        height: 40vh;
        min-height: 250px;
    }
    
    .hero h2 {
        font-size: 1.2rem;
    }
}

/* ====== EMENTA GERAL (Diária e Convívio) ====== */
.ementa-container {
    width: 90%;
    max-width: 1100px;
    margin: 30px auto;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.ementa-container h2 {
    text-align: center;
    color: #1f4643;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.ementa-container .linha-decorativa {
    width: 60px;
    height: 4px;
    background-color: #ff9800;
    margin: 10px auto;
    border-radius: 2px;
}

.ementa-container .ementa-bloco {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
}

.ementa-container .ementa-bloco h3 {
    color: #1f4643;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.ementa-container .ementa-bloco ul {
    list-style: none;
    padding: 0;
}

.ementa-container .ementa-bloco ul li {
    font-size: 1rem;
    color: #555;
    padding: 5px 0;
    border-bottom: 1px dashed #ccc;
}

.ementa-container .ementa-bloco ul li:last-child {
    border-bottom: none;
}

/* ====== PREÇOS E NOTAS ====== */
.ementa-container .preco-info {
    text-align: center;
    font-size: 1.1rem;
    color: #e53935;
    margin-top: 10px;
}

.ementa-container .nota {
    font-size: 0.9rem;
    text-align: center;
    color: #e53935;
    margin-top: 5px;
}

/* Centraliza os conteúdos das seções específicas da ementa */
#lista-ementa,
#lista-prato-dia,
#lista-pratos-menu,
#lista-opcao-vegetariana,
#lista-observacoes {
  text-align: center;
}

/* Caso tenhas itens com duas colunas (usando .item-ementa com display: flex),
   podes querer também centralizá-los. Isto faz com que os elementos dentro dos itens
   fiquem agrupados no centro. */
#lista-ementa .item-ementa,
#lista-prato-dia .item-ementa,
#lista-pratos-menu .item-ementa,
#lista-opcao-vegetariana .item-ementa,
#lista-observacoes .item-ementa {
  justify-content: center;
}

/* ====== SEÇO DE DESTAQUES ====== */
.destaques {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 20px;
}

.destaque-item {
    flex: 1;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s;
}

.destaque-item:hover {
    transform: translateY(-5px);
}

.destaque-item img {
    width: 100%;
    max-height: 150px;
    border-radius: 10px;
    object-fit: cover;
}

.destaque-item h3 {
    margin-top: 15px;
    color: #1f4643;
    font-size: 1.4rem;
}

.destaque-item p {
    font-size: 1rem;
    margin-top: 10px;
    color: #555;
}

.destaque-item .btn {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 15px;
    background: #1f4643;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}

.destaque-item .btn:hover {
    background: #ff9800;
    color: #000;
}



/* ====== SEÇÃO DE CONTATO ====== */
.contato-info {
    text-align: center;
    margin-top: 30px;
}

.contato-info h3 {
    font-size: 1.4rem;
    color: #1f4643;
}

.contato-info p {
    font-size: 1.1rem;
    margin-top: 5px;
}

.contato-info a {
    text-decoration: none;
    color: #e53935;
    font-weight: 600;
}

/* ====== RESPONSIVIDADE ====== */
@media (max-width: 768px) {
    .destaques {
        flex-direction: column;
    }
}

/* Layout geral para páginas com estrutura em coluna (incluindo encerrado) */
body.encerrado {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Faz com que o main ocupe o espaço restante entre header e footer */
main.conteudo-encerrado {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  text-align: center;
}

/* Estilos específicos para a mensagem central */
.conteudo-encerrado .mensagem h1 {
  font-size: 2.5rem;
  color: #e53935;
  margin-bottom: 15px;
}

.conteudo-encerrado .mensagem p {
  font-size: 1.2rem;
  line-height: 1.4;
}





