:root {
    --color-barro: #c05838;
    --color-maiz: #f4d03f;
    --color-verde: #6b8c42;
    --color-fondo: #fbf9f4;
    --color-texto: #4a3b32;
    --fuente-titulo: 'Playfair Display', serif;
    --fuente-cuerpo: 'Lato', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-fondo);
    color: var(--color-texto);
    font-family: var(--fuente-cuerpo);
    margin: 0;
    line-height: 1.6;
    padding-top: 120px;
}

#main-header {
    background-color: white;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
}

.logo-nav {
    display: flex;
    align-items: center;
}

.logo-nav img {
    height: 85px;
    width: auto;
    vertical-align: middle;
    transition: transform 0.3s ease;
}

.logo-nav img:hover {
    transform: scale(1.05);
}

.nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 35px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--color-texto);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    padding: 5px 0;
}

.nav-links a:hover {
    color: var(--color-barro);
    border-bottom: 2px solid var(--color-maiz);
}

.menu-toggle {
    display: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--color-barro);
}

section {
    padding: 80px 20px;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

h2 {
    font-family: var(--fuente-titulo);
    font-size: 2.5rem;
    color: var(--color-barro);
    margin-bottom: 40px;
}

.hero {
    height: 75vh;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('assets/img/bg\ principal2.png');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: -30px;
}

.hero h1 {
    font-family: var(--fuente-titulo);
    font-size: 3.5rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.btn-vibrante {
    background-color: var(--color-maiz);
    color: var(--color-texto);
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    margin-top: 20px;
    box-shadow: 0 4px 15px rgba(244, 208, 63, 0.4);
    transition: transform 0.3s ease;
}

.btn-vibrante:hover {
    transform: translateY(-3px);
    background-color: #ffe066;
}

.seccion-menu {
    background-color: white;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    justify-content: center;
}

.menu-card {
    background: var(--color-fondo);
    border-radius: 10px;
    overflow: hidden;
    text-align: left;
    transition: transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.menu-card:hover {
    transform: translateY(-5px);
}

.card-image {
    height: 325px;
    overflow: hidden;
    flex-shrink: 0;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.menu-card:hover .card-image img {
    transform: scale(.9);
}

.card-content {
    padding: 25px;
    border-left: 5px solid var(--color-barro);
    flex-grow: 1;
}

.card-content h3 {
    margin-top: 0;
    color: var(--color-barro);
    font-size: 1.3rem;
}

.precio {
    display: block;
    margin-top: 15px;
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--color-verde);
}

.lista-precios-interna {
    list-style: none;
    padding: 0;
    margin-top: 15px;
}

.lista-precios-interna li {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dotted #ccc;
    margin-bottom: 8px;
    padding-bottom: 2px;
}

.mapa-contenedor {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 5px solid white;
}

.btn-mapa {
    display: block;
    background: var(--color-barro);
    color: white;
    padding: 15px;
    text-decoration: none;
    font-weight: bold;
    margin-top: -5px;
}

.btn-mapa:hover {
    background: #a04020;
}

.seccion-comentarios {
    border-top: 10px solid var(--color-maiz);
    background: white;
}

.form-anonimo {
    max-width: 600px;
    margin: 30px auto 0;
    text-align: left;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

select, textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #eee;
    border-radius: 8px;
    font-family: var(--fuente-cuerpo);
    font-size: 1rem;
    box-sizing: border-box;
}

select:focus, textarea:focus {
    border-color: var(--color-verde);
    outline: none;
}

.btn-enviar {
    background-color: var(--color-verde);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    width: 100%;
    transition: background 0.3s;
}

.btn-enviar:hover {
    background-color: #557530;
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.titulo-categoria {
    font-family: var(--fuente-titulo);
    font-size: 2rem;
    color: var(--color-texto);
    border-bottom: 2px solid var(--color-maiz);
    display: inline-block;
    margin-bottom: 30px;
    padding-bottom: 5px;
}

.separador-menu {
    border: 0;
    height: 1px;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(192, 88, 56, 0.75), rgba(0, 0, 0, 0));
    margin: 60px 0;
}

.sabores-container {
    margin-top: 50px;
    background-color: #fffdf5;
    padding: 40px 20px;
    border-radius: 15px;
    border: 2px dashed var(--color-barro);
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.sabores-container h4 {
    font-family: var(--fuente-titulo);
    color: var(--color-barro);
    font-size: 2rem;
    margin-bottom: 5px;
    margin-top: 0;
}

.subtitulo-sabores {
    color: #666;
    font-style: italic;
    margin-bottom: 30px;
}

.lista-sabores {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.lista-sabores li {
    background-color: white;
    color: var(--color-texto);
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    box-shadow: 0 3px 6px rgba(0,0,0,0.05);
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    cursor: default;
}

.lista-sabores li:hover {
    background-color: var(--color-maiz);
    transform: translateY(-3px);
    border-color: var(--color-maiz);
}

.nota-sabores {
    margin-top: 25px;
    font-size: 0.9rem;
    color: #888;
}

.rating-wrapper {
    text-align: center;
    margin-bottom: 20px;
    background: #f9f9f9;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.range-slider {
    width: 100%;
    cursor: pointer;
    margin: 15px 0;
    accent-color: #c96420;
}

#valor-calificacion {
    transition: all 0.3s ease;
}

footer {
    text-align: center;
    padding: 50px 20px;
    background-color: #B3AFAF;
    color: var(--color-texto);
    font-size: 1rem;
    margin-top: 0;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    max-width: 1200px;
    margin: 0 auto;
    gap: 20px;
}

.footer-section h1 {
    font-family: var(--fuente-titulo);
    margin-bottom: 15px;
    font-size: 1.5rem;
    color: var(--color-barro);
}

.link-icono {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--color-texto);
    font-weight: bold;
    transition: transform 0.3s ease;
    margin-top: 10px;
}

.link-icono i {
    font-size: 2.1rem;
    color: #25D366;
    background-color: white;
    border-radius: 50%;
    padding: 10px 14px;
    margin-bottom: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.link-icono:hover {
    transform: scale(1.1);
}

.link-icono:visited, .link-icono:active {
    color: var(--color-texto);
}

.footer-bottom {
    border-top: 1px solid #ddd;
    padding-top: 25px;
    margin-top: 30px;
    text-align: center;
    font-family: var(--fuente-cuerpo);
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.footer-bottom strong {
    color: var(--color-barro);
}

.footer-bottom a {
    color: var(--color-barro);
    text-decoration: underline;
    transition: color 0.3s;
}

.footer-bottom a:hover {
    color: var(--color-verde);
}

@media (max-width: 768px) {
    body {
        padding-top: 90px;
    }

    section {
        padding: 40px 15px;
    }

    h2 {
        font-size: 2rem;
        margin-bottom: 25px;
    }

    .navbar {
        padding: 0 20px;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 85px;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        gap: 20px;
        z-index: 999;
        height: auto;
        max-height: 80vh;
        overflow-y: auto;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li a {
        display: block;
        padding: 15px;
        font-size: 1.2rem;
        border-bottom: 1px solid #f0f0f0;
        width: 100%;
        text-align: center;
    }

    .logo-nav img {
        height: 55px;
    }

    .hero {
        height: 60vh;
    }

    .hero h1 {
        font-size: 2.2rem;
        padding: 0 10px;
    }

    .menu-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .card-image {
        height: 250px;
    }

    .mapa-contenedor iframe {
        height: 300px;
    }

    .footer-container {
        flex-direction: column;
        gap: 40px;
    }

    .footer-section {
        width: 100%;
    }

    .sabores-container {
        padding: 20px 10px;
    }

    .lista-sabores li {
        width: 100%;
        box-sizing: border-box;
        margin-bottom: 5px;
    }
}