:root {
    --primario-oscuro: #3E2723;
    --primario: #795548;      
    --primario-claro: #BCAAA4;
    --acento: #D4A056;    
    --acento-oscuro: #8B5E3C;    
    --texto-claro: #F5F5F5;     
    --texto-oscuro: #212121;  
    --fondo: #FFF8E1;    
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: var(--fondo);
    color: var(--texto-oscuro);
    padding-top: 70px; 
}

.menu-navegacion i, .menu-navegacion a{
    text-decoration: none;
    color: azure;
}

.barra-navegacion {
    background-color: var(--primario-oscuro);
    padding: 0.8rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

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

.marca .logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--texto-claro);
    font-size: 1.5rem;
    font-weight: bold;
}

.logo-img {
    width: auto;
    height: 50px;
    transition: height 0.3s ease;
}

.menu-navegacion {
    display: flex;
    align-items: center;
    gap: 2rem;
    transition: 0.3s ease;
}

.enlace-nav {
    color: var(--texto-claro);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    position: relative;
}

.enlace-nav:hover {
    color: var(--acento);
}

.enlace-nav::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--acento);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.enlace-nav:hover::after {
    width: 70%;
}

.boton-nav {
    background-color: var(--acento);
    color: var(--texto-oscuro);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.boton-nav:hover {
    background-color: var(--acento-oscuro);
    color: var(--texto-claro);
    transform: translateY(-2px);
}

.menu-hamburguesa {
    display: none;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 0.5rem;
    z-index: 1001;
}

.linea {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--texto-claro);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.pie-pagina {
    background-color: var(--primario-oscuro);
    color: var(--texto-claro);
    padding: 3rem 2rem 1rem 2rem;
}

.contenido-pie {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.marca-pie h2 {
    color: var(--acento);
}

.marca-pie {
    display: flex;
    justify-content: center;
    justify-content: flex-start;
}

.enlaces-pie {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.enlaces-pie a {
    color: var(--texto-claro);
    text-decoration: none;
    transition: color 0.3s ease;
}

.enlaces-pie a:hover {
    color: var(--acento);
}

.redes-sociales {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.redes-sociales a {
    color: var(--texto-claro);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.redes-sociales a:hover {
    color: var(--acento);
}

.pie-inferior {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid var(--primario-claro);
}

.logo-pie {
    width: 120px;
    height: auto;
    filter: brightness(1.1);
}

.logo-img {
    width: 80px;
    height: auto;
    filter: brightness(1.1);
}

.marca .logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

@media (max-width: 768px) {
    body {
        padding-top: 60px;
    }

    .barra-navegacion {
        padding: 0.5rem 1rem;
    }

    .logo-img {
        height: 40px;
    }

    .menu-hamburguesa {
        display: block;
    }

    .menu-hamburguesa.activo .linea:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-hamburguesa.activo .linea:nth-child(2) {
        opacity: 0;
        transform: translateX(-20px);
    }

    .menu-hamburguesa.activo .linea:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .menu-navegacion {
        position: fixed;
        left: -100%;
        top: 60px;
        gap: 0;
        flex-direction: column;
        background-color: var(--primario-oscuro);
        width: 100%;
        text-align: center;
        transition: 0.3s ease;
        padding: 1rem 0;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }

    .menu-navegacion.activo {
        left: 0;
    }

    .enlace-nav {
        margin: 0.8rem 0;
        padding: 0.8rem 2rem;
        width: 100%;
    }

    .enlace-nav::after {
        display: none;
    }

    .boton-nav {
        margin: 1rem 0;
        width: 80%;
        text-align: center;
        padding: 0.8rem 1rem;
    }
    .contenido-pie {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .redes-sociales {
        align-items: center;
    }
    .logo-img {
        height: 35px; 
    }

    .logo-pie {
        height: 50px; 
    }

    .marca-pie {
        justify-content: center; 
    }
}

@media (max-width: 576px) {
    body {
        padding-top: 55px;
    }

    .barra-navegacion {
        padding: 0.5rem;
    }

    .logo-img {
        height: 35px;
    }

    .menu-navegacion {
        top: 55px;
    }

    .enlace-nav {
        padding: 0.6rem 1rem;
    }

    .boton-nav {
        width: 90%;
        padding: 0.7rem 1rem;
    }
}