:root {
    --rojo-munecos: #e31837;
    --amarillo-munecos: #ffd700;
    --azul-munecos: #0057b7;
    --naranja-munecos: #ff8c00;
    --verde-munecos: #228b22;
    --fondo-barrio: #fff5e1;
    --sombra-barrio: 5px 5px 15px rgba(0, 0, 0, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Nunito", sans-serif;
    background-color: var(--fondo-barrio);
    color: #333;
    overflow-x: hidden;
}

h1,
h2,
h3 {
    font-family: "Bangers", cursive;
    letter-spacing: 1.5px;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* HEADER DE BARRIO */
header {
    background-color: var(--rojo-munecos);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    border-bottom: 5px solid var(--amarillo-munecos);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-imagen {
    width: 120px;
    height: 120px;
    background-image: url('../img/logoHotDogs_removido.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/*.logo-muneco {
    width: 60px;
    height: 60px;
    background-color: var(--amarillo-munecos);
    border-radius: 50%;
    position: relative;
    border: 3px solid white;
    box-shadow: 0 0 0 3px var(--rojo-munecos);
}

.logo-muneco::before,
.logo-muneco::after {
    content: "";
    position: absolute;
    width: 15px;
    height: 15px;
    background-color: white;
    border-radius: 50%;
    top: 15px;
}

.logo-muneco::before {
    left: 12px;
}

.logo-muneco::after {
    right: 12px;
}*/

.logo-texto {
    font-family: "Bangers", cursive;
    color: white;
    line-height: 1;
}

.logo-texto h1 {
    font-size: 2.2rem;
    color: var(--amarillo-munecos);
    text-shadow: 2px 2px 0 var(--rojo-munecos);
}

.logo-texto p {
    font-size: 1rem;
    color: white;
    margin-top: -5px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 8px 15px;
    border-radius: 30px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

nav ul li a:hover {
    background-color: var(--amarillo-munecos);
    color: var(--rojo-munecos);
    transform: translateY(-2px);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
}

/* HERO CON ESTILO DE BARRIO */
.hero {
    background:
        linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
        url("https://images.unsplash.com/photo-1551782450-17144efb9c50?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2069&q=80")
            no-repeat center center/cover;
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 20px;
    background-color: var(--amarillo-munecos);
}

.hero h1 {
    font-size: 4rem;
    color: var(--amarillo-munecos);
    text-shadow: 3px 3px 0 var(--rojo-munecos);
    margin-bottom: 15px;
}

.hero-subtitle {
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: white;
    font-weight: 700;
}

.hero-description {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.btn {
    display: inline-block;
    background-color: var(--amarillo-munecos);
    color: var(--rojo-munecos);
    padding: 12px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.2rem;
    transition: all 0.3s;
    border: 3px solid var(--rojo-munecos);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn:hover {
    background-color: var(--rojo-munecos);
    color: var(--amarillo-munecos);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* SECCIÓN DE MUÑECOS DEL BARRIO */
.munecos-barrio {
    padding: 70px 0;
    background-color: white;
    position: relative;
    overflow: hidden;
}

.munecos-barrio::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 10px;
    background: repeating-linear-gradient(
        90deg,
        var(--rojo-munecos),
        var(--rojo-munecos) 20px,
        var(--amarillo-munecos) 20px,
        var(--amarillo-munecos) 40px
    );
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title h2 {
    font-size: 3.2rem;
    color: var(--rojo-munecos);
    display: inline-block;
    padding: 0 20px;
    background-color: white;
    position: relative;
    z-index: 2;
}

.section-title::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 4px;
    background-color: var(--amarillo-munecos);
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    z-index: 1;
}

.galeria-munecos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.muneco-card {
    background-color: var(--fondo-barrio);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--sombra-barrio);
    transition: all 0.4s;
    border: 5px solid transparent;
    position: relative;
}

.muneco-card:hover {
    transform: translateY(-10px);
    border-color: var(--amarillo-munecos);
}
/*
.muneco-card::before {
    content: "";
    position: absolute;
    top: -10px;
    left: -10px;
    width: 30px;
    height: 30px;
    background-color: var(--rojo-munecos);
    border-radius: 50%;
    z-index: 3;
}*/

.muneco-imagen {
    height: 200px;
    overflow: hidden;
}

.muneco-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.muneco-card:hover .muneco-imagen img {
    transform: scale(1.1);
}

.muneco-info {
    padding: 20px;
    text-align: center;
}

.muneco-nombre {
    font-size: 1.8rem;
    color: var(--rojo-munecos);
    margin-bottom: 5px;
    font-family: "Bangers", cursive;
}

.muneco-platillo {
    font-size: 1.2rem;
    color: var(--azul-munecos);
    font-weight: 700;
    margin-bottom: 10px;
}

.muneco-desc {
    color: #666;
    font-size: 0.95rem;
}

/* MENÚ CON ESTILO DE BARRIO */
.menu-barrio {
    padding: 70px 0;
    background-color: var(--fondo-barrio);
    position: relative;
}

.menu-barrio::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 10px;
    background: repeating-linear-gradient(
        90deg,
        var(--amarillo-munecos),
        var(--amarillo-munecos) 20px,
        var(--rojo-munecos) 20px,
        var(--rojo-munecos) 40px
    );
}

.categoria-menu {
    margin-bottom: 60px;
}

.categoria-titulo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    background-color: var(--rojo-munecos);
    color: white;
    padding: 15px 25px;
    border-radius: 10px;
    box-shadow: var(--sombra-barrio);
}

.categoria-titulo i {
    font-size: 2rem;
    color: var(--amarillo-munecos);
}

.categoria-titulo h3 {
    font-size: 2.2rem;
    margin: 0;
}

.platillos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.platillo-card {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--sombra-barrio);
    transition: all 0.3s;
    border-left: 8px solid var(--amarillo-munecos);
    position: relative;
}

.platillo-card:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.platillo-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: var(--rojo-munecos);
    color: white;
}

.platillo-nombre {
    font-size: 1.6rem;
    font-weight: 800;
}

.platillo-precio {
    font-size: 2rem;
    font-weight: 800;
    color: var(--amarillo-munecos);
}

.personaje-tag {
    display: inline-block;
    background-color: var(--azul-munecos);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-top: 5px;
}

.platillo-cuerpo {
    padding: 20px;
}

.platillo-imagen {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 15px;
}

.platillo-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.platillo-card:hover .platillo-imagen img {
    transform: scale(1.05);
}

.platillo-desc {
    margin-bottom: 15px;
    color: #555;
}

.platillo-ingredientes {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ingrediente {
    background-color: #f0f0f0;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.85rem;
}

/* FOOTER DE BARRIO */
footer {
    background-color: #222;
    color: white;
    padding: 50px 0 20px;
    position: relative;
}

footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 10px;
    background: repeating-linear-gradient(
        90deg,
        var(--rojo-munecos),
        var(--rojo-munecos) 20px,
        var(--amarillo-munecos) 20px,
        var(--amarillo-munecos) 40px
    );
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    font-family: "Bangers", cursive;
    font-size: 2.2rem;
    color: var(--amarillo-munecos);
    margin-bottom: 15px;
    line-height: 1;
}

.footer-logo span {
    color: var(--rojo-munecos);
}

.footer-info p {
    margin-bottom: 12px;
    color: #ccc;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-info i {
    color: var(--amarillo-munecos);
    width: 20px;
}

.redes-sociales {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.redes-sociales a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: var(--rojo-munecos);
    border-radius: 50%;
    color: white;
    font-size: 1.3rem;
    transition: all 0.3s;
}

.redes-sociales a:hover {
    background-color: var(--amarillo-munecos);
    color: var(--rojo-munecos);
    transform: translateY(-3px);
}

.horarios h3,
.contacto h3 {
    color: var(--amarillo-munecos);
    font-size: 1.6rem;
    margin-bottom: 20px;
    font-family: "Bangers", cursive;
}

.horarios p,
.contacto p {
    margin-bottom: 10px;
    color: #ccc;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    color: #999;
    font-size: 0.9rem;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 3.2rem;
    }

    .section-title h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--rojo-munecos);
        padding: 100px 30px 30px;
        transition: right 0.5s;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
        z-index: 999;
    }

    nav.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        gap: 15px;
    }

    nav ul li a {
        font-size: 1.2rem;
        padding: 12px 20px;
        justify-content: center;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.4rem;
    }

    .platillos-grid {
        grid-template-columns: 1fr;
    }

    .galeria-munecos {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .logo-texto h1 {
        font-size: 1.8rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .galeria-munecos {
        grid-template-columns: 1fr;
    }

    .categoria-titulo h3 {
        font-size: 1.8rem;
    }
}

/* ANIMACIONES */
@keyframes aparecer {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animar {
    animation: aparecer 0.8s ease-out forwards;
}
