/* =========================================
   ESTILOS PERSONALIZADOS - DONNA PIZZA
   ========================================= */

/* --- CSS Variables para cores dinâmicas --- */
:root {
    --color-brand-orange: #FF9F1C;
    --color-brand-dark: #121212;
    --color-brand-black: #0a0a0a;
}

/* --- Efeitos Visuais --- */

/* Navegação com efeito de vidro */
.glass-nav {
    background: rgba(10, 10, 10, 0.95);
    /* Fundo escuro semi-transparente */
    backdrop-filter: blur(10px);
    /* Desfoque do fundo */
    border-bottom: 1px solid rgba(255, 159, 28, 0.1);
    /* Borda sutil laranja */
}

/* Efeito de hover nos cartões de pizza */
.pizza-card:hover {
    transform: translateY(-5px);
    /* Levanta o cartão */
    box-shadow: 0 10px 30px -10px rgba(255, 159, 28, 0.2);
    /* Sombra laranja */
    border-color: #FF9F1C;
    /* Borda laranja ao passar o mouse */
}

/* Brilho no texto principal */
.text-glow {
    text-shadow: 0 0 20px rgba(255, 159, 28, 0.4);
}

/* --- Animações --- */

/* Animação de "pulo" lento para elementos destacados */
@keyframes bounce-slow {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.animate-bounce-slow {
    animation: bounce-slow 2s infinite;
}

/* --- Checkout Arrow Animation --- */
@keyframes bounce-arrow {
    0%, 100% {
        transform: translate(-50%, 0);
        opacity: 1;
    }
    50% {
        transform: translate(-50%, -12px);
        opacity: 0.7;
    }
}

.animate-bounce-arrow {
    animation: bounce-arrow 1s ease-in-out infinite;
}

/* --- Scrollbar Personalizada (Webkit) --- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0a0a0a;
    /* Fundo do trilho */
}

::-webkit-scrollbar-thumb {
    background: #333;
    /* Cor da barra */
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #FF9F1C;
    /* Cor da barra ao passar o mouse */
}

/* Mobile Footer Buttons */
.mobile-footer-btns {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: none;
    /* Hidden by default */
    grid-template-columns: 1fr 1fr;
    gap: 0;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .mobile-footer-btns {
        display: grid;
    }

    /* Adjust body padding to avoid content being covered by the footer buttons */
    body {
        padding-bottom: 70px;
    }
}

.footer-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 60px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-whatsapp {
    background-color: #25D366;
    /* WhatsApp Green */
    color: #fff;
}

.btn-call {
    background-color: var(--color-brand-orange);
    color: var(--color-brand-black);
}

.footer-btn:active {
    filter: brightness(0.9);
    transform: scale(0.98);
}

/* --- Hero Pizza Gallery --- */
.hero-pizza-gallery-wrapper {
    width: 100%;
    margin-top: 3rem;
    position: relative;
    z-index: 20;
}

.hero-pizza-gallery {
    display: flex;
    justify-content: center;
    overflow: hidden;
    padding: 0;
    position: relative;
    width: 100%;
}

.gallery-track {
    display: flex;
    gap: 1rem;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 1rem;
}

.pizza-gallery-item img {
    filter: drop-shadow(0 0 15px rgba(255, 159, 28, 0.3));
    transition: all 0.5s ease;
    border: 1px solid rgba(255, 159, 28, 0.5);
    /* Bordas finas */
}

.pizza-gallery-item:hover img {
    filter: drop-shadow(0 0 25px rgba(255, 159, 28, 0.6));
    border-color: rgba(255, 159, 28, 0.8);
    transform: scale(1.1);
}

@keyframes fade-in-up {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fade-in-up 1s ease-out forwards;
}

/* Fade in for the gallery items during rotation */
.pizza-gallery-item {
    animation: fade-in 0.8s ease-in;
}

@keyframes fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .pizza-gallery-item img {
        width: 160px;
        height: 110px;
    }
}