/* ===== GENERAL ===== */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #1a1a1a;
    color: #fff;
    scroll-behavior: smooth;
    text-align: center;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    width: 100%;
    top: 0;
    background: #b22e00;
    z-index: 100;
    box-shadow: 0 3px 10px rgba(0,0,0,0.7);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1200px;
    margin: auto;
}

.logo { font-size: 22px; font-weight: bold; color: #fff; }

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links li a {
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}

.nav-links li a:hover { color: #ffd700; }

.btn {
    background: #ff6600;
    padding: 8px 15px;
    border-radius: 6px;
    color: #fff;
    font-weight: bold;
}

.btn:hover { background: #e65c00; }

.mobile-menu {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: #fff;
}

/* ===== HERO ===== */
.hero {
    text-align: center;
    padding: 120px 20px 50px 20px;
    background: linear-gradient(180deg, #ff6600 0%, #b22e00 100%);
}

.hero h2 { font-size: 32px; font-weight: bold; }
.hero p, .hero .phone { font-size: 18px; }
.hero a { color: #fff; text-decoration: none; font-weight: bold; }
.hero a:hover { text-decoration: underline; }

/* ===== CARTA ===== */
.carta { padding: 20px; text-align: center; margin-top: 20px; }
.subtitulo {
    margin-top: 40px;
    margin-bottom: 10px;
    font-size: 26px;
    border-bottom: 2px solid #ff6600;
    display: inline-block;
    padding-bottom: 4px;
    font-weight: bold;
}
.carta-img {
    width: 100%;
    max-width: 900px;
    border-radius: 12px;
    margin: 20px auto;
    display: block;
    box-shadow: 0 5px 20px rgba(0,0,0,0.7);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}
.carta-img:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 25px rgba(0,0,0,0.9);
}

/* ===== TARJETAS ===== */
.card {
    background: #2c1a00;
    padding: 25px;
    margin: 20px auto;
    max-width: 800px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.6);
    animation: fadeIn 1s ease forwards;
    text-align: center;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px);}
    to { opacity: 1; transform: translateY(0);}
}

/* ===== HORARIOS ===== */
.horarios-card ul {
    display: inline-block;
    padding: 0;
    list-style: none;
    text-align: left;
    width: 100%;
}
.horarios-card li {
    padding: 10px 15px;
    border-bottom: 1px solid #333;
    font-size: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 8px;
    transition: background 0.3s;
}

/* Estado abierto/cerrado */
.estado-dia { font-weight: bold; font-size: 18px; }
.abierto { color: #00ff00; }
.cerrado { color: #ff0000; }

/* Día actual destacado en PC y móvil */
.horarios-card li.dia-actual {
    background: #ff6600; /* naranja fuerte */
    color: #fff;
    font-weight: bold;
    animation: pulse 1.5s infinite;
}

/* Animación sutil de pulso */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.03); }
    100% { transform: scale(1); }
}

/* Estado dentro del día actual */
.horarios-card li.dia-actual .estado-dia.abierto { color: #00ff00; }
.horarios-card li.dia-actual .estado-dia.cerrado { color: #ff0000; }

/* ===== MAPA ===== */
.mapa iframe { display: block; margin: 20px auto; border-radius: 15px; border: 0; }

/* ===== RESERVA / PEDIDO ===== */
.reserva .btn-reserva { display: inline-block; margin-top: 15px; }

/* ===== FOOTER ===== */
footer {
    text-align: center;
    padding: 20px;
    background: #b22e00;
    color: #fff;
    margin-top: 40px;
    box-shadow: 0 -3px 10px rgba(0,0,0,0.6);
}

/* ===== MODAL ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 999;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
}
.modal-content { margin: auto; display: block; max-width: 90%; border-radius: 10px; }
.modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    font-weight: bold;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .nav-links { 
        display: none; 
        flex-direction: column; 
        background: #b22e00; 
        position: absolute; 
        top: 60px; 
        right: 0; 
        width: 200px; 
        padding: 10px; 
    }
    .nav-links.active { display: flex; }
    .mobile-menu { display: block; }
}
@media (max-width: 600px) {
    .hero h2 { font-size: 26px; }
    .carta-img { max-width: 100%; }
    .card { padding: 20px; margin: 15px; }
    .horarios-card ul { text-align: left; }
}
