* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background: #f8f9fa;
    overflow-x: hidden;
    width: 100vw;
    height: auto;
}


/* HEADER E LOGO */

header {
    background: linear-gradient(135deg, #c62828, #d32f2f);
}

.navbar-logo {
    background: #fff;
    padding: 12px 0;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.logo-img {
    height: 72px;
    width: auto;
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.5));
    transition: 0.3s;
}

@media (max-width: 992px) {
    .logo-img {
        height: 62px;
    }
}

@media (max-width: 768px) {
    .logo-img {
        height: 90px;
    }
}

@media (max-width: 480px) {
    .logo-img {
        height: 50px;
    }
}


/* GRID DO CARDÁPIO */

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    padding: 10px;
}

.item {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
    text-align: center;
}

.item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.item h3 {
    color: #d32f2f;
    font-weight: bold;
    margin: 15px 10px 5px;
}

.item span {
    font-size: 1.6rem;
    font-weight: bold;
    color: #d32f2f;
    display: block;
    margin: 10px 0;
}


/* ABAS */

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
    animation: fadeIn .5s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.tab-btn.active {
    background: #d32f2f !important;
    color: #fff !important;
}


/* BOTÕES FLUTUANTES */

.float-btn {
    position: fixed;
    bottom: 20px;
    width: 66px;
    height: 66px;
    border-radius: 50%;
    border: none;
    color: #fff;
    font-size: 28px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.float-btn:active {
    transform: scale(0.9);
}

.cart-float {
    right: 20px;
    background: #28a745;
}

.share-float {
    right: 96px;
    background: #25d366;
}

.help-float {
    right: 172px;
    background: #007bff;
}

.badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ff0000;
    color: #fff;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    font-size: 14px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* MODAIS NORMAIS (carrinho, checkout) */

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-content {
    background: #fff;
    border-radius: 20px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 30px;
    position: relative;
}

.close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 40px;
    cursor: pointer;
    color: #aaa;
}

.close:hover {
    color: #d32f2f;
}


/* NOTIFICAÇÃO */

.notification {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: #fff;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: bold;
    z-index: 3000;
    display: none;
}


/* MODAL DE INTRO (vídeo de 10 segundos) */

#introModal {
    display: none;
    position: fixed;
    z-index: 999999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.98);
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.5s;
}

#introModal iframe {
    width: 90%;
    height: 80%;
    max-width: 800px;
    border: none;
    border-radius: 15px;
}

#skipIntro {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #d32f2f;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: bold;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

#skipIntro:hover {
    background: #b71c1c;
}


/* SEÇÃO DE PROMOÇÕES EM DESTAQUE */

#promocoes {
    background: linear-gradient(135deg, #fff, #f1f3f5);
    padding: 30px 15px;
    margin: 20px 0;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.promo-item {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    transition: 0.3s;
    text-align: center;
    position: relative;
}

.promo-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.promo-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.promo-item h4 {
    color: #d32f2f;
    margin: 12px 0 8px;
    font-weight: bold;
}

.promo-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #28a745;
    color: white;
    padding: 8px 15px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: bold;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}


/* ANIMAÇÃO DE NEVE DE NATAL */

.snow-container {
    position: fixed;
    top: 0;
    left: 0;
    overflow: hidden;
    width: 100vw;
    height: 100vh;
    z-index: 99999;
    pointer-events: none;
}

.snowflake {
    position: absolute;
    background-color: white;
    border-radius: 50%;
    opacity: 0.8;
    pointer-events: none;
}

@keyframes fall {
    0% {
        opacity: 0;
        transform: translateY(0);
    }
    10% {
        opacity: 1;
    }
    100% {
        opacity: 0.5;
        transform: translateY(100vh);
    }
}

@keyframes diagonal-fall {
    0% {
        opacity: 0;
        transform: translate(0, 0);
    }
    10% {
        opacity: 1;
    }
    100% {
        opacity: 0.25;
        transform: translate(10vw, 100vh);
    }
}


/* RESPONSIVIDADE EXTRA */

@media (max-width: 576px) {
    #introModal iframe {
        width: 95%;
        height: 70%;
    }
    #skipIntro {
        padding: 10px 18px;
        font-size: 0.9rem;
    }
}