:root {
    --aqua: #5CC9C1;
    /* primario */
    --beige: #F1E4C3;
    /* fondo claro */
    --gold: #C7A44C;
    /* acento dorado */
    --rose: #E8B4B8;
    /* reseñas */
    --gray-7: #444;
    /*texto secundario */
    --ink: #111;
    /* texto principal */
}

* {
    box-sizing: border-box;
}

html {
    height: 0;
}

body {
    margin: 100;
    margin: 0;
    padding: 0;
}

/*Body completo*/
main {
    flex: 1;
    /* ocupa todo el espacio disponible */
}

/*tipografia barra principal*/
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

/*BARRA PRINCIPAL*/
.encab {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--aqua);
    border-bottom: 4px solid var(--gold);
}

/*posicion de la barra de navegacion*/
.barra {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.logo {
    height: 140px;
    width: auto;
    display: block;
}

/* estilos botones de navegacion*/
.navbar {
    display: flex;
    gap: 24px;
}

.navbar a {
    color: var(--ink);
    font-weight: normal;
    text-decoration: none;
    padding: 6px 10px;
    border-radius: 8px;
    transition: background-color .2s ease, color .2s ease;
    border-bottom: 4px solid var(--gold);
}

.navbar a:hover,
.navbar a.active {
    background: var(--gold);
    color: #fff;
}


body {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    background-color: #f7f3e9;
    background-image: url('../imagenes/fondo_menu3.png');
    color: #3e2c2c;
    padding-top: 100px;
}

.container h1 {
    color: var(--gold);
    font-weight: 600;
    font-size: 3rem;
    position: relative;
    text-align: center;
    font-family: 'Times New Roman', Times, serif;
}

section h2{
    color: white;
    font-weight: 600;
    font-size: 2rem;
    position: relative;
    text-align: center;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.item {
    background-color: #ffffff78;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    transition: transform 0.2s ease-in-out;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.item:hover {
    transform: scale(1.03);
}

.item img {
    width: 100%;
    height: 100px;
    object-fit: cover;
}

.item h3 {
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    margin: 10px 0 5px;
    font-size: 1.3em;
}

.item p {
    font-size: 0.95em;
    color: #5e4b4b;
    margin: 0 10px 10px;
}

.item button {
    margin-top: auto;
    margin-bottom: 20px;
}

.button {
    padding: 12px 25px;
    border-radius: 10px;
    background: var(--aqua);
    color: (var(--gold));
    font-weight: 400;
    text-decoration: none;
    transition: background-color .2s ease, color .2s ease;
    border-bottom: 4px solid var(--gold);
}

.button:hover {
    filter: brightness(0.92);
    background: white;
    color: #C7A44C;
}

/* Estructura general */
main.content-wrapper {
    padding-top: 120px;
    text-align: center;
}

/*FOOTER*/
.piedepagina {
    background: #5CC9C1;
    color: #0b0b0b;
    text-align: center;
    padding: 20px 10px;
    border-top: 4px solid var(--gold);
    font-weight: 500;
    z-index: 1000;
}

@media (max-width: 768px) {
    .logo {
        height: 72px;
    }

    .titulo-principal {
        font-size: 2rem;
    }

    .subtitulo-principal {
        font-size: 1.1rem;
    }

    .carrusel-img {
        height: 240px;
    }
}

.mapa.container {
    max-width: 50px;
    margin: 0 auto;
}