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;
}


/* --- ESTILO GALERÍA CREATIVEHUB (TIPO PINTEREST) --- */

/* Contenedor de la imagen del proyecto */
.project-card-img-container {
    height: 220px;
    overflow: hidden;
    position: relative;
    background-color: #f8f9fa;
}

    .project-card-img-container img {
        transition: transform 0.5s ease;
        object-fit: cover;
        height: 100%;
        width: 100%;
    }

/* Efecto Zoom en la imagen al pasar el mouse */
.card:hover .project-card-img-container img {
    transform: scale(1.1);
}

/* Capa del botón de Like (Oculta por defecto) */
.like-overlay {
    position: absolute;
    top: 15px;
    left: 15px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10;
}

/* Hacer aparecer el botón al hacer hover en la card */
.card:hover .like-overlay {
    opacity: 1;
    visibility: visible;
}

/* Botón circular del corazón */
.btn-like-pinterest {
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8e8e8e; /* Color neutro antes del like */
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    cursor: pointer;
    transition: all 0.2s ease;
}

    .btn-like-pinterest:hover {
        transform: scale(1.15);
        background: white;
    }

    /* Color cuando el corazón está activo (Rojo Intenso) */
    .btn-like-pinterest.is-liked,
    .btn-like-pinterest i.bi-heart-fill {
        color: #e74c3c !important; /* Rojo característico */
    }

/* Badge del contador de likes en la parte inferior */
.likes-counter-box {
    color: #e74c3c;
    font-weight: bold;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Mejora de las sombras de las tarjetas */
.card {
    transition: box-shadow 0.3s ease;
}

    .card:hover {
        box-shadow: 0 8px 25px rgba(0,0,0,0.1) !important;
    }