/* ===================================================== */
/* DORADO LUNCH - STYLE.CSS */
/* ===================================================== */

:root {
    --primary: #f97316;    /* Naranja */
    --secondary: #22c55e;  /* Verde WhatsApp */
    --bg: #fffdfa;
}


/* ===================================================== */
/* BODY */
/* ===================================================== */

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    display: flex;
    justify-content: center;
    background-color: #d8c3a5;
    background-image: url("img/fondo.png");
    background-repeat: repeat;
    background-position: center top;
    background-size: 600px auto;
    background-attachment: scroll;
}

/* ===================================================== */
/* CONTENEDOR PRINCIPAL */
/* ===================================================== */

.app-container {
    width: 100%;
    max-width: 450px;
    padding: 20px;
    text-align: center;
}


/* ===================================================== */
/* BOTONES DE SELECCIÓN */
/* ===================================================== */

button {
    cursor: pointer;
    transition: all 0.2s ease;
}


/* BOTÓN SELECCIONADO */

.bg-orange-500 {
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
    transform: scale(0.98);
}


/* EFECTO AL PRESIONAR */

button:active {
    transform: scale(0.95);
}


/* ===================================================== */
/* ELEMENTOS DE DISEÑO */
/* ===================================================== */

.logo {
    color: var(--primary);
    letter-spacing: 2px;
    margin-bottom: 5px;
}


.subtitle {
    color: #666;
    font-style: italic;
    margin-top: 0;
}


.card {
    background: white;
    border-radius: 25px;
    padding: 30px;

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);

    border-top: 8px solid var(--primary);

    margin-top: 20px;
}


.menu-item {
    margin-bottom: 25px;
}


.menu-item label {
    font-size: 0.7rem;
    font-weight: bold;
    color: #aaa;

    display: block;
}


.menu-item h2 {
    margin: 5px 0;
    color: #333;
}


/* ===================================================== */
/* BOTÓN DE WHATSAPP */
/* ===================================================== */

.btn-pedido {
    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--secondary);

    color: black;

    text-decoration: none;

    padding: 18px;

    border-radius: 15px;

    font-weight: bold;
    font-size: 1.1rem;

    margin-top: 30px;

    box-shadow:
        0 4px 15px rgba(34, 197, 94, 0.4);

    transition:
        transform 0.2s,
        background-color 0.2s;
}


.btn-pedido:hover {
    background-color: #16a34a;
}


.btn-pedido:active {
    transform: scale(0.96);
}


/* ===================================================== */
/* OCULTAR ELEMENTOS */
/* ===================================================== */

.hidden {
    display: none;
}


/* ===================================================== */
/* ANIMACIÓN DE ENTRADA DEL MENÚ */
/* ===================================================== */

.animate-in {
    animation: fadeIn 0.5s ease-out;
}


@keyframes fadeIn {

    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* ===================================================== */
/* SPLASH PROMOCIONAL */
/* ===================================================== */

.promo-splash {
    position: fixed;

    inset: 0;

    width: 100vw;
    height: 100dvh;

    background-color: #d8c3a5;
    background-image: url("img/fondo.png");
    background-repeat: repeat;
    background-position: center;
    background-size: 600px auto;

    z-index: 99999;

    display: flex;

    justify-content: center;
    align-items: center;

    overflow: hidden;

    overscroll-behavior: none;
    touch-action: none;

    opacity: 1;

    transform: scale(1);

    transition:
        opacity 1.2s ease,
        transform 1.2s ease;
}


/* ===================================================== */
/* CONTENEDOR DEL SPLASH */
/* ===================================================== */

.promo-content {
    position: relative;

    width: 95%;
    max-width: 410px;

    height: auto;

    display: flex;

    justify-content: center;
    align-items: center;

    overflow: hidden;

    background: #000;

    border-radius: 16px;

    box-shadow:
    0 12px 22px rgba(0, 0, 0, 0.60);
}


/* ===================================================== */
/* IMAGEN PROMOCIONAL */
/* ===================================================== */

.promo-content img {
    width: 100%;
    height: auto;

    object-fit: contain;

    display: block;

    pointer-events: none;
}


/* ===================================================== */
/* BOTÓN VER MENÚ AHORA */
/* ===================================================== */

#btnCerrarPromo {
    position: absolute;

    left: 50%;
    bottom: 18px;

    transform: translateX(-50%);

    width: calc(100% - 40px);
    max-width: 390px;

    padding: 12px 18px;

    margin: 0;

    border: none;

    border-radius: 12px;

    background: var(--primary);

    color: white;

    font-size: 15px;
    font-weight: 800;

    letter-spacing: 0.3px;

    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.45);

    cursor: pointer;

    z-index: 2;

    transition:
        transform 0.2s ease,
        background-color 0.2s ease;
}


/* BOTÓN PRESIONADO */

#btnCerrarPromo:active {
    transform:
        translateX(-50%)
        scale(0.96);
}


/* ===================================================== */
/* CELULARES PEQUEÑOS */
/* ===================================================== */

@media (max-height: 700px) {

    #btnCerrarPromo {
        bottom: 10px;

        padding: 10px 16px;

        font-size: 14px;
    }

}

/* ========================================= */
/* TEXTOS GRISES → NEGRO */
/* ========================================= */

.text-gray-500,
.text-gray-400,
.text-slate-400 {
    color: #111111 !important;
}

/* PLACEHOLDERS DE LOS CAMPOS */

input::placeholder {
    color: #222222 !important;
    opacity: 1;
}