/* IMPORTAR FUENTE WESTERN */
@import url('https://fonts.googleapis.com/css2?family=Rye&display=swap');

/* FONDO GENERAL */
body {
    margin: 0;
    min-height: 100vh;

    background: url('fondo3.jpg') no-repeat center center fixed;
    background-size: cover;

    font-family: 'Georgia', serif;
}

/* BARRA SUPERIOR */
.barra {

    display: flex;

    justify-content: space-around;

    align-items: center;

    padding: 15px 20px;

    background: rgba(40, 20, 10, 0.65);

    border-bottom: 4px solid #8b5a2b;

    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

/* SECCIONES */
.izquierda,
.centro,
.derecha {

    display: flex;

    align-items: center;

    gap: 20px;
}

/* TITULO RANCHO */
/* TITULO RANCHO SIN MOVIMIENTO */
.titulo {

    text-align: center;

    margin: 40px auto;

    width: fit-content;

    padding: 20px 40px;

    font-size: 4em;

    letter-spacing: 5px;

    color: #f5deb3;

    font-family: 'Rye', serif;

    text-transform: uppercase;

    background: linear-gradient(
        180deg,
        #6b3e1f,
        #3d1f0f
    );

    border: 5px solid #c58b2b;

    border-radius: 15px;

    text-shadow:
        3px 3px 0 #5a2d0c,
        6px 6px 10px rgba(0,0,0,0.7),
        0 0 12px #ffcc66;

    box-shadow:
        0 10px 25px rgba(0,0,0,0.6),
        inset 0 0 10px rgba(255,255,255,0.1);

    /* SOLO BRILLO */
    animation: brilloRancho 2s infinite alternate;
}

/* ANIMACION SOLO DE BRILLO */
@keyframes brilloRancho {

    from {

        text-shadow:
            3px 3px 0 #5a2d0c,
            0 0 10px #c58b2b;
    }

    to {

        text-shadow:
            3px 3px 0 #5a2d0c,
            0 0 22px #ffcc66;
    }
}
/* BOTONES */
.barra button {

    padding: 10px 22px;

    font-size: 17px;

    font-family: 'Rye', serif;

    color: #f5deb3;

    background: linear-gradient(
        180deg,
        #8b5a2b,
        #5c3311
    );

    border: 3px solid #c58b2b;

    border-radius: 12px;

    cursor: pointer;

    text-transform: uppercase;

    letter-spacing: 2px;

    box-shadow:
        0 4px 10px rgba(0,0,0,0.5),
        inset 0 0 5px rgba(255,255,255,0.2);

    transition: all 0.3s ease;
}

/* EFECTO BOTONES */
.barra button:hover {

    transform: scale(1.08);

    background: linear-gradient(
        180deg,
        #a66a33,
        #6b3e1f
    );

    box-shadow:
        0 6px 15px rgba(0,0,0,0.7),
        0 0 15px #ffcc66;
}

/* BARRA DE BUSQUEDA */
.centro input {

    padding: 10px 18px;

    border: 3px solid #8b5a2b;

    border-radius: 25px;

    font-size: 16px;

    width: 230px;

    background-color: #f5deb3;

    color: #3d1f0f;

    outline: none;

    box-shadow:
        inset 0 2px 5px rgba(0,0,0,0.2),
        0 2px 8px rgba(0,0,0,0.3);
}

/* CONTENEDOR DE CARDS */
.contenedor-cards {

    display: flex;

    justify-content: center;

    gap: 35px;

    margin-top: 50px;

    flex-wrap: wrap;
}

/* CARDS */
.card {

    background: linear-gradient(
        135deg,
        #f0d3a1 0%,
        #c58b2b 45%,
        #8b5a2b 100%
    );

    padding: 25px;

    width: 40%;

    border-radius: 20px;

    border: 4px solid #5a2d0c;

    box-shadow:
        0 10px 25px rgba(0,0,0,0.5),
        inset 0 0 10px rgba(255,255,255,0.2);

    transition: all 0.3s ease;
}

/* EFECTO CARD */
.card:hover {

    transform: translateY(-10px) scale(1.02);

    box-shadow:
        0 15px 35px rgba(0,0,0,0.7),
        0 0 20px rgba(255,204,102,0.6);
}

/* TITULOS DE CARD */
.card h2 {

    font-size: 32px;

    color: #3b1d0a;

    text-align: center;

    margin-bottom: 20px;

    font-family: 'Rye', serif;

    text-transform: uppercase;

    letter-spacing: 4px;

    text-shadow:
        2px 2px 3px rgba(255,255,255,0.3);

    border-bottom: 3px solid #5a2d0c;

    display: inline-block;

    padding-bottom: 8px;
}

/* TEXTO DE CARD */
.card p {

    font-size: 17px;

    line-height: 1.9;

    text-align: justify;

    color: #1f1208;

    font-family: 'Georgia', serif;
}