/* ==========================================================================
   CSS MODULAR: CARDÁPIO DIGITAL (Mobile-First Premium)
   Projeto: Perneta's Drinks
   ========================================================================== */

/* --- RESET BÁSICO --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #050505; /* Fundo Preto Profundo */
    color: #F5F5F5;
    font-family: 'Arial', sans-serif;
    -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   1. CABEÇALHO DO CARDÁPIO
========================================================================== */
.cardapio-header {
    text-align: center;
    padding: 35px 20px 20px;
    background: radial-gradient(circle at top, #151515 0%, #050505 100%);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.cardapio-header .logo-container {
    margin-bottom: 20px;
    display: inline-block;
}

.cardapio-header .logo {
    max-width: 110px;
    height: auto;
    border-radius: 50%;
    border: 2px solid #D4AF37;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
    transition: transform 0.3s ease;
}

.cardapio-header .logo:hover {
    transform: scale(1.05) rotate(5deg);
}

.cardapio-header h1 {
    font-size: 2rem;
    color: #D4AF37;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 5px;
    font-weight: 900;
}

.cardapio-header .slogan {
    font-size: 0.95rem;
    color: #888;
    font-style: italic;
    letter-spacing: 1px;
}

/* ==========================================================================
   2. FILTROS RÁPIDOS (Sticky com Glassmorphism)
========================================================================== */
.categorias-nav {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    padding: 15px 20px;
    background: rgba(5, 5, 5, 0.85); /* Fundo semi-transparente */
    backdrop-filter: blur(10px); /* Efeito vidro */
    -webkit-backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    scrollbar-width: none; 
    -ms-overflow-style: none;
}

.categorias-nav::-webkit-scrollbar {
    display: none;
}

.btn-categoria {
    background-color: #111;
    color: #aaa;
    border: 1px solid #333;
    padding: 10px 22px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.btn-categoria:hover {
    border-color: #555;
    color: #fff;
}

.btn-categoria.active,
.btn-categoria:active {
    background-color: #D4AF37;
    color: #000;
    border-color: #D4AF37;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

/* ==========================================================================
   3. VITRINE DE PRODUTOS
========================================================================== */
.cardapio-container {
    padding: 20px;
    min-height: 50vh;
}

.grid-produtos {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.erro-msg {
    text-align: center;
    color: #E63946;
    padding: 25px;
    font-size: 1.1rem;
    font-weight: bold;
    border: 1px solid rgba(230, 57, 70, 0.3);
    background: rgba(230, 57, 70, 0.1);
    border-radius: 12px;
}

/* --- ESTILO DO CARD (Layout Horizontal p/ Celular) --- */
.card-produto {
    display: flex;
    background: linear-gradient(145deg, #151515, #0a0a0a);
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #222;
    box-shadow: 0 5px 15px rgba(0,0,0,0.6);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer; /* Indica que é clicável inteiro */
}

.card-produto:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 8px 25px rgba(0,0,0,0.8), 0 0 10px rgba(212, 175, 55, 0.1);
}

.card-produto.hide {
    display: none !important;
}

/* IMAGEM DO DRINK */
.produto-imagem {
    width: 38%;
    background: radial-gradient(circle, #1a1a1a 0%, #050505 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 10px;
    position: relative;
}

.produto-imagem::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10%;
    height: 80%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, #333, transparent);
}

.produto-imagem img {
    width: 100%;
    height: auto;
    object-fit: contain;
    max-height: 130px;
    filter: drop-shadow(3px 5px 8px rgba(0,0,0,0.9));
    transition: transform 0.4s ease;
}

.card-produto:hover .produto-imagem img {
    transform: scale(1.1);
}

/* INFORMAÇÕES DO DRINK */
.produto-info {
    width: 62%;
    padding: 20px 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.produto-nome {
    font-size: 1.25rem;
    font-weight: 900;
    color: #F5F5F5;
    margin-bottom: 8px;
    line-height: 1.2;
}

.produto-receita {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Limita a descrição */
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.produto-rodape {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.produto-preco {
    font-size: 1.3rem;
    font-weight: 900;
    color: #D4AF37;
    font-family: 'Courier New', Courier, monospace;
}

.btn-pedir {
    background: rgba(212, 175, 55, 0.1);
    color: #D4AF37;
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 900;
    cursor: pointer;
    transition: all 0.3s ease;
}

.card-produto:hover .btn-pedir,
.btn-pedir:hover {
    background-color: #D4AF37;
    color: #000;
    border-color: #D4AF37;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

/* ==========================================================================
   4. NOVA SEÇÃO: ISCA DE LEAD DO WHATSAPP (Abaixo dos Drinks)
========================================================================== */
.promo-whatsapp-section {
    padding: 10px 20px 40px;
}

.promo-container {
    background: linear-gradient(135deg, #111 0%, #0a0a0a 100%);
    border: 1px solid #333;
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
}

/* Efeito luminoso verde no fundo da caixa de promo */
.promo-container::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(46, 204, 113, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.promo-icon {
    font-size: 3rem;
    color: #2ecc71;
    margin-bottom: 15px;
    filter: drop-shadow(0 0 10px rgba(46, 204, 113, 0.4));
}

.promo-texto h2 {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.promo-texto p {
    color: #aaa;
    font-size: 0.95rem;
    margin-bottom: 25px;
    line-height: 1.5;
}

.btn-promo-zap {
    display: inline-block;
    background-color: #2ecc71;
    color: #fff;
    padding: 15px 30px;
    border-radius: 10px;
    font-weight: 900;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
}

.btn-promo-zap:hover {
    background-color: #27ae60;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(46, 204, 113, 0.5);
}

/* ==========================================================================
   5. RODAPÉ DO CARDÁPIO
========================================================================== */
.cardapio-footer {
    text-align: center;
    padding: 30px 20px 40px;
    background-color: #000;
    border-top: 1px solid #111;
}

.cardapio-footer p {
    color: #555;
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.link-voltar {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #888;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: bold;
    transition: color 0.3s ease;
}

.link-voltar::before {
    content: '←';
    font-size: 1.2rem;
}

.link-voltar:hover {
    color: #D4AF37;
}

/* ==========================================================================
   6. RESPONSIVIDADE P/ TELAS MAIORES
========================================================================== */
@media (min-width: 768px) {
    .grid-produtos {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .card-produto {
        width: calc(50% - 10px); /* 2 colunas */
    }
    
    .categorias-nav {
        justify-content: center;
    }

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

@media (min-width: 1024px) {
    .card-produto {
        width: calc(33.333% - 14px); /* 3 colunas */
    }
}
