:root {
    --fuenteHeadings: "PT Sans", sans-serif;
    --fuenteParrafos: "Open Sans", sans-serif;
    --fuenteTituloPrincipal: "Kaushan Script", sans-serif;
    --primario: #784d3c;
    --secundario: #d1a570;
    --acento: #e31837;
    --blanco: #ffffff;
    --negro: #000000;
    --gris: #d1d0d0;
    --gris-200: #626262;
    --gris-claro: #f5f5f5;
}

html {
    box-sizing: border-box;
    font-size: 62.5%; /* 1 rem es 10 px */
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

body {
    font-family: var(--fuenteParrafos);
    font-size: 1.6rem;
    line-height: 1.4;
    color: var(--negro);
    background-color: var(--gris-claro);
    margin: 0;
    padding: 0;
}

p {
    font-size: 1.6rem;
    color: var(--blanco);
    margin: 0 0 1.5rem 0;
}

.contenedor {
    max-width: 120rem;
    width: 90%;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

a {
    text-decoration: none;
    color: var(--primario);
    transition: color 0.3s ease;
}

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

h1, h2, h3, h4 {
    font-family: var(--fuenteHeadings);
    margin: 0 0 2rem 0;
    line-height: 1.2;
}

h1 {
    font-size: 5rem;
}

h2 {
    font-size: 3.5rem;
    color: var(--primario);
}

h3 {
    font-size: 2.8rem;
}

h4 {
    font-size: 2.2rem;
}

.font-kaushan {
    font-family: var(--fuenteTituloPrincipal);
    font-size: 5rem;
    color: var(--blanco);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Utilidades */
.no-margin {
    margin: 0;
}

.no-padding {
    padding: 0;
}

.centrar-texto {
    text-align: center;
}

.alinear-justificar {
    text-align: justify;
}

/* Header */
.header 
{
  
    background-image: url('../img/Logo/logo1.jpg');
    background-size: cover;        
    background-repeat: no-repeat;  
    height: 100vh;                 
    width: 100%;

}

.box-shadow {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    opacity: 0.4;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.6) 100%);
    width: 100%;
    height: 100%;
}

.barra {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 1rem 0;
}

.header__texto {
    text-align: center;
    color: var(--blanco);
    margin: auto 0;
    padding: 4rem 0;
}

.header__slogan {
    font-size: 2.2rem;
    font-style: italic;
    color: var(--secundario);
    margin-top: 1rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

/* Navegación  */
.navegacion {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 2rem;
}

.navegacion__enlace {
    display: block;
    color: var(--blanco);
    font-size: 1.6rem;
    font-weight: 600;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.navegacion__enlace:hover {
    background: var(--secundario);
    color: var(--negro);
    transform: translateY(-2px);
}

/* Secciones */
.seccion {
    padding: 6rem 0;
}

.seccion--clara {
    background-color: var(--blanco);
}

/* Categorías destacadas */
.categorias {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
}

.categoria {
    background: linear-gradient(to right, var(--primario), var(--secundario));
    color: var(--blanco);
    padding: 2.5rem;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
}

.categoria:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.categoria__icono {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.categoria__titulo {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.categoria__desc {
    font-size: 1.4rem;
    opacity: 0.9;
}

/* Contenido principal  */
.contenido-principal {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

@media (min-width: 768px) {
    .contenido-principal {
        grid-template-columns: 1fr 1fr;
    }
}

.entrada {
    background: var(--blanco);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.entrada:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.entrada__imagen {
    height: 55rem;
    overflow: hidden;
}

.entrada__imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.entrada:hover .entrada__imagen img {
    transform: scale(1.05);
}

.entrada__contenido {
    padding:3rem;
}

.entrada__titulo {
    color: var(--primario);
    font-size: 3.0rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--secundario);
    padding-bottom: 0.5rem;
}

.entrada__texto {
    font-size: 1.6rem;
    line-height: 1.7;
}

.precio {
    display: block;
    font-size: 2rem;
    color: var(--acento);
    font-weight: bold;
    margin-top: 1.5rem;
}

/* Botones */
.btn {
    display: inline-block;
    background: var(--acento);
    color: var(--blanco);
    padding: 1.2rem 2.5rem;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1.4rem;
}

.btn:hover {
    background: var(--primario);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Footer mejorado */
.footer {
    background-color: var(--negro);
    color: var(--blanco);
    padding: 5rem 0 2rem;
    margin-top: 5rem;
}

.footer__contenido {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer__seccion h4 {
    color: var(--secundario);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--secundario);
    padding-bottom: 0.5rem;
}

.footer__enlace {
    display: block;
    color: var(--gris);
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.footer__enlace:hover {
    color: var(--secundario);
}

.footer__redes {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.footer__redes a {
    color: var(--blanco);
    background: var(--primario);
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.footer__redes a:hover {
    background: var(--secundario);
    transform: translateY(-3px);
}

.footer__copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--gris-200);
    font-size: 1.4rem;
    color: var(--gris);
}

/* Responsive */
@media (max-width: 768px) {
    .header {
        height: auto;
        min-height: 40rem;
    }
    
    .font-kaushan {
        font-size: 3.5rem;
    }
    
    h1 {
        font-size: 3.5rem;
    }
    
    .barra {
        flex-direction: column;
    }
    
    .navegacion {
        flex-direction: column;
        width: 100%;
        margin-top: 2rem;
    }
    
    .entrada__imagen {
        height: 20rem;
    }
    
    .categorias {
        grid-template-columns: 1fr;
    }
    
    .footer__contenido {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .header__texto {
        padding: 2rem 0;
    }
    
    .header__slogan {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 2.8rem;
    }
    
    .seccion {
        padding: 4rem 0;
    }
    
    .entrada__contenido {
        padding: 1.5rem;
    }
    
    .btn {
        padding: 1rem 2rem;
        font-size: 1.2rem;
    }
}