*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    background-color: #f4f7f6; 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
nav{
    background-color: #2c3e50; 
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    display: flex;
    position: relative; 
    min-height: 70px;
}

.a1 {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%); 
    display: flex; 
    align-items: center;
}

.logo {
    max-width: 50px;
    height: auto; 
}

.buscar{
    padding: 20px;
    display: flex;
    font-size: 10px;
    gap: 50px;
    justify-content: center;
    align-items: center;
}

a:hover{
    color: #e67e22;
    text-decoration: none;
}

a{
    text-decoration: none;
    color: #ecf0f1; 
}

main {
    max-width: 100%;
    height: 100%;
    margin: 0 auto;
    padding: 20px;
}

section { 
    padding: 60px 0; 
    text-align: center; 
}

.rejilla { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 30px; 
    margin-top: 30px; 
}

.marcador-imagen { 
    background: #e2e8f0; 
    border: 2px dashed #cbd5e1; 
    height: 100%; 
    border-radius: 8px;
}

.imagen-plato {
    width: 100%;
    height: 50%; 
    object-fit: cover;
    border-radius: 8px;
}

.principal { 
    width: 100%;
    background: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)), url('https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?auto=format&fit=crop&w=1200&q=80') center/cover no-repeat; 
    padding: 90px 20px; 
    color: white;
    border-radius: 12px;
    margin-bottom: 20px;
}
.principal h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}
.principal p {
    font-size: 1.2rem;
    margin-bottom: 25px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.btn-reserva { 
    background: #e67e22; 
    color: white; 
    padding: 12px 30px; 
    border: none; 
    cursor: pointer; 
    font-size: 1rem;
    font-weight: bold;
    border-radius: 25px;
    transition: background 0.2s ease, transform 0.2s ease;
}
.btn-reserva:hover {
    background: #d35400;
    transform: translateY(-2px);
}

.especiales h2 {
    font-size: 2rem;
    color: #2c3e50;
}
.tarjeta {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}
.tarjeta:hover {
    transform: translateY(-5px);
}
.tarjeta h3 {
    margin: 15px 0 8px 0;
    color: #2c3e50;
}
.tarjeta p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

.comentarios{
    border-radius: 20px;
    width: 100%;
    background-color: #778a9e;
    padding: 50px;
}

.testimonios h2 {
    font-size: 2rem;
    color: #2c3e50;
}
.caja-testimonio {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.caja-testimonio p {
    font-style: italic;
    color: #555;
    font-size: 1.05rem;
    line-height: 1.5;
}
.caja-testimonio strong {
    display: block;
    margin-top: 15px;
    color: #e67e22;
}

.nosotros { 
    display: flex; 
    align-items: center; 
    gap: 40px; 
    text-align: left; 
}
.contenido-nosotros { flex: 1; }
.contenido-nosotros h2 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 15px;
}
.contenido-nosotros p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #555;
}
.imagen-nosotros { 
    flex: 1; 
    height: 500px; 
}
footer {
    display: flex;
    background-color: #2c3e50; 
    color: white;
    padding: 10px;
    position: fixed;
    bottom: 0;
    width: 100%;
    gap: 10px;
}
footer a {
    text-decoration: none;
    color: #ecf0f1;
    display: flex;
    gap: 5px;
}

@media (max-width: 768px) {
    nav { 
        flex-direction: column; 
        height: auto; 
        padding: 15px; 
    }
    .a1 {
        position: static; 
        transform: none;
        margin-bottom: 10px;
    }
    .buscar { 
        flex-direction: column; 
        gap: 10px;
        font-size: 16px;
    }
    .principal {
        padding: 40px 20px;
    }
    .principal h1 {
        font-size: 1.8rem; 
    }
    .nosotros {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    .imagen-nosotros {
        height: 300px; 
        width: 100%;
    }
    footer {
        position: static;
        flex-direction: column;
        align-items: center;
        padding: 20px;
    }
}