* {
    padding: 0;
    margin: 0;
    font-family: 'Roboto', sans-serif;
    text-decoration: none;
    color: #111827;
}

body {
    background-color: #FFF7ED;
    margin-top: 60px;
}


/* =========================
   NAVBAR
   ========================= */

.navbar-container {
    background-color: #172033;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;

    font-weight: bold;
    color: #F97316;
    font-size: 18px;
}

.navbar-logo {
    color: #F97316;
}

.navbar-menu-container {
    display: flex;
    align-items: center;
    padding: 0 10px;
}

.navbar-menu {
    list-style: none;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 10px;
}

.navbar-menu li {
    margin: 0 10px;
}

.navbar-menu li a {
    color: #F97316;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

.navbar-menu li a::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background-color: #F97316;
    transition: width 0.3s ease-in-out;
}

.navbar-menu li a:hover::after {
    width: 100%;
}


/* =========================
   INICIO
   ========================= */

.main-container {
    padding: 30px;
    margin-top: 20px;
}

.main-container.inicio-entrando {
    animation: inicioEntrando 0.5s ease forwards;
}

@keyframes inicioEntrando {

    from {
        opacity: 0;
        transform: translateX(-40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }

}

.main-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
}

.main-content h1 {
    font-size: 30px;
    margin-bottom: 10px;
}


/* =========================
   RESTAURANTES
   ========================= */

.restaurant-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px 0;
    justify-content: center;
}

.restaurant-grid > * {
    flex: 1 1 200px;
    max-width: 200px;
}

.restaurant-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;

    transition:
        transform 0.3s ease-in-out,
        opacity 0.3s ease-in-out;
}

.restaurant-card:hover {
    transform: translateY(-5px);
    opacity: 0.7;
}

.restaurant-card img {
    width: 100%;
    max-height: 150px;
    object-fit: cover;
}

.restaurant-card h3 {
    margin: 10px;
    font-size: 18px;
    text-align: center;
}

.restaurant-card h2 {
    margin: 10px;
    font-size: 25px;
    text-align: center;
}


/* =========================
   AVISO
   ========================= */

.aviso-container {
    background-color: #FEF3C7;
    padding: 10px;
    text-align: center;
    border-radius: 5px;
    margin-top: 20px;
}

.aviso-container p {
    margin-top: 5px;
    font-size: 14px;
    color: rgb(91, 91, 92);
}


/* =========================
   FOOTER
   ========================= */

footer {
    padding: 20px;
    text-align: center;
    margin-top: 20px;
}

footer a {
    color: rgb(0, 4, 255);
    font-weight: 400;
}


/* =========================
   WHATSAPP FLOTANTE
   ========================= */

.whatsapp-flotante img {
    position: fixed;
    bottom: 20px;
    right: 20px;

    background-color: #25D366;
    color: white;
    border-radius: 50%;

    width: 60px;
    height: 60px;

    display: flex;
    justify-content: center;
    align-items: center;

    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.whatsapp-flotante img:hover {
    background-color: #4bc0b2;
    cursor: pointer;
}


/*
----------------------------------
AQUI VAN LOS ESTILOS PARA EL MENÚ
----------------------------------
*/


/* =========================
   CABECERA DEL MENÚ
   ========================= */

.menu-header {
    position: relative;
    text-align: center;
    padding: 20px;
}

.menu-header img {
    width: 100px;
    height: auto;
}

.menu-title {
    font-size: 30px;
    margin-bottom: 10px;
    color: #ffffff;

    opacity: 0;
    transform: translateY(10px);
}

.menu-subtitle {
    font-size: 16px;
    color: #ffffff;
    margin-top: 10px;
    animation: entrarMenu 0.5s ease;
}


/* =========================
   BOTÓN VOLVER
   ========================= */

.back-button {
    position: absolute;
    left: 20px;
    top: 20px;

    background-color: #F97316;
    color: #ffffff;

    border: none;
    padding: 10px 20px;

    border-radius: 5px;
    cursor: pointer;

    transition: background-color 0.3s ease-in-out;

    font-weight: bold;
    font-size: 16px;
}

.back-button:hover {
    background-color: #e65c00;
}


/* =========================
   CONTENEDOR DEL MENÚ
   ========================= */

.menu-container {
    padding: 20px;
    display: none;
}


/* =========================
   ENTRADA DEL MENÚ
   ========================= */

.menu-container.menu-visible {
    animation: entrarMenu 0.5s ease forwards;
    background: #000000;
}

@keyframes entrarMenu {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}


/* =========================
   SALIDA DEL MENÚ
   ========================= */

.menu-container.menu-saliendo {
    animation: salirMenu 0.5s ease forwards;
}

@keyframes salirMenu {
    from {
        opacity: 1;
        transform: translateX(0);
    }

    to {
        opacity: 0;
        transform: translateX(40px);
    }
}


/* =========================
   ANIMACIÓN DEL LOGO
   ========================= */

.menu-logo {
    opacity: 0;
    transform: scale(0.85);

    border-radius: 10%;
    padding: 5px;
}

.menu-visible .menu-logo {
    animation: aparecerLogo 0.5s ease 0.15s forwards;
}

@keyframes aparecerLogo {
    from {
        opacity: 0;
        transform: scale(0.85);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}


/* =========================
   ANIMACIÓN DEL TÍTULO
   ========================= */

.menu-visible .menu-title {
    animation: aparecerTitulo 0.5s ease 0.25s forwards;
}

@keyframes aparecerTitulo {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}