/* Estilos generales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f9f5f0;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Títulos principales */
h2 {
    color: #8B4513;
    margin-bottom: 20px;
    border-bottom: 2px solid #FFD700;
    padding-bottom: 10px;
}

h3 {
    color: #8B4513;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

/* Cabecera */
header {
    background-color: #8B4513;
    color: white;
    padding: 20px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);/*sombra vertical 2 px abajo*/
}

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

.logo img {
    width: 80px;
    height: 80px;
    margin-right: 15px;
    border-radius: 50%;
}

.logo h1 {
    font-size: 2.2rem;
    font-weight: 700;
}

/* Sección principal */
.main-content {
    display: flex;
    margin: 30px 0;
    gap: 30px;
}

/* Panel izquierdo y sección de receta (estilos comunes) */
.left-panel,
.recipe-section {
    background-color: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.left-panel {
    flex: 1;
    height: fit-content;
}

.recipe-section {
    flex: 2;
}

/* GIF del teléfono */
.phone-gif {
    text-align: center;
    margin: 10px 0;
}

.phone-gif img {
    width: 110px;
    height: 50px; /* Define altura fija */
    object-fit: cover; /* Recorta manteniendo proporciones */
}

.button-reserva {
    background-color: #8B4513;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    margin-top: 10px;
    cursor: pointer;
    width: 100%;
}

/* Secciones del menú */
.menu-section {
    margin-bottom: 25px;
}

.menu-section h3 {
    color: #8B4513;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

/* Listas del menú */
.menu-list {
    list-style-type: none;
}

.menu-list li {
    margin-bottom: 10px;
    padding: 8px 0;
    border-bottom: 1px dashed #e0e0e0;
}

.menu-list li:last-child {
    border-bottom: none;/*el último no tiene linea inferior*/
}

.menu-list a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
    display: block;
}

.menu-list a:hover {
    color: #8B4513;
}

/* Horario */
.horario {
    background-color: #f5f5f5;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
}

.horario p {
    margin-bottom: 8px;
}

/* Animación css humo y pirámide muslitos */
.gif-container {
    position: relative;
    margin: 25px auto; /* auto centra horizontalmente */
    display: block;
    width: fit-content;
}

.piramide {
    width: 220px;
    height: auto;
}

.humo {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    opacity: 0.8;
    animation: moverHumo 3s infinite;
}

@keyframes moverHumo {
    0% {
        transform: translateX(-50%) translateY(0);
        opacity: 0.7;
    }
    50% {
        transform: translateX(-50%) translateY(-20px);
        opacity: 0.9;
    }
    100% {
        transform: translateX(-50%) translateY(-40px);
        opacity: 0;
    }
}

/* Imagen de la receta */
.recipe-image {
    float: right;
    margin: 0 0 20px 20px;
    width: 300px;
    border-radius: 10px;
    overflow: hidden;
}

.recipe-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Lista de ingredientes */
.ingredients-list {
    margin-bottom: 25px;
}

.ingredients-list ul {
    list-style-type: disc;
    list-style-position: inside;
    padding-left: 20px;
}

.ingredients-list li {
    margin-bottom: 8px;
    color: #333; /* Texto en negro/gris oscuro */
}

.ingredients-list li::marker {
    color: #8B4513; /* Bullet en marrón */
}

/* Preparación */
.preparation ol {
    padding-left: 20px;
}

.preparation li,
.preparation h3 {
    margin-bottom: 15px;
    padding-left: 10px;
}

/* Multimedia */
.video-container,
.audio-container {
    background-color: #f9f5f0;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);/*sombra vertical hacia abajo*/
    margin: 25px 0;
    text-align: center;
}

video,
audio {
    width: 100%;
    max-width: 500px;
    border-radius: 8px;
}

video {
    max-height: 300px;
}

/* Footer */
footer {
    background-color: #8B4513;
    color: white;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}

footer p {
    font-size: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .main-content {
        flex-direction: column;
    }

    .recipe-image {
        float: none;
        margin: 0 auto 20px;
        width: 100%;
        max-width: 400px;
    }

    .logo {
        justify-content: center;
    }
}