/* =========================
   ADMIN (NO TOCAR)
   ========================= */
body.bg-light {
    background-color: #f5f5f5 !important;
}

.card {
    border-radius: 1rem;
}

.btn-dark {
    border-radius: 999px;
}

.btn-primario {
    background-color: var(--color-primario);
    border-color: var(--color-primario);
    color: #fff;
}

.btn-primario:hover {
    opacity: 0.9;
}

.badge-categoria {
    background-color: var(--color-secundario);
    color: var(--color-texto);
}

.card,
.btn,
.modal-content {
    border-radius: var(--bordes-ui);
}

/* =========================
   MENÚ PÚBLICO
   ========================= */

body.menu-bg {
    background-color: var(--color-fondo);
    color: var(--color-texto);
    margin: 0;
    padding: 0;
    font-family: var(--fuente-ui);
}

/* CONTENEDOR */
.contenedor-menu {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

/* =========================
   BIENVENIDA
   ========================= */
.pantalla-bienvenida {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at top,
            rgba(255, 255, 255, 0.08),
            var(--color-fondo));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    z-index: 10;
    animation: fadeIn .8s ease-out;
}

.pantalla-bienvenida h1 {
    font-size: 1.6rem;
    margin-bottom: .5rem;
}

.pantalla-bienvenida h3 {
    font-size: .8rem;
    margin-bottom: .5rem;
    opacity: .85;
}

.pantalla-bienvenida small {
    opacity: .7;
    font-size: .8rem;
}

.pantalla-bienvenida a {
    color: var(--color-texto);
    text-decoration: underline;
}

/* BOTÓN VER MENÚ */
.btn-ver-menu {
    margin-top: 1.5rem;
    padding: .6rem 1.6rem;
    border-radius: var(--bordes-ui);
    border: 1px solid rgba(255, 255, 255, .25);
    background-color: var(--color-primario);
    color: #fff;
    font-size: .9rem;
    transition: all .2s ease;
}

.btn-ver-menu:hover {
    opacity: .9;
}

/* ANIMACIONES */
.pantalla-bienvenida.oculta {
    opacity: 0;
    pointer-events: none;
    transition: opacity .5s ease;
}

@keyframes fadeOut {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* =========================
   SLIDER
   ========================= */
.slider {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.slider-track {
    display: flex;
    height: 100%;
    transition: transform .25s ease-out;
    touch-action: pan-y;
}

.slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-fondo);
}

.slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* INDICADORES */
.indicadores {
    position: absolute;
    bottom: 12px;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 2;
}

.dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .3);
    margin: 0 3px;
}

.dot.activo {
    background: var(--color-primario);
}

/* =========================
   MARCA
   ========================= */
.marca-puro-ingenio {
    position: absolute;
    top: 8px;
    right: 12px;
    font-size: .65rem;
    opacity: .6;
    z-index: 3;
}

.marca-puro-ingenio a {
    color: var(--color-texto);
    text-decoration: none;
}

/* =========================
   WHATSAPP
   ========================= */
.btn-whatsapp-grande {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 18px 26px;
    font-size: 1.1rem;
    border-radius: 50px;
    z-index: 999;
    background-color: #25d366;
    color: #fff;
}

.btn-whatsapp-grande:hover {
    opacity: .9;
}


/* =========================
   BIENVENIDA CON PORTADA
   ========================= */

.pantalla-bienvenida {
    position: fixed;
    inset: 0;
    background-color: #000;
    background-size: cover;
    background-position: center;
    color: #fff;
    z-index: 10;
}

.pantalla-bienvenida.con-portada {
    background-repeat: no-repeat;
}

.overlay-bienvenida {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,.6),
        rgba(0,0,0,.85)
    );
}

.contenido-bienvenida {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.5rem;
}

/* Logo */
.logo-restobar {
    max-width: 140px;
    max-height: 140px;
    margin-bottom: 1rem;
    object-fit: contain;
}

/* Textos */
.texto-bienvenida {
    font-size: 1rem;
    letter-spacing: .05em;
    text-transform: uppercase;
    opacity: .85;
}

.nombre-restobar {
    font-size: 1.8rem;
    font-weight: 700;
    margin: .5rem 0 1rem;
}

.credito {
    font-size: .75rem;
    opacity: .7;
}

.credito a {
    color: #fff;
    text-decoration: underline;
}

/* Botón */
.btn-ver-menu {
    margin-top: 1.2rem;
    background: var(--color-primario);
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: .6rem 1.5rem;
    font-weight: 600;
}
