﻿html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}


.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

/*
body {
    margin-bottom: 60px;
}
*/
.busqueda ::placeholder {
    color: #101010 !important;
}


/* Estilos para el Navbar */
.navbar {
    padding: 10px 0; 
}


/* Alineación del ícono de búsqueda */
.busqueda input-group-append {
    display: flex;
    align-items: center;
}

/* Estilo para el botón de búsqueda */
.busqueda .btn-secondary {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

/*Banner*/
/*.banner-container {
    position: relative;
    height: 70vh;
    overflow: hidden;
    background: url('../imagenes/fondo-banner.png') center no-repeat;
    background-size: contain;
  
}*/


.banner-content {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%);
    text-align: center;
    margin-bottom: 10px; 
    
}


.seguir-btn {
    padding: 1em;
    font-size: 1rem;
    border-radius: 0.5rem;
}

}
.nosotros-container {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 2.5rem 2rem;
    margin: 2rem auto;
    max-width: 700px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}

.nosotros-container h2 {
 color: #0d6efd;
 margin-bottom: 1.5rem;
}
.nosotros-container h3 {
 color: #9c6565;
 margin-bottom: 1.5rem;
}
.nosotros-container h4 {
 color: #0d6efd;
 margin-bottom: 1.5rem;
}
.nosotros-container p {
 font-size: 1.15rem;
 color: #051f4a;
 }
.nosotros-container li{
    font-size:1.15rem;
    color:#051f4a
}
.nosotros-container p2 {
 font-size: 1.15rem;
 color: #051f4a;
 }
.seguir-btn {
    padding: 1em 2em;
    font-size: 1rem;
    border-radius: 0.5rem;
    display: inline-block;
    text-align: center;
    white-space: nowrap;
    max-width: 100%;
    box-sizing: border-box;
}

/* Estilo responsive para móviles */
@media (max-width: 576px) {
    .seguir-btn {
        display: block;
        width: 100%;
        font-size: 1rem;
        padding: 0.75em 1em;
        margin: 0 auto;
    }
}
.seguir-btn i {
    font-size: 1.2rem;
    vertical-align: middle;
}
.volver-btn {
    background-color: #6c757d; /* Gris Bootstrap */
    color: #fff;
    border: none;
    padding: 0.75em 1.5em;
    font-size: 1rem;
    border-radius: 0.5rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

    /* Espaciado para el ícono */
    .volver-btn i {
        font-size: 1.1rem;
    }

    /* Hover y focus */
    .volver-btn:hover,
    .volver-btn:focus {
        background-color: #5a6268; 
        color: #fff;
        transform: translateY(-2px);
        text-decoration: none;
    }

/* Responsive  */
@media (max-width: 576px) {
    .volver-btn {
        width: 100%;
        justify-content: center;
    }
}
.btn-volver {
    background-color: #6c757d; 
    color: #fff;
    border: none;
    padding: 0.7em 1.5em;
    font-size: 1rem;
    border-radius: 0.5rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

    /* Ícono opcional */
    .btn-volver i {
        font-size: 1.1rem;
    }

    /* Hover effect */
    .btn-volver:hover,
    .btn-volver:focus {
        background-color: #5a6268; 
        transform: translateY(-2px);
        color: #fff;
        text-decoration: none;
    }

/* Responsive  */
@media (max-width: 576px) {
    .btn-volver {
        width: 100%;
        justify-content: center;
    }
}
.detalle-imagen {
    width: 100%;
    height: auto;
    max-width: 600px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

@media (max-width: 576px) {
    .detalle-imagen {
        max-width: 100%;
    }
}
/* ============================= */
/* 🧩 Estilos para las Cards de Artículos */
/* ============================= */

.card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
    background-color: #ffffff;
}

    /* Efecto hover sutil */
    .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    }

/* Imagen responsive */
.articulo-imagen {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid #eee;
}

/* Para pantallas pequeñas, se ajusta la imagen */
@media (max-width: 576px) {
    .articulo-imagen {
        max-height: 200px;
        object-fit: contain;
        border-radius: 0;
    }
}

/* Cuerpo del card */
.card-body {
    padding: 1.25rem;
}

.card-title {
    font-size: 1.1rem;
    color: #0d6efd;
    margin-bottom: 0.75rem;
}

.card-text {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.4;
}

/* Botón de detalle */
.card .btn {
    font-weight: 500;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

    .card .btn:hover {
        transform: translateY(-2px);
    }


/* Ajustes generales responsive */

@media (max-width: 768px) {
    .card-title {
        font-size: 1rem;
    }

    .card-text {
        font-size: 0.9rem;
    }
}
.card-img-top {
    width: 100%;
    height: 250px;
    object-fit: contain;
    background-color: #f8f8f8;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}