
:root {
    --primary-blue: #34495e;
    --accent-yellow: #fdd14b;
    --dark-blue: #1e3a50;
    --text-white: #ecf0f1;
    --primary-red: #da4454;
    --open-green: #2ecc71;
    --font-titles: 'Bebas Neue', cursive;
    --font-body: 'Montserrat', sans-serif;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    background-color: var(--dark-blue);
    background-image:
        linear-gradient(rgba(30, 58, 80, 0.92), rgba(30, 58, 80, 0.92)),
        url('../assets/images/logo/DonBocataLogo.png');
    background-repeat: repeat;
    background-position: center;
    background-attachment: fixed;
    background-size: auto, 600px;
    font-family: var(--font-body);
    color: var(--text-white);
}

header {
    background: var(--dark-blue); padding: 15px; text-align: center;
    border-bottom: 5px solid var(--accent-yellow); position: relative; z-index: 10;
}
.logo { max-width: 120px; filter: drop-shadow(0 0 5px rgba(0,0,0,0.5)); }

.status-bar {
    background: rgba(0,0,0,0.4); backdrop-filter: blur(5px); padding: 12px;
    text-align: center; font-family: var(--font-titles); font-size: 1.1rem;
    color: var(--accent-yellow); display: flex; justify-content: center; align-items: center; gap: 10px;
}
.status-dot { width: 10px; height: 10px; border-radius: 50%; }
.open { background: var(--open-green); box-shadow: 0 0 10px var(--open-green); }
.closed { background: var(--primary-red); }
.hero {
        height: 40vh; max-height: 400px; position: relative; overflow: hidden;
        border-bottom: 4px solid var(--accent-yellow); background: #000;
    }
    .hero-slide {
        position: absolute; width: 100%; height: 100%;
        background-size: cover; background-position: center;
        opacity: 0; transition: opacity 1.2s ease-in-out; /* Efecto suave de fundido */
    }
.hero-slide.active { opacity: 1; z-index: 2; }
.hero-caption {
    position: absolute;
    bottom: 30px;
    left: 0;
    background: var(--accent-yellow);
    color: var(--dark-blue);
    padding: 12px 35px 12px 20px; /* Un poco más de aire */
    font-family: var(--font-titles);
    font-size: 1.4rem;
    z-index: 10;

    /* BORDE Y REDONDEADO */
    border: 3px solid var(--dark-blue);
    border-left: none; /* Mantenemos que salga del lateral */
    border-radius: 0 50px 50px 0; /* Redondeado total en la derecha */

    /* SOMBRA SÓLIDA */
    box-shadow: 5px 5px 0px rgba(0,0,0,0.3);

    /* Quitamos el clip-path anterior para que se vea el borde */
    clip-path: none;
}
.carousel-dots {
    position: absolute;
    bottom: 15px;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 10;
}
.dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}
.dot.active {
    background: var(--accent-yellow);
    transform: scale(1.3);
    box-shadow: 0 0 5px rgba(0,0,0,0.5);
}
.nav-container {
    position: sticky; top: 0; z-index: 1000;
    background: rgba(30, 58, 80, 0.95); padding: 15px; text-align: center;
    backdrop-filter: blur(10px);
}
.category-select {
    background: var(--accent-yellow); font-family: var(--font-titles);
    font-size: 1.2rem; width: 90%; max-width: 350px; padding: 10px;
    border: none; border-radius: 8px; color: var(--dark-blue);
}

.container { max-width: 700px; margin: 0 auto; padding: 20px 15px; }
.category-section { display: none; }
.category-section.active { display: block; animation: fadeIn 0.5s; }

.cat-banner {
    position: relative; height: 180px; display: flex; align-items: center;
    justify-content: center; margin-bottom: 30px; border-radius: 15px;
    overflow: hidden; border: 2px solid var(--dark-blue);
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}
.cat-bg-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover; background-position: center;
    filter: brightness(0.5); z-index: 1;
}
.cat-pincelada {
    position: absolute; width: 90%; height: 80%;
    background: url('../assets/images/icons/pincelada.svg') no-repeat center;
    background-size: contain; z-index: 2; opacity: 0.9;
}
.cat-title {
    position: relative; z-index: 3; font-family: var(--font-titles);
    font-size: 3.5rem; color: var(--primary-red); transform: rotate(-2deg);
    text-shadow: 1px 1px 0px rgba(255,255,255,0.3); margin: 0;
}

.card, .info-card {
    background: var(--accent-yellow); border-radius: 15px; padding: 20px;
    margin-bottom: 25px; border: 2px solid var(--dark-blue);
    box-shadow: 6px 6px 0px rgba(0,0,0,0.2); color: #222;
}
.info-section { padding: 10px 30px; max-width: 700px; margin: 0 auto; }
.card-name, .info-card h4 {
    color: var(--primary-red);
    font-family: var(--font-titles);
    font-size: 1.8rem;
    margin: 0;
    font-weight: normal; /* Limpieza de negrita */
}
.card-price {
    background: var(--primary-red);
    color: white;
    padding: 4px 12px;
    border-radius: 6px;
    font-family: var(--font-titles);
    font-size: 1.2rem;
    font-weight: normal;
    display: inline-block;
    min-width: 60px;
    text-align: center;
}

.card[onclick]:hover {
    transform: scale(1.02);
    border-color: var(--primary-red);
}

.price-list { list-style: none; padding: 0; margin: 10px 0 0 0; }
.price-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px dashed rgba(0,0,0,0.1);
    padding: 8px 0;
    font-weight: 600;
}
.price-list li:last-child { border-bottom: none; }
.price-list-detail {
    list-style: none;
    padding: 0;
    margin-top: 10px;
    border-top: 1px dashed rgba(255,255,255,0.1);
}

.price-list-detail li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 0.95rem;
    color: #f0f0f0;
}

.price-list-detail li strong {
    color: #ffcc00; /* Amarillo Don Bocata */
}

/* Contenedor de la lista de precios múltiples */
.price-list-detail {
    list-style: none;
    padding: 0;
    margin-top: 15px;
}

/* El nombre del tamaño (1/2, ración, etc.) en negro para que coincida con tus otros textos */
.multi-price-name {
    color: var(--primary-red);
    font-family: var(--font-titles);
    font-size: 1.2rem;
    margin: 0;
    font-weight: normal; /* Limpieza de negrita */
}

/* Aseguramos que el precio tenga el recuadro rojo y texto blanco */
.card-price {
    background-color: #e30613; /* Tu rojo de Don Bocata */
    color: white !important;
    padding: 4px 10px;
    border-radius: 5px;
    font-size: 1rem;
    display: inline-block;
}

/* Si los ingredientes de las tarjetas normales son negros, asegúrate de que card-desc también lo sea */
.card-desc {
    color: #000000;
    margin: 10px 0;
    font-size: 1.1rem;
}

.allergen-list {
    display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px;
    padding-top: 10px; border-top: 1px solid rgba(0,0,0,0.1); width: 100%;
}
.allergen-icon {
    width: 30px; height: 30px; background: rgba(255,255,255,0.4);
    padding: 4px; border-radius: 50%; border: 1px solid rgba(30, 58, 80, 0.3);
}


.schedule-list { list-style: none; padding: 0; margin: 10px 0; }
.schedule-list li { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid rgba(0,0,0,0.1); }
.contact-number { font-size: 1.5rem; font-weight: 700; color: var(--dark-blue); display: block; }

.footer { text-align: center; padding: 0px 0px 40px 0px;}
.social-links { display: flex; justify-content: center; gap: 20px; margin: 25px 0; }
.social-item { text-decoration: none; color: var(--accent-yellow); font-family: var(--font-titles); font-size: 0.9rem; }
.social-icon-box {
    width: 55px; height: 55px; border-radius: 12px; display: flex;
    align-items: center; justify-content: center; margin: 0 auto 8px;
}
.social-icon-img {
    width: 30px;
    height: 30px;
    /* Ya no necesitamos filtros ni máscaras */
    display: block;
}
.social-btn {
    display: inline-block; background: var(--accent-yellow); color: var(--dark-blue);
    padding: 15px 30px; border-radius: 12px; text-decoration: none;
    font-family: var(--font-titles); font-size: 1.3rem; margin-top: 20px;
}

.contact-bar {
    position: fixed; bottom: 15px; left: 50%; transform: translateX(-50%);
    width: 90%; max-width: 500px; height: 70px; background: var(--dark-blue);
    display: flex; gap: 10px; padding: 8px; border-radius: 15px;
    z-index: 4000; border: 2px solid var(--accent-yellow);
}
.contact-item { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; background: rgba(255,255,255,0.05); border-radius: 10px; text-decoration: none; color: var(--accent-yellow); font-family: var(--font-titles); }

.whatsapp-float {
    position: fixed; bottom: 120px; right: 20px; background-color: #25d366; color: white;
    text-decoration: none; display: flex; align-items: center; gap: 10px;
    padding: 12px 20px; border-radius: 50px 0px 50px 50px; font-family: var(--font-titles); z-index: 3000;
    box-shadow: 5px 5px 0px var(--dark-blue); border: 2px solid var(--dark-blue);
}
.aviso-carne {
    background: rgba(253, 209, 75, 0.1); /* Amarillo muy suave */
    border-left: 4px solid var(--accent-yellow);
    color: var(--accent-yellow);
    padding: 10px 15px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    text-align: center;
    border-radius: 4px;
    letter-spacing: 0.5px;
}
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.8); backdrop-filter: blur(5px);
    display: none; align-items: center; justify-content: center; z-index: 5000;
}
.modal-content {
    background: var(--dark-blue); color: white; width: 90%; max-width: 400px;
    padding: 30px; border-radius: 20px; border: 3px solid var(--accent-yellow);
    position: relative; text-align: center; animation: modalIn 0.3s;
}
@keyframes modalIn { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.modal-close { position: absolute; top: 10px; right: 15px; background: none; border: none; color: var(--accent-yellow); font-size: 2rem; cursor: pointer; }
.modal-table { width: 100%; border-collapse: collapse; margin-top: 10px; font-family: var(--font-body); }
.modal-table th { color: var(--accent-yellow); font-family: var(--font-titles); font-size: 1.2rem; padding: 10px; border-bottom: 2px solid rgba(255,255,255,0.1); }
.modal-table td { padding: 12px; border-bottom: 1px solid rgba(255,255,255,0.1); font-weight: 600; }
.price-tag-modal { background: var(--primary-red); padding: 2px 8px; border-radius: 5px; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; }}