/* ==========================================================================
   Custom Styles - La Panqueca
   ========================================================================== */

/* Variables handled by Tailwind but custom ones can go here */

/* Base Adjustments */
html,
body {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Custom Selection */
::selection {
    background-color: #D92525;
    color: white;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1A1A1A;
}

::-webkit-scrollbar-thumb {
    background: #fecc00;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #e5b800;
}

/* Navbar active state & hover effects */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #D92525;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Transparent Navbar state for top of page */
.nav-transparent {
    background-color: transparent !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-transparent .nav-link {
    color: white !important;
}

.nav-transparent .nav-link:hover {
    color: #F2A649 !important;
}

.nav-transparent #mobile-menu-btn {
    color: white !important;
}

.nav-scrolled {
    background-color: rgba(26, 26, 26, 0.95) !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.5);
}

/* Hero Parallax Setup */
.hero-parallax {
    transform: translateZ(-1px) scale(1.5);
    z-index: -1;
}

/* Utility to ensure text lines clamp (useful for descriptions) */
.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    line-clamp: 3;
    overflow: hidden;
}





/* Image Zoom on hover in Tailwind handles this neatly inside .group-hover:scale-110 */


section.relative.bg-brand-dark.py-20.lg\:py-32.overflow-hidden {
    padding-top: 50px;
    padding-bottom: 135px;
    margin-top: -20px;
}

/* Background com Padrão de Ícones enviado pelo usuário */
.bg-pattern-kitchen {
    background-color: #fecc00 !important;
    position: relative;
}

.bg-pattern-kitchen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../../img/background_orange.png');
    background-repeat: repeat;
    background-size: 740px;
    background-blend-mode: multiply;
    opacity: 0.15;
    /* Define a opacidade apenas do background */
    pointer-events: none;
    z-index: 0;
}

.border-brand-red {
    --tw-border-opacity: 1;
    border-color: rgb(254 204 0);
}

/* Estilos para o cabeçalho do menu */
.menu-header-section {
    padding-top: 80px;
}


a.bg-brand-red.text-white.hover\:bg-brand-dark.px-5.py-2\.5.rounded-full.font-bold.transition-all.transform.hover\:scale-105.shadow-md.inline-flex.items-center.gap-2.text-sm {
    width: 170px;
    height: 50px;
    font-size: 17px;
}

img.h-4 {
    max-width: 100%;
    height: auto;
}

/* Cardápio Mobile Adjustments */
@media (max-width: 640px) {
    .category-nav a {
        padding-left: 1rem;
        padding-right: 1rem;
        font-size: 0.8rem;
    }

    .scroll-mt-36 {
        scroll-margin-top: 140px;
    }

    .pt-24 {
        padding-top: 6.5rem;
        /* Aumentado para dar respiro sob a logo */
    }

    h2.text-3xl {
        margin-top: 2rem;
        margin-bottom: 1rem;
        display: block;
    }

    /* Mais respiro para títulos de categoria no mobile */
    .menu-cat-title {
        margin-top: 3.5rem !important;
        margin-bottom: 2rem !important;
    }

    .mb-20 {
        margin-bottom: 5rem !important;
        /* Mais espaço entre categorias no mobile */
    }

    .py-12 {
        padding-top: 5rem !important;
    }

    .left-1\/2 {
        left: 44%;
    }
}

/* Fix mobile menu button visibility and hierarchy */
#mobile-menu-btn {
    position: relative;
    z-index: 60 !important;
}

#navbar {
    z-index: 100 !important;
}


.sm\:py-20 {
    padding-top: 5rem;
    padding-bottom: 5rem;
    margin-top: -60px;
}