
:root {
    --primary-color: #7C1315;
    --text-color: #FFFFFF;
    --overlay-color: rgba(0, 0, 0, 0.5);
}

.background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}




.content-area {
    padding: 80px 20px 20px 20px; /* topo, direita, baixo, esquerda */
     margin-top: 0;     
}



.navbar-categories-bar {
    background-color: #fff;              /* Define o fundo do elemento como branco */
    border-bottom: 1px solid #ddd;       /* Adiciona uma borda inferior cinza clara */
    padding: 10px 0;                     /* Aplica um espaçamento interno de 10px no topo e embaixo */
    position: fixed;                     /* Fixa o elemento na posição especificada em relação à janela de visualização */    
    left: 0;                             /* Alinha o elemento ao lado esquerdo da janela */
    width: 100%;                         /* Define a largura do elemento para ocupar 100% da largura da janela */
    z-index: 1020;                       /* Define a ordem de empilhamento para sobrepor elementos com z-index menor */
    display: flex;                       /* Utiliza Flexbox para o layout interno do elemento */
    align-items: center;                 /* Alinha os itens flexíveis verticalmente ao centro */
    justify-content: flex-start;         /* Alinha os itens flexíveis horizontalmente ao início (esquerda) */
    box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* Adiciona uma sombra abaixo do elemento para dar profundidade */
    transition: top 0.3s ease-in-out;    /* Aplica uma transição suave nas mudanças da propriedade 'top' */
}


.navbar-categories-bar.navbar-hidden {
    top: 0;
}

.categories-list-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    scroll-snap-type: x proximity;
    display: flex;
    justify-content: flex-start;
    padding: 0;
}

.categories-list {
    display: flex;
    padding: 0;
    margin: 0;
    list-style: none;
    white-space: nowrap;
}

.category-item {
    flex: 0 0 auto;
    scroll-snap-align: start;
    margin-right: 10px;
}

.category-item:first-child {
    margin-left: 15px;
}

.category-item:last-child {
    margin-right: 15px;
}

.category-link {
    color: #333;
    font-weight: bold;
    white-space: nowrap;
    transition: all 0.3s ease;
    padding: 8px 16px;
    display: inline-block;
    border-radius: 20px;
    border: 1px solid #ddd;
    background-color: #fff;
    text-decoration: none;
    max-width: none;
    overflow: visible;
}

.category-link:hover {
    color:#333333;
   /* background-color: #dc3545;*/
  /*  border-color: #C3AE8E;*/
    text-decoration: none;
}

.category-link.active {
    color: #fff; /*ALTERAR ISSO NO SITE*/
    font-weight: bolder;
    background-color: #7C1315; /*ALTERAR ISSO NO SITE*/
    border-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    z-index: 1;
    position: relative;
    left: 0;
}

.categories-list-wrapper::-webkit-scrollbar {
    display: none;
}

.categories-list-wrapper {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.menu-button {
    position: fixed;
    bottom: 75px;
    left: 20px;
    z-index: 1001;
    background-color: #7C1315; 
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 0 0 3px white;
}
/*------------------------------------------------------------------------*/
.menu-modal {
    display: none;
    position: fixed;
    z-index: 9999; /* Aumentar o z-index para garantir que a modal fique no topo */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* Background escuro para o overlay */
}

.menu-modal-content {
    background-color: #fefefe;
    position: absolute;
    top: 200px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 300px;
    height: calc(80% - 180px);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 10000; /* Garantir que o conteúdo da modal esteja acima do overlay */
}

.modal-header {
    padding: 15px 20px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.2rem;
}

.modal-categories-wrapper {
    overflow-y: auto;
    flex-grow: 1;
    padding: 10px 0;
}

#modalCategoriesList {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

#modalCategoriesList li {
    padding: 10px 20px;
    border-bottom: 1px solid #eee;
}

#modalCategoriesList li:last-child {
    border-bottom: none;
}

#modalCategoriesList a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    display: block;
}

.close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}



/*--------------------------------------------------------------------------*/

.main-navbar {
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 0; 
    height: auto;
    min-height: 200px;
}

.navbar-overlay {
    position: absolute;
    inset: 0;
    background-color: var(--overlay-color);
}

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

.logo-container {
    width: 100px;
    height: 100px;
    margin: 0 auto 15px;
    background-color: var(--primary-color);
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--text-color);
}

.logo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.store-info {
    background-color: var(--overlay-color);
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
    width: 100%;
    box-sizing: border-box;
}

.store-name {
    color: var(--text-color);
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.store-location {
    color: var(--text-color);
    font-size: 0.9rem;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px; /* Aumentado para dar mais espaço entre os ícones */
}

.social-icon {
    color: var(--text-color);
    font-size: 1.5rem; /* Aumentado para tornar os ícones mais visíveis */
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-icon:hover {
    color: #ffffff; /* Branco puro no hover */
    transform: scale(1.1); /* Leve aumento de tamanho no hover */
}

.social-icons-container {
    composes: store-info;
    margin-top: 15px;
}







@media (max-width: 768px) {
    .main-navbar {
        min-height: 180px;
    }

    .store-name {
        font-size: 1.3rem;
    }

    .store-location {
        font-size: 0.8rem;
    }

    .social-icon {
        font-size: 1.5rem;
    }
}