/* ==================== RESET E BODY ==================== */
* { 
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #323232; /* Cor sólida de fallback */
    font-family: 'Alumni Sans SC', sans-serif;
    overflow-x: hidden; /* Previne a rolagem horizontal */
}

/* ==================== MENU SUPERIOR RESPONSIVO ==================== */
.topo {
    width: 100%;
    height: 50px;
    background-color: black;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between; /* Alinha logo e menu nas pontas */
    padding: 0 20px;
    font-family: 'ABeeZee', sans-serif;
}

.logo-link .logo-img {
    height: 80px;
    width: 80px;
}

.menu {
    list-style: none;
    display: flex;
    gap: 40px; /* Espaçamento reduzido */
    height: 100%;
    align-items: center;
    margin-right: 100px;
}

.menu a {
    color: white;
    text-decoration: none;
    font-size: 20px;
    transition: 0.2s;
    opacity: 0.80;
}

.menu a:hover {
    color: #BD2109;
}

.dropdown {
    position: relative;
}

.submenu {
    list-style: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgb(66, 66, 66);
    display: none;
    flex-direction: column;
    min-width: 150px;
    border-radius: 0 0 6px 6px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.4);
}

.dropdown:hover .submenu {
    display: flex;
}

.submenu li a {
    padding: 15px;
    display: block;
}

.menu .separator {
    height: 30px;
    margin-bottom: 10px;
}
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 28px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.hamburger .bar {
    height: 3px;
    width: 100%;
    background-color: white;
    border-radius: 10px;
}

/* ==================== ESTILOS GERAIS (Mantidos do seu código) ==================== */
.title-font {
    font-family: 'ABeeZee', sans-serif;
}

.banner-button {
    background-color: #000;
    color: #FFBD1B;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
    border: 2px solid #FFBD1B;
    font-family: 'ABeeZee', sans-serif;
}
.banner-button:hover {
    background-color: #FFBD1B;
    color: #000;
}

.part-of-ct-button {
    background-color: #000;
    color: #FFBD1B;
    transition: background-color 0.3s, color 0.3s;
    font-family: 'ABeeZee', sans-serif;
}
.part-of-ct-button:hover {
    background-color: #FFBD1B;
    color: #000;
}

.carousel-container {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.carousel-container::-webkit-scrollbar {
    display: none;
}

.carousel-nav-btn {
    background-color: #BD2109;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.3s;
    border: none;
}
.carousel-nav-btn:hover {
    background-color: #8c1906;
}


/* ==================== RODAPÉ (Mantido do seu código) ==================== */
/* estilo do Rodape*/
.footer-container {
    background-color:#000000;
    color: #FFBD1B;
    padding: 40px 20px;
    width: 100%;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

.footer-column {
    flex: 1;
    min-width: 250px;
    margin: 20px;
}

.footer-title {
    font-size: 23px;
    font-weight: bold;
    margin-bottom: 20px;
    letter-spacing: 1px;
    font-family: ABeeZee, sans-serif;
}

.footer-column p,
.footer-column a {
    color: #ccc;
    text-decoration: none;
    line-height: 1.6;
    font-size: 20px;
    display: block;
    font-family: Alumni Sans SC, sans-serif;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-column a:hover {
    color: #FFBD1B; /* Muda a cor para amarelo */
}
/* FIM CCS DA PAGINA --------


/* ==================== MEDIA QUERIES PARA RESPONSIVIDADE ==================== */
/* --- TABLETS E TELAS MENORES (ATÉ 992px) --- */
@media (max-width: 992px) {
    .capacete {
        display: none; /* Esconde o capacete para não atrapalhar */
    }

    .menu .separator {
        display: none; /* Esconde os separadores para ganhar espaço */
    }

    .menu {
        gap: 15px; /* Diminui ainda mais o espaçamento */
    }

    .menu a {
        font-size: 16px;
    }
}


/* --- CELULARES (ATÉ 768px) --- */
@media (max-width: 768px) {
    /* --- AJUSTES NO MENU --- */
    .menu {
        display: none; /* Esconde o menu desktop */
        position: absolute;
        top: 50px; /* Aparece abaixo do cabeçalho */
        left: 0;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.95);
        flex-direction: column;
        align-items: center;
        padding: 10px 0;
        gap: 0;
    }

    .menu.active {
        display: flex; /* Mostra o menu quando o JS adicionar a classe 'active' */
        background-color: #333;
    }

    .menu li {
        width: 100%;
        text-align: center;
        background-color: #333;
    }

    .menu a {
        padding: 15px 0;
        width: 100%;
        display: block; /* Garante que o link ocupe todo o espaço */
    }
    
    .submenu {
        position: static; /* Submenu vira parte do fluxo normal do menu mobile */
        width: 100%;
        background-color: #333;
        box-shadow: none;
    }
    
    .submenu li a {
        padding-left: 40px; /* Adiciona um recuo para indicar que é um sub-item */
    }

    .hamburger {
        display: flex; /* Mostra o botão hambúrguer */
    }

    /* --- AJUSTES NO CARRINHO DE COMPRAS --- */
    .cart-container {
        padding: 1rem; /* Diminui o padding em telas pequenas */
    }

    .cart-table-header {
        display: none; /* Esconde o cabeçalho da tabela, pois não funciona no mobile */
    }

    .cart-body {
        border: none;
    }

    /* --- AJUSTES DA TABELA --- */
    /* Estratégia: Esconder o cabeçalho e transformar cada linha em um "card" */
    .custom-table thead {
        display: none; /* Esconde o cabeçalho da tabela */
    }
    .custom-table, .custom-table tbody, .custom-table tr, .custom-table td {
        display: block; /* Faz cada elemento ocupar uma linha */
        width: 100%;
    }
    .custom-table tr {
        margin-bottom: 1rem; /* Espaço entre os "cards" de cada dia */
        border: 1px solid #4a4a4a;
        border-radius: 8px;
        overflow: hidden;
    }
    .custom-table td {
        text-align: right; /* Alinha o conteúdo à direita */
        padding-left: 50%; /* Deixa espaço para o rótulo */
        position: relative; /* Necessário para posicionar o rótulo */
        border-bottom: 1px solid #4a4a4a;
    }
    .custom-table td:last-child {
        border-bottom: 0;
    }
    /* Adiciona os rótulos (Dia, Horários, etc.) usando CSS */
    .custom-table td::before {
        content: attr(data-label); /* Pega o texto do atributo 'data-label' */
        position: absolute;
        left: 10px;
        width: calc(50% - 20px);
        padding-right: 10px;
        text-align: left;
        font-weight: bold;
        color: white;
    }

    /* --- AJUSTES DO RODAPÉ --- */
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
}